use hyprland overlays
This commit is contained in:
parent
eda8cf327d
commit
c0a973924a
5 changed files with 26 additions and 4 deletions
|
|
@ -5,6 +5,7 @@
|
|||
...
|
||||
}: let
|
||||
modifier = config.windowManager.modifierKey;
|
||||
menu = config.programs.menu.dmenuCommand;
|
||||
in {
|
||||
imports = [
|
||||
(import ../utils/swaylock.nix)
|
||||
|
|
@ -187,6 +188,21 @@ in {
|
|||
'';
|
||||
};
|
||||
|
||||
programs.scripts = [
|
||||
{
|
||||
name = "focus-application";
|
||||
install = true;
|
||||
text = ''
|
||||
windows=$(hyprctl clients -j | jq -r '.[] | .title')
|
||||
window=$(echo "$windows" | ${menu})
|
||||
hyprctl dispatch focuswindow title:"$window"
|
||||
'';
|
||||
hotkeys = [{
|
||||
key = "tab";
|
||||
}];
|
||||
}
|
||||
];
|
||||
|
||||
services.mako = {
|
||||
enable = true;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -8,6 +8,10 @@
|
|||
|
||||
# Helpers
|
||||
heroic
|
||||
lutris
|
||||
gamescope
|
||||
gamemode
|
||||
mangohud
|
||||
BeatSaberModManager
|
||||
protontricks
|
||||
protonup-qt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue