]> Skullheadx's Git Forge - nixos.git/commitdiff
fixed mpd bug where it would not resume playback upon skip
authorAndrew <admonty1@protonmail.com>
Sun, 24 Aug 2025 06:54:56 +0000 (02:54 -0400)
committerAndrew <admonty1@protonmail.com>
Sun, 24 Aug 2025 06:54:56 +0000 (02:54 -0400)
home.nix
hyprland/hyprland.nix
hyprlock.nix
mpd.nix

index 2505e1fa0a19b61daa20acfb3b174f5ac967ba92..36baaecb7f96da6b2efab0aa9e29524f6743b827 100644 (file)
--- a/home.nix
+++ b/home.nix
@@ -49,6 +49,7 @@
     # # Adds the 'hello':wq command to your environment. It prints a friendly
     # # "Hello, world!" when run.
        audacity
+       mpc
     discord
     neovim
     catppuccin-gtk
index 6fe96eb8a06457af4528537ad527837f484d326a..74b4a43e12ddfada99b2998d66ddb3f2f55798a3 100644 (file)
@@ -44,7 +44,7 @@ env = [
        "uwsm app -- waybar"
         "[workspace 1 silent] uwsm app -- ghostty"
         "[workspace 2 silent] uwsm app -- brave"
-        "[workspace 3 silent] uwsm app -- ghostty -e rmpc"
+       "[workspace 3 silent] uwsm app -- ghostty -e fish -c rmpc"
         "[workspace 4 silent] uwsm app -- discord"
         "[workspace 6 silent] uwsm app -- keepassxc"
         "[workspace 8 silent] uwsm app -- steam"
index 8f36fd1c3ceedd4a5d19463e1a84a7d3ca1eac4a..f1319b77ff32be204bd089f56557a92827a83920 100644 (file)
@@ -22,7 +22,7 @@ in
       # you can get started by copying this config to ~/.config/hypr/hyprlock.conf
       #
       general = {
-        hide_cursor = false;
+        hide_cursor = true;
       };
 
       # uncomment to enable fingerprint authentication
@@ -35,15 +35,15 @@ in
       #     }
       # }
 
-      animations = {
-        enabled = true;
-        bezier = "linear, 1, 1, 0, 0";
-        animation = [
-          "fadeIn, 1, 5, linear"
-          "fadeOut, 1, 5, linear"
-          "inputFieldDots, 1, 2, linear"
-        ];
-      };
+#      animations = {
+#        enabled = true;
+#        bezier = "linear, 1, 1, 0, 0";
+#        animation = [
+#          "fadeIn, 1, 5, linear"
+#          "fadeOut, 1, 5, linear"
+#          "inputFieldDots, 1, 2, linear"
+#        ];
+#      };
 
       background = {
         monitor = "";
@@ -51,66 +51,82 @@ in
         blur_passes = 3;
         blur_size = 8;
       };
+#  input-field = [
+#    {
+#      size = "200, 50";
+#      position = "0, -80";
+#      monitor = "";
+#      dots_center = true;
+#      fade_on_empty = false;
+#      font_color = "rgb(202, 211, 245)";
+#      inner_color = "rgb(91, 96, 120)";
+#      outer_color = "rgb(24, 25, 38)";
+#      outline_thickness = 5;
+#      placeholder_text = "Input password...";
+#      #placeholder_text = '\'<span foreground="##cad3f5">Password...</span>'\';
+#      shadow_passes = 2;
+#    }
+#  ];
 
-      input-field = lib.mkForce [
-        {
-          monitor = "";
-          size = "20, 5";
-          outline_thickness = 3;
-          inner_color = "rgba(0, 0, 0, 0.0)"; # no fill
-
-          outer_color = "rgba(33ccffee) rgba(00ff99ee) 45deg";
-          check_color = "rgba(00ff99ee) rgba(ff6633ee) 120deg";
-          fail_color = "rgba(ff6633ee) rgba(ff0066ee) 40deg";
-
-          font_color = "rgb(143, 143, 143)";
-          fade_on_empty = false;
-          rounding = 15;
-       
-         font_size = 30;
-          font_family = "${font}";
-          placeholder_text = "Input password...";
-          fail_text = "$PAMFAIL";
-
-          # uncomment to use a letter instead of a dot to indicate the typed password
-          # dots_text_format = *
-          # dots_size = 0.4
-          dots_spacing = 0.3;
-
-          # uncomment to use an input indicator that does not show the password length (similar to swaylock's input indicator)
-          # hide_input = true
-
-          position = "0, -20";
-          halign = "center";
-          valign = "center";
-        }
-      ];
-
-      # TIME
-      label = [
-        {
-          monitor = "";
-          text = "$TIME"; # ref. https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock/#variable-substitution
-          font_size = 90;
-          font_family = "${font}";
-
-          position = "-30, 0";
-          halign = "right";
-          valign = "top";
-        }
-
-        # DATE
-        {
-          monitor = "";
-          text = "cmd[update:60000] date +'%A, %d %B %Y'"; # update every 60 seconds
-          font_size = 25;
-          font_family = "${font}";
+#      input-field = lib.mkForce [
+#        {
+#          monitor = "";
+#          size = "20, 5";
+#          outline_thickness = 3;
+#          inner_color = "rgba(0, 0, 0, 0.0)"; # no fill
+#
+#          outer_color = "rgba(33ccffee) rgba(00ff99ee) 45deg";
+#          check_color = "rgba(00ff99ee) rgba(ff6633ee) 120deg";
+#          fail_color = "rgba(ff6633ee) rgba(ff0066ee) 40deg";
+#
+#          font_color = "rgb(143, 143, 143)";
+#          fade_on_empty = false;
+#          rounding = 15;
+#      
+#        font_size = 30;
+#          font_family = "${font}";
+#          placeholder_text = "Input password...";
+#          fail_text = "$PAMFAIL";
+#
+#          # uncomment to use a letter instead of a dot to indicate the typed password
+#          # dots_text_format = *
+#          # dots_size = 0.4
+#          dots_spacing = 0.3;
+#
+#          # uncomment to use an input indicator that does not show the password length (similar to swaylock's input indicator)
+#          # hide_input = true
+#
+#          position = "0, -20";
+#          halign = "center";
+#          valign = "center";
+#        }
+#      ];
 
-          position = "-30, -150";
-          halign = "right";
-          valign = "top";
-        }
-      ];
+#      # TIME
+#      label = [
+#        {
+#          monitor = "";
+#          text = "$TIME"; # ref. https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock/#variable-substitution
+#          font_size = 90;
+#          #font_family = "${font}";
+#
+#          position = "-30, 0";
+#          halign = "right";
+#          valign = "top";
+#        }
+#
+#        # DATE
+#        {
+#          monitor = "";
+#          text = "cmd[update:60000] date +'%A, %d %B %Y'"; # update every 60 seconds
+#          font_size = 25;
+#          #font_family = "${font}";
+#
+#          position = "-30, -150";
+#          halign = "right";
+#          valign = "top";
+#        }
+#      ];
     };
   };
 }
diff --git a/mpd.nix b/mpd.nix
index 176600ee155d0d4a3cee655a8fef3513f9dd96c2..6ded4341011b8d768acbe4774f0c97b10ea78a2d 100644 (file)
--- a/mpd.nix
+++ b/mpd.nix
@@ -6,6 +6,10 @@
     playlistDirectory = "${config.home.homeDirectory}/.playlists";
     extraConfig = ''
                      auto_update "yes"
+                     audio_output {
+                       type "pulse"
+                       name "PipeWire Output"
+                     }
                '';
   };
 }