sway/.config/sway/available/general/variables.conf

48 lines
1.2 KiB
Plaintext

# Sway Config: Variables
#
# Thurstylark
# Directories
set $dir-conf ~/.config/sway
set $dir-localconf $dir-conf/$hostname
set $dir-utils $dir-conf/utils
set $dir-wallpapers /usr/share/backgrounds
# Default Background
set $default-background $dir-wallpapers/thurstylark/spacetux.jpg
# Using Logo key
set $mod Mod4
# Home row direction keys, like vim
set $left h
set $down j
set $up k
set $right l
# Preferred terminal emulator
set $term alacritty
# 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 bemenu-run --no-exec | xargs swaymsg exec --
# Cursor hide delay (in ms)
set $cursor-hide-delay "4000"
# Minimum Brightness
set $minimum-brightness "6"
# Idle settings
set $idle-display-timeout 600
# set next two options to ":" to disable feature
set $idle-display-sleep 'swaymsg "output * dpms off"'
set $idle-display-wake 'swaymsg "output * dpms on"'
# Locker settings
set $idle-lock-timeout 900
# set next two options to ":" to disable feature
set $idle-lock-locker "swaylock -e -f -F -l -c 000000"
set $idle-lock-unlocker "killall swaylock"