setup mako and notification of audio device switch

This commit is contained in:
Tyler Starr 2023-12-28 12:04:28 -08:00
parent d0ce5ae885
commit 98304a4b80
3 changed files with 4 additions and 0 deletions

View File

@ -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)"

View File

@ -1,4 +1,5 @@
# autostart with hyprland
exec-once = waybar
exec = mako
exec = ~/.config/hypr/scripts/idle.sh
exec = ~/.config/hypr/scripts/bg.sh

View File

@ -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