diff options
author | Julian T <julian@jtle.dk> | 2019-02-24 13:45:22 +0100 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2019-02-24 13:45:22 +0100 |
commit | 9da5284cd811098bf8609e51ba602f08be493766 (patch) | |
tree | 8061c0ff45d782675b5f98f63a43a1603e33f469 /dwm/lc | |
parent | 489aeecfdd9d8938669e25961f43df287c4e9bcd (diff) |
Added dwm stuff and emacs
Diffstat (limited to 'dwm/lc')
-rwxr-xr-x | dwm/lc | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -3,7 +3,7 @@ Menu="Program Info System File" System="update poweroff syspend set-keyboard" Info="battery" -Program="cups-website vim emacs htop" +Program="cups-website vim emacs htop scrot" Commonfiles=".vimrc .zshrc" All="$System $Info $Program" @@ -47,11 +47,14 @@ handle_stuff() { if [ "$1" = "-s" ] || [ "$1" = "suspend" ]; then systemctl suspend fi - if [ "$1" = "-p" ] || [ "$1" = "poweroff" ]; then + if [ "$1" = "poweroff" ]; then poweroff fi # Mics + if [ "$1" = "-p" ] || [ "$1" = "scrot" ]; then + scrot /tmp/%Y-%m-%d-%T-screenshot.png + fi # Launch if [ "$1" = "-v" ] || [ "$1" = "vim" ]; then |