From 22c67467c0e577ea52e2bd3ce1dcf48c793553ee Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Fri, 20 Sep 2024 13:35:40 +0200 Subject: [PATCH] Update --- docs/TODO.md | 9 ++------- flake.lock | 18 +++++++++--------- home/programs/nvim/plugins/lsp.nix | 2 ++ home/scripts/caffeine/default.nix | 4 ++-- 4 files changed, 15 insertions(+), 18 deletions(-) diff --git a/docs/TODO.md b/docs/TODO.md index 3e23876..b6624a1 100644 --- a/docs/TODO.md +++ b/docs/TODO.md @@ -2,21 +2,16 @@ feel free to contribute <3 ([CONTRIBUTING.md](CONTRIBUTING.md)) -- [ ] Test hyprshade (replacement for gammastep) - -- [ ] Qutebrowser - - [ ] !!! Bitwarden integration (I need this.) - +- [ ] Hyprshade (replacement for gammastep) +- [ ] !!! Qutebrowser Bitwarden integration (I need this.) - [ ] Hyprland - [ ] Fix screenshots (screenshot region's border shows up in the screenshot, hyprshot jq error?) and add in the scripts doc - - [ ] Nixvim - [ ] Keymaps: - Trouble - Tagbar (actually not working) - Markdown - [ ] - - [ ] Update docs ## Server diff --git a/flake.lock b/flake.lock index bb10b31..c13c6f0 100644 --- a/flake.lock +++ b/flake.lock @@ -443,11 +443,11 @@ "nixpkgs": "nixpkgs_5" }, "locked": { - "lastModified": 1726623416, - "narHash": "sha256-o/8yw7Mjy4QEeDQyxfQ3hCcOYKvdlQ2EnAyDEt8eGyA=", + "lastModified": 1726730189, + "narHash": "sha256-AoLcOAw2NVawdyeA2WnnFiqDHAm6ZMq2eUqy9SRGpHQ=", "owner": "Jas-SinghFSU", "repo": "HyprPanel", - "rev": "a8919c395fe69ec339bb34ad9000575b93e6994a", + "rev": "9a66a72a563115f09aef650407a3a58ad566065b", "type": "github" }, "original": { @@ -529,11 +529,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1726650330, - "narHash": "sha256-UbHzmaOQ18O/kCizipU70N0UQVFIfv8AiFKXw07oZ9Y=", + "lastModified": 1726724509, + "narHash": "sha256-sVeAM1tgVi52S1e29fFBTPUAFSzgQwgLon3CrztXGm8=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "abb448608a56a60075468e90d8acec2a7cb689b1", + "rev": "10d5e0ecc32984c1bf1a9a46586be3451c42fd94", "type": "github" }, "original": { @@ -826,11 +826,11 @@ ] }, "locked": { - "lastModified": 1726633022, - "narHash": "sha256-Ef/kTMoV3aPfecL2X27sxYshsLJJDIBFKYjPsqaTUBw=", + "lastModified": 1726719408, + "narHash": "sha256-r/dXHHa6py/fKy087nGt4k3GoBjqFvpyZCsyRsXl0IA=", "owner": "Gerg-L", "repo": "spicetify-nix", - "rev": "9f373314f087e11183afe6928d48a816d44929d4", + "rev": "49bb2ac8bdca209d235feabb9551dd09a5eb8ec9", "type": "github" }, "original": { diff --git a/home/programs/nvim/plugins/lsp.nix b/home/programs/nvim/plugins/lsp.nix index 86990ae..ce2d13b 100644 --- a/home/programs/nvim/plugins/lsp.nix +++ b/home/programs/nvim/plugins/lsp.nix @@ -43,6 +43,8 @@ tidy.enable = true; shellharden.enable = true; shfmt.enable = true; + golines.enable = true; + gofumpt.enable = true; }; }; }; diff --git a/home/scripts/caffeine/default.nix b/home/scripts/caffeine/default.nix index 8acd571..675fea0 100644 --- a/home/scripts/caffeine/default.nix +++ b/home/scripts/caffeine/default.nix @@ -10,11 +10,11 @@ let caffeine = pkgs.writeShellScriptBin "caffeine" '' if [[ $(pidof "hypridle") ]]; then - pkill hypridle + systemctl --user stop hypridle.service title="󰅶 Caffeine Activated" description="Caffeine is now active! Your screen will not turn off automatically." else - ${pkgs.hyprland}/bin/hyprctl dispatch exec ${pkgs.hypridle}/bin/hypridle + systemctl --user start hypridle.service title="󰾪 Caffeine Deactivated" description="Caffeine is now deactivated! Your screen will turn off automatically." fi