Compare commits

..
3 Commits
Author SHA1 Message Date
pyrschtjag c82e19aac4 update_0.7 2026-01-19 03:34:05 +04:00
pyrschtjag adc893dedd Merge pull request 'update_0.6' (#8) from update_0.6 into main
Reviewed-on: #8
2026-01-17 19:22:08 +04:00
pyrschtjag 9334834da3 update_0.6 2026-01-17 19:21:23 +04:00
3 changed files with 16 additions and 4 deletions
+6 -3
View File
@@ -1,6 +1,9 @@
bindsym $mod+F7 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 #&& $refresh_i3status 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% #&& $refresh_i3status 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+Return exec kitty
bindsym $mod+Shift+q kill bindsym $mod+Shift+q kill
bindsym $mod+d exec --no-startup-id "rofi -modi drun,run,window -show drun" bindsym $mod+d exec --no-startup-id "rofi -modi drun,run,window -show drun"
+10
View File
@@ -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
-1
View File
@@ -6,7 +6,6 @@ detect-client-opacity = true;
use-ewmh-active-win = true; use-ewmh-active-win = true;
unredir-if-possible = false; unredir-if-possible = false;
detect-transient = true; detect-transient = true;
detect-client-leader = true;
use-damage = false; use-damage = false;
window-shader-fg = "default"; window-shader-fg = "default";
transparent-clipping = false; transparent-clipping = false;