various fixes
This commit is contained in:
@@ -37,8 +37,8 @@ in
|
||||
package = pkgs-unstable.mesa;
|
||||
|
||||
# if you also want 32-bit support (e.g for Steam)
|
||||
enable32Bit = true;
|
||||
package32 = pkgs-unstable.pkgsi686Linux.mesa;
|
||||
# enable32Bit = true;
|
||||
# package32 = pkgs-unstable.pkgsi686Linux.mesa;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
@@ -143,9 +143,9 @@ in
|
||||
];
|
||||
windowrule = [
|
||||
"match:class .*, suppress_event maximize"
|
||||
"match:class ^(gamescope)$, workspace 5"
|
||||
"match:class ^(gamescope)$, fullscreen true"
|
||||
"match:class ^(gamescope)$, immediate true"
|
||||
"match:class gamescope, workspace 5"
|
||||
"match:class gamescope, fullscreen true"
|
||||
"match:class gamescope, immediate true"
|
||||
"match:class ^(steam)$, workspace 6 silent"
|
||||
"match:class ^(vesktop)$, workspace 8 silent"
|
||||
"match:class ^(org.telegram.desktop)$, workspace 8 silent"
|
||||
|
||||
Reference in New Issue
Block a user