Compare commits

..

3 Commits

2 changed files with 18 additions and 10 deletions

View File

@ -131,7 +131,6 @@ device:epic-mouse-v1 {
windowrule=float,title:Volume
windowrule=size 300 100,title:Volume
windowrule=move 100%-375 75,title:Volume
windowrule=noanim,title:Volume
windowrule=rounding 35,title:Volume
windowrule=nofocus,title:Volume
@ -140,12 +139,12 @@ $mainMod = ALT
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Return, exec, alacritty
bind = $mainMod, Q, killactive,
bind = $mainMod_SHIFT, Q, killactive,
bind = $mainMod, M, exit,
bind = $mainMod_SHIFT, L, exec, screenlock
#bind = $mainMod, E, exec, dolphin
bind = $mainMod, Space, togglefloating,
bind = $mainMod, D, exec, wofi --show drun
bind = $mainMod, D, exec, trigger-findex
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, E, togglesplit, # dwindle
bind = $mainMod, F, fullscreen,
@ -213,3 +212,5 @@ monitor=DP-3,2560x1440@59.95100,5666x0,1.0,transform,3
exec-once=hyprpaper
exec-once=waybar
exec-once=findex-daemon
exec-once=nextcloud

View File

@ -1,9 +1,16 @@
#!/bin/sh
# Pops up a window showing the current volume
alacritty -t "Volume" \
--class "volume_indicator" \
--config-file "$HOME/.config/alacritty/silent.yml" \
--command volume_indicator \
--cols 30 \
--rows 3 \
--timeout 1000
SOCKET="/tmp/volume_indicator"
# If theres an existing volume_indicator running, prod the socket
# Otherwise, start a new volume_indicator instance.
nc -U "$SOCKET" 2>/dev/null || \
ba alacritty -t "Volume" \
--class "volume_indicator" \
--config-file "$HOME/.config/alacritty/silent.yml" \
--command volume_indicator \
--cols 30 \
--rows 3 \
--socket "$SOCKET" \
--timeout 2000