@ -4,6 +4,7 @@
#
# Read `man 5 sway` for a complete reference.
gaps inner 10
### Variables
#
# Logo key. Use Mod1 for Alt.
@ -19,7 +20,7 @@ set $term alacritty
# 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.
#set $menu dmenu_path | wofi --dmenu | xargs swaymsg exec --
set $menu dmenu_ run
set $menu wofi --show run
bindsym XF86AudioPlay exec mpc toggle
bindsym XF86AudioNext exec mpc next
@ -37,14 +38,14 @@ output * bg /home/kageru/Pictures/bg.png fill
# You can get the names of your outputs by running: swaymsg -t get_outputs
output HDMI-A-1 mode 2560x1440@144Hz
output HDMI-A-1 position 256 0 0
output HDMI-A-1 position 0 0
output DP-1 mode 2560x1440@240Hz
output DP-1 position 0 0
output DP-1 position 256 0 0
default_border pixel 1
default_border pixel 2
default_floating_border pixel 3
bindsym $mod+u border none
bindsym $mod+y border pixel 1
bindsym $mod+y border pixel 3
### Idle configuration
#
@ -53,7 +54,9 @@ bindsym $mod+y border pixel 1
# exec swayidle -w \
# 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 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
before-sleep 'swaylock -f -c 000000' \
after-resume /home/kageru/bin/tunnel
#
# 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
@ -75,8 +78,6 @@ input "type:keyboard" {
repeat_rate 40
xkb_layout "de"
xkb_variant "neo_qwertz"
}
input "type:pointer" {
pointer_accel 0
accel_profile flat
}
@ -111,12 +112,14 @@ bindsym $mod+q kill
# Start your launcher
bindsym $mod+d exec $menu
bindsym Ctrl+Shift+4 exec /home/kageru/bin/pyshare
bindsym Ctrl+Shift+8 exec /home/kageru/bin/pyshare -e 1
bindsym $mod+Shift+u exec /home/kageru/bin/pyshare -m text
bindsym $mod+x exec rofi -show window
bindsym Ctrl+Shift+4 exec /home/kageru/bin/ppsh
#bindsym Ctrl+Shift+8 exec /home/kageru/bin/pyshare -e 1
#bindsym $mod+Shift+u exec /home/kageru/bin/pyshare -m text
bindsym $mod+x exec swayr switch-window
bindsym $mod+Ctrl+s exec systemctl suspend
bindsym $mod+Shift+d exec discord
bindsym $mod+Shift+s sticky toggle
bindsym $mod+F2 exec qutebrowser
bindsym $mod+F3 exec alacritty -e ranger
bindsym $mod+F5 exec alacritty -e ncmpcpp
@ -270,4 +273,5 @@ bindsym $mod+r mode "resize"
# }
include /etc/sway/config.d/*
exec swayrd
exec /home/kageru/bin/autostart_sway