summary refs log tree commit diff
path: root/.config/sway/config
blob: 8284f0f499779eb107c71f795ced9b75793c2c37 (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
96
97
98
99
100
101
102
103
# vim: ft=i3config fdm=marker

exec doas rc gui

output * scale 1
output * max_render_time 1
output * adaptive_sync on

exec_always sh -c 'killall kanshi; exec kanshi'
exec_always sh -c 'killall oguri; exec oguri; oguri-cycle'
exec_always sh -c 'killall waybar; exec waybar'
#exec_always kanshictl reload

exec light -S 80
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 $firefox nightly

# 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 $ws0 0
set $wsMusic m
set $wsVideo v
set $wsGame g
# }}}

# gaps inner 5
show_marks yes
floating_maximum_size 0 x 0
floating_minimum_size 75 x 50

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

# style {{{
font pango:Iosevka Aile 12

set $bpix 3
set $fat_bpix 5
default_border pixel $bpix
default_floating_border pixel $fat_bpix

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
set $indicator $bg
set $indicator2 $bg

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`"