sway-config/config

38 lines
1.1 KiB
Text

# This configuration has been modified. Mostly global config is in this config, everything else
# is in conf.d
#Set the $mod key to super/meta/"windows key"
set $mod Mod4
#Set $alt to the alt key
set $alt Mod1
font pango:Noto Sans 9
hide_edge_borders smart
#set $refresh_i3status killall -SIGUSR1 i3status
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
xwayland enable
# This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango).
#font pango:DejaVu Sans Mono 8
exec swayidle -w \
timeout 600 '/home/kellya/.config/sway/scripts/lock.sh' \
timeout 900 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' \
before-sleep '/home/kellya/.config/sway/scripts/lock.sh'
# Include the initial exec commands
include workspaces.conf
# Pull the rest of config from .conf files in conf.d
include conf.d/*.conf
include autostart.conf
focus_on_window_activation focus
output DP-4 pos 0 0
output DP-5 pos 1920 0