summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2024-08-11 19:18:43 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2024-08-11 19:18:43 +0200
commit78ae3700357171604c68607ab1e71682ede4aabc (patch)
treec8a10a07d3a3387c34d6e03e72fd6b60643e73d4
parent068245db0c23a58cdc4582d02e9f1f03355e7c55 (diff)
downloadnixos-78ae3700357171604c68607ab1e71682ede4aabc.tar
nixos-78ae3700357171604c68607ab1e71682ede4aabc.tar.gz
nixos-78ae3700357171604c68607ab1e71682ede4aabc.tar.bz2
nixos-78ae3700357171604c68607ab1e71682ede4aabc.tar.xz
nixos-78ae3700357171604c68607ab1e71682ede4aabc.zip
...
-rw-r--r--accounts/gkleen@sif/default.nix23
-rw-r--r--accounts/gkleen@sif/hyprland.nix6
-rw-r--r--user-profiles/mpv/default.nix1
3 files changed, 25 insertions, 5 deletions
diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix
index 9f48a770..f6049307 100644
--- a/accounts/gkleen@sif/default.nix
+++ b/accounts/gkleen@sif/default.nix
@@ -334,8 +334,12 @@ in {
334 }; 334 };
335 battery = { 335 battery = {
336 format = "{icon}"; 336 format = "{icon}";
337 format-icons = ["" "" "" "" ""]; 337 states = { warning = 30; critical = 15; };
338 format-icons = ["&#xf008e;" "&#xf007a;" "&#xf007b;" "&#xf007c;" "&#xf007d;" "&#xf007e;" "&#xf007f;" "&#xf0080;" "&#xf0081;" "&#xf0082;" "&#xf0079;" ];
339 format-charging = "&#xf0684;";
340 format-plugged = "&#xf06a5;";
338 tooltip-format = "{capacity}% {timeTo}"; 341 tooltip-format = "{capacity}% {timeTo}";
342 interval = 20;
339 }; 343 };
340 tray = { 344 tray = {
341 icon-size = iconSize; 345 icon-size = iconSize;
@@ -378,11 +382,12 @@ in {
378 @define-color white #dddddd; 382 @define-color white #dddddd;
379 @define-color blue #1a8fff; 383 @define-color blue #1a8fff;
380 @define-color green #23fd00; 384 @define-color green #23fd00;
385 @define-color orange #f28a21;
381 @define-color red #f2201f; 386 @define-color red #f2201f;
382 387
383 * { 388 * {
384 border: none; 389 border: none;
385 font-family: "Fira Sans"; 390 font-family: "Fira Sans Nerd Font";
386 font-size: 10pt; 391 font-size: 10pt;
387 min-height: 0; 392 min-height: 0;
388 } 393 }
@@ -392,6 +397,13 @@ in {
392 color: @white; 397 color: @white;
393 } 398 }
394 399
400 .modules-left {
401 margin-left: 9px;
402 }
403 .modules-right {
404 margin-right: 9px;
405 }
406
395 label.module { 407 label.module {
396 margin: 0 5px; 408 margin: 0 5px;
397 } 409 }
@@ -408,6 +420,13 @@ in {
408 #workspaces button.empty { 420 #workspaces button.empty {
409 opacity: 0.5; 421 opacity: 0.5;
410 } 422 }
423
424 #battery.warning {
425 color: @orange;
426 }
427 #battery.critical {
428 color: @red;
429 }
411 ''; 430 '';
412 }; 431 };
413 wpaperd = { 432 wpaperd = {
diff --git a/accounts/gkleen@sif/hyprland.nix b/accounts/gkleen@sif/hyprland.nix
index 20f6df84..92dcb39f 100644
--- a/accounts/gkleen@sif/hyprland.nix
+++ b/accounts/gkleen@sif/hyprland.nix
@@ -55,8 +55,8 @@
55 55
56 vibrancy = 0.1696; 56 vibrancy = 0.1696;
57 57
58 special = true; 58 # special = true;
59 popups = true; 59 # popups = true;
60 }; 60 };
61 }; 61 };
62 62
@@ -232,7 +232,7 @@
232 ]; 232 ];
233 233
234 workspace = [ 234 workspace = [
235 "s[true], gapsout:200" 235 "s[true], gapsout:100"
236 236
237 "special:term, on-created-empty:kitty" 237 "special:term, on-created-empty:kitty"
238 "special:edit, on-created-empty:emacsclient -c" 238 "special:edit, on-created-empty:emacsclient -c"
diff --git a/user-profiles/mpv/default.nix b/user-profiles/mpv/default.nix
index bbb6d9ac..7c8fc603 100644
--- a/user-profiles/mpv/default.nix
+++ b/user-profiles/mpv/default.nix
@@ -15,6 +15,7 @@
15 # vo = "gpu"; 15 # vo = "gpu";
16 vo = "gpu-next"; 16 vo = "gpu-next";
17 hwdec = "auto"; 17 hwdec = "auto";
18 scale = "bilinear";
18 force-window = "yes"; 19 force-window = "yes";
19 # af = "lavfi=[dynaudnorm=f=100:g=31:s=20.0]"; 20 # af = "lavfi=[dynaudnorm=f=100:g=31:s=20.0]";
20 script-opts = lib.concatStringsSep "," [ 21 script-opts = lib.concatStringsSep "," [