Migration to ayu.
This commit is contained in:
parent
b6e7de0e5d
commit
62c4507e7e
8 changed files with 68 additions and 42 deletions
|
@ -13,5 +13,5 @@ for battery in /sys/class/power_supply/BAT?*; do
|
|||
esac
|
||||
capacity=$(cat "$battery/capacity")
|
||||
# Will make a warn variable if discharging and low
|
||||
[ "$capacity" -le 20 ] && printf "<span foreground='#ffffff' background='#770000'>${status} ${capacity}%%</span>" || printf "${status} ${capacity}%%"
|
||||
[ "$capacity" -le 20 ] && printf "<span foreground='#000000' background='#ff3333'>${status} ${capacity}%%</span>" || printf "${status} ${capacity}%%"
|
||||
done && exit 0
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
case "$(cat /sys/class/net/w*/operstate 2>/dev/null)" in
|
||||
down) printf "<span background='#770000'>no wifi</span>" ;;
|
||||
down) printf "<span foreground='#000000' background='#ff3333'>no wifi</span>" ;;
|
||||
up)
|
||||
[ -n "$(ip address show dev wlan0 | grep 'inet ')" ] || printf "<span background='#770000'>no ip</span>"
|
||||
[ -n "$(ip address show dev wlan0 | grep 'inet ')" ] || printf "<span foreground='#000000' background='#ff3333'>no ip</span>"
|
||||
# && printf "$icon $(iwgetid -r)" \
|
||||
esac
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
case $(cat $XDG_CACHE_HOME/yubikey.status) in
|
||||
*_1) printf " <span foreground='#000000' background='#e8b923'>touch the yubikey</span>" ;;
|
||||
*_1) printf " <span foreground='#000000' background='#e7c547'>touch the yubikey</span>" ;;
|
||||
*) printf "" ;;
|
||||
esac
|
||||
|
|
|
@ -96,29 +96,29 @@ unsigned int tabspaces = 8;
|
|||
|
||||
/* Terminal colors (16 first used in escape sequence) */
|
||||
static const char *colorname[] = {
|
||||
"#272822",
|
||||
"#fd4285",
|
||||
"#a6e22d",
|
||||
"#e5da72",
|
||||
"#0094d8",
|
||||
"#9a37ff",
|
||||
"#50b6d8",
|
||||
"#c7c7c7",
|
||||
"#676767",
|
||||
"#fa7fac",
|
||||
"#bde271",
|
||||
"#fff27f",
|
||||
"#005577",
|
||||
"#bd9eff",
|
||||
"#5ed6fe",
|
||||
"#feffff",
|
||||
"#000000",
|
||||
"#ff3333",
|
||||
"#b8cc52",
|
||||
"#e7c547",
|
||||
"#36a3d9",
|
||||
"#f07178",
|
||||
"#95e6cb",
|
||||
"#ffffff",
|
||||
"#323232",
|
||||
"#ff6565",
|
||||
"#eafe84",
|
||||
"#fff779",
|
||||
"#68d5ff",
|
||||
"#ffa3aa",
|
||||
"#c7fffd",
|
||||
"#ffffff",
|
||||
|
||||
[255] = 0,
|
||||
|
||||
/* more colors can be added after 255 to use with DefaultXX */
|
||||
"#272822", /* 256 -> background */
|
||||
"#c7c7c7", /* 257 -> foreground */
|
||||
"#c7c7c7", /* 258 -> cursor */
|
||||
"#0f1419", /* 256 -> background */
|
||||
"#e6e1cf", /* 257 -> foreground */
|
||||
"#f29718", /* 258 -> cursor */
|
||||
"#272822", /* 259 -> cursor text */
|
||||
};
|
||||
|
||||
|
|
|
@ -345,7 +345,7 @@
|
|||
#icon = /path/to/icon
|
||||
|
||||
[urgency_critical]
|
||||
background = "#770000"
|
||||
background = "#ff3333"
|
||||
foreground = "#feffff"
|
||||
frame_color = "#feffff"
|
||||
timeout = 2
|
||||
|
|
|
@ -94,7 +94,7 @@ dgroups_app_rules = [] # type: list
|
|||
layouts = [
|
||||
layout.Columns(
|
||||
border_focus='#ffffff',
|
||||
border_normal="#272822",
|
||||
border_normal='#0f1419',
|
||||
border_on_single = False,
|
||||
border_width=2,
|
||||
insert_position=1,
|
||||
|
@ -103,10 +103,10 @@ layouts = [
|
|||
]
|
||||
|
||||
widget_defaults = dict(
|
||||
foreground="#f8f8f2",
|
||||
background="#272822",
|
||||
foreground='#e6e1cf',
|
||||
background='#0f1419',
|
||||
font="RobotoMono Nerd Font",
|
||||
fontsize=13,
|
||||
fontsize=14,
|
||||
)
|
||||
extension_defaults = widget_defaults.copy()
|
||||
|
||||
|
@ -116,12 +116,11 @@ screens = [
|
|||
[
|
||||
widget.GroupBox(
|
||||
disable_drag=True,
|
||||
highlight_method='block',
|
||||
#highlight_method='block',
|
||||
rounded=False,
|
||||
this_current_screen_border='#005577',
|
||||
this_screen_border='#f8f8f2',
|
||||
urgent_border='#770000',
|
||||
urgent_text='#ffffff',
|
||||
this_current_screen_border='#36a3d9',
|
||||
urgent_alert_method='block',
|
||||
urgent_border='#ff3333',
|
||||
),
|
||||
widget.GenPollText(
|
||||
update_interval=0.5,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue