27 current 2025-04-29 02:11:26 25.05.20250424.f771eb4 6.12.24 *
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
osConfig,
|
||||
...
|
||||
}: let
|
||||
mypolybar = pkgs.polybar.override {
|
||||
@@ -37,8 +38,6 @@
|
||||
# ${ip} route | ${grep} default | ${awk} '{print $5}' > $out
|
||||
# '';
|
||||
|
||||
res = builtins.getEnv "RES";
|
||||
|
||||
hd = ''
|
||||
[bar/mybar]
|
||||
height = 20
|
||||
@@ -64,9 +63,9 @@
|
||||
'';
|
||||
|
||||
mon =
|
||||
if res == "1366x768"
|
||||
if osConfig.res == "1366x768"
|
||||
then hd
|
||||
else if res == "2560x1440"
|
||||
else if osConfig.res == "2560x1440"
|
||||
then qhd
|
||||
else fhd;
|
||||
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
# ./nitrogen/defualt.nix
|
||||
./rofi/default.nix
|
||||
./polybar/default.nix
|
||||
|
||||
# wm stuff
|
||||
./sxhkd/default.nix
|
||||
./bspwm/default.nix
|
||||
|
||||
Reference in New Issue
Block a user