+dmenu script for Emacs and eserver launching
This commit is contained in:
@@ -8,11 +8,11 @@ super + Escape
|
|||||||
|
|
||||||
super + shift + Escape
|
super + shift + Escape
|
||||||
notify-send "Reloading xprofile"; \
|
notify-send "Reloading xprofile"; \
|
||||||
sh .xprofile;
|
sh .xprofile;
|
||||||
|
|
||||||
super + Return
|
super + Return
|
||||||
notify-send "Launching terminal"; \
|
notify-send "Launching terminal"; \
|
||||||
$TERMINAL
|
$TERMINAL
|
||||||
|
|
||||||
super + shift + Return
|
super + shift + Return
|
||||||
notify-send "Launching Dev Terminal"; \
|
notify-send "Launching Dev Terminal"; \
|
||||||
@@ -22,23 +22,14 @@ super + a
|
|||||||
dmenu_run
|
dmenu_run
|
||||||
|
|
||||||
super + e
|
super + e
|
||||||
$HOME/.emacs_anywhere/bin/run
|
$HOME/.emacs_anywhere/bin/run
|
||||||
|
|
||||||
super + s
|
super + s
|
||||||
notify-send "Launching qutebrowser"; \
|
notify-send "Launching qutebrowser"; \
|
||||||
qutebrowser
|
qutebrowser
|
||||||
|
|
||||||
super + w; w
|
super + w
|
||||||
notify-send "Launching Emacs"; \
|
$HOME/.local/scripts/eselect;
|
||||||
emacsclient -c -s MAIN -a=emacs;
|
|
||||||
|
|
||||||
hyper + w; s
|
|
||||||
notify-send "(Re)starting emacs server"; \
|
|
||||||
eserver restart;
|
|
||||||
|
|
||||||
hyper + w; d
|
|
||||||
notify-send "Launching Dired"; \
|
|
||||||
emacsclient -c -s MAIN -a=emacs --eval '(dired "~")';
|
|
||||||
|
|
||||||
super + ctrl + l
|
super + ctrl + l
|
||||||
$HOME/.local/scripts/lock
|
$HOME/.local/scripts/lock
|
||||||
|
|||||||
13
Scripts/.local/scripts/eselect
Executable file
13
Scripts/.local/scripts/eselect
Executable file
@@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
case "$(printf "new\nstop\nrestart" | dmenu -p "eserver: ")" in
|
||||||
|
"restart")
|
||||||
|
eserver restart;
|
||||||
|
notify-send "Restarted eserver";;
|
||||||
|
"stop")
|
||||||
|
eserver stop;
|
||||||
|
notify-send "Halted eserver";;
|
||||||
|
"new")
|
||||||
|
notify-send "Launching Emacs";
|
||||||
|
eserver --create-frame -a=emacs;;
|
||||||
|
esac
|
||||||
Reference in New Issue
Block a user