This commit is contained in:
Pavel Korytov 2020-05-19 21:39:51 +03:00
parent 25355ce8ee
commit d7418bdcbc
3 changed files with 15 additions and 0 deletions

3
Scripts/open_nvim.sh Executable file
View file

@ -0,0 +1,3 @@
#!/bin/bash
terminator -e "source /home/pavel/anaconda3/bin/activate ermaket && nvim ${1}"

10
Scripts/vol.sh Executable file
View file

@ -0,0 +1,10 @@
#!/bin/bash
SINK=`pactl list short | grep RUNNING | sed -e 's,^\([0-9][0-9]*\)[^0-9].*,\1,'`
if [[ $SINK ]]; then
if [[ $1 == 'volume' ]]; then
pactl set-sink-volume ${SINK} $2
fi
if [[ $1 == 'mute' ]]; then
pactl set-sink-mute ${SINK} toggle
fi
fi

View file

@ -103,6 +103,8 @@ bindsym $mod+comma workspace prev
bindsym $mod+period workspace next
assign [class="X-terminal-emulator"] $w1
assign [class="Gnome-terminal"] $w1
assign [class="Terminal"] $w1
assign [class="qutebrowser"] $w2
assign [class="VK"] $w3
assign [class="Slack"] $w3