diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-11-29 18:51:52 +0100 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-11-29 19:37:38 +0100 |
commit | 2138b4624eae088a81852f50b3a8f50fc0431a10 (patch) | |
tree | 701f7fdd68775c4c1589db463ef4ed37458c354c /modules/by-name/ya/yambar/config | |
parent | chore(pkgs/by-name/ya/{cpu,memory}): Merge (diff) | |
download | nixos-config-2138b4624eae088a81852f50b3a8f50fc0431a10.tar.gz nixos-config-2138b4624eae088a81852f50b3a8f50fc0431a10.zip |
refactor(modules/legacy/conf/yambar): Move to `by-name` and modernize
Diffstat (limited to 'modules/by-name/ya/yambar/config')
-rw-r--r-- | modules/by-name/ya/yambar/config/config.yml | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/modules/by-name/ya/yambar/config/config.yml b/modules/by-name/ya/yambar/config/config.yml new file mode 100644 index 00000000..442135aa --- /dev/null +++ b/modules/by-name/ya/yambar/config/config.yml @@ -0,0 +1,42 @@ +--- +# Config file for yambar +# Note that this may be version-dependent, this file is written for v1.8.0 + +bar: + right: + # - network: + # name: wlp5s0 + # poll-interval: 10 + # content: + # map: + # on-click: /bin/sh -c "nmtui" + # conditions: + # ~carrier: {empty: {}} + # carrier: + # string: {text: " {ssid} ", deco: *combutil} + # - network: + # name: enp4s0 + # content: + # map: + # on-click: /bin/sh -c "nmtui" + # conditions: + # ~carrier: + # string: {text: " Eth failed ", deco: *combutil} + # carrier: {empty: {}} + # - script: # Grade average + # path: grade_average_script + # content: + # string: + # text: " {grade} " + # deco: *combmem + # - script: # tray + # path: /home/dt/.config/yambar/scripts/yambar-tray + # content: + # empty: {} + # - script: + # path: /home/dt/.config/yambar/scripts/yambar-tray-width + # poll-interval: 10 + # content: + # string: + # text: "{padding}" + # deco: *combmem |