adding a lot of little additions and tweaks for the updated nix

This commit is contained in:
Chris Cochrun 2023-01-03 07:23:08 -06:00
parent b68e8c45d8
commit e47b3fa5ff
13 changed files with 70 additions and 77 deletions

View file

@ -22,7 +22,7 @@ if [ $(pgrep -c emacsclient) -gt 0 ]; then
exit
else
echo WAYLAND
emacsrg=$(wlrctl window list | rg Emacs)
emacsrg=$(wlrctl window list | rg emacs)
emacswin=$(echo $emacsrg | sed 's/.*\: //')
echo $emacswin

View file

@ -4,13 +4,13 @@ kwalletd5 &
systemctl --user stop jellyfin-mpv-shim.service &
systemctl --user stop nextcloud-client.service &
systemctl --user stop emacs.service &
killall .jellyfin-mpv-shim
/usr/lib/kdeconnectd &
nm-applet &
greenclip daemon &
rbw-agent &
emacs --daemon &
nextcloud --background &
jellyfin-mpv-shim &
killall eww

View file

@ -1,11 +1,11 @@
#!/bin/sh
touch /tmp/vol
awesome-client "naughty.destroy_all_notifications()"
# killall volup
# killall voldown
pamixer --allow-boost -d 5
pw-play /run/current-system/sw/share/sounds/freedesktop/stereo/audio-volume-change.oga
volume=$(pulsemixer --get-volume | awk '{print $1}' | cut -c 1-2)
echo $volume >> /tmp/vol
volume=$(pulsemixer --get-volume | awk '{print $1}')
echo $volume > /tmp/vol
eww open volume

View file

@ -1,20 +1,14 @@
#!/usr/bin/env bash
#!/bin/sh
touch /tmp/vol
touch /tmp/ewwvol
echo on > /tmp/ewwvol
# killall volup
# killall voldown
pamixer --allow-boost -i 5
pw-play /run/current-system/sw/share/sounds/freedesktop/stereo/audio-volume-change.oga
volume=$(pulsemixer --get-volume | awk '{print $1}' | cut -c 1-2)
echo $volume >> /tmp/vol
ewwvol=$(cat /tmp/ewwvol)
volume=$(pulsemixer --get-volume | awk '{print $1}')
echo $volume > /tmp/vol
eww open volume
sleep 3
if [[ ewwvol == "on" ]]; then
fi
eww close volume