optimization: faster essentials
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
|
||||
# apps
|
||||
"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
|
||||
"SUPER, Tab, Cycle workspaces, workspace, previous"
|
||||
|
||||
@@ -3,15 +3,23 @@
|
||||
psmisc
|
||||
];
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
exec = [
|
||||
"pkill -x hyprpaper; uwsm app -- hyprpaper"
|
||||
"killall -SIGUSR2 .ghostty-wrappe"
|
||||
];
|
||||
exec-once = [
|
||||
"uwsm app -- waybar"
|
||||
"uwsm app -- hyprpaper"
|
||||
"uwsm app -- elephant"
|
||||
"uwsm app -- swayosd-server"
|
||||
];
|
||||
exec = [
|
||||
"pkill -x hyprpaper; uwsm app -- hyprpaper"
|
||||
"killall -SIGUSR2 .ghostty-wrappe"
|
||||
"walker --gapplication-service"
|
||||
|
||||
"[workspace 20 silent] uwsm app -- firefox"
|
||||
"[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 = {
|
||||
windowrulev2 = [
|
||||
# "float, class:^(org\.hakase\..*)$"
|
||||
# "center, class:^(org\.hakase\..*)$"
|
||||
# "size 80% 70%, class:^(org\.hakase\..*)$" # Example using percentages
|
||||
# --- POPUP RULES (Wifi, BT, Audio) ---
|
||||
# "size 602 478, class:^(org\.hakase\.popup\..*)$"
|
||||
# "move 1312 32, class:^(org\.hakase\.popup\..*)$"
|
||||
"float, class:^(org\.hakase\.popup\..*)$"
|
||||
# "pin, class:^(org\.hakase\.popup\..*)$"
|
||||
"animation slide right, class:^(org\.hakase\.popup\..*)$"
|
||||
"dimaround, class:^(org\.hakase\.popup\..*)$"
|
||||
# --- launcher ---
|
||||
"float, title:^(launcher)$"
|
||||
"size 500 430, title:^(launcher)$"
|
||||
# Optional: Center it since it's floating
|
||||
"center, title:^(launcher)$"
|
||||
|
||||
# Prevent Firefox and Terminal from stealing focus on launch
|
||||
"suppressevent activate, workspace:20"
|
||||
"noinitialfocus, workspace:20"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user