(sway..) moved transparency from foot to sway, failed with waybar..

This commit is contained in:
zegonix
2025-06-22 15:27:59 +02:00
parent 8858002f05
commit 2dc65fa386
4 changed files with 20 additions and 12 deletions

View File

@@ -31,7 +31,6 @@ blink=no
[colors] [colors]
background=1D1D2C background=1D1D2C
foreground=D8D8D0 foreground=D8D8D0
alpha=0.9
regular0=181820 regular0=181820
regular1=E00010 regular1=E00010

View File

@@ -4,13 +4,15 @@ set $secondary_display DP-3
output $main_display { output $main_display {
resolution 1920x1080@119.982Hz resolution 1920x1080@119.982Hz
position 0 0 position 0 0
background ~/dotfiles/images/hollow_knight.png fill # background ~/dotfiles/images/hollow_knight.png fill
background ~/dotfiles/images/sand_city.png fill
} }
output $secondary_display { output $secondary_display {
resolution 1920x1080@60.000Hz resolution 1920x1080@60.000Hz
position 1920 0 position 1920 0
background ~/dotfiles/images/hollow_knight.png fill # background ~/dotfiles/images/hollow_knight.png fill
background ~/dotfiles/images/sand_city.png fill
} }
workspace 1 output $main_display workspace 1 output $main_display

View File

@@ -33,6 +33,7 @@ tiling_drag modifier
# start waybar # start waybar
bar { bar {
swaybar_command waybar swaybar_command waybar
mode invisible
} }
# start screen locker # start screen locker
@@ -61,8 +62,6 @@ input type:pointer pointer_accel 0.53
# reload the configuration file # reload the configuration file
bindsym $mod+Shift+c reload bindsym $mod+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+r restart
# lock screen # lock screen
bindsym $mod+Escape exec systemctl suspend bindsym $mod+Escape exec systemctl suspend
# kill focused window # kill focused window
@@ -182,9 +181,10 @@ mouse_warping none
### configuring presentation ### configuring presentation
# window border style # window border style
default_border pixel 2 default_border pixel 1
default_floating_border pixel 0 default_floating_border pixel 0
for_window [class=".*"] border pixel 1 for_window [class=".*"] border pixel 1
for_window [app_id=".*"] border pixel 1
# gaps between windows and screen border # gaps between windows and screen border
gaps inner 12px gaps inner 12px
@@ -208,5 +208,10 @@ client.focused_inactive $transp $back_focus $text_focus $transp $transp
client.unfocused $transp $back_focus $text_focus $transp $transp client.unfocused $transp $back_focus $text_focus $transp $transp
client.urgent $transp $back_focus $text_focus $transp $transp client.urgent $transp $back_focus $text_focus $transp $transp
client.placeholder $transp $back_focus $text_focus $transp $transp client.placeholder $transp $back_focus $text_focus $transp $transp
client.background #ffffff
# transparent windows
for_window [app_id="foot"] opacity 0.9
for_window [app_id="com.mitchellh.ghostty"] opacity 0.9
for_window [class="Alacritty"] opacity 0.9
for_window [class="SpeedCrunch"] opacity 0.93

View File

@@ -7,6 +7,7 @@
@define-color --magenta #E02482; @define-color --magenta #E02482;
@define-color --light-magenta #FFA0D0; @define-color --light-magenta #FFA0D0;
@define-color --green #4E9C3D; @define-color --green #4E9C3D;
@define-color --transparent rgba(0, 0, 0, 0);
window#waybar { window#waybar {
font-family: JetBrainsMonoNerdFont; font-family: JetBrainsMonoNerdFont;
@@ -43,7 +44,8 @@ window#waybar {
#workspaces button.urgent { #workspaces button.urgent {
background: @--magenta; background: @--magenta;
color: @--black; color: @--white;
border-bottom: 0px solid @--transparent;
} }
#window { #window {