dotfiles
My PC Dotfiles & Websitegit clone https://github.com/maydayv7/dotfiles
commit c509541ec8b635c7b604b582ace4f56087207651 parent 4e8733df057b157ad42a91432dbb1e3c1683fcab Author: maydayv7 <maydayv7@gmail.com> Date: Thu, 7 Mar 2024 16:44:22 +0530 fix(Hyprland): Minor Fixes Also update flake lock file: • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/1f50575dc92e39cdec74ab832987f41a57de7f68' (2024-03-01) → 'github:NixOS/nixpkgs/8484c64190943f66f9f232512ef417f68460d594' (2024-03-07) • Updated input 'unstable': 'github:NixOS/nixpkgs/9099616b93301d5cf84274b184a3a5ec69e94e08' (2024-02-28) → 'github:NixOS/nixpkgs/9df3e30ce24fd28c7b3e2de0d986769db5d6225d' (2024-03-06) • Updated input 'chaotic': 'github:chaotic-cx/nyx/39b0ccd13d13867e27cb6e27511c621b8e414ac8' (2024-02-29) → 'github:chaotic-cx/nyx/ecc8d401f3534069a9f0a5d113df9ca32b468a4a' (2024-03-07) • Updated input 'chaotic/conduit': 'gitlab:girlbossceo/conduwuit/ca281b21db6640890828d2b6db743e9db33cc012' (2024-02-26) → 'gitlab:girlbossceo/conduwuit/b527ec46661a9a5efe22aa83eeb9fbbe37c41850' (2024-03-04) • Updated input 'chaotic/fenix': 'https://api.flakehub.com/f/pinned/nix-community/fenix/0.1.1762%2Brev-668102037129923cd0fc239d864fce71eabdc6a3/018d63bb-6455-7a2f-98c6-74a36b8216a4/source.tar.gz?narHash=sha256-4o6TMpzBHO659EiJTzd/EGQGUDdbgwKwhqf3u6b23U8%3D' (2024-02-01) → 'https://api.flakehub.com/f/pinned/nix-community/fenix/0.1.1791%2Brev-4be608f4f81d351aacca01b21ffd91028c23cc22/018df913-b6d3-756c-b05c-358eca6e487d/source.tar.gz?narHash=sha256-O6EC6QELBLHzhdzBOJj0chx8AOcd4nDRECIagfT5Nd0%3D' (2024-03-01) • Updated input 'chaotic/fenix/rust-analyzer-src': 'github:rust-lang/rust-analyzer/42cb1a2bd79af321b0cc503d2960b73f34e2f92b' (2024-01-31) → 'github:rust-lang/rust-analyzer/9efa23c4dacee88b93540632eb3d88c5dfebfe17' (2024-02-29) • Updated input 'chaotic/jovian': 'github:Jovian-Experiments/Jovian-NixOS/b83751a057acbb5f989193773841217ddc93d1f8' (2024-02-28) → 'github:Jovian-Experiments/Jovian-NixOS/f8e3302ee1e0ccaabc443f45dc415e117b54926f' (2024-03-06) • Updated input 'chaotic/jujutsu': 'github:martinvonz/jj/e8f01ce19acd99c06ced9656eebfd0f8f5910a2a' (2024-02-28) → 'github:martinvonz/jj/1ee6b595a8a88dea3ead4ab55c224d9380b87375' (2024-03-06) • Updated input 'chaotic/niri': 'github:YaLTeR/niri/28977d1d3fd7883a7f757a1ba4e636bdacf9d0be' (2024-02-29) → 'github:YaLTeR/niri/3ee2db71a456f5b009c1ba7c15c5376bb0a3bb0d' (2024-03-06) • Updated input 'chaotic/nixpkgs': 'https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.1.589696%2Brev-9099616b93301d5cf84274b184a3a5ec69e94e08/018df3e5-846d-74da-b6a7-4656c4e990d6/source.tar.gz?narHash=sha256-HofykKuisObPUfj0E9CJVfaMhawXkYx3G8UIFR/XQ38%3D' (2024-02-28) → 'https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.1.592007%2Brev-9df3e30ce24fd28c7b3e2de0d986769db5d6225d/018e1732-2a3c-7a76-9ec9-7272cb294c13/source.tar.gz?narHash=sha256-6hqgQ8OK6gsMu1VtcGKBxKQInRLHtzulDo9Z5jxHEFY%3D' (2024-03-06)
Diffstat:
| M | devices/vortex.nix | | | 2 | +- |
| M | files/hyprland/waybar.css | | | 4 | ++++ |
| M | flake.lock | | | 68 | ++++++++++++++++++++++++++++++++++---------------------------------- |
| M | modules/gui/desktop/hyprland/apps/bar.nix | | | 4 | ++-- |
| M | modules/gui/desktop/hyprland/apps/default.nix | | | 2 | +- |
| D | packages/patches/debugpy.patch | | | 12 | ------------ |
| M | scripts/hyprutils.nix | | | 2 | ++ |
7 files changed, 44 insertions(+), 50 deletions(-)
diff --git a/devices/vortex.nix b/devices/vortex.nix @@ -6,7 +6,7 @@ timezone = "Asia/Kolkata"; locale = "IN"; - kernel = "xanmod"; + kernel = "cachyos"; kernelModules = ["nvme" "thunderbolt"]; imports = [{services.fwupd.enable = true;}]; diff --git a/files/hyprland/waybar.css b/files/hyprland/waybar.css @@ -68,6 +68,10 @@ window#waybar { margin-left: 8px; } +#media .drawer box { + margin-left: 3px; +} + #mpris { color: @base00; background-color: @base05; diff --git a/flake.lock b/flake.lock @@ -241,11 +241,11 @@ "yafas": "yafas" }, "locked": { - "lastModified": 1709211633, - "narHash": "sha256-0O6sAGJqVlbL2oatQPOqoefM7IFBfzXkr61JcOmmsdI=", + "lastModified": 1709802317, + "narHash": "sha256-Xi/nghMW2ywH11M/7L9FgoYRXMpy42ODYvdkJ4lARVg=", "owner": "chaotic-cx", "repo": "nyx", - "rev": "39b0ccd13d13867e27cb6e27511c621b8e414ac8", + "rev": "ecc8d401f3534069a9f0a5d113df9ca32b468a4a", "type": "github" }, "original": { @@ -301,11 +301,11 @@ ] }, "locked": { - "lastModified": 1708926554, - "narHash": "sha256-NRfhf/+Scj23L6HysGoFT9+CQmegHCec91OxKFeSg+0=", + "lastModified": 1709522437, + "narHash": "sha256-mS0tYjN3B2cLfF+p8m/0YAMNOEQSx/HJT6BOy/XcOLw=", "owner": "girlbossceo", "repo": "conduwuit", - "rev": "ca281b21db6640890828d2b6db743e9db33cc012", + "rev": "b527ec46661a9a5efe22aa83eeb9fbbe37c41850", "type": "gitlab" }, "original": { @@ -376,12 +376,12 @@ "rust-analyzer-src": "rust-analyzer-src" }, "locked": { - "lastModified": 1706768574, - "narHash": "sha256-4o6TMpzBHO659EiJTzd/EGQGUDdbgwKwhqf3u6b23U8=", - "rev": "668102037129923cd0fc239d864fce71eabdc6a3", - "revCount": 1762, + "lastModified": 1709274179, + "narHash": "sha256-O6EC6QELBLHzhdzBOJj0chx8AOcd4nDRECIagfT5Nd0=", + "rev": "4be608f4f81d351aacca01b21ffd91028c23cc22", + "revCount": 1791, "type": "tarball", - "url": "https://api.flakehub.com/f/pinned/nix-community/fenix/0.1.1762%2Brev-668102037129923cd0fc239d864fce71eabdc6a3/018d63bb-6455-7a2f-98c6-74a36b8216a4/source.tar.gz" + "url": "https://api.flakehub.com/f/pinned/nix-community/fenix/0.1.1791%2Brev-4be608f4f81d351aacca01b21ffd91028c23cc22/018df913-b6d3-756c-b05c-358eca6e487d/source.tar.gz" }, "original": { "type": "tarball", @@ -921,11 +921,11 @@ ] }, "locked": { - "lastModified": 1709142038, - "narHash": "sha256-ZjP808isgLwuiqxSU1CYFyafm5GF80aYw1CXJbnVsgs=", + "lastModified": 1709744297, + "narHash": "sha256-Q2LOs08hmFlzJdJMN4yNrWvZTegfpHEajLin0vcw7t0=", "owner": "Jovian-Experiments", "repo": "Jovian-NixOS", - "rev": "b83751a057acbb5f989193773841217ddc93d1f8", + "rev": "f8e3302ee1e0ccaabc443f45dc415e117b54926f", "type": "github" }, "original": { @@ -947,11 +947,11 @@ "rust-overlay": "rust-overlay_2" }, "locked": { - "lastModified": 1709157367, - "narHash": "sha256-PK/2Q4f5xZvqCj2sETsfL1AdazMYnaowACn34f6GV58=", + "lastModified": 1709745623, + "narHash": "sha256-Al56OXS8GuqZUJny6yq1E1XAKEe+rowMOeqJKmnVfOc=", "owner": "martinvonz", "repo": "jj", - "rev": "e8f01ce19acd99c06ced9656eebfd0f8f5910a2a", + "rev": "1ee6b595a8a88dea3ead4ab55c224d9380b87375", "type": "github" }, "original": { @@ -1003,11 +1003,11 @@ ] }, "locked": { - "lastModified": 1709185909, - "narHash": "sha256-nmEqyuUisbdy/ZaWi/9lCwVtpU+lG2GXZWQYcKC7vl8=", + "lastModified": 1709744470, + "narHash": "sha256-ZM5dTj+c8HVnn+EBKuGy7aqPY3UOeRVl9R0iwSuRL6k=", "owner": "YaLTeR", "repo": "niri", - "rev": "28977d1d3fd7883a7f757a1ba4e636bdacf9d0be", + "rev": "3ee2db71a456f5b009c1ba7c15c5376bb0a3bb0d", "type": "github" }, "original": { @@ -1084,12 +1084,12 @@ }, "nixpkgs": { "locked": { - "lastModified": 1709150264, - "narHash": "sha256-HofykKuisObPUfj0E9CJVfaMhawXkYx3G8UIFR/XQ38=", - "rev": "9099616b93301d5cf84274b184a3a5ec69e94e08", - "revCount": 589696, + "lastModified": 1709703039, + "narHash": "sha256-6hqgQ8OK6gsMu1VtcGKBxKQInRLHtzulDo9Z5jxHEFY=", + "rev": "9df3e30ce24fd28c7b3e2de0d986769db5d6225d", + "revCount": 592007, "type": "tarball", - "url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.1.589696%2Brev-9099616b93301d5cf84274b184a3a5ec69e94e08/018df3e5-846d-74da-b6a7-4656c4e990d6/source.tar.gz" + "url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.1.592007%2Brev-9df3e30ce24fd28c7b3e2de0d986769db5d6225d/018e1732-2a3c-7a76-9ec9-7272cb294c13/source.tar.gz" }, "original": { "type": "tarball", @@ -1177,11 +1177,11 @@ }, "nixpkgs_4": { "locked": { - "lastModified": 1709251216, - "narHash": "sha256-YIqYA4e1561zvBK2F7h9ilScnBy+0stgLHb3zOzpmOA=", + "lastModified": 1709793493, + "narHash": "sha256-qDUl3GY71RUuj2msMDq7PjhW5SvHexgnaNRCxZjWr/o=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "1f50575dc92e39cdec74ab832987f41a57de7f68", + "rev": "8484c64190943f66f9f232512ef417f68460d594", "type": "github" }, "original": { @@ -1326,11 +1326,11 @@ "rust-analyzer-src": { "flake": false, "locked": { - "lastModified": 1706735270, - "narHash": "sha256-IJk+UitcJsxzMQWm9pa1ZbJBriQ4ginXOlPyVq+Cu40=", + "lastModified": 1709219524, + "narHash": "sha256-8HHRXm4kYQLdUohNDUuCC3Rge7fXrtkjBUf0GERxrkM=", "owner": "rust-lang", "repo": "rust-analyzer", - "rev": "42cb1a2bd79af321b0cc503d2960b73f34e2f92b", + "rev": "9efa23c4dacee88b93540632eb3d88c5dfebfe17", "type": "github" }, "original": { @@ -1534,11 +1534,11 @@ }, "unstable": { "locked": { - "lastModified": 1709150264, - "narHash": "sha256-HofykKuisObPUfj0E9CJVfaMhawXkYx3G8UIFR/XQ38=", + "lastModified": 1709703039, + "narHash": "sha256-6hqgQ8OK6gsMu1VtcGKBxKQInRLHtzulDo9Z5jxHEFY=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "9099616b93301d5cf84274b184a3a5ec69e94e08", + "rev": "9df3e30ce24fd28c7b3e2de0d986769db5d6225d", "type": "github" }, "original": { diff --git a/modules/gui/desktop/hyprland/apps/bar.nix b/modules/gui/desktop/hyprland/apps/bar.nix @@ -257,8 +257,8 @@ in rec { tooltip = true; tooltip-format = "Power Profile: {profile}"; format-icons = { - default = ""; - performance = ""; + default = ""; + performance = ""; balanced = ""; power-saver = ""; }; diff --git a/modules/gui/desktop/hyprland/apps/default.nix b/modules/gui/desktop/hyprland/apps/default.nix @@ -110,7 +110,7 @@ in { wayland.windowManager.hyprland.settings.bind = [ "$mod SHIFT, slash, exec, pkill -f -1 nwg-wrapper" # Binds List "$mod, slash, exec, ulauncher-toggle" - "$mod, slash, bringactivetotop," + "$mod, slash, focuswindow, ulauncher" "$mod, A, exec, nwg-drawer" "$mod SHIFT, C, exec, hyprpicker -arf hex" "$mod, D, exec, pypr toggle displays" diff --git a/packages/patches/debugpy.patch b/packages/patches/debugpy.patch @@ -1,12 +0,0 @@ -diff --git a/pkgs/development/python-modules/debugpy/default.nix b/pkgs/development/python-modules/debugpy/default.nix -index 85389fba2fb2f2..4d76a7be3c9ea0 100644 ---- a/pkgs/development/python-modules/debugpy/default.nix -+++ b/pkgs/development/python-modules/debugpy/default.nix -@@ -87,6 +87,7 @@ buildPythonPackage rec { - requests - ]; - -+ doCheck = false; - preCheck = '' - export DEBUGPY_PROCESS_SPAWN_TIMEOUT=0 - export DEBUGPY_PROCESS_EXIT_TIMEOUT=0 diff --git a/scripts/hyprutils.nix b/scripts/hyprutils.nix @@ -187,6 +187,7 @@ in FANCY=$(hyprctl getoption animations:enabled | awk 'NR==1{print $2}') if [ "$FANCY" = 1 ] then + hyprctl notify 1 2000 0 "Compositor Effects Disabled" hyprctl --batch "\ keyword animations:enabled 0;\ keyword decoration:drop_shadow 0;\ @@ -197,6 +198,7 @@ in keyword decoration:rounding 0" exit fi + hyprctl notify 1 2000 0 "Compositor Effects Enabled" hyprctl reload ;; esac