From 46fd288cf74658217fd16608f1f3c2839d0db688 Mon Sep 17 00:00:00 2001 From: Konstantin Koslowski Date: Tue, 16 Mar 2021 12:50:55 +0100 Subject: [PATCH] sway_volume: replace sound --- bin/audio-volume-change.oga | Bin 0 -> 5596 bytes bin/drip.ogg | Bin 8495 -> 0 bytes bin/sway_volume | 6 +++--- 3 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 bin/audio-volume-change.oga delete mode 100644 bin/drip.ogg diff --git a/bin/audio-volume-change.oga b/bin/audio-volume-change.oga new file mode 100644 index 0000000000000000000000000000000000000000..e4a33dc5a862b63a981f47203e30b07feb8b96b3 GIT binary patch literal 5596 zcmeG=dsNd$))SuLA@T?ah??*a5`s%0u!L$GqEUhYBoKrkRo+jnCLm(98xb%>pc*1# zcpL}>Ndy!G1iHGYJmd``f?5}!prY2|Zq-)mH@^g3Kfj*scTUg#w{s?wnS1ZtJ98g1 zcYgkHae+V$EEFbp*H)x!y{SSSwH&qkD{f>04*{sHt401`*`*?GMfoE$KNMsp3XWoa zu#y@%z5Ar7t2ix#1R)7K<5&4}xPtdy<+CzKbVW(8v!vp092Ay*DkAGs126W7}sqxZ_NbHcLJ&c(a66q2bBH-H-amT zEllL2U5`X4)xw8t%`4Dr^;MD}fuQ06Rx%=aIY=>(JS>-EipMVI1Qpx2$%~4W7EB(p zxDRcK?>o^|equzz8)E27WU5}eaj|xt{3?W5%#;{(TSP#*gsT#5`Hc`bH*`cYUDJkv zy&Q3|eREroir<1;$iFNZx=6VTXXM;0PHNK$hrKt^CC>+S5ZI^gLxpyWm^AM$&A{%@ z*NVj8s&NI&Q@%AQC?{RPS1r%WU+*J7xQS(9FH6Z#?i>q1rlHb{-#1EER(WxiNJ!{& zI6L6dPehv9%R`>CXD%DA)h9tOCb~f{&TF17(XyJ~rG7+hL<+qaW4bAFTq6?O+{saSC)@!wzC^-n~8accnZ zQxp5ACi1o}$^O)_K12?HL6fPBNpWN@si)+iA5BMP;P;WU3)6Gds`sev#ztG;tH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+jr0m26s#r6}Ry$HEg=$A)Qoc8a7gcl}265 z`BUK0u5MAOyt<}6?aA)@@}jYGimh*M+ch$iJO_b1(GWKA0^RK_y+`pHlH#hb9 z-!F{Y3pYGjW!1X^{2IIEZZhhxeg7EN7qyGs|7x+>BMh8&nRh){wMw?=xceDB4-f9P z2Fz|l6PuN>v9T*-MH*mI&Z(>6Z0}UGxK~?hCF+eSA|h%Avn_*}j@KKUnU~uutg|C- z3pt##gzVJIRIhpyMMhmiLu3QxidXIP)VJhzL5p~8a>Hc##mGjT-gEvv7slI%o(#to zp9@c!s`6@@yPX@-X?D=d@%cW7LUQ41gV&{PD}v1)w7$bo)?Y-h(@LItGaAnZ)h^q`=RTPm?>ZpP39v z)(>lLzL*&D^ywM5ypIt^Vxrzb(n>-2j3*NuW+yWUUNm& z%ZS6Lr+>aY{q*)}+E*7%PT22Aj4kW`=HhoJ&M&&ao66$NYjMB$Go$sFMSFL6rcL3} G4E_g~`fR`e literal 0 HcmV?d00001 diff --git a/bin/drip.ogg b/bin/drip.ogg deleted file mode 100644 index 144d2b3670e8e294ee7cfe343355bf90123cb687..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8495 zcmbVx2{@G9+xSCei6qHVvV<7>TF73uK{AYe$)2?sOSY(FU&7e8EJI^WS+e&gJ43di zFhxwVOb9WS?-}0S-}1k%@4K%5xsEgEzR!K`=iJ-5&pGs*oD2YR;O`=+JrhXkQsTa^ zkg=2b-uJR~MvxHXx5`OBU|BsTeoLlDn)y#5%_IXM+bZGH^umY#Q9Mr^GrA0pn>atX zC!*)&#Oda2Yjnh(Q;SnVOzgVYH3WKT4_@ z80x~o;$vy->wxw3!TJW9rav=(8*KXanfb&s%k5`2Ea89G-@&+TQauu#lMHylEt@(A zDY$a6U{Z6-ZK{RoBJ;m-W)5X;49L=D&c8r2W{vz6Wthd+fKJakvY;D= zbq=&8q&K7EMaEDj0;5Hni8}82Gh|U#poc*mD?Xd9lhp>Ka~{s5L{FN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&;@}f5phK-dFiyoSCKGb) ztLEACpur!8mcH!a@2)6n`@MdawK`%b64IJSSdwem+x@lU@#D+Z&Z3Dw|1PShB_Bon zJh&ZjgR!xpp)#@k_rBuL2(ej-@P;rL?Ad&f)R*SRmtE!w;TWoQQV?8B(#|OIp8U&x zg?s0##*FD@T@%rH0b7lYwJgFQ$}nvSW%pNh@YTw+rFr?!YdG-?+iK@OgXBGM^R&#nJ@o3@Ke(I~Z@U~ox5&6TE$BzC3 q4pSv@4Tp8LC~{y18P49-RO96847`*l^Ef%*L!-C1?mgOf>VE*{SErW% diff --git a/bin/sway_volume b/bin/sway_volume index 0ab9fbd..5666eff 100755 --- a/bin/sway_volume +++ b/bin/sway_volume @@ -3,6 +3,9 @@ source $HOME/.config/sway/bin/sway_helpers SINK=$(pactl info | grep "Default Sink" | cut -d ' ' -f 3) ICON_PATH=$HOME/.local/share/icons/Tela-circle-dark/16/actions NOTIFY_APP="dunstify -a volume -h string:x-dunst-stack-tag:volume" +APP="pavucontrol" +SOUND=$HOME/.config/sway/bin/audio-volume-change.oga + # echo -e '\u25cf' VOL1="●" # echo -e '\u25cc' @@ -49,9 +52,6 @@ function notify() { $NOTIFY_APP -i $ICON "$TITLE" "$(getProgressString 10 "$VOL1" "$VOL2" $VOLUME)" } -APP="pavucontrol" -SOUND=$HOME/.config/sway/bin/drip.ogg - ## helpers function _toggle() { a=$1