summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMax Christian Pohle2020-02-02 16:07:37 +0100
committerMax Christian Pohle2020-02-02 16:07:37 +0100
commit0f5a68c2c6e15216f9357dd80310ee65a1dc6245 (patch)
treed93887b6a1ea6360bf4fd39a006090e7e89b27c9 /config
parent72821c3fa130753100088177a09a730abe39ba6b (diff)
downloadsway-0f5a68c2c6e15216f9357dd80310ee65a1dc6245.tar.bz2
sway-0f5a68c2c6e15216f9357dd80310ee65a1dc6245.zip
playing aroundstaging
Diffstat (limited to 'config')
-rw-r--r--config74
1 files changed, 56 insertions, 18 deletions
diff --git a/config b/config
index 6c36825..714e8e1 100644
--- a/config
+++ b/config
@@ -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
11include config_exec 30include config_exec
12 31
13 32
14 33output DP-1 {
15output 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
42output 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# ================================================================================
101xwayland enable 127xwayland enable
102# hide_edge_borders both 128# hide_edge_borders both
129# hide_edge_borders horizontal
130hide_edge_borders smart_no_gaps
103title_align left 131title_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
120include /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
123set $background $base01 153set $background $base00
124set $foreground $base05 154set $foreground $base0D
125set $cursorColor $foreground 155set $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
159client.focused $base05 $base0D $base00 $base0D $base0D 194client.focused $base05 $base0D $base00 $base0D $base0D
160client.focused_inactive $base01 $base01 $base05 $base03 $base01 195client.focused_inactive $base05 $base01 $base07 $base03 $base01
161client.unfocused $base01 $base00 $base05 $base01 $base01 196client.unfocused $base05 $base00 $base05 $base01 $base01
162client.urgent $base08 $base08 $base00 $base08 $base08 197client.urgent $base08 $base08 $base00 $base08 $base08
163client.placeholder $base00 $base00 $base05 $base00 $base00 198client.placeholder $base00 $base00 $base05 $base00 $base00
164client.background $background 199client.background $background
165 200
166 201
167 202
203default_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"
194for_window [title="YouTube"] title_format " %title" 231for_window [title="YouTube"] title_format " %title"
195for_window [title=""] title_format "%title" 232for_window [title=""] title_format "%title"
196for_window [title=" "] title_format "%title" 233for_window [title=" "] title_format "%title"
197for_window [title=" "] border pixel 0 234# for_window [title=" "] border pixel 0
198for_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
265bindsym $mod+s layout stacking 302bindsym $mod+s layout stacking
266bindsym $mod+w layout tabbed 303bindsym $mod+w layout tabbed
267bindsym $mod+q layout toggle split 304bindsym $mod+q layout toggle split
268bindsym $mod+x layout toggle all 305bindsym $mod+x layout toggle tabbed splitv
269 306
270bindsym $mod+v split toggle 307bindsym $mod+v split toggle
271bindsym $mod+space split toggle 308bindsym $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"
285bindsym $mod+Return exec dmenu_run 322# bindsym $mod+Return exec dmenu_run
323bindsym $mod+Return exec env BEMENU_BACKEND=wayland bemenu-run -f monospace 20 30 -H 25 --grab
286bindsym Mod1+F2 exec "killall rofi ; rofi -show drun -bg #222222 -fg #888888 -hlbg #285577 -hlfg #ffffff -show-icons -5" 324bindsym Mod1+F2 exec "killall rofi ; rofi -show drun -bg #222222 -fg #888888 -hlbg #285577 -hlfg #ffffff -show-icons -5"
287bindsym $mod+t exec xfce4-terminal 325bindsym $mod+t exec alacritty
288bindsym $mod+y exec gnome-terminal 326bindsym $mod+y exec gnome-terminal
289bindsym $mod+e exec thunar 327bindsym $mod+e exec thunar
290bindsym $mod+l exec swaylock -K -f -F -c "#000000" --text-color '#ffffff' --indicator-radius 200 --indicator-thickness 10 328bindsym $mod+l exec swaylock -K -f -F -c "#000000" --text-color '#ffffff' --indicator-radius 200 --indicator-thickness 10
..