Add colorpicker

This commit is contained in:
Tobias Reisinger 2024-05-20 18:59:26 +02:00
parent 6085c9f417
commit 1a40104856
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
4 changed files with 10 additions and 2 deletions

View file

@ -12,8 +12,10 @@ bind = $main_mod, Pause, exec, menu-shutdown
bind = $main_mod, T, exec, ts-control
bind = $main_mod, C, exec, [float] $TERMINAL -e python
# Screenshot / Color picker
bind = $main_mod, Print, exec, screenshot
bind = $main_mod CTRL, Print, exec, screenshot --no-upload
bind = $main_mod ALT, Print, exec, colorpicker
bind = $main_mod SHIFT, R, exec, autostart-manage run-wayland

View file

@ -65,4 +65,4 @@ handle() {
esac
}
socat -U - "UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock" | while read -r line; do handle "$line"; done
socat -U - "UNIX-CONNECT:$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock" | while read -r line; do handle "$line"; done