From 7dcb01093f45ee5f89ca8fac78195fa4b4c9880a Mon Sep 17 00:00:00 2001 From: Riyyi Date: Fri, 28 Aug 2020 14:06:09 +0200 Subject: [PATCH] Add flip tree keybind, change centaur-tabs move tab keybind --- .config/emacs/config.org | 4 ++-- .config/sxhkd/bspwm | 6 ++++++ .config/sxhkd/sxhkdrc | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.config/emacs/config.org b/.config/emacs/config.org index d138e68..114bd86 100644 --- a/.config/emacs/config.org +++ b/.config/emacs/config.org @@ -1435,8 +1435,8 @@ Set keybinds to functionality of installed packages. (global-set-key (kbd "M-j") 'centaur-tabs-forward-group) (global-set-key (kbd "M-k") 'centaur-tabs-backward-group) (global-set-key (kbd "M-l") 'centaur-tabs-forward-tab) - (global-set-key (kbd "C-M-h") 'centaur-tabs-move-current-tab-to-left) - (global-set-key (kbd "C-M-l") 'centaur-tabs-move-current-tab-to-right) + (global-set-key (kbd "M-H") 'centaur-tabs-move-current-tab-to-left) + (global-set-key (kbd "M-L") 'centaur-tabs-move-current-tab-to-right) (global-set-key (kbd "M-\`") 'evil-switch-to-windows-last-buffer) (global-set-key (kbd "M-s") 'avy-goto-char-timer) diff --git a/.config/sxhkd/bspwm b/.config/sxhkd/bspwm index 3ddd2cf..2e6f8ac 100644 --- a/.config/sxhkd/bspwm +++ b/.config/sxhkd/bspwm @@ -83,6 +83,12 @@ ctrl + alt + {h,j,k,l} ctrl + alt + {Left,Down,Up,Right} bspc node -v {-30 0, 0 30, 0 -30, 30 0} +# Flip the tree from the current nodes parent +super + alt + {comma,period} + bspc node @parent -F {vertical,vertical} +super + alt + 6 + bspc node @parent -F horizontal + #-- Resize --# # Expand node by moving its side outward diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index 080a227..5210788 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -42,7 +42,7 @@ super + {F2,F3} # Screen record ctrl + @Print - $HOME/.scripts/alias.sh screencast "$CAPTURE/$(date '+%Y-%m-%d-%H%M%S_1500x1000_screencast')" + alias.sh screencast "$CAPTURE/$(date '+%Y-%m-%d-%H%M%S_1500x1000_screencast')" # Volume XF86Audio{LowerVolume,RaiseVolume,Mute}