summary refs log tree commit diff
path: root/.config/sway/hibiki
blob: 37345c24586c1abae1bdbdb1dd8876f8c13e8a1b (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
33
# vim: ft=i3

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

# output * scale 1

font pango:Iosevka Sparkle 12

output * max_render_time 1
output * adaptive_sync on
# 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 oguri
exec_always ogurictl output --image output $HOME/.background *

exec redshift
exec mako
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