]> src.twobees.de Git - dotfiles.git/blobdiff - stow/sway/.config/sway/config
add ulauncher
[dotfiles.git] / stow / sway / .config / sway / config
index 8167b7c3770b12a9b9e04734ab4ef149b5618005..da8fae43850678284434238e884b91970faba9a9 100644 (file)
@@ -18,8 +18,8 @@ set $term ~/.bin/sensible-terminal.sh
 # 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.
-set $menu dmenu_path | dmenu | xargs swaymsg exec --
-
+#set $menu dmenu_path | dmenu | xargs swaymsg exec --
+set $menu /usr/bin/ulauncher
 include /etc/sway/config-vars.d/*
 
 ### Output configuration
@@ -37,10 +37,10 @@ include /etc/sway/config-vars.d/*
 #
 # Example configuration:
 #
-# 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 1200 'swaylock -f -c 000000' \
+          timeout 1201 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms 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
@@ -225,11 +225,12 @@ bar {
 include /etc/sway/config.d/*
 
 # custom... 
-exec --no-startup-id dunst
-exec --no-startup-id pasystray
-exec --no-startup-id nextcloud
-exec --no-startup-id pass git pull
-exec --no-startup-id ~/.bin/set_sway_wallpaper.sh
+# mako for notifications
+exec mako 
+exec pasystray
+exec sleep 3 && nextcloud --background
+exec pass git pull
+exec ~/.bin/set_sway_wallpaper.sh
 default_border pixel 6 
 default_floating_border pixel 6 
 
@@ -244,3 +245,5 @@ input type:keyboard {
     xkb_layout us,de
     xkb_options grp:win_space_toggle
 }
+
+