wob fixed

This commit is contained in:
parent da44364472
commit 417524307d
4 changed files with 16 additions and 4 deletions

View File

@ -6,4 +6,5 @@ exec-once = copyq --start-server
exec-once = /usr/lib/pam_kwallet_init & blueman-applet & hypridle & hyprpaper & nm-applet & waybar exec-once = /usr/lib/pam_kwallet_init & blueman-applet & hypridle & hyprpaper & nm-applet & waybar
exec-once = dunst exec-once = dunst
exec-once = blueman-applet exec-once = blueman-applet
exec-once = ~/.config/hypr/conf/autostart.conf

View File

@ -10,6 +10,7 @@
$mainMod = SUPER # Sets "Windows" key as main modifier $mainMod = SUPER # Sets "Windows" key as main modifier
bind = $mainMod, T, exec, $terminal # terminal bind = $mainMod, T, exec, $terminal # terminal
bind = $mainMod, F, exec, fullscreen # fullscreen
bind = $mainMod, Q, killactive, # kill window bind = $mainMod, Q, killactive, # kill window
bind = $mainMod, E, exec, $fileManager # file manager bind = $mainMod, E, exec, $fileManager # file manager
bind = $mainMod, V, togglefloating, # toggle float bind = $mainMod, V, togglefloating, # toggle float
@ -19,6 +20,10 @@ bind = $mainMod, DELETE, exit, # pseudo
bind = $mainMod, R, togglesplit, # toggle split bind = $mainMod, R, togglesplit, # toggle split
bind = $mainMod CTRL, L, exec, hyprlock # lock screen bind = $mainMod CTRL, L, exec, hyprlock # lock screen
bind = CTRL ALT $mainMod SHIFT, comma, movecurrentworkspacetomonitor, l
bind = CTRL ALT $mainMod SHIFT, period, movecurrentworkspacetomonitor, r
# ────────────────────────── window move focus ──────────────────────── # ────────────────────────── window move focus ────────────────────────
bind = $mainMod, left, movefocus, l bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r bind = $mainMod, right, movefocus, r
@ -82,10 +87,10 @@ bind = SHIFT, Print, exec, grimblast copy screen --freeze --notify --cursor
# l -> do stuff even when locked # l -> do stuff even when locked
# e -> repeats when key is held # e -> repeats when key is held
bindle=, XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5% bindle=, XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5% & echo $(pactl get-sink-volume @DEFAULT_SINK@ | grep -oP "\d{1,3}(?=%)" | head -1) >> /tmp/wobpipe
bindle=, XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5% bindle=, XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5% & echo $(pactl get-sink-volume @DEFAULT_SINK@ | grep -oP "\d{1,3}(?=%)" | head -1) >> /tmp/wobpipe
bindle=, XF86MonBrightnessUp, exec, brightnessctl set +10% bindle=, XF86MonBrightnessUp, exec, ~/.config/scripts/set_brightness.sh +10%
bindle=, XF86MonBrightnessDown, exec, brightnessctl set 10%- bindle=, XF86MonBrightnessDown, exec, ~/.config/scripts/set_brightness.sh 10%-
bindl=, XF86AudioMute, exec, amixer set Master toggle bindl=, XF86AudioMute, exec, amixer set Master toggle
bindl=, XF86AudioPlay, exec, playerctl play-pause bindl=, XF86AudioPlay, exec, playerctl play-pause
bindl=, XF86AudioPause, exec, playerctl play-pause bindl=, XF86AudioPause, exec, playerctl play-pause

1
.config/hypr/conf/start-wob.sh Executable file
View File

@ -0,0 +1 @@
tail -f /tmp/wobpipe

View File

@ -0,0 +1,5 @@
result="$(brightnessctl set $1)"
current_perc="$(echo "$result" | grep -oP "\d{1,3}(?=%)")"
echo "$result"
echo "\"$current_perc\""
echo "$current_perc" >> /tmp/wobpipe