guix-config

guix system configuration/declaration
git clone git://git.eonn.xyz/guix-config.git
Log | Files | Refs | LICENSE

commit 2d6e88ec44011f1a6b7c8605511755038f6304ff
parent 0d9fd9c8a16e58162b6e6cec28449025f0a78ec5
Author: Ian Ressa <ian@shmage.xyz>
Date:   Sun,  6 Nov 2022 04:36:51 -0500

[stumpwm] giving rofi a command

Diffstat:
Mmodules/shmage/guix/dotfiles/stumpwm.d/binds.lisp | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/modules/shmage/guix/dotfiles/stumpwm.d/binds.lisp b/modules/shmage/guix/dotfiles/stumpwm.d/binds.lisp @@ -29,6 +29,10 @@ "Lock the screen however I've decided to do that." (run-shell-command "/home/ian/bin/lockscreen.sh")) +(defcommand run-launcher () () + "run rofi -show run" + (run-shell-command "exec rofi -show run -config /home/ian/.config/rofi/rofi.rasi -theme /home/ian/.config/rofi/theme.rasi")) + (defcommand launch-polybar () () (run-shell-command "/home/ian/bin/polybar-launch.sh")) @@ -58,7 +62,7 @@ (define-key *root-map* (kbd "C-e") "emacs") (define-key *root-map* (kbd "e") "emacs-connect-or-start") (define-key *root-map* (kbd "c") "exec alacritty") -(define-key *root-map* (kbd "C-TAB") "exec rofi -show run -config /home/ian/.config/rofi/rofi.rasi -theme /home/ian/.config/rofi/theme.rasi") +(define-key *root-map* (kbd "C-TAB") "run-launcher") (define-key *root-map* (kbd "C-c") "terminal-raise") (define-key *root-map* (kbd "l") "mode-line") (define-key *root-map* (kbd "C-space") "toggle-float")