mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
setup mako and notification of audio device switch
This commit is contained in:
parent
d0ce5ae885
commit
98304a4b80
@ -1,4 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
sink=$(pactl list sinks | grep "Sink #" | head -n $1 | tail -n 1)
|
||||
card=$(pactl list sinks | grep "alsa.card_name" | head -n $1 | tail -n 1)
|
||||
pactl set-default-sink $(echo $sink | cut -d "#" -f 2)
|
||||
notify-send "$(echo $card | cut -d "\"" -f 2)"
|
||||
|
@ -1,4 +1,5 @@
|
||||
# autostart with hyprland
|
||||
exec-once = waybar
|
||||
exec = mako
|
||||
exec = ~/.config/hypr/scripts/idle.sh
|
||||
exec = ~/.config/hypr/scripts/bg.sh
|
||||
|
@ -35,6 +35,7 @@ in {
|
||||
grim # screenshot functionality
|
||||
wl-clipboard # wl-copy and wl-paste for copy/paste from stdin / stdout
|
||||
mako # notification system developed by swaywm maintainer
|
||||
libnotify
|
||||
wdisplays # tool to configure displays
|
||||
playerctl
|
||||
wayland
|
||||
|
Loading…
x
Reference in New Issue
Block a user