diff options
author | lonkaars <loek@pipeframe.xyz> | 2021-12-27 13:57:22 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2021-12-27 13:57:22 +0100 |
commit | 7c9e27da43f27aab54b788990c3d80f6a90d64f3 (patch) | |
tree | 1ace6fa215245133097bfd780b1670c6865210ef /.local/share/bin | |
parent | 5f84955b0626ca1446f7356025a95e4c574b50f4 (diff) |
dots update
Diffstat (limited to '.local/share/bin')
-rwxr-xr-x | .local/share/bin/mode | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.local/share/bin/mode b/.local/share/bin/mode index 904ff03..5d8e7f1 100755 --- a/.local/share/bin/mode +++ b/.local/share/bin/mode @@ -97,16 +97,16 @@ reload_terms() { \033]4;15;$(get_color color15)\007 EOF escape_msgs=$(printf "$escape_msgs" | tr -d '\n') - find /dev/pts -exec sh -c "printf \"$escape_msgs\n\" > {}" \; 2> /dev/null + find /dev/pts -exec sh -c "printf \"$escape_msgs\" > {}" \; 2> /dev/null } reload_dunst() { killall dunst - dunst & disown + dunst &> /dev/null & disown } reload_polybar() { - polybar-msg cmd restart + polybar-msg cmd restart &> /dev/null } switch_cfgs() { @@ -118,7 +118,7 @@ switch_cfgs() { switch_gtk $1 echo $1 > ~/.local/share/mode/active - rm ~/.local/share/mode/dark ~/.local/share/mode/light + rm ~/.local/share/mode/dark ~/.local/share/mode/light 2> /dev/null touch ~/.local/share/mode/$1 } |