diff --git a/.config/sway/config b/.config/sway/config index ca4a836776f3db913936656ddf696b3419ceb6ce..595362c1902190dc67b7e334acb78db3b70a5199 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -1,5 +1,6 @@ # Default config for sway # +# # Copy this to ~/.config/sway/config and edit it to your liking. # # Read `man 5 sway` for a complete reference. @@ -18,7 +19,7 @@ set $menu rofi -show drun ### Output configuration # # Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/) -output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill +output * bg /home/blint/Pictures/bg/the-last-of-us-part-ii-duality-artwork-dark-desktop-image-block-01-ps4-06feb20-en-us.jpeg fill # # Example configuration: # @@ -134,13 +135,13 @@ output HDMI-A-1 pos 1536 0 # You can "split" the current object of your focus with # $mod+b or $mod+v, for horizontal and vertical splits # respectively. - bindsym $mod+b splith + bindsym $mod+h splith bindsym $mod+v splitv # Switch the current container between different layout styles bindsym $mod+s layout stacking bindsym $mod+w layout tabbed - bindsym $mod+e layout toggle split +# bindsym $mod+e layout toggle split # Make the current focus fullscreen bindsym $mod+f fullscreen @@ -227,7 +228,8 @@ bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle bindsym XF86MonBrightnessUp exec brightnessctl set +5% -d intel_backlight && brightnessctl set +5% -d ddcci3 bindsym XF86MonBrightnessDown exec brightnessctl set 5%- -d intel_backlight && brightnessctl set 5%- -d ddcci3 -bindsym $mod+l exec swaylock -i Pictures/bg/cheetah.png +set $lock "swaylock -i Pictures/bg/cheetah.png" +bindsym $mod+l exec $lock exec mako exec xembedsniproxy @@ -239,22 +241,30 @@ for_window [app_id="firefox" title="Firefox - Sharing Indicator"] { kill } bindsym Mod1+Escape exec emoji.sh +bindsym $mod+e exec dolphin -workspace 1 output HDMI-A-1 workspace 2 output HDMI-A-1 -workspace 8 output eDP-1 +workspace 1 output HDMI-A-1 workspace 9 output eDP-1 +workspace 8 output eDP-1 assign [app_id="telegramdesktop"] workspace 9 assign [class="Mattermost"] workspace 9 -for_window [title="Messenger - Mozilla Firefox"] move workspace 9 +#for_window [title="Messenger - Mozilla Firefox"] move workspace 9 for_window [class="Spotify"] move workspace 8 -#assign [class="Spotify"] workspace 8 assign [title="autostart — Konsole"] workspace 2 +exec nm-applet --indicator exec telegram-desktop exec flatpak run com.mattermost.Desktop -exec spotify +#exec spotify +#exec firefox exec konsole -p tabtitle='autostart' exec konsole -p tabtitle='autostart' -exec nm-applet --indicator + +exec swayidle -w \ + timeout 300 $lock \ + timeout 600 'swaymsg "output * dpms off"' \ + timeout 1200 'systemctl suspend' \ + resume 'swaymsg "output * dpms on"' \ + before-sleep $lock