mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-11 03:33:03 +03:00
upd
This commit is contained in:
parent
25355ce8ee
commit
d7418bdcbc
3 changed files with 15 additions and 0 deletions
3
Scripts/open_nvim.sh
Executable file
3
Scripts/open_nvim.sh
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
terminator -e "source /home/pavel/anaconda3/bin/activate ermaket && nvim ${1}"
|
||||
10
Scripts/vol.sh
Executable file
10
Scripts/vol.sh
Executable 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
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue