Skip to content

Instantly share code, notes, and snippets.

View Narsell's full-sized avatar
🎮

Narsell

🎮
View GitHub Profile
@Narsell
Narsell / toggle_monitor.sh
Last active February 25, 2026 02:37
Simple bash script to toggle (enabled/disabled) a given monitor in hyprland!
#!/usr/bin/env bash
# author: @narsell
# Script to toggle on or off a given monitor
if [[ -z "$1" ]]; then
echo "ERROR: Expected monitor name! Get it from 'hyprctl monitors'"
exit 1
fi