46 lines
1.1 KiB
Plaintext
46 lines
1.1 KiB
Plaintext
font 'JetBrainsMono NF' 10
|
|
|
|
### Variables
|
|
#set $mod Mod1
|
|
set $mod Mod4
|
|
|
|
set $term kitty -1
|
|
#set $term ghostty
|
|
|
|
set $menu wofi -S drun -G
|
|
|
|
set $left h
|
|
set $down j
|
|
set $up k
|
|
set $right l
|
|
|
|
|
|
include ~/.config/sway/config.d/*
|
|
|
|
### Idle configuration
|
|
exec swayidle -w \
|
|
timeout 300 'swaylock -f -c 000000' \
|
|
timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
|
|
before-sleep 'playerctl pause; swaylock -f -c 000000'
|
|
|
|
|
|
#seat seat0 xcursor_theme Adwaita 25
|
|
|
|
# Auto start .desktop files using dex
|
|
exec dex -a
|
|
exec nohup pipewire
|
|
exec nohup swaync
|
|
exec nohup sway-audio-idle-inhibit
|
|
exec nohup waybar
|
|
exec wl-paste -t text --watch clipman store --no-persist
|
|
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=wlroots DISPLAY
|
|
exec /usr/lib/xdg-desktop-portal-wlr
|
|
exec systemctl --user start shikane &
|
|
exec systemctl --user start sway-audio-idle-inhibit &
|
|
exec wl-clip-persist --clipboard regular --reconnect-tries 0 &
|
|
exec wl-paste --type text --watch cliphist store &
|
|
|
|
default_border pixel 2
|
|
default_floating_border pixel 2
|
|
|