desktop: refine theming, workspaces, and utilities
- switch GTK font to GeistMono Nerd Font Propo 9 and drop GTK4 CSS overrides - add named Hyprland workspaces/keybinds and Ghostty quick terminal; adjust screenshot binding - update Waybar workspace icons/sorting; tweak Neovim transparency, Owlry/Qt6CT, and ROCm env - add curated wallpaper sets for DP-1/DP-2 and new Hyprland toggle/screenshot helper scripts
This commit is contained in:
25
dot_local/bin/executable_hypr-comms-toggle
Normal file
25
dot_local/bin/executable_hypr-comms-toggle
Normal file
@@ -0,0 +1,25 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
comms_ws="name:comms"
|
||||
comms_name="comms"
|
||||
|
||||
active_name=""
|
||||
if json="$(hyprctl -j activeworkspace 2>/dev/null)"; then
|
||||
if command -v jq >/dev/null 2>&1; then
|
||||
active_name="$(printf '%s' "$json" | jq -r '.name // empty')"
|
||||
else
|
||||
active_name="$(printf '%s' "$json" | sed -n 's/.*"name":"\\([^"]*\\)".*/\\1/p')"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ -z "$active_name" ]]; then
|
||||
active_name="$(hyprctl activeworkspace 2>/dev/null | sed -n 's/.*(\\(.*\\)).*/\\1/p' | head -n1)"
|
||||
fi
|
||||
|
||||
if [[ "$active_name" == "$comms_name" || "$active_name" == "$comms_ws" ]]; then
|
||||
hyprctl dispatch workspace previous
|
||||
else
|
||||
hyprctl dispatch moveworkspacetomonitor "$comms_ws" current
|
||||
hyprctl dispatch workspace "$comms_ws"
|
||||
fi
|
||||
Reference in New Issue
Block a user