From 2bbe30283a1a29aa01c1b0f1273182b8afdbe49f Mon Sep 17 00:00:00 2001 From: = Date: Thu, 30 Jul 2026 16:07:25 -0500 Subject: enzo-specific changes for now --- niri/.config/niri/config.kdl | 3 ++- yambar/.config/yambar/config.yml | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 yambar/.config/yambar/config.yml diff --git a/niri/.config/niri/config.kdl b/niri/.config/niri/config.kdl index 417ed7c..0c1fc54 100644 --- a/niri/.config/niri/config.kdl +++ b/niri/.config/niri/config.kdl @@ -2,7 +2,7 @@ prefer-no-csd //spawn-at-startup "swaybg" "--color" "#24273a" spawn-at-startup "swaybg" "--image" "/home/henz/resources/photography/nasa/55196710272_1289069236_o.jpg" "--mode" "fill" -spawn-at-startup "waybar" +spawn-at-startup "yambar" input { keyboard { @@ -23,6 +23,7 @@ output "DP-1" { layout { gaps 16 center-focused-column "never" + always-center-single-column preset-column-widths { proportion 0.33333 diff --git a/yambar/.config/yambar/config.yml b/yambar/.config/yambar/config.yml new file mode 100644 index 0000000..604f462 --- /dev/null +++ b/yambar/.config/yambar/config.yml @@ -0,0 +1,34 @@ +bar: + location: top + height: 48 + spacing: 20 + margin: 20 + background: 000000ff + font: monospace:size=32 + + right: + - network: + poll-interval: 30000 + content: + map: + default: {empty: {}} + conditions: + name == "wlp1s0": + map: + default: {string: {text: "offline"}} + conditions: + state == "up": + string: {text: "{ssid}"} + - battery: + name: BAT0 + poll-interval: 30000 + content: + map: + default: {string: {text: "bat {capacity}%"}} + conditions: + state == "charging": {string: {text: "chr {capacity}%"}} + state == "full": {string: {text: "bat full"}} + - clock: + content: + - string: {text: "{date}", right-margin: 20} + - string: {text: "{time}"} -- cgit v1.3