sway: set colors
This commit is contained in:
parent
88812e032d
commit
d3bd36a23e
1 changed files with 41 additions and 10 deletions
|
@ -23,7 +23,8 @@ set $term x-terminal-emulator
|
||||||
# Your preferred application launcher
|
# Your preferred application launcher
|
||||||
# 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.
|
||||||
set $menu dmenu_path | dmenu | xargs swaymsg exec --
|
#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 --
|
||||||
|
|
||||||
### Output configuration
|
### Output configuration
|
||||||
#
|
#
|
||||||
|
@ -208,21 +209,51 @@ mode "resize" {
|
||||||
}
|
}
|
||||||
bindsym $mod+r mode "resize"
|
bindsym $mod+r mode "resize"
|
||||||
|
|
||||||
|
# Color settings
|
||||||
|
# The point here is to keep the hue difference between text and background constant,
|
||||||
|
# even if the colors change.
|
||||||
|
# We get this by using only fixed pairs:
|
||||||
|
# S_base03 <--> S_base0
|
||||||
|
# S_base02 <--> S_base1
|
||||||
|
# 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
|
||||||
|
|
||||||
#
|
#
|
||||||
# Status Bar:
|
# Status Bar:
|
||||||
#
|
#
|
||||||
# Read `man 5 sway-bar` for more information about this section.
|
|
||||||
bar {
|
bar {
|
||||||
|
tray_output primary
|
||||||
|
status_command i3status
|
||||||
position top
|
position top
|
||||||
|
|
||||||
# When the status_command prints a new line to stdout, swaybar updates.
|
|
||||||
# The default just shows the current date and time.
|
|
||||||
status_command while date +'%Y-%m-%d %l:%M:%S %p'; do sleep 1; done
|
|
||||||
|
|
||||||
colors {
|
colors {
|
||||||
statusline #ffffff
|
# background is S_base03
|
||||||
background #323232
|
background #002b36
|
||||||
inactive_workspace #32323200 #32323200 #5c5c5c
|
|
||||||
|
# statusline is S_base0
|
||||||
|
statusline #839496
|
||||||
|
|
||||||
|
# separator is S_base00
|
||||||
|
separator #657b83
|
||||||
|
|
||||||
|
# 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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
exec xrdb $HOME/.Xresources
|
exec xrdb $HOME/.Xresources
|
||||||
|
|
Loading…
Reference in a new issue