Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- monitor="DP-3" #Your monitor name
- file="Your_hyprland.conf_path"
- bckpfile="$file.bak"
- cp "$file" "$bckpfile"
- sed -i "s/^monitor = $monitor,.*/monitor = $monitor,disable/" "$file"
- sleep 10
- mv "$bckpfile" "$file"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement