various fixes
This commit is contained in:
@@ -1,11 +1,31 @@
|
||||
{ inputs, pkgs, ... }:
|
||||
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
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.kickoff
|
||||
pkgs.tofi
|
||||
];
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
bind = [
|
||||
"$mainMod, R, exec, kickoff"
|
||||
"$mainMod, R, exec, ${script}"
|
||||
];
|
||||
};
|
||||
# systemd.user.services.hyprlauncher-deamon = {
|
||||
|
||||
Reference in New Issue
Block a user