aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdot-config/yambar/config.yml18
1 files changed, 14 insertions, 4 deletions
diff --git a/dot-config/yambar/config.yml b/dot-config/yambar/config.yml
index 97620d7..c22ca65 100755
--- a/dot-config/yambar/config.yml
+++ b/dot-config/yambar/config.yml
@@ -201,13 +201,23 @@ workspace: &workspace
backlight: &backlight
name: intel_backlight
content:
- string:
- text: "{percent}% "
- margin: *margin
- foreground: *fg
+ map:
on-click:
wheel-up: *brightness-up
wheel-down: *brightness-down
+ margin: *margin
+ foreground: *fg
+ conditions:
+ percent <= 10: {string: {text: "{percent} 󱩎"}}
+ percent <= 20: {string: {text: "{percent} 󱩏"}}
+ percent <= 30: {string: {text: "{percent} 󱩐"}}
+ percent <= 40: {string: {text: "{percent} 󱩑"}}
+ percent <= 50: {string: {text: "{percent} 󱩒"}}
+ percent <= 60: {string: {text: "{percent} 󱩓"}}
+ percent <= 70: {string: {text: "{percent} 󱩔"}}
+ percent <= 80: {string: {text: "{percent} 󱩕"}}
+ percent <= 90: {string: {text: "{percent} 󱩖"}}
+ percent <= 100: {string: {text: "{percent} 󰛨"}}
pacman: &pacman
path: ~/.config/yambar/scripts/pacman