refactor(hyprland): final decentralization of rules and binds
This commit is contained in:
@@ -44,8 +44,6 @@
|
|||||||
# apps
|
# apps
|
||||||
# "SUPER, SPACE, Open App Launcher, exec, nc -U $XDG_RUNTIME_DIR/walker/walker.sock"
|
# "SUPER, SPACE, Open App Launcher, exec, nc -U $XDG_RUNTIME_DIR/walker/walker.sock"
|
||||||
|
|
||||||
"SUPER CTRL, I, Switch Wallpaper, exec, hakase-wallpaper-switch"
|
|
||||||
|
|
||||||
# TODO:
|
# TODO:
|
||||||
# add text clipping from pictures
|
# add text clipping from pictures
|
||||||
# add screen recording
|
# add screen recording
|
||||||
|
|||||||
@@ -4,23 +4,6 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
windowrulev2 = [
|
windowrulev2 = [
|
||||||
# --- POPUP RULES (Wifi, BT, Audio) ---
|
|
||||||
"float, class:^(org\.hakase\.popup\..*)$"
|
|
||||||
"animation slide right, class:^(org\.hakase\.popup\..*)$"
|
|
||||||
"dimaround, class:^(org\.hakase\.popup\..*)$"
|
|
||||||
# --- WALLPAPER PICKER ---
|
|
||||||
"float, class:^(org\.hakase\.switch-wallpaper)$"
|
|
||||||
"float, initialTitle:^(Wallpaper Selector)$"
|
|
||||||
"center, class:^(org\.hakase\.switch-wallpaper)$"
|
|
||||||
"center, initialTitle:^(Wallpaper Selector)$"
|
|
||||||
"size 60% 60%, class:^(org\.hakase\.switch-wallpaper)$"
|
|
||||||
"size 60% 60%, initialTitle:^(Wallpaper Selector)$"
|
|
||||||
"dimaround, class:^(org\.hakase\.switch-wallpaper)$"
|
|
||||||
"dimaround, initialTitle:^(Wallpaper Selector)$"
|
|
||||||
|
|
||||||
# --- CAVA RULES ---
|
|
||||||
"workspace special:music silent, title:^(cava)$"
|
|
||||||
"workspace special:music silent, initialTitle:^(cava)$"
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -59,6 +59,22 @@ in {
|
|||||||
exec-once = [
|
exec-once = [
|
||||||
"uwsm app -- hyprpaper"
|
"uwsm app -- hyprpaper"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
bindd = [
|
||||||
|
"SUPER CTRL, I, Switch Wallpaper, exec, hakase-wallpaper-switch"
|
||||||
|
];
|
||||||
|
|
||||||
|
windowrulev2 = [
|
||||||
|
# --- WALLPAPER PICKER ---
|
||||||
|
"float, class:^(org\.hakase\.switch-wallpaper)$"
|
||||||
|
"float, initialTitle:^(Wallpaper Selector)$"
|
||||||
|
"center, class:^(org\.hakase\.switch-wallpaper)$"
|
||||||
|
"center, initialTitle:^(Wallpaper Selector)$"
|
||||||
|
"size 60% 60%, class:^(org\.hakase\.switch-wallpaper)$"
|
||||||
|
"size 60% 60%, initialTitle:^(Wallpaper Selector)$"
|
||||||
|
"dimaround, class:^(org\.hakase\.switch-wallpaper)$"
|
||||||
|
"dimaround, initialTitle:^(Wallpaper Selector)$"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
services.hyprpaper = {
|
services.hyprpaper = {
|
||||||
|
|||||||
@@ -57,6 +57,13 @@ in {
|
|||||||
exec-once = [
|
exec-once = [
|
||||||
"uwsm app -- waybar"
|
"uwsm app -- waybar"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
windowrulev2 = [
|
||||||
|
# --- POPUP RULES (Wifi, BT, Audio) ---
|
||||||
|
"float, class:^(org\.hakase\.popup\..*)$"
|
||||||
|
"animation slide right, class:^(org\.hakase\.popup\..*)$"
|
||||||
|
"dimaround, class:^(org\.hakase\.popup\..*)$"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
imports = [
|
imports = [
|
||||||
./style.nix
|
./style.nix
|
||||||
|
|||||||
Reference in New Issue
Block a user