updates to i3, sway
This commit is contained in:
		
							parent
							
								
									e0865d6453
								
							
						
					
					
						commit
						fc6b23ba8e
					
				
					 2 changed files with 71 additions and 53 deletions
				
			
		|  | @ -7,6 +7,26 @@ new_window none | ||||||
| 
 | 
 | ||||||
| set $mod Mod4 | set $mod Mod4 | ||||||
| 
 | 
 | ||||||
|  | # Common | ||||||
|  | set $S_yellow   "#b58900" | ||||||
|  | set $S_orange   "#cb4b16" | ||||||
|  | set $S_red      "#dc322f" | ||||||
|  | set $S_magenta  "#d33682" | ||||||
|  | set $S_violet   "#6c71c4" | ||||||
|  | set $S_blue     "#268bd2" | ||||||
|  | set $S_cyan     "#2aa198" | ||||||
|  | set $S_green    "#859900" | ||||||
|  | 
 | ||||||
|  | # Dark | ||||||
|  | set $S_base03  "#002b36" | ||||||
|  | set $S_base02  "#073642" | ||||||
|  | set $S_base01  "#586e75" | ||||||
|  | set $S_base00  "#657b83" | ||||||
|  | set $S_base0   "#839496" | ||||||
|  | set $S_base1   "#93a1a1" | ||||||
|  | set $S_base2   "#eee8d5" | ||||||
|  | set $S_base3   "#fdf6e3" | ||||||
|  | 
 | ||||||
| popup_during_fullscreen leave_fullscreen | popup_during_fullscreen leave_fullscreen | ||||||
| 
 | 
 | ||||||
| # font for window titles. ISO 10646 = Unicode | # font for window titles. ISO 10646 = Unicode | ||||||
|  | @ -32,7 +52,7 @@ bindsym $mod+Shift+Q kill | ||||||
| 
 | 
 | ||||||
| # start dmenu (a program launcher) | # start dmenu (a program launcher) | ||||||
| #Colors: S_base0 <--> S_base03 (Selected is vice versa) | #Colors: S_base0 <--> S_base03 (Selected is vice versa) | ||||||
| bindsym $mod+space exec dmenu_run -sb '#002b36' -sf '#839496' -nb '#839496' -nf '#002b36' -fn 'Hack-9' | bindsym $mod+space exec dmenu_run -sb $S_base0 -sf $S_base03 -nb $S_base03 -nf $S_base0 -fn 'Hack-9' | ||||||
| 
 | 
 | ||||||
| # change focus | # change focus | ||||||
| bindsym $mod+Left focus left | bindsym $mod+Left focus left | ||||||
|  | @ -144,18 +164,11 @@ bindsym $mod+r mode "resize" | ||||||
| # S_base01 <--> S_base2 | # S_base01 <--> S_base2 | ||||||
| # S_base00 <--> S_base3 | # S_base00 <--> S_base3 | ||||||
| 
 | 
 | ||||||
| # class                 border   backgr.  text     indicator | # class                 border     backgr.    text       indicator | ||||||
| #                       S_base03 S_base3  S_base03 S_base0 | client.focused          $S_base03  $S_base0   $S_base03  $S_base0 | ||||||
| client.focused          #002b36  #839496  #002b36  #839496 | client.focused_inactive $S_base03  $S_base01  $S_base2   $S_base01 | ||||||
| 
 | client.unfocused        $S_base03  $S_base03  $S_base0   $S_base03 | ||||||
| #                       S_base03 S_base01 S_base2  S_base01 | client.urgent           $S_base03  $S_red     $S_base03  $S_red | ||||||
| client.focused_inactive #002b36  #586e75  #eee8d5  #586e75 |  | ||||||
| 
 |  | ||||||
| #                       S_base03 S_base03 S_base0  S_base03 |  | ||||||
| client.unfocused        #002b36  #002b36  #839496  #002b36 |  | ||||||
| 
 |  | ||||||
| #                       S_base03 S_red    S_base03 S_base03 |  | ||||||
| client.urgent           #002b36  #dc322f  #002b36  #dc322f |  | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| # Start i3bar to display a workspace bar (plus the system information i3status | # Start i3bar to display a workspace bar (plus the system information i3status | ||||||
|  | @ -165,21 +178,16 @@ bar { | ||||||
| 	status_command i3status | 	status_command i3status | ||||||
| 	position top | 	position top | ||||||
| 	colors { | 	colors { | ||||||
| 		# background is S_base03 | 		background $S_base03 | ||||||
| 		background #002b36 | 		statusline $S_base0 | ||||||
| 
 | 		separator  $S_base00 | ||||||
| 		# statusline is S_base0 |  | ||||||
| 		statusline #839496 |  | ||||||
| 
 |  | ||||||
| 		# separator is S_base00 |  | ||||||
| 		separator #657b83 |  | ||||||
| 
 | 
 | ||||||
| 		# settings copied from color.x scheme above, keep in sync! | 		# settings copied from color.x scheme above, keep in sync! | ||||||
| 		#                  border  backgr. text | 		#                  border     backgr.    text | ||||||
| 		focused_workspace  #002b36 #839496 #002b36 | 		focused_workspace  $S_base03  $S_base0   $S_base03 | ||||||
| 		active_workspace   #002b36 #586e75 #eee8d5 | 		active_workspace   $S_base03  $S_base01  $S_base2 | ||||||
| 		inactive_workspace #002b36 #002b36 #839496 | 		inactive_workspace $S_base03  $S_base03  $S_base0 | ||||||
| 		urgent_workspace   #002b36 #dc322f #002b36 | 		urgent_workspace   $S_base03  $S_red     $S_base03 | ||||||
| 	} | 	} | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -6,6 +6,7 @@ smart_borders on | ||||||
| hide_edge_borders --i3 smart | hide_edge_borders --i3 smart | ||||||
| font pango:Hack 9 | font pango:Hack 9 | ||||||
| default_border none | default_border none | ||||||
|  | 
 | ||||||
| ### Variables | ### Variables | ||||||
| # | # | ||||||
| # Logo key. Use Mod1 for Alt. | # Logo key. Use Mod1 for Alt. | ||||||
|  | @ -17,6 +18,26 @@ set $down j | ||||||
| set $up k | set $up k | ||||||
| set $right l | set $right l | ||||||
| 
 | 
 | ||||||
|  | # Common | ||||||
|  | set $S_yellow   "#b58900" | ||||||
|  | set $S_orange   "#cb4b16" | ||||||
|  | set $S_red      "#dc322f" | ||||||
|  | set $S_magenta  "#d33682" | ||||||
|  | set $S_violet   "#6c71c4" | ||||||
|  | set $S_blue     "#268bd2" | ||||||
|  | set $S_cyan     "#2aa198" | ||||||
|  | set $S_green    "#859900" | ||||||
|  | 
 | ||||||
|  | # Dark | ||||||
|  | set $S_base03  "#002b36" | ||||||
|  | set $S_base02  "#073642" | ||||||
|  | set $S_base01  "#586e75" | ||||||
|  | set $S_base00  "#657b83" | ||||||
|  | set $S_base0   "#839496" | ||||||
|  | set $S_base1   "#93a1a1" | ||||||
|  | set $S_base2   "#eee8d5" | ||||||
|  | set $S_base3   "#fdf6e3" | ||||||
|  | 
 | ||||||
| # Your preferred terminal emulator | # Your preferred terminal emulator | ||||||
| set $term x-terminal-emulator | set $term x-terminal-emulator | ||||||
| 
 | 
 | ||||||
|  | @ -24,12 +45,12 @@ set $term x-terminal-emulator | ||||||
| # Note: pass the final command to swaymsg so that the resulting window can be opened | # Note: pass the final command to swaymsg so that the resulting window can be opened | ||||||
| # on the original workspace that the command was run on. | # on the original workspace that the command was run on. | ||||||
| #Colors: S_base0 <--> S_base03 (Selected is vice versa) | #Colors: S_base0 <--> S_base03 (Selected is vice versa) | ||||||
| set $menu dmenu_path | dmenu -sb '#002b36' -sf '#839496' -nb '#839496' -nf '#002b36' -fn 'Hack-9'| xargs swaymsg exec -- | set $menu dmenu_path | bemenu-run -i -M 0 -W 1 --fork --sb $S_base0 --sf $S_base03 --hb $S_base3 --hf $S_base00 --nb $S_base03 --nf $S_base0 --ab $S_base02 --af $S_base1 --tb $S_base03 --tf $S_base0 --fb $S_base03 --ff $S_base0 --cb $S_base2 --cf $S_base01 --fn "Hack 9" | ||||||
| 
 | 
 | ||||||
| ### Output configuration | ### Output configuration | ||||||
| # | # | ||||||
| # wallpaper | # wallpaper | ||||||
| output * bg $HOME/Bilder/current.jpg fit #002b36 | output * bg $S_base03 solid_color | ||||||
| # | # | ||||||
| # Screen | # Screen | ||||||
| output eDP-1 resolution 1920x1080 position 0,0 | output eDP-1 resolution 1920x1080 position 0,0 | ||||||
|  | @ -204,6 +225,7 @@ mode "resize" { | ||||||
|     bindsym Return mode "default" |     bindsym Return mode "default" | ||||||
|     bindsym Escape mode "default" |     bindsym Escape mode "default" | ||||||
| } | } | ||||||
|  | 
 | ||||||
| bindsym $mod+r mode "resize" | bindsym $mod+r mode "resize" | ||||||
| 
 | 
 | ||||||
| # Color settings | # Color settings | ||||||
|  | @ -215,18 +237,11 @@ bindsym $mod+r mode "resize" | ||||||
| # S_base01 <--> S_base2 | # S_base01 <--> S_base2 | ||||||
| # S_base00 <--> S_base3 | # S_base00 <--> S_base3 | ||||||
| 
 | 
 | ||||||
| # class                 border   backgr.  text     indicator | # class                 border     backgr.    text       indicator | ||||||
| #                       S_base03 S_base3  S_base03 S_base0 | client.focused          $S_base03  $S_base0   $S_base03  $S_base0 | ||||||
| client.focused          #002b36  #839496  #002b36  #839496 | client.focused_inactive $S_base03  $S_base01  $S_base2   $S_base01 | ||||||
| 
 | client.unfocused        $S_base03  $S_base03  $S_base0   $S_base03 | ||||||
| #                       S_base03 S_base01 S_base2  S_base01 | client.urgent           $S_base03  $S_red     $S_base03  $S_red | ||||||
| client.focused_inactive #002b36  #586e75  #eee8d5  #586e75 |  | ||||||
| 
 |  | ||||||
| #                       S_base03 S_base03 S_base0  S_base03 |  | ||||||
| client.unfocused        #002b36  #002b36  #839496  #002b36 |  | ||||||
| 
 |  | ||||||
| #                       S_base03 S_red    S_base03 S_base03 |  | ||||||
| client.urgent           #002b36  #dc322f  #002b36  #dc322f |  | ||||||
| 
 | 
 | ||||||
| # | # | ||||||
| # Status Bar: | # Status Bar: | ||||||
|  | @ -236,21 +251,16 @@ bar { | ||||||
|     status_command i3status |     status_command i3status | ||||||
|     position top |     position top | ||||||
|     colors { |     colors { | ||||||
|         # background is S_base03 |         background $S_base03 | ||||||
|         background #002b36 |         statusline $S_base0 | ||||||
| 
 |         separator  $S_base00 | ||||||
|         # statusline is S_base0 |  | ||||||
|         statusline #839496 |  | ||||||
| 
 |  | ||||||
|         # separator is S_base00 |  | ||||||
|         separator #657b83 |  | ||||||
| 
 | 
 | ||||||
|         # settings copied from color.x scheme above, keep in sync! |         # settings copied from color.x scheme above, keep in sync! | ||||||
|         #                  border  backgr. text |         #                  border     backgr.    text | ||||||
|         focused_workspace  #002b36 #839496 #002b36 |         focused_workspace  $S_base03  $S_base0   $S_base03 | ||||||
|         active_workspace   #002b36 #586e75 #eee8d5 |         active_workspace   $S_base03  $S_base01  $S_base2 | ||||||
|         inactive_workspace #002b36 #002b36 #839496 |         inactive_workspace $S_base03  $S_base03  $S_base0 | ||||||
|         urgent_workspace   #002b36 #dc322f #002b36 |         urgent_workspace   $S_base03  $S_red     $S_base03 | ||||||
|     } |     } | ||||||
| } | } | ||||||
| exec xrdb $HOME/.Xresources | exec xrdb $HOME/.Xresources | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue