diff options
author | Justine Smithies <justine@smithies.me.uk> | 2024-05-26 13:31:34 +0100 |
---|---|---|
committer | Justine Smithies <justine@smithies.me.uk> | 2024-05-26 13:31:34 +0100 |
commit | 7b08c293f1f8e26123e6799f05ed3125dea1c4f3 (patch) | |
tree | 6580f68fd957227df466f1a5d066d0072eb07cca /.config/yambar | |
parent | c71cff0253067d1309fc8d0034b975618a43d541 (diff) |
Added facility to save and restore brightness using brightnessctl also commented out network section until I've resolved the new config
Diffstat (limited to '.config/yambar')
-rw-r--r-- | .config/yambar/config.yml | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/.config/yambar/config.yml b/.config/yambar/config.yml index 85862b0..72d5148 100644 --- a/.config/yambar/config.yml +++ b/.config/yambar/config.yml @@ -141,37 +141,37 @@ bar: <<: *volume - backlight: name: amdgpu_bl0 - content: [ string: {text: , font: *nerdfont}, string: {text: "{percent}%", on-click: { left: sh -c "brightnessctl s 5-", right: sh -c "brightnessctl s +5"}}] - - network: - name: enp5s0 - content: - map: - conditions: - state == down: {string: {text: , font: *nerdfont, foreground: ffffffff}} - ~carrier: {empty: {}} - carrier: - map: - default: {string: {text: , font: *nerdfont, foreground: ffffffff}} - conditions: - state == up && ipv4 != "": {string: {text: , font: *nerdfont}} - - network: - name: wlp3s0 - poll-interval: 1000 - content: - map: - default: {string: {text: , font: *nerdfont, foreground: ffffff66}} - conditions: - state == down: {string: {text: , font: *nerdfont, foreground: ffffffff}} - state == up: - map: - default: - - string: {text: , font: *nerdfont} - - string: {text: "{ssid}"} + content: [ string: {text: , font: *nerdfont}, string: {text: "{percent}%", on-click: { left: sh -c "brightnessctl -s > ~/.cache/brightness s 5-", right: sh -c "brightnessctl -s > ~/.cache/brightness s +5"}}] + # - network: + # name: enp5s0 + # content: + # map: + # conditions: + # state == down: {string: {text: , font: *nerdfont, foreground: ffffffff}} + # ~carrier: {empty: {}} + # carrier: + # map: + # default: {string: {text: , font: *nerdfont, foreground: ffffffff}} + # conditions: + # state == up && ipv4 != "": {string: {text: , font: *nerdfont}} + # - network: + # name: wlp3s0 + # poll-interval: 1000 + # content: + # map: + # default: {string: {text: , font: *nerdfont, foreground: ffffff66}} + # conditions: + # state == down: {string: {text: , font: *nerdfont, foreground: ffffffff}} + # state == up: + # map: + # default: + # - string: {text: , font: *nerdfont} + # - string: {text: "{ssid}"} - conditions: - ipv4 == "": - - string: {text: , font: *nerdfont, foreground: ffffff66} - - string: {text: "{ssid}", foreground: ffffff66} + # conditions: + # ipv4 == "": + # - string: {text: , font: *nerdfont, foreground: ffffff66} + # - string: {text: "{ssid}", foreground: ffffff66} - battery: name: BAT0 poll-interval: 10000 |