diff options
| author | Miran Bastaja <miran.bastaja04@gmail.com> | 2024-01-01 12:36:00 +0100 |
|---|---|---|
| committer | Miran Bastaja <miran.bastaja04@gmail.com> | 2024-01-01 12:36:00 +0100 |
| commit | fc06b1806d6f82055ccc04bb880b5efb74e03831 (patch) | |
| tree | 3da7dcee3915c7e7c9ce89c33dea03e39d84dd81 /share/home/hyprdesktop.nix | |
| parent | 37d064197f2d24a310e31b96214cf6bc599cebca (diff) | |
Replace rofi with tofi
Diffstat (limited to 'share/home/hyprdesktop.nix')
| -rw-r--r-- | share/home/hyprdesktop.nix | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/share/home/hyprdesktop.nix b/share/home/hyprdesktop.nix index 13701d6..1b66a02 100644 --- a/share/home/hyprdesktop.nix +++ b/share/home/hyprdesktop.nix @@ -6,10 +6,12 @@ imports = [ # Custom home manager modules ../hm-modules/wpaperd.nix + ../hm-modules/tofi.nix # Config ./minimal.nix ./wpaperd.nix + ./tofi.nix ./eww ./git.nix ./mpv.nix @@ -29,8 +31,8 @@ }; screenshot = ''grim -g "$(slurp)" -t png - | wl-copy --type image/png''; cmd = { - run = "rofi -show run"; - drun = "rofi -show drun"; + run = "tofi-run"; + drun = "tofi-drun"; }; brightness = { increase = "brightnessctl set +5%"; @@ -71,8 +73,8 @@ bind = $mod SHIFT, C, killactive bind = $mod SHIFT, F, togglefloating bind = $mod SHIFT, Q, exit - bind = $mod, P, exec, ${commands.cmd.run} - bind = $mod SHIFT, P, exec, ${commands.cmd.drun} + bind = $mod, P, exec, ${commands.cmd.drun} + bind = $mod SHIFT, P, exec, ${commands.cmd.run} bind = $mod, H, cyclenext, prev bind = $mod, L, cyclenext @@ -156,7 +158,6 @@ ]; services.dunst.enable = true; - programs.rofi.enable = true; programs.direnv = { enable = true; |
