runner for hyprland

This commit is contained in:
2026-02-15 12:40:26 +00:00
parent 00411b9d9f
commit a9fec07b50

View File

@@ -9,6 +9,7 @@
home.packages = [
pkgs.hyprcursor
pkgs.wlogout
pkgs.tofi
];
home.pointerCursor = {
enable = true;
@@ -99,6 +100,29 @@
};
"$mainMod" = "SUPER";
bind = [
(
let
config = pkgs.writeTextFile {
name = "config";
text = ''
width = 100%
height = 100%
border-width = 0
outline-width = 0
padding-left = 35%
padding-top = 35%
result-spacing = 25
num-results = 5
font = monospace
background-color = #000A
'';
};
script = pkgs.writeShellScript "mreow" ''
exec $(tofi-drun -c ${config})
'';
in
"$mainMod, R, exec, ${script}"
)
"$mainMod, C, killactive"
"$mainMod, M, exec, uwsm stop"
"$mainMod, E, exec, zen"