feat!: move to wofi
This commit is contained in:
@@ -135,7 +135,7 @@
|
|||||||
settings = {
|
settings = {
|
||||||
"$mod" = "SUPER";
|
"$mod" = "SUPER";
|
||||||
"$terminal" = "ghostty";
|
"$terminal" = "ghostty";
|
||||||
"$menu" = "wofi -show drun";
|
"$menu" = "wofi";
|
||||||
bind =
|
bind =
|
||||||
[
|
[
|
||||||
"$mod, Return, exec, $terminal"
|
"$mod, Return, exec, $terminal"
|
||||||
@@ -143,6 +143,7 @@
|
|||||||
"$mod SHIFT, E, exit"
|
"$mod SHIFT, E, exit"
|
||||||
"$mod SHIFT, SPACE, togglefloating"
|
"$mod SHIFT, SPACE, togglefloating"
|
||||||
"$mod, d, exec, $menu"
|
"$mod, d, exec, $menu"
|
||||||
|
"$mod SHIFT, D, exec, bash -c ~/dotfiles/scripts/workspace.sh"
|
||||||
"$mod, h, movefocus, l"
|
"$mod, h, movefocus, l"
|
||||||
"$mod, l, movefocus, r"
|
"$mod, l, movefocus, r"
|
||||||
"$mod, k, movefocus, u"
|
"$mod, k, movefocus, u"
|
||||||
|
|||||||
7
scripts/workspace.sh
Executable file
7
scripts/workspace.sh
Executable file
@@ -0,0 +1,7 @@
|
|||||||
|
workspaces=$(hyprctl workspaces -j | jq -r '.[].name')
|
||||||
|
|
||||||
|
target=$(echo "$workspaces" | wofi -d -p "Switch to workspace:")
|
||||||
|
|
||||||
|
if [[ -n "$target" ]]; then
|
||||||
|
hyprctl dispatch workspace "$target"
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user