[i3] Improved resize mode

master
Quentin Duchemin 2020-01-24 11:57:08 +01:00
parent a45ce4dcd6
commit 363c18f966
Signed by: Chosto
GPG Key ID: 0547178FEEDE7D6B
4 changed files with 10 additions and 5 deletions

View File

@ -1,4 +1,5 @@
[A2J]
AutoExport=true
AutoStart=true
ExportHW=true

View File

@ -189,10 +189,10 @@ bindsym $mod+Shift+r restart
# resize window (you can also use the mouse for that)
mode "$resize_mode" {
bindsym Left resize grow width 10 px or 10 ppt
bindsym Down resize grow height 10 px or 10 ppt
bindsym Up resize shrink height 10 px or 10 ppt
bindsym Right resize shrink width 10 px or 10 ppt
bindsym Left resize shrink width 40 px or 20 ppt; move position center
bindsym Down resize grow height 40 px or 20 ppt; move position center
bindsym Up resize shrink height 40 px or 20 ppt; move position center
bindsym Right resize grow width 40 px or 20 ppt; move position center
bindsym Escape mode "default"
}

View File

@ -82,3 +82,7 @@ done
# Reload i3 configuration
i3-msg reload && echo "Successfully reloaded i3 config"
# Restart picom due to this bug https://github.com/yshui/picom/issues/166
killall picom; picom &>/dev/null &

View File

@ -27,7 +27,7 @@ I added to the classic Arch/i3 :
* A notification daemon (urgency-aware), Dunst, controlled by shortcuts (but possibly with mouse).
* A fancy lock screen, with optionnal suspend-to-RAM, either triggered by hotkey or when there is no activity for X minutes.
* A Display Manager (LightDM), for login and X starting.
* A great File Explorer (SpaceFM), with hotkey / command-line / screen-split / protocol handlers / events support.
* A great File Explorer (Nemo), with hotkey / command-line / screen-split / protocol handlers / events support.
* ZSH with Oh My ZSH and excellent community plugins (Git aliases, Docker autocomplete, FASD bindings, cat and man coloration...)
* Some mappings to control ALSA volume from dedicated keyboards buttons, to play/plause players compatible with MPRIS D-Bus Interface spec ; some changes to key speed (X settings) ; Smooth and dark theme for GTK and for Sublime-Text...