29 lines
820 B
Text
29 lines
820 B
Text
set $term kitty
|
|
set $menu exec $term --class=launcher ~/.local/bin/launcher.sh
|
|
set $lock_bg ~/documents/ressources/wallpapers/morty.jpg
|
|
|
|
# Input configuration
|
|
input * xkb_layout "us"
|
|
input * xkb_variant "altgr-intl"
|
|
|
|
# Brightness
|
|
bindsym XF86MonBrightnessDown exec brightnessctl set 2%-
|
|
bindsym XF86MonBrightnessUp exec brightnessctl set 2%+
|
|
|
|
output * bg ~/documents/ressources/wallpapers/building_cyberpunk.jpg fill
|
|
output eDP-1 scale 2
|
|
|
|
exec swayidle \
|
|
timeout 300 'swaylock -i $lock_bg' \
|
|
timeout 600 'swaymsg "output * dpms off"' \
|
|
resume 'swaymsg "output * dpms on"' \
|
|
before-sleep 'swaylock -i $lock_bg'
|
|
|
|
# Autolaunch
|
|
for_window [app_id="cal"] resize set height 240 px
|
|
|
|
# $ws3 firefox
|
|
exec swaymsg 'workspace $ws3; exec firefox'
|
|
|
|
# launch mail workspace
|
|
exec ~/.local/bin/launch_mail_worksplace.sh
|