Update: Added rofi configs, dunst config and icons.
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="56" height="56" viewBox="0 0 24 24" fill="none" stroke="#f07178" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="feather feather-battery"><rect x="1" y="6" width="18" height="12" rx="2" ry="2"></rect><line x1="23" y1="13" x2="23" y2="11"></line></svg>
|
||||
|
After Width: | Height: | Size: 321 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="56" height="56" viewBox="0 0 24 24" fill="none" stroke="#f07178" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="feather feather-mic-off"><line x1="1" y1="1" x2="23" y2="23"></line><path d="M9 9v3a3 3 0 0 0 5.12 2.12M15 9.34V4a3 3 0 0 0-5.94-.6"></path><path d="M17 16.95A7 7 0 0 1 5 12v-2m14 0v2a7 7 0 0 1-.11 1.23"></path><line x1="12" y1="19" x2="12" y2="23"></line><line x1="8" y1="23" x2="16" y2="23"></line></svg>
|
||||
|
After Width: | Height: | Size: 489 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="56" height="56" viewBox="0 0 24 24" fill="none" stroke="#c3e88d" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="feather feather-mic"><path d="M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z"></path><path d="M19 10v2a7 7 0 0 1-14 0v-2"></path><line x1="12" y1="19" x2="12" y2="23"></line><line x1="8" y1="23" x2="16" y2="23"></line></svg>
|
||||
|
After Width: | Height: | Size: 413 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="56" height="56" viewBox="0 0 24 24" fill="none" stroke="#ffcb6b" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="feather feather-moon"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path></svg>
|
||||
|
After Width: | Height: | Size: 276 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="56" height="56" viewBox="0 0 24 24" fill="none" stroke="#ffcb6b" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="feather feather-sun"><circle cx="12" cy="12" r="5"></circle><line x1="12" y1="1" x2="12" y2="3"></line><line x1="12" y1="21" x2="12" y2="23"></line><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line><line x1="1" y1="12" x2="3" y2="12"></line><line x1="21" y1="12" x2="23" y2="12"></line><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line></svg>
|
||||
|
After Width: | Height: | Size: 645 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="56" height="56" viewBox="0 0 24 24" fill="none" stroke="#82aaff" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="feather feather-volume-1"><polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"></polygon><path d="M15.54 8.46a5 5 0 0 1 0 7.07"></path></svg>
|
||||
|
After Width: | Height: | Size: 323 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="56" height="56" viewBox="0 0 24 24" fill="none" stroke="#82aaff" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="feather feather-volume-2"><polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"></polygon><path d="M19.07 4.93a10 10 0 0 1 0 14.14M15.54 8.46a5 5 0 0 1 0 7.07"></path></svg>
|
||||
|
After Width: | Height: | Size: 354 B |
@@ -0,0 +1,48 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="56"
|
||||
height="56"
|
||||
viewBox="0 0 24 24"
|
||||
fill="none"
|
||||
stroke="#82aaff"
|
||||
stroke-width="1"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
class="feather feather-volume-2"
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
sodipodi:docname="volume-3.svg"
|
||||
inkscape:version="1.4.2 (ebf0e940d0, 2025-05-08)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs1" />
|
||||
<sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#000000"
|
||||
borderopacity="0.25"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:zoom="14.196429"
|
||||
inkscape:cx="25.745912"
|
||||
inkscape:cy="28.563522"
|
||||
inkscape:window-width="1904"
|
||||
inkscape:window-height="1025"
|
||||
inkscape:window-x="8"
|
||||
inkscape:window-y="47"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg1" />
|
||||
<polygon
|
||||
points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"
|
||||
id="polygon1"
|
||||
style="stroke-width:0.99985714;stroke-dasharray:none;stroke:#f07178;stroke-opacity:1" />
|
||||
<path
|
||||
d="M19.07 4.93a10 10 0 0 1 0 14.14M15.54 8.46a5 5 0 0 1 0 7.07"
|
||||
id="path1"
|
||||
style="opacity:1;stroke:#f07178;stroke-opacity:1" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="56" height="56" viewBox="0 0 24 24" fill="none" stroke="#f07178" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="feather feather-volume-x"><polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"></polygon><line x1="23" y1="9" x2="17" y2="15"></line><line x1="17" y1="9" x2="23" y2="15"></line></svg>
|
||||
|
After Width: | Height: | Size: 365 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="56" height="56" viewBox="0 0 24 24" fill="none" stroke="#82aaff" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="feather feather-volume"><polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"></polygon></svg>
|
||||
|
After Width: | Height: | Size: 275 B |
@@ -1,16 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
# rofi theme
|
||||
theme="$HOME/.config/rofi/1.rasi"
|
||||
theme="$HOME/.config/rofi/main_without_icons.rasi"
|
||||
|
||||
get_options() {
|
||||
echo " Poweroff"
|
||||
echo " Reboot"
|
||||
echo " Reboot to Windows"
|
||||
echo " Hibernate"
|
||||
echo " Lock"
|
||||
echo " Suspend"
|
||||
echo " Log out"
|
||||
echo " Poweroff"
|
||||
echo " Reboot"
|
||||
echo " Reboot to Windows"
|
||||
echo " Hibernate"
|
||||
echo " Lock"
|
||||
echo " Suspend"
|
||||
echo " Log out"
|
||||
}
|
||||
|
||||
main() {
|
||||
@@ -21,25 +21,25 @@ main() {
|
||||
|
||||
# run the selected command
|
||||
case $choice in
|
||||
' Poweroff')
|
||||
' Poweroff')
|
||||
systemctl poweroff
|
||||
;;
|
||||
' Reboot')
|
||||
' Reboot')
|
||||
systemctl reboot
|
||||
;;
|
||||
' Reboot to Windows')
|
||||
' Reboot to Windows')
|
||||
pkexec grub-reboot 3 && systemctl reboot
|
||||
;;
|
||||
' Hibernate')
|
||||
' Hibernate')
|
||||
systemctl hibernate
|
||||
;;
|
||||
' Lock')
|
||||
' Lock')
|
||||
lock
|
||||
;;
|
||||
' Suspend')
|
||||
' Suspend')
|
||||
systemctl suspend
|
||||
;;
|
||||
' Log out')
|
||||
' Log out')
|
||||
i3-msg exit
|
||||
;;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# rofi theme
|
||||
theme="$HOME/.config/rofi/1.rasi"
|
||||
theme="$HOME/.config/rofi/main_without_icons.rasi"
|
||||
|
||||
get_options() {
|
||||
echo " Selected area screenshot"
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
dir_icons="/usr/local/bin/icons"
|
||||
vol_quiet=33
|
||||
vol_loud=66
|
||||
vol_very_loud=101
|
||||
|
||||
cur_vol_left=$(pactl get-sink-volume @DEFAULT_SINK@ | grep -o '[0-9]\+%' | sed -n '1p'| sed 's/%//g')
|
||||
cur_vol_right=$(pactl get-sink-volume @DEFAULT_SINK@ | grep -o '[0-9]\+%' | sed -n '2p' | sed 's/%//g')
|
||||
@@ -12,6 +13,8 @@ if [ "$cur_vol_average" -le "$vol_quiet" ]; then
|
||||
dunstify "Speakers" "Volume: $cur_vol_average%" -r 100 -i "$dir_icons"/volume.svg
|
||||
elif [ "$cur_vol_average" -gt "$vol_quiet" ] && [ "$cur_vol_average" -le "$vol_loud" ]; then
|
||||
dunstify "Speakers" "Volume: $cur_vol_average%" -r 100 -i "$dir_icons"/volume-1.svg
|
||||
elif [ "$cur_vol_average" -gt "$vol_loud" ]; then
|
||||
elif [ "$cur_vol_average" -gt "$vol_loud" ] && [ "$cur_vol_average" -le "$vol_very_loud" ]; then
|
||||
dunstify "Speakers" "Volume: $cur_vol_average%" -r 100 -i "$dir_icons"/volume-2.svg
|
||||
elif [ "$cur_vol_average" -gt "$vol_very_loud" ]; then
|
||||
dunstify "Speakers" "Volume: $cur_vol_average%" -r 100 -i "$dir_icons"/volume-3.svg
|
||||
fi
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
dir_icons="/usr/local/bin/icons"
|
||||
vol_quiet=33
|
||||
vol_loud=66
|
||||
vol_very_loud=101
|
||||
|
||||
cur_vol_left=$(pactl get-sink-volume @DEFAULT_SINK@ | grep -o '[0-9]\+%' | sed -n '1p'| sed 's/%//g')
|
||||
cur_vol_right=$(pactl get-sink-volume @DEFAULT_SINK@ | grep -o '[0-9]\+%' | sed -n '2p' | sed 's/%//g')
|
||||
@@ -16,7 +17,9 @@ elif [ "$mute" = "no" ]; then
|
||||
dunstify "Speakers" "Speakers are unmuted" -r 100 -i "$dir_icons"/volume.svg
|
||||
elif [ "$cur_vol_average" -gt "$vol_quiet" ] && [ "$cur_vol_average" -le "$vol_loud" ]; then
|
||||
dunstify "Speakers" "Speakers are unmuted" -r 100 -i "$dir_icons"/volume-1.svg
|
||||
elif [ "$cur_vol_average" -gt "$vol_loud" ]; then
|
||||
elif [ "$cur_vol_average" -gt "$vol_loud" ] && [ "$cur_vol_average" -le "$vol_very_loud" ]; then
|
||||
dunstify "Speakers" "Speakers are unmuted" -r 100 -i "$dir_icons"/volume-2.svg
|
||||
elif [ "$cur_vol_average" -gt "$vol_very_loud" ]; then
|
||||
dunstify "Speakers" "Speakers are unmuted" -r 100 -i "$dir_icons"/volume-3.svg
|
||||
fi
|
||||
fi
|
||||
|
||||