framework: fix locking and ozone
This commit is contained in:
parent
5a952051c3
commit
158210f009
2 changed files with 2 additions and 26 deletions
|
|
@ -30,7 +30,7 @@ in {
|
|||
enable = true;
|
||||
settings = {
|
||||
general = {
|
||||
before_sleep_cmd = "rbw lock";
|
||||
before_sleep_cmd = "rbw lock; hyprlock";
|
||||
after_sleep_cmd = "hyprctl dispatch dpms on";
|
||||
ignore_dbus_inhibit = false;
|
||||
lock_cmd = "pidof ${lock_cmd} || ${lock_cmd}";
|
||||
|
|
@ -193,6 +193,7 @@ in {
|
|||
"XDG_SESSION_DESKTOP,Hyprland"
|
||||
"QT_AUTO_SCREEN_SCALE_FACTOR,1"
|
||||
"QT_WAYLAND_DISABLE_WINDOWDECORATION,1"
|
||||
"NIXOS_OZONE_WL,1"
|
||||
];
|
||||
windowrule = [
|
||||
"float, title:wlogout"
|
||||
|
|
|
|||
|
|
@ -1,25 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
wayland.windowManager.hyprland = {
|
||||
plugins = with pkgs; [
|
||||
hycov
|
||||
];
|
||||
settings.plugin.hycov = {
|
||||
overview_gappo = 20;
|
||||
};
|
||||
settings.bind = [
|
||||
# bind key to toggle overview(normal mode)
|
||||
"ALT,tab,hycov:toggleoverview"
|
||||
|
||||
# bind key to toggle overview(force mode,no affected by `only_active_workspace` and `only_active_monitor`)
|
||||
"ALT,grave,hycov:toggleoverview,forceall" #grave key is the '~' key
|
||||
|
||||
# The direction switch shortcut key binding.
|
||||
# calculate the window closest to the direction to switch focus.
|
||||
# This keybind is applicable not only to the overview but also to the general layout
|
||||
"ALT,h,hycov:movefocus,l"
|
||||
"ALT,l,hycov:movefocus,r"
|
||||
"ALT,k,hycov:movefocus,u"
|
||||
"ALT,j,hycov:movefocus,d"
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue