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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147# vim:foldmethod=marker:ft=i3config
xwayland disable
set $exec exec --no-startup-id
set $execa exec_always --no-startup-id
set $gapsize 0
set $gapsize-alt 10
set $mod Mod4
set $alt Mod1
set $mods Mod4+shift
set $modc Mod4+ctrl
set $moda Mod4+Mod1
set $modcs Mod4+ctrl+shift
set $modas Mod4+Mod1+shift
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 $ws10 "10"
workspace $ws1 output eDP-1
workspace $ws2 output DP-1 DP-1-0 eDP-1
workspace $ws3 output eDP-1
workspace $ws4 output DP-1 DP-1-0 eDP-1
workspace $ws5 output eDP-1
workspace $ws6 output DP-1 DP-1-0 eDP-1
workspace $ws7 output eDP-1
workspace $ws8 output DP-1 DP-1-0 eDP-1
font pango:monospace bold 12
mouse_warping output
exec "$XDG_CONFIG_HOME/sway/autostart.sh"
exec_always "$XDG_CONFIG_HOME/sway/exec-always.sh"
#include autostart.i3
include app-ids.i3
include keybinds.i3
gaps inner $gapsize
default_border pixel 1
default_floating_border normal
smart_gaps on
smart_borders on
#for_window [all] title_window_icon on
#for_window [all] title_format "%title :: %class"
set $activeBorder #af99ff
set $activeMain #7b57ffA0
set $lessactBorder #61aeeeC0
set $lessactMain #aba2DfA0
set $inactBorder #272B3350
set $inactMain #272B3350
set $urgentBorder #FF5050FF
set $urgentMain #FF5050DD
set $text0 #FFFFFF
set $text1 #FFFFFF
# class border background text indicator child_border
client.focused $activeBorder $activeMain $text0 $activeMain $activeBorder
client.focused_inactive $lessactBorder $lessactMain $text0 $lessactMain $lessactBorder
client.unfocused $inactBorder $inactMain $text1 $inactMain $inactBorder
client.urgent $urgentBorder $urgentMain $text0 $urgentBorder $urgentMain
client.placeholder $lessactBorder $lessactMain $text0 $lessactMain $lessactBorder
client.background #FFFFFF
output * bg $XDG_DATA_HOME/backgrounds/fedora/one-dark-fedora.png fill
# output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
#
# Example configuration:
#
# output HDMI-A-1 resolution 1920x1080 position 1920,0
#
# You can get the names of your outputs by running: swaymsg -t get_outputs
output eDP-1 position 1920,0
output DP-1 position 0,0
### Idle configuration
#
# Example configuration:
#
# exec swayidle -w \
# timeout 300 'swaylock -f -c 000000' \
# timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
# before-sleep 'swaylock -f -c 000000'
#
# This will lock your screen after 300 seconds of inactivity, then turn off
# your displays after another 300 seconds, and turn your screens back on when
# resumed. It will also lock your screen before your computer goes to sleep.
input type:keyboard {
xkb_numlock enabled
xkb_capslock disabled
xkb_options caps:escape
}
input type:pointer {
accel_profile flat
pointer_accel 0
}
#input "2362:8195:ASUP1205:00_093A:2003_Touchpad" {
input type:touchpad {
accel_profile adaptive
dwt enabled
events disabled_on_external_mouse
natural_scroll enabled
scroll_method two_finger
tap enabled
}
bar {
colors {
background #00000000
statusline $text0
focused_workspace $activeBorder $activeMain $text0
active_workspace $lessactBorder $lessactMain $text0
inactive_workspace #00000000 $inactMain $text1
urgent_workspace $urgentBorder $urgentMain $text0
}
workspace_buttons yes
workspace_min_width 30
strip_workspace_numbers no
binding_mode_indicator yes
position top
#padding 1px
tray_output eDP-1
#tray_output none
tray_padding 0
#i3bar_command i3bar --transparency
status_command i3status
#status_command i3status-rs
}
include /etc/sway/config.d/*