From 4a888c7671268b195c8ee61bc75afc4e170b80c3 Mon Sep 17 00:00:00 2001 From: Shaun Reed Date: Sat, 28 Sep 2019 03:34:39 -0400 Subject: [PATCH] Update i3 and bash configs for quick-switching to next empty workspace --- bash/.bash_aliases | 1 + i3/.config/i3/config | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/bash/.bash_aliases b/bash/.bash_aliases index c0ec44c..6ecafb1 100644 --- a/bash/.bash_aliases +++ b/bash/.bash_aliases @@ -22,6 +22,7 @@ export EDITOR='/usr/bin/vim' export VISUAL='/usr/bin/vim' export TERMINAL='urxvt -e tmux -u' export PROMPT_COMMAND="$TMUX_GITBAR_DIR/update-gitbar; $PROMPT_COMMAND" +export PATH=$PATH":$HOME/.local/bin/i3scripts" if command -v tmux &> /dev/null && [ -n "$PS1" ] && [[ ! "$TERM" =~ screen ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then exec tmux diff --git a/i3/.config/i3/config b/i3/.config/i3/config index 1f629d0..86f4b48 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -1,6 +1,10 @@ # i3 config file (v4) # Please see http://i3wm.org/docs/userguide.html for a complete reference! +# Move to a new empty workspace +#bindsym $mod+Ctrl+Left exec --no-startup-id i3empty.py prev +bindsym $mod+Shift+z exec --no-startup-id $HOME/.local/bin/i3scripts/i3empty.py + # Set mod key (Mod1=, Mod4=) set $mod Mod4 @@ -267,6 +271,8 @@ mode "$mode_gaps_outer" { # start a terminal # Uses $TERMINAL environment setting bindsym $mod+Return exec terminal +# Open dropdown terminal using tilix quake mode +bindsym $mod+a exec tilix -q # Firefox bindsym $mod+F2 exec firefox @@ -456,7 +462,7 @@ bindsym $mod+space focus mode_toggle # toggle sticky bindsym $mod+Shift+s sticky toggle # focus the parent container -bindsym $mod+a focus parent +#bindsym $mod+a focus parent # System keybinds ###########################################