initial commit
This commit is contained in:
commit
90cff4f16a
59 changed files with 6855 additions and 0 deletions
23
KiCad/Scripts/kicad-swap.sh
Normal file
23
KiCad/Scripts/kicad-swap.sh
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
#!/usr/bin/env bash
|
||||
# Swap KiCad workspaces between monitors
|
||||
# Supports both Hyprland (Wayland) and dwm (X11)
|
||||
|
||||
# ==============================================================================
|
||||
# Environment Detection
|
||||
# ==============================================================================
|
||||
if [[ -n "${HYPRLAND_INSTANCE_SIGNATURE:-}" ]]; then
|
||||
WM="hyprland"
|
||||
else
|
||||
WM="dwm"
|
||||
fi
|
||||
|
||||
# ==============================================================================
|
||||
# Main
|
||||
# ==============================================================================
|
||||
if [[ "$WM" == "hyprland" ]]; then
|
||||
hyprctl dispatch swapactiveworkspaces DP-3 eDP-1
|
||||
else
|
||||
# Ensure we're on kicad tag on both monitors first
|
||||
kicad-show
|
||||
echo "mon-swap" > /tmp/dwm.fifo
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue