diff --git a/docs/TODO.md b/docs/TODO.md index c7fd002..4afe8e1 100644 --- a/docs/TODO.md +++ b/docs/TODO.md @@ -8,5 +8,4 @@ feel free to contribute <3 ([CONTRIBUTING.md](CONTRIBUTING.md)) - [ ] neotest golang - [ ] nvim dap -- [ ] Tofi configuration - [ ] OS Hardening with nix-mineral diff --git a/home/scripts/system/default.nix b/home/scripts/system/default.nix index 49b9862..f6436dc 100644 --- a/home/scripts/system/default.nix +++ b/home/scripts/system/default.nix @@ -16,6 +16,11 @@ let else wofi --show drun fi + # if pgrep tofi; then + # pkill tofi + # else + # hyprctl dispatch exec $(tofi-drun) + # fi ''; powermenu = pkgs.writeShellScriptBin "powermenu" @@ -23,6 +28,8 @@ let '' if pgrep wofi; then pkill wofi + # if pgrep tofi; then + # pkill tofi else options=( "󰌾 Lock" @@ -33,6 +40,7 @@ let ) selected=$(printf '%s\n' "''${options[@]}" | wofi --dmenu) + # selected=$(printf '%s\n' "''${options[@]}" | tofi --prompt-text "> ") selected=''${selected:2} case $selected in