Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
This commit is contained in:
Skylar "The Cobra" Widulski 2023-12-21 22:56:51 -05:00
parent daab1591f8
commit c57738cb08
Signed by: cobra
GPG Key ID: 4FD8F812083FF6F9
7 changed files with 20 additions and 15 deletions

View File

@ -8,6 +8,7 @@ export LESS_TERMCAP_so=''
export LESS_TERMCAP_ue=''
export LESS_TERMCAP_us=''
export LESS=-R
export PATH="$HOME/.local/bin${PATH:+:$PATH}"
. ~/.devspec
[ -f ~/.guix-home/setup-environment ] && . ~/.guix-home/setup-environment

View File

@ -33,6 +33,7 @@ export LESS_TERMCAP_so=''
export LESS_TERMCAP_ue=''
export LESS_TERMCAP_us=''
export LESS=-R
export PATH=\"$HOME/.local/bin${PATH:+:$PATH}\"
. ~/.devspec
[ -f ~/.guix-home/setup-environment ] && . ~/.guix-home/setup-environment

View File

@ -47,10 +47,8 @@ done" "\nEOF"))
(system (string-append #$coreutils "/bin/cat << \"EOF\" >" #$output "\n" "\
#!/usr/bin/env bash
rm -rf /run/user/$UID/pulse
pkill pulseaudio
rm -rf /run/user/$UID/pulse
pkill pipewire
pkill wireplumber
pipewire &
pipewire-pulse &
wireplumber &" "\nEOF"))
@ -127,9 +125,9 @@ fi"))
case \"$(printf \"logout\\nreboot\\nshutdown\\nsleep\\n\" | wofi --dmenu -i -H 500 -W 250 -x 0 -y 0 )\" in
'logout') swaymsg exit;;
'sleep') ~/.local/bin/suspend ;;
'reboot') sudo reboot ;;
'shutdown') sudo poweroff ;;
'sleep') loginctl suspend ;;
'reboot') sudo /run/current-system/profile/sbin/reboot ;;
'shutdown') sudo /run/current-system/profile/sbin/halt ;;
*) exit 1 ;;
esac" "\nEOF"))
(chmod #$output #o755))))

View File

@ -29,6 +29,8 @@
(list ;; Audio
"alsa-utils"
"cmus"
"mpd"
"mpd-mpc"
"mumble"
"pamixer"
"pipewire"
@ -83,6 +85,7 @@
;; Development
"at-spi2-core"
;"avr-toolchain"
"cmake"
"gcc-toolchain"
"git"
"git:send-email"
@ -107,6 +110,10 @@
"teeworlds"
"xonotic"
;; Guile
"fftw"
"guile-sdl2"
;; Multimedia
"ffmpeg"
"gimp"

View File

@ -2,8 +2,8 @@
case "$(printf "logout\nreboot\nshutdown\nsleep\n" | wofi --dmenu -i -H 500 -W 250 -x 0 -y 0 )" in
'logout') swaymsg exit;;
'sleep') ~/.local/bin/suspend ;;
'reboot') sudo reboot ;;
'shutdown') sudo poweroff ;;
'sleep') loginctl suspend ;;
'reboot') sudo /run/current-system/profile/sbin/reboot ;;
'shutdown') sudo /run/current-system/profile/sbin/halt ;;
*) exit 1 ;;
esac

View File

@ -1,9 +1,7 @@
#!/usr/bin/env bash
rm -rf /run/user/$UID/pulse
pkill pulseaudio
rm -rf /run/user/$UID/pulse
pkill pipewire
pkill wireplumber
pipewire &
pipewire-pulse &
wireplumber &

View File

@ -1,4 +1,4 @@
browser "cmus-remote -U; swayhide mpv --user-agent=Mozilla/5.0 '--ytdl-format=bestvideo[height=?480][fps<=?30][vcodec!=?vp9]+bestaudio/best' %u"
browser "mpc -h /tmp/mpd-socket pause; swayhide mpv --user-agent=Mozilla/5.0 '--ytdl-format=bestvideo[height=?480][fps<=?30][vcodec!=?vp9]+bestaudio/best' %u"
use-proxy yes
proxy-type socks5h
proxy 127.0.0.1:9050