X-Git-Url: http://git.vanrenterghem.biz/Dotty.git/blobdiff_plain/eaf98d0e8bbdac6425c8d8cca46c7d66012556c4..HEAD:/sway/.config/sway/config diff --git a/sway/.config/sway/config b/sway/.config/sway/config index 936d8ba..90de322 100644 --- a/sway/.config/sway/config +++ b/sway/.config/sway/config @@ -14,15 +14,16 @@ set $down j set $up k set $right l # Your preferred terminal emulator -set $term urxvt +set $term gnome-terminal # Your preferred application launcher # Note: it's recommended that you pass the final command to sway -set $menu dmenu_path | dmenu | xargs swaymsg exec -- +#set $menu dmenu_path | dmenu | xargs swaymsg exec -- +set $menu j4-dmenu-desktop --dmenu='bemenu -i --nb "#3f3f3f" --nf "#dcdccc" --fn "pango:DejaVu Sans Mono 12"' --term='termite' | xargs swaymsg exec -- ### 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/frederik/Pictures/sway_bg.jpg fill # # Example configuration: # @@ -207,13 +208,23 @@ bar { # When the status_command prints a new line to stdout, swaybar updates. # The default just shows the current date and time. - status_command while date +'%Y-%m-%d %l:%M:%S %p'; do sleep 1; done + #status_command while date +'%Y-%m-%d %l:%M:%S %p'; do sleep 1; done + status_command while ~/.config/sway/scripts/status.sh; do sleep 1; done colors { statusline #ffffff background #323232 inactive_workspace #32323200 #32323200 #5c5c5c } + #font "Terminus (TTF)" + font pango:DejaVu Sans Mono 10 } +# Use swaylock via swayidle - lock screen after 5 minutes of inactivity +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' + include /etc/sway/config.d/*