mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-04-20 08:37:49 +02:00
Compare commits
No commits in common. "c8d14b538a81c685043a83e35b9bf377b645d023" and "da287df85c48841e44c77e532793731675207e0b" have entirely different histories.
c8d14b538a
...
da287df85c
Binary file not shown.
Binary file not shown.
@ -25,15 +25,15 @@ super + m
|
|||||||
thunderbird
|
thunderbird
|
||||||
|
|
||||||
super + bracketright
|
super + bracketright
|
||||||
mic_toggle
|
amixer get Capture | tail -2 | grep -q '\[on\]' && $(amixer set Master unmute &> /dev/null ; amixer set Capture nocap &> /dev/null ; notify-send -u low 'sxhkd' 'Sound active\nMicrophone muted') || $(amixer set Master unmute &> /dev/null ; amixer set Capture cap &> /dev/null ; notify-send -u low 'sxhkd' 'Sound active\nMicrophone active')
|
||||||
super + backslash
|
super + backslash
|
||||||
sound_toggle
|
amixer get Master | tail -2 | grep -q '\[on\]' && $(amixer set Master mute &> /dev/null ; amixer set Capture nocap &> /dev/null ; notify-send -u low 'sxhkd' 'Sound muted\nMicrophone muted') || $(amixer set Capture nocap &> /dev/null ; amixer set Master unmute &> /dev/null ; notify-send -u low 'sxhkd' 'Sound active\nMicrophone muted')
|
||||||
|
|
||||||
super + shift + l
|
super + shift + l
|
||||||
setxkbmap -query | grep -q 'nodeadkeys' && $(setxkbmap de ru ; notify-send -u low 'SXHKD' 'Set keymap to russian') || $(setxkbmap de nodeadkeys ; notify-send -u low 'SXHKD' 'Set keymap to german')
|
setxkbmap -query | grep -q 'nodeadkeys' && $(setxkbmap de ru ; notify-send -u low 'sxhkd' 'Set keymap to russian') || $(setxkbmap de nodeadkeys ; notify-send -u low 'sxhkd' 'Set keymap to german')
|
||||||
|
|
||||||
super + shift + r
|
super + shift + r
|
||||||
pkill -usr1 -x sxhkd ; notify-send -u low 'SXHKD' 'Reloaded config'
|
pkill -usr1 -x sxhkd; notify-send -u low 'sxhkd' 'Reloaded config'
|
||||||
|
|
||||||
super + Return
|
super + Return
|
||||||
$TERMINAL
|
$TERMINAL
|
||||||
@ -45,9 +45,9 @@ super + shift + space
|
|||||||
dunstctl close-all
|
dunstctl close-all
|
||||||
|
|
||||||
super + F5
|
super + F5
|
||||||
monitor_toggle
|
togglemonitor
|
||||||
super + F6
|
super + F6
|
||||||
touchpad_toggle
|
toggletouchpad
|
||||||
super + F7
|
super + F7
|
||||||
dmenumount
|
dmenumount
|
||||||
super + F8
|
super + F8
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -1,12 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
if amixer get Capture | tail -2 | grep -q '\[on\]'; then
|
|
||||||
notify-send -u low 'Audio' 'Sound active\nMicrophone muted'
|
|
||||||
paplay ~/.local/bin/tools/audio/mic_muted.wav
|
|
||||||
amixer set Master unmute >/dev/null 2>&1
|
|
||||||
amixer set Capture nocap >/dev/null 2>&1
|
|
||||||
else
|
|
||||||
notify-send -u low 'Audio' 'Sound active\nMicrophone active'
|
|
||||||
amixer set Master unmute >/dev/null 2>&1
|
|
||||||
amixer set Capture cap >/dev/null 2>&1
|
|
||||||
paplay ~/.local/bin/tools/audio/mic_activated.wav
|
|
||||||
fi
|
|
Binary file not shown.
Binary file not shown.
@ -1,12 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
if amixer get Master | tail -2 | grep -q '\[on\]'; then
|
|
||||||
notify-send -u low 'sxhkd' 'Sound muted\nMicrophone muted'
|
|
||||||
paplay ~/.local/bin/tools/audio/sound_muted.wav
|
|
||||||
amixer set Master mute >/dev/null 2>&1
|
|
||||||
amixer set Capture nocap >/dev/null 2>&1
|
|
||||||
else
|
|
||||||
notify-send -u low 'sxhkd' 'Sound active\nMicrophone muted'
|
|
||||||
amixer set Capture nocap >/dev/null 2>&1
|
|
||||||
amixer set Master unmute >/dev/null 2>&1
|
|
||||||
paplay ~/.local/bin/tools/audio/sound_resumed.wav
|
|
||||||
fi
|
|
@ -3,5 +3,5 @@
|
|||||||
date +" %d %b %H:%M"
|
date +" %d %b %H:%M"
|
||||||
|
|
||||||
case $BLOCK_BUTTON in
|
case $BLOCK_BUTTON in
|
||||||
1) notify-send -u low "This Month" "$(cal --color=always | sed "s/..7m/<b><span color=\"red\">/;s/..0m/<\/span><\/b>/")" ;;
|
1) notify-send "This Month" "$(cal --color=always | sed "s/..7m/<b><span color=\"red\">/;s/..0m/<\/span><\/b>/")" ;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user