Compare commits
3 Commits
6295099bd9
...
23886416b4
| Author | SHA1 | Date | |
|---|---|---|---|
|
23886416b4
|
|||
|
e750b5ea50
|
|||
|
409ce9a05c
|
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user