Skip to content

Instantly share code, notes, and snippets.

View bitterhalt's full-sized avatar
🏴‍☠️

bitterhalt

🏴‍☠️
View GitHub Profile
@bitterhalt
bitterhalt / fuzzel_hypr_window_switcher
Last active October 30, 2025 16:10
Window switcher for Hyprland.
ggVG
# Window switcher for Hyprland. Marks special workspaces with ⭐
reverse=0
# Parse flags
for arg in "$@"; do
case "$arg" in
--reverse) reverse=1 ;;
@bitterhalt
bitterhalt / waybar-workspace-overlay-toggle.sh
Created October 21, 2025 15:28
waybar-workspace-overlay-toggle.sh
#!/usr/bin/env bash
set -e
# This script toggles Waybar on/off in Hyprland
#
# • When disabling Waybar:
# - Kills existing Waybar.
# - Starts a background listener that sends notifications when workspaces changes
#
# • When enabling Waybar:
@bitterhalt
bitterhalt / hyprland-workspace-listener.sh
Created October 21, 2025 15:12
hyprland-workspace-listener
#!/usr/bin/env bash
# Description:
# This script listens for workspace change events in Hyprland
# via its UNIX socket and shows a notification whenever the active workspace changes
#
# Dependencies:
# - socat
# - jq
# - hyprctl
@bitterhalt
bitterhalt / void-qemu.md
Last active July 10, 2024 09:32
Void + QEMU

Install components

xbps-install -Su

xbps-install libvirt virt-manager virt-manager-tools xz qemu bridge-utils

Install/start services

ln -s /etc/sv/libvirtd /var/service