Regenerated
This commit is contained in:
@@ -3,7 +3,13 @@
|
||||
active_ws=$(hyprctl activeworkspace -j | jq -r '.id')
|
||||
clients=$(hyprctl clients -j | jq -r \
|
||||
".[] | select(.workspace.id==$active_ws) | \"\(.address)|\(.title)\"")
|
||||
choice=$(echo "$clients" | cut -d'|' -f2 | wofi -dmenu -j -p "Active apps" --style ~/.config/wofi/style.css)
|
||||
|
||||
choice=$(echo "$clients" | cut -d'|' -f2 \
|
||||
| wofi --dmenu \
|
||||
--style ~/.config/wofi/style.css \
|
||||
--allow-images=false \
|
||||
--prompt "Active apps")
|
||||
|
||||
[ -z "$choice" ] && exit 0
|
||||
addr=$(echo "$clients" | grep "|$choice" | head -n1 | cut -d'|' -f1)
|
||||
hyprctl dispatch focuswindow address:$addr
|
||||
hyprctl dispatch focuswindow address:"$addr"
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
wofi --show drun \
|
||||
--style ~/.config/wofi/style.css \
|
||||
--no-actions \
|
||||
--allow-images=false \
|
||||
--allow-images=true \
|
||||
--columns 1 \
|
||||
--prompt "Apps"
|
||||
|
||||
@@ -171,7 +171,7 @@
|
||||
"format-disconnected": "Disconnected ⚠",
|
||||
"tooltip-format-wifi": "{essid} ({signalStrength}%)",
|
||||
"tooltip-format-ethernet": "{ifname}: {ipaddr}/{cidr}",
|
||||
"on-click": "networkmanager_dmenu -dmenu --style ~/.config/wofi/style.css",
|
||||
"on-click": "networkmanager_dmenu --dmenu --style ~/.config/wofi/style.css --allow-images=false",
|
||||
"on-click-right": "nm-connection-editor"
|
||||
},
|
||||
|
||||
|
||||
@@ -1,18 +1,7 @@
|
||||
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
|
||||
[global]
|
||||
allow_images = true
|
||||
allow_markup = true
|
||||
|
||||
# Which modes are active
|
||||
show_drun = true:apps,false:others
|
||||
show_run = true
|
||||
show_files = false
|
||||
show_windowed = false
|
||||
show_dmenu = false
|
||||
show_ssh = false
|
||||
show_power = true
|
||||
|
||||
# Layout / scrolling
|
||||
location = center
|
||||
anchor = center
|
||||
|
||||
@@ -27,15 +16,4 @@ cycle = true
|
||||
hide_scroll = false
|
||||
hide_search = false
|
||||
|
||||
# Labels
|
||||
show_labels = true
|
||||
label_search = true
|
||||
label_run = Run
|
||||
label_files = Files
|
||||
label_windowed = Windows
|
||||
label_drun = Applications
|
||||
label_dmenu = Commands
|
||||
label_ssh = SSH
|
||||
label_power = Power
|
||||
|
||||
prompt = > ...
|
||||
|
||||
Reference in New Issue
Block a user