summaryrefslogtreecommitdiff
path: root/profiles/beryllium.nix
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/beryllium.nix')
-rw-r--r--profiles/beryllium.nix49
1 files changed, 18 insertions, 31 deletions
diff --git a/profiles/beryllium.nix b/profiles/beryllium.nix
index 170dee2..7176dc4 100644
--- a/profiles/beryllium.nix
+++ b/profiles/beryllium.nix
@@ -48,7 +48,7 @@ in {
primary = true;
position = "0x0";
mode = "3840x2160";
- dpi = 331;
+ dpi = 156;
rate = "60.00";
};
DP-0 = {
@@ -56,7 +56,7 @@ in {
primary = false;
position = "3840x0";
mode = "3840x2160";
- dpi = 331;
+ dpi = 156;
rate = "60.00";
};
in {
@@ -66,40 +66,27 @@ in {
inherit DP-2 DP-0;
};
};
+ portrait = {
+ inherit fingerprint;
+ config = {
+ DP-0 = DP-0 // { rotate = "left"; position = "2160x0"; };
+ DP-2 = DP-2 // { rotate = "left"; };
+ };
+ };
};
services.random-background.enable = lib.mkForce true;
services.polybar.enable = true;
- services.polybar.config."bar/top".monitor = "DP-0";
+
+ services.polybar.config."bar/perf".monitor = "DP-0";
+ services.polybar.config."bar/cpu".monitor = "DP-0";
+ services.polybar.config."bar/cpu".bottom = true;
+ services.polybar.config."bar/org".monitor = "DP-2";
+
services.polybar.script = ''
- polybar top &
- polybar second &
+ polybar perf &
+ polybar cpu &
+ polybar org &
'';
- services.polybar.config."bar/second" = {
- background = colors."${theme}".background;
- font-0 = "FiraSans:size=${toString fontSize}";
- font-1 = "Font Awesome 5:pixelsize=11;1";
- font-2 = "MaterialIcons:size=10:antialias=false;2";
- foreground = colors."${theme}".foreground;
- height = "30";
- module-margin = 1;
- modules-center = "date";
- modules-left = ["ewmh" "volume-bar"];
- modules-right = [ "battery" "cpu" "mem" "temp" ];
- monitor = "DP-2";
- radius = 0;
- separator = "|";
- tray-background = colors."${theme}".background;
- tray-detached = false;
- tray-maxsize = 16;
- tray-offset-x = 0;
- tray-offset-y = 0;
- tray-padding = 0;
- tray-position = "right";
- tray-scale = 1;
- width = "100%";
- };
}
-
-