diff --git a/stumpwm/init.lisp b/stumpwm/init.lisp index 254b62b..a34adc6 100644 --- a/stumpwm/init.lisp +++ b/stumpwm/init.lisp @@ -20,6 +20,9 @@ (run-shell-command "exec feh --bg-fill ~/wallpaper.jpg & picom -b") (run-shell-command "xrandr --output HDMI-A-0 --mode 1366x768") +(defcommand screenshot () () + (run-shell-command "flameshot gui --path=/mnt/Data/mpv-screenshots/screenshots")) +(define-key *top-map* (kbd "M-i") "screenshot") (defcommand nyxt () () (run-or-raise "nyxt" '(:class "Nyxt"))) @@ -27,11 +30,11 @@ (define-key *top-map* (kbd "M-p") "nyxt") ;; in the case i want a new terminal -(define-key *top-map* (kbd "M-l") "exec alacritty") +(define-key *top-map* (kbd "M-l") "exec kitty") ;; for reusing a open terminal (defcommand terminal () () - (run-or-raise "alacritty" '(:class "Alacritty"))) + (run-or-raise "kitty" '(:class "kitty"))) (define-key *top-map* (kbd "M-v") "terminal")