(sway..) moved transparency from foot to sway, failed with waybar..
This commit is contained in:
@@ -31,7 +31,6 @@ blink=no
|
||||
[colors]
|
||||
background=1D1D2C
|
||||
foreground=D8D8D0
|
||||
alpha=0.9
|
||||
|
||||
regular0=181820
|
||||
regular1=E00010
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user