summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/sway/config20
1 files changed, 3 insertions, 17 deletions
diff --git a/.config/sway/config b/.config/sway/config
index e023b1f..ee51b71 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -10,26 +10,12 @@ set $menu bemenu-run | xargs swaymsg exec --
output * bg /home/rebecca/art/img/lagana.png stretch
-### Idle configuration
-#
-# Example configuration:
-#
-# exec swayidle -w \
-# timeout 300 'swaylock -f -c 000000' \
-# timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"'
-# # before-sleep 'swaylock -f -c 000000'
-#
-# 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
-# resumed. It will also lock your screen before your computer goes to sleep.
-
input * {
xkb_layout "gb,gb"
xkb_variant "dvorak,"
xkb_options "grp:shifts_toggle,caps:swapescape,compose:ralt"
}
-
bindsym $mod+Return exec exec $term
bindsym $mod+Shift+q kill
bindsym $mod+d exec $menu
@@ -144,9 +130,7 @@ set $lock swaylock -f --indicator-radius 400 --indicator-thickness 20 --ring-col
bindsym $mod+o exec $lock
bindsym $mod+Shift+o exec $lock && zzz
-exec swayidle -w \
- timeout 120 $lock \
- timeout 300 'swaymsg "output * power off"' resume 'swaymsg "output * power on"'
+exec /home/rebecca/bin/idleify
bindsym XF86AudioRaiseVolume exec 'amixer set Master 5%+'
bindsym XF86AudioLowerVolume exec 'amixer set Master 5%-'
@@ -159,6 +143,8 @@ client.focused #663399 #663399 #ffffff
bindsym Print exec slurp|grim -g- -|feh - -.wG -A'[upload]/home/rebecca/bin/rupload -x png %F' --action1 '[copy]wl-copy -t image/png <%F'
+bindsym $mod+BackSpace exec dunstctl close-all
+
exec wlsunset -T 6500 -t 3200 -L -2 -l 53
include /etc/sway/config.d/*