mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2025-06-29 20:20:41 +00:00
Add custom service to watch monitor updates
This commit is contained in:
parent
d2f808f469
commit
b0ca57ac4a
5 changed files with 136 additions and 0 deletions
8
home/.config/hyprland-monitord/added.sh
Executable file
8
home/.config/hyprland-monitord/added.sh
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
MONITOR_ID="$1"
|
||||
MONITOR_NAME="$2"
|
||||
MONITOR_DESCRIPTION="$3"
|
||||
|
||||
eww open bar1
|
6
home/.config/hyprland-monitord/removed.sh
Executable file
6
home/.config/hyprland-monitord/removed.sh
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
MONITOR_NAME="$1"
|
||||
|
||||
eww close bar1
|
Loading…
Add table
Add a link
Reference in a new issue