From 8ad2979b8b6b0d92e93f234fe26ad2f76ee33c10 Mon Sep 17 00:00:00 2001 From: roxwize Date: Mon, 9 Dec 2024 21:37:25 -0500 Subject: [PATCH] ~ --- configs/openbox/autostart | 2 ++ nixos/home.nix | 18 +++++++++++++++--- nixos/hosts/qemu/configuration.nix | 3 +++ 3 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 configs/openbox/autostart diff --git a/configs/openbox/autostart b/configs/openbox/autostart new file mode 100644 index 0000000..d274913 --- /dev/null +++ b/configs/openbox/autostart @@ -0,0 +1,2 @@ +xcompmgr & +polybar top & diff --git a/nixos/home.nix b/nixos/home.nix index 26679fd..e7a590c 100644 --- a/nixos/home.nix +++ b/nixos/home.nix @@ -19,6 +19,8 @@ in ".background-image".source = ../assets/wallpapers/2kki_rainyapartments.png; ".twmrc".source = ../configs/twm; ".config/i3/config".source = ../configs/i3; + + ".config/openbox/autostart".source = ../configs/openbox/autostart; }; }; @@ -53,24 +55,33 @@ in script = "polybar &"; settings = { "global/wm" = { - margin-top = 5; - margin-bottom = 5; + margin-top = 2; + margin-bottom = 2; }; "bar/top" = { - font-0 = "GohuFont:style=Regular:size=14;antialias=false"; + background = "#00000000"; + foreground = "#fff"; + width = "100%"; + height = 32; + font-0 = "GohuFont:style=Regular:size=14;3"; modules-left = "cpu memory"; modules-center = "xwindow"; modules-right = "date"; + module-margin = 1; + offset-y = 16; + padding = 2; }; "module/cpu" = { type = "internal/cpu"; label = "CPU: %percentage%%"; + label-background = "#ff3b1c32"; interval = 2; }; "module/memory" = { type = "internal/memory"; label = "RAM: %percentage_used%%"; + label-background = "#ff6a1e55"; interval = 2; }; "module/xwindow" = { @@ -81,6 +92,7 @@ in type = "internal/date"; date = "%b %d %y"; time = "%I:%M %p"; + label-background = "#ffa64d79"; interval = 5; }; }; diff --git a/nixos/hosts/qemu/configuration.nix b/nixos/hosts/qemu/configuration.nix index 1987d27..04f121b 100644 --- a/nixos/hosts/qemu/configuration.nix +++ b/nixos/hosts/qemu/configuration.nix @@ -97,6 +97,7 @@ hyfetch imagemagick kitty + nitrogen xclip yt-dlp zellij @@ -105,7 +106,9 @@ vscodium # misc polybar + rofi uxn + xcompmgr ]; # Open ports in the firewall.