diff options
author | Matthew Lemon <y@yulqen.org> | 2024-02-28 10:21:55 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-02-28 10:21:55 +0000 |
commit | d7e146619ece85fdb9fede9801dcee94f366cc11 (patch) | |
tree | ce3e2b5610d8084611601a938c10cb7087b5ac2b /sway/config-desktop | |
parent | dbea6ecfcc50e3488173bc56dc84139bd370f8ac (diff) |
Adds idle, lock, background and shortcuts
Diffstat (limited to '')
-rw-r--r-- | sway/config-desktop | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/sway/config-desktop b/sway/config-desktop index ae8fb62..d8241a0 100644 --- a/sway/config-desktop +++ b/sway/config-desktop @@ -15,7 +15,7 @@ set $up k set $right l # Your preferred terminal emulator #set $term xfce4-terminal -set $term foot +set $term alacritty # Your preferred application launcher # Note: pass the final command to swaymsg so that the resulting window can be opened # on the original workspace that the command was run on. @@ -27,7 +27,9 @@ include /etc/sway/config-vars.d/* ### 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 /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill +output DP-1 bg ~/Pictures/stable_diffusion/test_influencer/altar25.png fit +output HDMI-A-1 bg ~/Pictures/stable_diffusion/test_influencer/gurskey5.png fill # # Example configuration: # @@ -45,6 +47,10 @@ output DP-1 resolution 900x1600 position 1920 0 transform 90 # timeout 300 'swaylock -f -c 000000' \ # timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \ # before-sleep 'swaylock -f -c 000000' +exec swayidle -w \ + timeout 300 'swaylock -f -i /home/lemon/Pictures/stable_diffusion/test_influencer/altar32.png' \ + timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \ + before-sleep 'swaylock -f -i /home/lemon/Pictures/stable_diffusion/test_influencer/altar32.png' # # This will lock your screen after 300 seconds of inactivity, then turn off # your displays after another 300 seconds, and turn your screens back on when @@ -138,6 +144,18 @@ input "1241:17733:USB_Keyboard" { bindsym $mod+8 workspace number 8 bindsym $mod+9 workspace number 9 bindsym $mod+0 workspace number 10 + + bindsym $mod+Control+1 workspace 11 + bindsym $mod+Control+2 workspace 12 + bindsym $mod+Control+3 workspace 13 + bindsym $mod+Control+4 workspace 14 + bindsym $mod+Control+5 workspace 15 + bindsym $mod+Control+6 workspace 16 + bindsym $mod+Control+7 workspace 17 + bindsym $mod+Control+8 workspace 18 + bindsym $mod+Control+9 workspace 19 + bindsym $mod+Control+0 workspace 20 + # Move focused container to workspace bindsym $mod+Shift+1 move container to workspace number 1 bindsym $mod+Shift+2 move container to workspace number 2 @@ -222,10 +240,13 @@ bindsym $mod+Shift+v exec copyq toggle assign [app_id="Firefox-esr"] 2 for_window [app_id="Firefox-esr"] focus +assign [app_id="thunar"] 12 +for_window [app_id="thunar"] focus + # autostart exec swaymsg copyq exec swaymsg mako -exec nm-applet --indicator +#exec nm-applet --indicator default_border pixel 2 client.focused #000000 #5e81ac #ffffff |