optimization: faster essentials
This commit is contained in:
@@ -43,7 +43,7 @@
|
|||||||
|
|
||||||
# apps
|
# apps
|
||||||
"SUPER, W, Open Browser, exec, uwsm app -- firefox" # FIXME: must be xdg-open
|
"SUPER, W, Open Browser, exec, uwsm app -- firefox" # FIXME: must be xdg-open
|
||||||
"SUPER, SPACE, Open App Launcher, exec, uwsm app -- walker" # FIXME: pls make ghostty variable
|
"SUPER, SPACE, Open App Launcher, exec, nc -U $XDG_RUNTIME_DIR/walker/walker.sock"
|
||||||
|
|
||||||
# [Workspaces] Toggle between most recent workspaces
|
# [Workspaces] Toggle between most recent workspaces
|
||||||
"SUPER, Tab, Cycle workspaces, workspace, previous"
|
"SUPER, Tab, Cycle workspaces, workspace, previous"
|
||||||
|
|||||||
@@ -3,15 +3,23 @@
|
|||||||
psmisc
|
psmisc
|
||||||
];
|
];
|
||||||
wayland.windowManager.hyprland.settings = {
|
wayland.windowManager.hyprland.settings = {
|
||||||
|
exec = [
|
||||||
|
"pkill -x hyprpaper; uwsm app -- hyprpaper"
|
||||||
|
"killall -SIGUSR2 .ghostty-wrappe"
|
||||||
|
];
|
||||||
exec-once = [
|
exec-once = [
|
||||||
"uwsm app -- waybar"
|
"uwsm app -- waybar"
|
||||||
"uwsm app -- hyprpaper"
|
"uwsm app -- hyprpaper"
|
||||||
"uwsm app -- elephant"
|
"uwsm app -- elephant"
|
||||||
"uwsm app -- swayosd-server"
|
"uwsm app -- swayosd-server"
|
||||||
];
|
"walker --gapplication-service"
|
||||||
exec = [
|
|
||||||
"pkill -x hyprpaper; uwsm app -- hyprpaper"
|
"[workspace 20 silent] uwsm app -- firefox"
|
||||||
"killall -SIGUSR2 .ghostty-wrappe"
|
"[workspace 20 silent] uwsm app -- xdg-terminal-exec"
|
||||||
|
|
||||||
|
"sh -c 'sleep 2; hyprctl dispatch workspace 1'"
|
||||||
|
|
||||||
|
"[workspace 1] uwsm app -- xdg-terminal-exec"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,21 +1,14 @@
|
|||||||
{
|
{
|
||||||
wayland.windowManager.hyprland.settings = {
|
wayland.windowManager.hyprland.settings = {
|
||||||
windowrulev2 = [
|
windowrulev2 = [
|
||||||
# "float, class:^(org\.hakase\..*)$"
|
|
||||||
# "center, class:^(org\.hakase\..*)$"
|
|
||||||
# "size 80% 70%, class:^(org\.hakase\..*)$" # Example using percentages
|
|
||||||
# --- POPUP RULES (Wifi, BT, Audio) ---
|
# --- POPUP RULES (Wifi, BT, Audio) ---
|
||||||
# "size 602 478, class:^(org\.hakase\.popup\..*)$"
|
|
||||||
# "move 1312 32, class:^(org\.hakase\.popup\..*)$"
|
|
||||||
"float, class:^(org\.hakase\.popup\..*)$"
|
"float, class:^(org\.hakase\.popup\..*)$"
|
||||||
# "pin, class:^(org\.hakase\.popup\..*)$"
|
|
||||||
"animation slide right, class:^(org\.hakase\.popup\..*)$"
|
"animation slide right, class:^(org\.hakase\.popup\..*)$"
|
||||||
"dimaround, class:^(org\.hakase\.popup\..*)$"
|
"dimaround, class:^(org\.hakase\.popup\..*)$"
|
||||||
# --- launcher ---
|
|
||||||
"float, title:^(launcher)$"
|
# Prevent Firefox and Terminal from stealing focus on launch
|
||||||
"size 500 430, title:^(launcher)$"
|
"suppressevent activate, workspace:20"
|
||||||
# Optional: Center it since it's floating
|
"noinitialfocus, workspace:20"
|
||||||
"center, title:^(launcher)$"
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user