mirror of
https://github.com/szymon-jozef/amazing-dotfiles.git
synced 2026-10-28 11:10:42 +01:00
refactor: hyprland
This commit is contained in:
32
modules/hypr/hyprland/apps/communicators.nix
Normal file
32
modules/hypr/hyprland/apps/communicators.nix
Normal file
@@ -0,0 +1,32 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
wayland.windowManager.hyprland = {
|
||||
windowrule = [
|
||||
# general rules
|
||||
"match:class ^(signal)$, workspace 1"
|
||||
"match:class ^(vesktop)$, workspace 1 silent"
|
||||
];
|
||||
|
||||
bind = [
|
||||
"$mainMod Control_L, s, exec,[workspace 1] signal-desktop --password-store=\"kwallet6\""
|
||||
"$mainMod Control_L, s, focuswindow, class:^(signal)$"
|
||||
"$mainMod Control_L, s, focuswindow, title:^(signal)$"
|
||||
"$mainMod Control_L, v, sendshortcut, ctrl, k, class:^(vesktop)$"
|
||||
"$mainMod Control_L, v, exec, uwsm app -- vesktop"
|
||||
"$mainMod Control_L, v, focuswindow, class:^(vesktop)$"
|
||||
];
|
||||
extraConfig =
|
||||
#hyprlang
|
||||
''
|
||||
windowrule {
|
||||
name = vesktop-dont-focus-pls
|
||||
match:class = ^(vesktop)$
|
||||
no_initial_focus = 1
|
||||
focus_on_activate = 0
|
||||
render_unfocused = 1
|
||||
}
|
||||
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user