(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]
background=1D1D2C
foreground=D8D8D0
alpha=0.9
regular0=181820
regular1=E00010

View File

@@ -4,13 +4,15 @@ set $secondary_display DP-3
output $main_display {
resolution 1920x1080@119.982Hz
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 {
resolution 1920x1080@60.000Hz
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

View File

@@ -33,6 +33,7 @@ tiling_drag modifier
# start waybar
bar {
swaybar_command waybar
mode invisible
}
# start screen locker
@@ -61,8 +62,6 @@ input type:pointer pointer_accel 0.53
# reload the configuration file
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
bindsym $mod+Escape exec systemctl suspend
# kill focused window
@@ -182,9 +181,10 @@ mouse_warping none
### configuring presentation
# window border style
default_border pixel 2
default_border pixel 1
default_floating_border pixel 0
for_window [class=".*"] border pixel 1
for_window [app_id=".*"] border pixel 1
# gaps between windows and screen border
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.urgent $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 --light-magenta #FFA0D0;
@define-color --green #4E9C3D;
@define-color --transparent rgba(0, 0, 0, 0);
window#waybar {
font-family: JetBrainsMonoNerdFont;
@@ -43,7 +44,8 @@ window#waybar {
#workspaces button.urgent {
background: @--magenta;
color: @--black;
color: @--white;
border-bottom: 0px solid @--transparent;
}
#window {