1
0
mirror of https://github.com/artizirk/dotfiles.git synced 2025-12-16 07:05:11 +02:00

Switch to tvolnoti

This commit is contained in:
2020-04-16 14:52:50 +03:00
parent 35a2caf560
commit 5076f9c5ad
3 changed files with 18 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ font pango:Terminus 12
set $bg "~/Pildid/background.png"
# Lock screen
set $lockcmd ~/.bin/swaylock.sh
set $lockcmd ~/.bin/swaylock.sh $bg
# Your preferred terminal emulator
set $term gnome-terminal
@@ -50,8 +50,14 @@ exec xrdb -load ~/.Xresources
# Notification daemon
exec mako --default-timeout 10000
# Simple bar
exec rm /tmp/wobpipe; mkfifo /tmp/wobpipe && tail -f /tmp/wobpipe | wob
# Volume and Brightness notification
exec tvolnoti -n -T dark
# Monitor volume changes
exec pactl subscribe | grep --line-buffered "sink" | xargs -n1 sh -c 'tvolnoti-show $(amixer get Master | grep -Po "[0-9]+(?=%)" | tail -1)'
# Register a fake player in bluez so that volume control would work
exec ~/.bin/fakebluezplayer.py
# Polkit agent
exec ~/.bin/polkit-agent