Compare commits
No commits in common. "b35d5d87fc611e11e475f48bf3e6e2fa7aea4d16" and "bb89177ff90b609e19092dd15c4edad6553af932" have entirely different histories.
b35d5d87fc
...
bb89177ff9
|
@ -12,7 +12,6 @@ alias vim "nvim"
|
||||||
alias docker-compose "podman-compose"
|
alias docker-compose "podman-compose"
|
||||||
alias sc "systemctl"
|
alias sc "systemctl"
|
||||||
alias jc "journalctl -eu"
|
alias jc "journalctl -eu"
|
||||||
alias webtorrent "webtorrent -i -o /tmp/webtorrent --mpv --player-args='--sub-auto=all --sub-file-paths=Subs:subs'"
|
|
||||||
|
|
||||||
# Additional paths
|
# Additional paths
|
||||||
set PATH $PATH $HOME/.emacs.d/bin
|
set PATH $PATH $HOME/.emacs.d/bin
|
||||||
|
|
|
@ -6,7 +6,6 @@ select_action() {
|
||||||
"Connectivity test"
|
"Connectivity test"
|
||||||
"Reload doom emacs"
|
"Reload doom emacs"
|
||||||
"Sync mail"
|
"Sync mail"
|
||||||
"Restart Waybar"
|
|
||||||
)
|
)
|
||||||
action=$(printf '%s\n' "${action_content[@]}" | rofi -no-auto-select -i "$@" -dmenu -p "Choose an action")
|
action=$(printf '%s\n' "${action_content[@]}" | rofi -no-auto-select -i "$@" -dmenu -p "Choose an action")
|
||||||
execute_action "$action"
|
execute_action "$action"
|
||||||
|
@ -25,8 +24,7 @@ execute_action() {
|
||||||
"System resources usage") launch_kitty "htop" ;;
|
"System resources usage") launch_kitty "htop" ;;
|
||||||
"Connectivity test") launch_kitty "ping -c 2 freebsd.org" ;;
|
"Connectivity test") launch_kitty "ping -c 2 freebsd.org" ;;
|
||||||
"Reload doom emacs") execute_command "$HOME/.emacs.d/bin/doom sync" ;;
|
"Reload doom emacs") execute_command "$HOME/.emacs.d/bin/doom sync" ;;
|
||||||
"Sync mail") execute_command "/home/coolneng/.local/share/scripts/mail-sync -a" ;;
|
"Sync mail") execute_command "/home/coolnengs/.local/share/scripts/mail-sync -a" ;;
|
||||||
"Restart Waybar") execute_command "pkill waybar; waybar &" ;;
|
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue