From 78ae3700357171604c68607ab1e71682ede4aabc Mon Sep 17 00:00:00 2001
From: Gregor Kleen <gkleen@yggdrasil.li>
Date: Sun, 11 Aug 2024 19:18:43 +0200
Subject: ...

---
 accounts/gkleen@sif/default.nix  | 23 +++++++++++++++++++++--
 accounts/gkleen@sif/hyprland.nix |  6 +++---
 user-profiles/mpv/default.nix    |  1 +
 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 {
               };
               battery = {
                 format = "{icon}";
-                format-icons = ["" "" "" "" ""];
+                states = { warning = 30; critical = 15; };
+                format-icons = ["&#xf008e;" "&#xf007a;" "&#xf007b;" "&#xf007c;" "&#xf007d;" "&#xf007e;" "&#xf007f;" "&#xf0080;" "&#xf0081;" "&#xf0082;" "&#xf0079;" ];
+                format-charging = "&#xf0684;";
+                format-plugged = "&#xf06a5;";
                 tooltip-format = "{capacity}% {timeTo}";
+                interval = 20;
               };
               tray = {
                 icon-size = iconSize;
@@ -378,11 +382,12 @@ in {
             @define-color white #dddddd;
             @define-color blue #1a8fff;
             @define-color green #23fd00;
+            @define-color orange #f28a21;
             @define-color red #f2201f;
 
             * {
               border: none;
-              font-family: "Fira Sans";
+              font-family: "Fira Sans Nerd Font";
               font-size: 10pt;
               min-height: 0;
             }
@@ -392,6 +397,13 @@ in {
               color: @white;
             }
 
+            .modules-left {
+              margin-left: 9px;
+            }
+            .modules-right {
+              margin-right: 9px;
+            }
+
             label.module {
               margin: 0 5px;
             }
@@ -408,6 +420,13 @@ in {
             #workspaces button.empty {
               opacity: 0.5;
             }
+
+            #battery.warning {
+              color: @orange;
+            }
+            #battery.critical {
+              color: @red;
+            }
           '';
 	      };
         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 @@
 
       vibrancy = 0.1696;
 
-      special = true;
-      popups = true;
+      # special = true;
+      # popups = true;
     };
   };
 
@@ -232,7 +232,7 @@
   ];
 
   workspace = [
-    "s[true], gapsout:200"
+    "s[true], gapsout:100"
 
     "special:term, on-created-empty:kitty"
     "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 @@
         # vo = "gpu";
         vo = "gpu-next";
         hwdec = "auto";
+        scale = "bilinear";
         force-window = "yes";
         # af = "lavfi=[dynaudnorm=f=100:g=31:s=20.0]";
         script-opts = lib.concatStringsSep "," [
-- 
cgit v1.2.3