(sway..) moved transparency from foot to sway, failed with waybar..
This commit is contained in:
@@ -33,14 +33,15 @@ tiling_drag modifier
|
||||
# start waybar
|
||||
bar {
|
||||
swaybar_command waybar
|
||||
mode invisible
|
||||
}
|
||||
|
||||
# start screen locker
|
||||
exec swayidle -w \
|
||||
timeout 300 'swaylock -f -e -i ~/dotfiles/images/city_skyline.png' \
|
||||
timeout 330 'swaymsg "output * power off"; systemctl suspend' \
|
||||
timeout 300 'swaylock -f -e -i ~/dotfiles/images/city_skyline.png' \
|
||||
timeout 330 'swaymsg "output * power off"; systemctl suspend' \
|
||||
resume 'swaymsg "output * power on"' \
|
||||
before-sleep 'swaylock -f -e -i ~/dotfiles/images/city_skyline.png'
|
||||
before-sleep 'swaylock -f -e -i ~/dotfiles/images/city_skyline.png'
|
||||
|
||||
exec sway-audio-idle-inhibit
|
||||
for_window [class="steam_app.*"] inhibit_idle open
|
||||
@@ -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 [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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user