summary refs log tree commit diff
path: root/.config/sway/hibiki
blob: 5a61f596f3efe3abb3c927ba164dc7042aab9fc9 (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
34
35
36
# vim: ft=i3

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

font pango:Iosevka Sparkle 12

output * scale 1
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

exec_always kanshictl reload

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