summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x.config/bspwm/bspwmrc5
-rw-r--r--.emacs.d/org/config.org2
2 files changed, 4 insertions, 3 deletions
diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc
index 9754f56..3f07f7f 100755
--- a/.config/bspwm/bspwmrc
+++ b/.config/bspwm/bspwmrc
@@ -130,6 +130,7 @@ sub bspc_rules
system(BSPC_PATH, 'rule', '-a', 'Zathura', 'state=tiled');
system(BSPC_PATH, 'rule', '-a', 'qTox', 'desktop=12');
system(BSPC_PATH, 'rule', '-a', 'DergodsRealmII', 'state=floating');
+ system(BSPC_PATH, 'rule', '-a', 'obs', 'desktop=12', 'follow=true');
return;
}
@@ -153,7 +154,6 @@ sub run_bg_programs
sub fg_on_three_screens
{
- system(ESPEAK_PATH . ' "' . COWSAY_WELCOME . '" &');
system(
ALACRITTY_PATH . ' -e ' . SH_PATH . ' -c \'' .
COWSAY_PATH . ' "' . COWSAY_WELCOME . '"; ' . ZSH_PATH .
@@ -179,7 +179,6 @@ sub fg_on_three_screens
sub fg_on_two_screens
{
- system(ESPEAK_PATH, COWSAY_WELCOME, '&');
system(
ALACRITTY_PATH . ' -e ' . SH_PATH . ' -c \'' .
COWSAY_PATH . ' "' . COWSAY_WELCOME . '"; ' . ZSH_PATH .
@@ -205,7 +204,6 @@ sub fg_on_two_screens
sub fg_on_one_screen
{
- system(ESPEAK_PATH, COWSAY_WELCOME, '&');
system(
ALACRITTY_PATH . ' -e ' . SH_PATH . ' -c \'' .
COWSAY_PATH . ' "' . COWSAY_WELCOME . '"; ' . ZSH_PATH .
@@ -238,6 +236,7 @@ sub run_fg_programs
run_if_dead(EMACS_PATH, '&');
sleep(12);
system(BSPC_PATH, 'desktop', '-f', '09');
+ system(ESPEAK_PATH . ' "' . COWSAY_WELCOME . '" &');
if ($screens == 3) {
fg_on_three_screens();
}
diff --git a/.emacs.d/org/config.org b/.emacs.d/org/config.org
index 4a52916..556038a 100644
--- a/.emacs.d/org/config.org
+++ b/.emacs.d/org/config.org
@@ -825,6 +825,8 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
(global-set-key [f5] 'my/exec-f5)
(global-set-key [f6] 'my/exec-f6)
(global-set-key (kbd "C-x d") 'ranger)
+(global-set-key (kbd "M-1") 'shell-command)
+(global-set-key (kbd "M-7") 'async-shell-command)
;; (add-hook 'rust-mode-hook 'my/cargo-f5-minor-mode)
(shell-pop--set-shell-type 'my/shell-pop-shell-type my/shell-pop-shell-type)