Change bindings in I3 + update neovim
This commit is contained in:
+1
-1
@@ -320,7 +320,7 @@ tiling_drag modifier titlebar
|
||||
## Syntax:
|
||||
#exec [--no-startup-id] <command>
|
||||
#exec_always [--no-startup-id] <command>
|
||||
exec_always --no-startup-id setxkbmap us
|
||||
# exec_always --no-startup-id setxkbmap us
|
||||
exec_always --no-startup-id ~/.screenlayout/default.sh
|
||||
exec_always --no-startup-id ~/.config/i3/scripts/i3_autostart
|
||||
|
||||
|
||||
@@ -38,8 +38,8 @@ set $web_browser firefox
|
||||
|
||||
## -- Terminal --
|
||||
bindsym $MOD+Return exec --no-startup-id $terminal
|
||||
bindsym $MOD+Shift+Return exec --no-startup-id $terminal --float
|
||||
bindsym $MOD+$ALT+Return exec --no-startup-id $terminal --full
|
||||
# bindsym $MOD+Shift+Return exec --no-startup-id "$terminal --float"
|
||||
# bindsym $MOD+$ALT+Return exec --no-startup-id "$terminal --full"
|
||||
|
||||
## -- GUI Apps --
|
||||
bindsym $MOD+Shift+f exec --no-startup-id $file_manager
|
||||
@@ -47,10 +47,8 @@ bindsym $MOD+Shift+e exec --no-startup-id $text_editor
|
||||
bindsym $MOD+Shift+w exec --no-startup-id $web_browser
|
||||
|
||||
## -- CLI Apps --
|
||||
bindsym $ALT+Control+v exec --no-startup-id "$alacritty -e vim"
|
||||
bindsym $ALT+Control+r exec --no-startup-id "$alacritty -e ranger"
|
||||
bindsym $ALT+Control+h exec --no-startup-id "$alacritty -e htop"
|
||||
bindsym $ALT+Control+m exec --no-startup-id $music_player
|
||||
bindsym $MOD+Shift+Return exec --no-startup-id "$terminal --float -e tmux new-session nvim"
|
||||
# bindsym $MOD+Control+h exec --no-startup-id "$terminal -e tmux new-session htop"
|
||||
|
||||
## -- Rofi Applets --
|
||||
bindsym $MOD+p exec --no-startup-id $rofi_applets/rofi_launcher -dpi 1
|
||||
@@ -78,7 +76,7 @@ bindsym XF86AudioStop exec --no-startup-id "mpc stop"
|
||||
bindsym Print exec --no-startup-id "$screenshot --now"
|
||||
bindsym Control+Print exec --no-startup-id "$screenshot --in5"
|
||||
# bindsym Shift+Print exec --no-startup-id "$screenshot --in10"
|
||||
bindsym Shift+Print exec --no-startup-id $rofi_applets/rofi_screenshot
|
||||
bindsym Shift+Print exec --no-startup-id $rofi_applets/rofi_screenshot
|
||||
bindsym Control+Shift+Print exec --no-startup-id "$screenshot --win"
|
||||
bindsym $MOD+Print exec --no-startup-id "$screenshot --area"
|
||||
|
||||
@@ -137,10 +135,13 @@ bindsym $MOD+Left focus left
|
||||
bindsym $MOD+Down focus down
|
||||
bindsym $MOD+Up focus up
|
||||
bindsym $MOD+Right focus right
|
||||
|
||||
bindsym $MOD+a focus left
|
||||
bindsym $MOD+d focus right
|
||||
## Sets focus to the parent container of the current container.
|
||||
bindsym $MOD+a focus parent
|
||||
# bindsym $MOD+a focus parent
|
||||
## The opposite of `focus parent`, sets the focus to the last focused child container.
|
||||
bindsym $MOD+d focus child
|
||||
# bindsym $MOD+d focus child
|
||||
## Automatically sets focus to the adjacent container.
|
||||
bindsym $MOD+Tab focus next
|
||||
## Toggles focus between floating/tiling containers.
|
||||
|
||||
@@ -9,12 +9,14 @@ DIR="$HOME/.config/i3"
|
||||
CONFIG="$DIR/alacritty/alacritty.toml"
|
||||
|
||||
if [ "$1" == "--float" ]; then
|
||||
alacritty --class 'alacritty-float,alacritty-float' --config-file "$CONFIG"
|
||||
shift
|
||||
alacritty --class 'alacritty-float,alacritty-float' --config-file "$CONFIG" $@
|
||||
elif [ "$1" == "--full" ]; then
|
||||
shift
|
||||
alacritty --class 'Fullscreen,Fullscreen' --config-file "$CONFIG" \
|
||||
-o window.startup_mode=fullscreen \
|
||||
window.padding.x=30 window.padding.y=30 \
|
||||
window.opacity=0.95 font.size=14
|
||||
window.opacity=0.95 font.size=14 $@
|
||||
else
|
||||
alacritty --config-file "$CONFIG"
|
||||
alacritty --config-file "$CONFIG" $@
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user