From b57732338fdd89081240b6aa1d8f7486df002842 Mon Sep 17 00:00:00 2001 From: roxwize Date: Tue, 10 Dec 2024 23:09:03 -0500 Subject: [PATCH] ~ --- configs/openbox/autostart | 1 + configs/openbox/rc.xml | 38 ++++++++++++++++++++++++++++++++++++++ nixos/home.nix | 21 +++++++++++++++++---- 3 files changed, 56 insertions(+), 4 deletions(-) diff --git a/configs/openbox/autostart b/configs/openbox/autostart index c7ccdc6..b845f88 100644 --- a/configs/openbox/autostart +++ b/configs/openbox/autostart @@ -1,3 +1,4 @@ hsetroot -cover ~/.dotfiles/assets/wallpapers/kendal.png xcompmgr & polybar top & +polybar tray & diff --git a/configs/openbox/rc.xml b/configs/openbox/rc.xml index bd57db4..20d97de 100644 --- a/configs/openbox/rc.xml +++ b/configs/openbox/rc.xml @@ -1,11 +1,49 @@ + + 10 + 20 + + + 4 + 1 + rofi -show combi -modes combi -combi-modes "window,drun,run" + + + previous + + + + + next + + + + + 1 + + + + + 2 + + + + + 3 + + + + + 4 + + diff --git a/nixos/home.nix b/nixos/home.nix index ecec06f..a26c7d0 100644 --- a/nixos/home.nix +++ b/nixos/home.nix @@ -55,11 +55,11 @@ in script = "polybar &"; settings = let - background = "#00000000"; + background = "#0000"; foreground = "#fff"; - color0 = "#ffd9eafd"; - color1 = "#ffbcccdc"; - color2 = "#ff9aa6b2"; + color0 = "#d9eafd"; + color1 = "#bcccdc"; + color2 = "#9aa6b2"; in { "global/wm" = { margin-top = 2; @@ -78,6 +78,15 @@ in offset-y = 14; padding = 2; }; + "bar/tray" = { + background = color0; + foreground = "#000"; + bottom = "true"; + width = "100%"; + height = 32; + font-0 = "GohuFont:style=Regular:size=14;3"; + modules-left = "tray"; + }; "module/cpu" = { type = "internal/cpu"; @@ -114,6 +123,10 @@ in label-padding = 2; interval = 5; }; + "module/tray" = { + type = "internal/tray"; + tray-spacing = "8px"; + }; }; }; };