summary refs log tree commit diff
path: root/.config/sway/config
blob: ced5b407e5b06fec078c622f9a1eb5cd2d422940 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# vim: ft=i3 fdm=marker

output * scale 1
exec doas /etc/init.d/kanshi restart

# output * max_render_time 1
# output * adaptive_sync on

exec_always kanshictl reload
exec_always exec sh -c 'pkill oguri && oguri'

exec redshift
exec mako
exec mpd-mpris -no-instance
exec swayidle -w \
	timeout 540 'lock' \
	timeout 800 'swaymsg output \* dpms off' \
	     resume 'swaymsg output \* dpms on' \
	before-sleep 'lock' \
	lock 'lock'

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

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

set $mod Mod4
set $alt Mod1

set $left h
set $down j
set $up k
set $right l

set $term alacritty
set $floating_term $term --config-file $HOME/.config/alacritty/launcher.yml --class '__floating-Alacritty'
set $menu menu -drun
# set $menu wofi -k /dev/null --terminal $term --show drun
set $run_menu menu -run

set $bpix 3
default_border pixel $bpix
default_floating_border pixel $bpix

# workspaces {{{
set $ws1 1
set $ws2 2
set $ws3 3
set $ws4 4
set $ws5 5
set $ws6 6
set $ws7 7
set $ws8 8
set $ws9 9
set $wsMusic m
set $wsVideo v
set $wsGame g
# }}}

# gaps inner 5
show_marks yes

include input.conf
include binds.conf
include auto.conf

# style {{{
font pango:Iosevka Sparkle 12

set $text #FCFAF2
set $text2 #BDC0BA
set $bg #1C1C1C
set $bg2 #434343
set $main  #0B346F
set $main2 #005CAF
set $urgent #DB4D6D
set $urgent2 #CB1B45
# set $indicator #FAD689
# set $indicator2 #C18A26
set $indicator #434343
set $indicator2 #434343

client.focused $main2 $main $text $indicator $main
client.focused_inactive $bg2 $bg $text2 $indicator2 $bg
client.unfocused $bg2 $bg $text2 $indicator2 $bg
client.urgent $urgent2 $urgent $text $indicator $urgent
# }}}

# include config.d/*
include "`uname -n`"

exec_always kanshictl reload
exec_always doas /etc/init.d/waybar restart