summary refs log tree commit diff
path: root/.config/sway/hibiki
blob: 291800672e5cd64697c2e36c8f8378fe2b73958b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# vim: ft=i3

set $laptop eDP-1
set $desk "Dell Inc. DELL U2518D 3C4YP87AAK3L"

output * scale 1
output * bg $HOME/.background fill

font pango:Iosevka Sparkle 12

output * max_render_time 1
# for_window [app_id=Alacritty] max_render_time 2
# for_window [app_id=firefox] max_render_time 3
# seat * hide_cursor 2000

bar {
	swaybar_command waybar
}

exec redshift
exec mako
exec 'sh -c "while true; do kanshi; done"'
exec_always pkill kanshi
exec swayidle -w \
	timeout 540 'lock' \
	timeout 600 'swaymsg "output * dpms off"' \
	     resume 'swaymsg "output * dpms on"' \
	before-sleep 'lock' \
	lock lock

#bindswitch --locked lid:on output $laptop disable
#bindswitch --locked lid:off output $laptop enable