@@ -0,0 +1,16 @@ | |||||
#!/bin/sh | |||||
app=$(printf "Notes\nFiles\nEditor\nTerminal\nMultiplexer\nLBRY\nChat\nMusic\nProcesses" | dmenu -i -p "Launcher") | |||||
case $app in | |||||
Notes) app-notes;; | |||||
Files) app-nnn;; | |||||
Editor) st -e vim;; | |||||
Terminal) st;; | |||||
Multiplexer) app-tmux;; | |||||
LBRY) lbry;; | |||||
Chat) element-desktop;; | |||||
Music) st -e ncmpcpp;; | |||||
Browser) brave-browser;; | |||||
Processes) st -e htop;; | |||||
esac |
@@ -0,0 +1,2 @@ | |||||
#!/bin/sh | |||||
st -e vim "+cd ~/Notes/text" "+CtrlP" |
@@ -0,0 +1,2 @@ | |||||
#!/bin/sh | |||||
st -e tmux $* |
@@ -0,0 +1,2 @@ | |||||
#!/bin/sh | |||||
st -e vim "$*" |
@@ -0,0 +1,11 @@ | |||||
#!/bin/sh | |||||
action=$(printf "Play Music\nPause Music\nToggle Music\nSelect VPN\nDisable VPN\nRebind keys" | | |||||
dmenu -i -p "Actions") | |||||
case $action in | |||||
'Play Music') mpc play ;; | |||||
'Pause Music') mpc pause ;; | |||||
'Toggle Music') mpc toggle ;; | |||||
'Rebind keys') setup-xbindkeys;; | |||||
esac |
@@ -12,8 +12,12 @@ do | |||||
then | then | ||||
csum=$new_csum | csum=$new_csum | ||||
dwm-statusbar & | dwm-statusbar & | ||||
#xbindkeys -f "$XDG_CONFIG_HOME"/xbindkeys/config | |||||
dwm.winkey | |||||
pid=$! | |||||
pulseaudio -k | |||||
dwm.winkey & | |||||
pid="$pid $!" | |||||
xbindkeys -f $HOME/Backups/configs/xbindkeysrc | |||||
wait $pid | |||||
else | else | ||||
exit 0 | exit 0 | ||||
fi | fi | ||||
@@ -2,9 +2,9 @@ | |||||
if ! { [ "$TERM" = "tmux-256color" ] && [ -n "$TMUX" ]; } then | if ! { [ "$TERM" = "tmux-256color" ] && [ -n "$TMUX" ]; } then | ||||
# Remove option --tab for new window | # Remove option --tab for new window | ||||
st -e vim "$*" | |||||
app-vim $* | |||||
else | else | ||||
# tmux session running | # tmux session running | ||||
tmux -u split-window "vim \"$*\"" | |||||
vim $* #tmux -u split-window "vim \"$*\"" | |||||
fi | fi | ||||
@@ -0,0 +1,4 @@ | |||||
#!/bin/sh | |||||
killall xbindkeys | |||||
xbindkeys -f $BACKUPS_PATH/configs/xbindkeysrc |