diff options
Diffstat (limited to 'config')
-rw-r--r-- | config | 74 |
1 files changed, 56 insertions, 18 deletions
@@ -1,3 +1,22 @@ | |||
1 | ## Base16 PaperColor Dark | ||
2 | # Author: Jon Leopard (http://github.com/jonleopard) based on PaperColor Theme (https://github.com/NLKNguyen/papercolor-theme) | ||
3 | |||
4 | # set $base00 #1c1c1c | ||
5 | # set $base01 #af005f | ||
6 | # set $base02 #5faf00 | ||
7 | # set $base03 #d7af5f | ||
8 | # set $base04 #5fafd7 | ||
9 | # set $base05 #808080 | ||
10 | # set $base06 #d7875f | ||
11 | # set $base07 #d0d0d0 | ||
12 | # set $base08 #585858 | ||
13 | # set $base09 #5faf5f | ||
14 | # set $base0A #afd700 | ||
15 | # set $base0B #af87d7 | ||
16 | # set $base0C #ffaf00 | ||
17 | # set $base0D #ff5faf | ||
18 | # set $base0E #00afaf | ||
19 | # set $base0F #5f8787 | ||
1 | # sway configuration file | 20 | # sway configuration file |
2 | # man sway(5) | 21 | # man sway(5) |
3 | 22 | ||
@@ -11,13 +30,20 @@ include /home/max/.local/share/base16/base16-sway/themes/base16-tomorrow-night.c | |||
11 | include config_exec | 30 | include config_exec |
12 | 31 | ||
13 | 32 | ||
14 | 33 | output DP-1 { | |
15 | output LVDS-1 { | ||
16 | # pos 0 420 | ||
17 | pos 0 0 | 34 | pos 0 0 |
18 | # res 1920x1080 | 35 | # res 1920x1080 |
19 | # background ~/.local/share/backgrounds/02-procrastination-hd1080.png center $base01 | 36 | # background ~/.local/share/backgrounds/02-procrastination-hd1080.png center $base01 |
20 | background ~/.local/share/backgrounds/osb3unzg9j941-1280.png stretch $base01 | 37 | # background ~/.local/share/backgrounds/osb3unzg9j941-1280.png stretch $base01 |
38 | background ~/.local/share/backgrounds/01-0.jpg fill | ||
39 | dpms on | ||
40 | } | ||
41 | |||
42 | output DP-2 { | ||
43 | pos 1920 0 | ||
44 | res 1920x1080 | ||
45 | background ~/.local/share/backgrounds/01-1.jpg fill | ||
46 | # transform 270 | ||
21 | dpms on | 47 | dpms on |
22 | } | 48 | } |
23 | 49 | ||
@@ -100,8 +126,11 @@ bindsym Mod4+Shift+9 move container to workspace $WS9 | |||
100 | # ================================================================================ | 126 | # ================================================================================ |
101 | xwayland enable | 127 | xwayland enable |
102 | # hide_edge_borders both | 128 | # hide_edge_borders both |
129 | # hide_edge_borders horizontal | ||
130 | hide_edge_borders smart_no_gaps | ||
103 | title_align left | 131 | title_align left |
104 | # gaps inner 6 | 132 | # gaps inner 4 |
133 | # gaps outer 0 | ||
105 | # smart_gaps on | 134 | # smart_gaps on |
106 | # smart_borders no_gaps | 135 | # smart_borders no_gaps |
107 | # focus_follows_mouse no | 136 | # focus_follows_mouse no |
@@ -117,11 +146,12 @@ font pango:sans 9 | |||
117 | # font pango:Code New Roman Nerd Font 9 | 146 | # font pango:Code New Roman Nerd Font 9 |
118 | 147 | ||
119 | 148 | ||
120 | include /home/max/.config/base16/base16-sway/themes/base16-tomorrow.config | 149 | # include /home/max/.config/base16/base16-sway/themes/base16-tomorrow.config |
150 | # include /home/max/.config/base16/base16-sway/themes/base16-papercolor-light.config | ||
121 | # main variables ssource default | 151 | # main variables ssource default |
122 | # d variable default | 152 | # d variable default |
123 | set $background $base01 | 153 | set $background $base00 |
124 | set $foreground $base05 | 154 | set $foreground $base0D |
125 | set $cursorColor $foreground | 155 | set $cursorColor $foreground |
126 | 156 | ||
127 | # set_from_resource $foreground base16.cursor $cursorColor | 157 | # set_from_resource $foreground base16.cursor $cursorColor |
@@ -139,32 +169,39 @@ bar { | |||
139 | mode dock | 169 | mode dock |
140 | strip_workspace_numbers yes | 170 | strip_workspace_numbers yes |
141 | # separator_symbol "|" | 171 | # separator_symbol "|" |
142 | separator_symbol " " | 172 | separator_symbol " " |
173 | status_padding 6 | ||
174 | status_edge_padding 8 | ||
143 | 175 | ||
144 | colors { | 176 | colors { |
145 | background #000000cc | 177 | background #000000cc |
146 | separator $foreground | 178 | separator $foreground |
147 | statusline $foreground | 179 | statusline $foreground |
148 | 180 | ||
149 | focused_workspace $background $background $base05 | 181 | focused_workspace $background $background $base0D |
150 | active_workspace $background $background $cursorColor | 182 | active_workspace $background $background $base04 |
151 | inactive_workspace $background $background $base03 | 183 | inactive_workspace $background $background $base03 |
152 | urgent_workspace $background $background $base08 | 184 | urgent_workspace $background $background $base08 |
153 | binding_mode $background $background $foreground | 185 | binding_mode $background $background $foreground |
154 | } | 186 | } |
187 | |||
188 | binding_mode_indicator yes | ||
155 | } | 189 | } |
156 | 190 | ||
191 | |||
157 | # Basic color configuration using the Base16 variables for windows and borders. | 192 | # Basic color configuration using the Base16 variables for windows and borders. |
158 | # Property Name Border BG Text Indicator Child Border | 193 | # Property Name Border BG Text Indicator Child Border |
159 | client.focused $base05 $base0D $base00 $base0D $base0D | 194 | client.focused $base05 $base0D $base00 $base0D $base0D |
160 | client.focused_inactive $base01 $base01 $base05 $base03 $base01 | 195 | client.focused_inactive $base05 $base01 $base07 $base03 $base01 |
161 | client.unfocused $base01 $base00 $base05 $base01 $base01 | 196 | client.unfocused $base05 $base00 $base05 $base01 $base01 |
162 | client.urgent $base08 $base08 $base00 $base08 $base08 | 197 | client.urgent $base08 $base08 $base00 $base08 $base08 |
163 | client.placeholder $base00 $base00 $base05 $base00 $base00 | 198 | client.placeholder $base00 $base00 $base05 $base00 $base00 |
164 | client.background $background | 199 | client.background $background |
165 | 200 | ||
166 | 201 | ||
167 | 202 | ||
203 | default_border pixel 2 | ||
204 | # default_border normal | ||
168 | 205 | ||
169 | # ================================================================================ | 206 | # ================================================================================ |
170 | # windows assignments and special treatment, e.g. icons | 207 | # windows assignments and special treatment, e.g. icons |
@@ -194,8 +231,8 @@ for_window [title="(?i)weechat"] title_format " %title" | |||
194 | for_window [title="YouTube"] title_format " %title" | 231 | for_window [title="YouTube"] title_format " %title" |
195 | for_window [title=""] title_format "%title" | 232 | for_window [title=""] title_format "%title" |
196 | for_window [title=" "] title_format "%title" | 233 | for_window [title=" "] title_format "%title" |
197 | for_window [title=" "] border pixel 0 | 234 | # for_window [title=" "] border pixel 0 |
198 | for_window [app_id=".*terminal"] border pixel 0 | 235 | # for_window [app_id=".*terminal"] border pixel 0 |
199 | 236 | ||
200 | # for_window [class="(?i)xfce4-terminal"] border pixel 0 | 237 | # for_window [class="(?i)xfce4-terminal"] border pixel 0 |
201 | # for_window [class="(?i)xfce4-appfinder"] border pixel 0 | 238 | # for_window [class="(?i)xfce4-appfinder"] border pixel 0 |
@@ -265,7 +302,7 @@ bindsym $mod+Shift+Right move right | |||
265 | bindsym $mod+s layout stacking | 302 | bindsym $mod+s layout stacking |
266 | bindsym $mod+w layout tabbed | 303 | bindsym $mod+w layout tabbed |
267 | bindsym $mod+q layout toggle split | 304 | bindsym $mod+q layout toggle split |
268 | bindsym $mod+x layout toggle all | 305 | bindsym $mod+x layout toggle tabbed splitv |
269 | 306 | ||
270 | bindsym $mod+v split toggle | 307 | bindsym $mod+v split toggle |
271 | bindsym $mod+space split toggle | 308 | bindsym $mod+space split toggle |
@@ -282,9 +319,10 @@ bindsym $mod+Shift+m scratchpad show ; res | |||
282 | # start a terminal | 319 | # start a terminal |
283 | # bindsym $mod+Return exec i3-sensible-terminal | 320 | # bindsym $mod+Return exec i3-sensible-terminal |
284 | # bindsym $mod+Return exec "killall rofi ; rofi -show drun -show-icons" | 321 | # bindsym $mod+Return exec "killall rofi ; rofi -show drun -show-icons" |
285 | bindsym $mod+Return exec dmenu_run | 322 | # bindsym $mod+Return exec dmenu_run |
323 | bindsym $mod+Return exec env BEMENU_BACKEND=wayland bemenu-run -f monospace 20 30 -H 25 --grab | ||
286 | bindsym Mod1+F2 exec "killall rofi ; rofi -show drun -bg #222222 -fg #888888 -hlbg #285577 -hlfg #ffffff -show-icons -5" | 324 | bindsym Mod1+F2 exec "killall rofi ; rofi -show drun -bg #222222 -fg #888888 -hlbg #285577 -hlfg #ffffff -show-icons -5" |
287 | bindsym $mod+t exec xfce4-terminal | 325 | bindsym $mod+t exec alacritty |
288 | bindsym $mod+y exec gnome-terminal | 326 | bindsym $mod+y exec gnome-terminal |
289 | bindsym $mod+e exec thunar | 327 | bindsym $mod+e exec thunar |
290 | bindsym $mod+l exec swaylock -K -f -F -c "#000000" --text-color '#ffffff' --indicator-radius 200 --indicator-thickness 10 | 328 | bindsym $mod+l exec swaylock -K -f -F -c "#000000" --text-color '#ffffff' --indicator-radius 200 --indicator-thickness 10 |