Compare commits
5
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c82e19aac4 | ||
|
|
adc893dedd | ||
|
|
9334834da3 | ||
|
|
7e36781fdc | ||
|
|
3de2eb69c6 |
@@ -1,6 +1,9 @@
|
||||
bindsym $mod+F7 exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% #&& $refresh_i3status
|
||||
bindsym $mod+F8 exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle #&& $refresh_i3status
|
||||
bindsym $mod+F9 exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% #&& $refresh_i3status
|
||||
bindsym $mod+F7 exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && ~/.config/i3/scripts/volume.sh
|
||||
bindsym $mod+F8 exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && ~/.config/i3/scripts/volume.sh
|
||||
bindsym $mod+F9 exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && ~/.config/i3/scripts/volume.sh
|
||||
bindsym $mod+F10 exec --no-startup-id playerctl previous
|
||||
bindsym $mod+F11 exec --no-startup-id playerctl play-pause
|
||||
bindsym $mod+F12 exec --no-startup-id playerctl next
|
||||
bindsym $mod+Return exec kitty
|
||||
bindsym $mod+Shift+q kill
|
||||
bindsym $mod+d exec --no-startup-id "rofi -modi drun,run,window -show drun"
|
||||
|
||||
@@ -7,6 +7,7 @@ ubgcolor='#00afff'
|
||||
textcolor='#ffffff'
|
||||
alertcolor='#ff5555'
|
||||
insidecolor='#2d2d2d88'
|
||||
keycolor='#6b8e23'
|
||||
|
||||
i3lock -n \
|
||||
--blur 5 \
|
||||
@@ -30,7 +31,7 @@ i3lock -n \
|
||||
--insidewrong-color=$insidecolor \
|
||||
--ringwrong-color=$alertcolor \
|
||||
\
|
||||
--keyhl-color=$textcolor \
|
||||
--keyhl-color=$keycolor \
|
||||
--bshl-color=$alertcolor \
|
||||
\
|
||||
--time-color=$textcolor \
|
||||
|
||||
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
volume=$(pactl get-sink-volume @DEFAULT_SINK@ | grep -Po '\d+(?=%)' | head -1)
|
||||
mute=$(pactl get-sink-mute @DEFAULT_SINK@ | grep -Po '(?<=Mute: )(yes|no)')
|
||||
|
||||
if [ "$mute" = "yes" ]; then
|
||||
notify-send -a "System" -r 9993 -i audio-volume-muted "Muted" --urgency=LOW -t 1000
|
||||
else
|
||||
notify-send -a "System" -r 9993 -h int:value:"$volume" -i audio-volume-high "Volume: ${volume}%" --urgency=LOW -t 1000
|
||||
fi
|
||||
@@ -6,7 +6,6 @@ detect-client-opacity = true;
|
||||
use-ewmh-active-win = true;
|
||||
unredir-if-possible = false;
|
||||
detect-transient = true;
|
||||
detect-client-leader = true;
|
||||
use-damage = false;
|
||||
window-shader-fg = "default";
|
||||
transparent-clipping = false;
|
||||
|
||||
Reference in New Issue
Block a user