mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 04:19:19 -08:00
feat(hyprland): float alacritty, scratchpad
This commit is contained in:
parent
5b37548c2c
commit
123eef7a68
2 changed files with 23 additions and 13 deletions
|
|
@ -11,6 +11,10 @@
|
||||||
in {
|
in {
|
||||||
"$mod" = "SUPER";
|
"$mod" = "SUPER";
|
||||||
binds.workspace_back_and_forth = true;
|
binds.workspace_back_and_forth = true;
|
||||||
|
misc = {
|
||||||
|
session_lock_xray = true;
|
||||||
|
key_press_enables_dpms = true;
|
||||||
|
};
|
||||||
bindm = [
|
bindm = [
|
||||||
"$mod, mouse:272, movewindow"
|
"$mod, mouse:272, movewindow"
|
||||||
"$mod, mouse:273, resizewindow"
|
"$mod, mouse:273, resizewindow"
|
||||||
|
|
@ -38,8 +42,8 @@
|
||||||
", XF86AudioPrev, exec, ${getExe pkgs.playerctl} prev"
|
", XF86AudioPrev, exec, ${getExe pkgs.playerctl} prev"
|
||||||
|
|
||||||
"$mod, RETURN, exec, ${getExe config.programs.vicinae.package} toggle"
|
"$mod, RETURN, exec, ${getExe config.programs.vicinae.package} toggle"
|
||||||
"$mod, grave, exec, ${uwsmApp term}"
|
"$mod, grave, exec, ${term}"
|
||||||
"$mod SHIFT, grave, exec, ${uwsmApp term} --class AlacrittyFloating"
|
"$mod SHIFT, grave, exec, ${term} --class AlacrittyFloating"
|
||||||
", Print, exec, ${uwsmSingleApp "grimblast"} copy area"
|
", Print, exec, ${uwsmSingleApp "grimblast"} copy area"
|
||||||
"CTRL ALT, DELETE, exec, ${uwsmApp "hyprctl kill"}"
|
"CTRL ALT, DELETE, exec, ${uwsmApp "hyprctl kill"}"
|
||||||
"CTRL ALT SHIFT, DELETE, exec, loginctl terminate-user \"\""
|
"CTRL ALT SHIFT, DELETE, exec, loginctl terminate-user \"\""
|
||||||
|
|
@ -86,6 +90,9 @@
|
||||||
"$mod CTRL SHIFT, up, hy3:movewindow, u, once, visible"
|
"$mod CTRL SHIFT, up, hy3:movewindow, u, once, visible"
|
||||||
"$mod CTRL SHIFT, down, hy3:movewindow, d, once, visible"
|
"$mod CTRL SHIFT, down, hy3:movewindow, d, once, visible"
|
||||||
|
|
||||||
|
"$mod, c, togglespecialworkspace"
|
||||||
|
"$mod SHIFT, c, movetoworkspace, special"
|
||||||
|
|
||||||
"$mod, P, exec, ${getExe pkgs.hyprpicker} -na"
|
"$mod, P, exec, ${getExe pkgs.hyprpicker} -na"
|
||||||
|
|
||||||
"CTRL, Print, exec, ${uwsmSingleApp "grimblast"} --notify --cursor copysave output"
|
"CTRL, Print, exec, ${uwsmSingleApp "grimblast"} --notify --cursor copysave output"
|
||||||
|
|
|
||||||
|
|
@ -1,17 +1,20 @@
|
||||||
_: {
|
_: {
|
||||||
wayland.windowManager.hyprland.settings.windowrulev2 = [
|
wayland.windowManager.hyprland.settings = {
|
||||||
"suppressevent fullscreen, class:steam_app_default"
|
windowrule = [
|
||||||
"workspace 2, class:steam_app_default"
|
"match:initial_class AlacrittyFloating, float on"
|
||||||
"suppressevent maximize, class:.*"
|
];
|
||||||
|
windowrulev2 = [
|
||||||
|
"suppressevent fullscreen, class:steam_app_default, content game"
|
||||||
|
"suppressevent maximize, class:.*"
|
||||||
|
|
||||||
"tile, class:battle\.net\.exe"
|
"tile, class:battle\.net\.exe"
|
||||||
|
|
||||||
"renderunfocused, class:discord, initialTitle:Discord"
|
"renderunfocused, class:discord, initialTitle:Discord"
|
||||||
|
|
||||||
"unset, title:Wine System Tray"
|
"unset, title:Wine System Tray"
|
||||||
"workspace special:hidden silent, title:Wine System Tray"
|
"workspace special:hidden silent, title:Wine System Tray"
|
||||||
"noinitialfocus, title:Wine System Tray"
|
"noinitialfocus, title:Wine System Tray"
|
||||||
|
|
||||||
"float, class:^(AlacrittyFloating)$"
|
];
|
||||||
];
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue