updates to i3, sway

This commit is contained in:
Tobias Schmidl 2024-05-08 10:02:18 +02:00
parent e0865d6453
commit fc6b23ba8e
2 changed files with 71 additions and 53 deletions

View file

@ -7,6 +7,26 @@ new_window none
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
# font for window titles. ISO 10646 = Unicode
@ -32,7 +52,7 @@ bindsym $mod+Shift+Q kill
# start dmenu (a program launcher)
#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
bindsym $mod+Left focus left
@ -144,18 +164,11 @@ bindsym $mod+r mode "resize"
# S_base01 <--> S_base2
# S_base00 <--> S_base3
# class border backgr. text indicator
# S_base03 S_base3 S_base03 S_base0
client.focused #002b36 #839496 #002b36 #839496
# S_base03 S_base01 S_base2 S_base01
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
# class border backgr. text indicator
client.focused $S_base03 $S_base0 $S_base03 $S_base0
client.focused_inactive $S_base03 $S_base01 $S_base2 $S_base01
client.unfocused $S_base03 $S_base03 $S_base0 $S_base03
client.urgent $S_base03 $S_red $S_base03 $S_red
# Start i3bar to display a workspace bar (plus the system information i3status
@ -165,21 +178,16 @@ bar {
status_command i3status
position top
colors {
# background is S_base03
background #002b36
# statusline is S_base0
statusline #839496
# separator is S_base00
separator #657b83
background $S_base03
statusline $S_base0
separator $S_base00
# settings copied from color.x scheme above, keep in sync!
# border backgr. text
focused_workspace #002b36 #839496 #002b36
active_workspace #002b36 #586e75 #eee8d5
inactive_workspace #002b36 #002b36 #839496
urgent_workspace #002b36 #dc322f #002b36
# border backgr. text
focused_workspace $S_base03 $S_base0 $S_base03
active_workspace $S_base03 $S_base01 $S_base2
inactive_workspace $S_base03 $S_base03 $S_base0
urgent_workspace $S_base03 $S_red $S_base03
}
}