55 lines
1.3 KiB
Plaintext
55 lines
1.3 KiB
Plaintext
font 'JetBrainsMono NF' 9
|
|
|
|
### Variables
|
|
#set $mod Mod1
|
|
set $mod Mod4
|
|
|
|
set $term kitty -1
|
|
#set $term ghostty
|
|
|
|
set $menu wofi -S drun -GI
|
|
|
|
set $left h
|
|
set $down j
|
|
set $up k
|
|
set $right l
|
|
|
|
set $laptop eDP-1
|
|
|
|
include ~/.config/sway/config.d/*
|
|
|
|
### Output configuration
|
|
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
|
# https://gitlab.com/w0lff/shikane for multitple display handling
|
|
exec --no-startup-id nohup shikane -c /home/jozamudi/.config/shikane/config.toml
|
|
|
|
bindswitch --reload --locked lid:on output $laptop disable
|
|
bindswitch --reload --locked lid:off output $laptop enable
|
|
exec_always --no-startup-id '/home/jozamudi/.config/sway/scripts/clamshell-mode.sh'
|
|
|
|
### 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 pipewire
|
|
exec swaync
|
|
exec waybar
|
|
exec mpd
|
|
exec nohup sway-audio-idle-inhibit
|
|
#exec wl-paste -t text --watch clipman store --no-persist
|
|
|
|
#better audio
|
|
#exec easyeffects -w -l Laptop
|
|
|
|
default_border pixel 2
|
|
default_floating_border pixel 2
|
|
|
|
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP=sway XDG_SESSION_DESKTOP=sway
|