i3 - remove general keybindings

This commit is contained in:
Thomas Dehaeze 2019-12-15 10:53:57 +01:00
parent 72225befa2
commit 1747b866e2

View File

@ -51,6 +51,10 @@ Set mod key (Mod1=<Alt>, Mod4=<Super>)
#+end_src #+end_src
* Multimedia keys * Multimedia keys
:PROPERTIES:
:header-args:conf+: :tangle no
:END:
** Sound ** Sound
#+begin_src conf #+begin_src conf
# Sound # Sound
@ -91,11 +95,17 @@ Set mod key (Mod1=<Alt>, Mod4=<Super>)
#+end_src #+end_src
* Start Applications * Start Applications
:PROPERTIES:
:header-args:conf+: :tangle no
:END:
#+begin_src conf #+begin_src conf
# Start program launcher # Start program launcher
bindsym $mod+d exec --no-startup-id rofi -show run bindsym $mod+d exec --no-startup-id rofi -show run
# Start Sound Manager # Start Sound Manager
bindsym $mod+s exec --no-startup-id pavucontrol bindsym $mod+s exec --no-startup-id pavucontrol
# Start Bluetooth Manager
bindsym $mod+shift+b exec --no-startup-id blueman-manager
# Windows Switch # Windows Switch
bindsym $mod+w exec --no-startup-id rofi -show window bindsym $mod+w exec --no-startup-id rofi -show window
# Launch categorized menu # Launch categorized menu
@ -117,11 +127,19 @@ Set mod key (Mod1=<Alt>, Mod4=<Super>)
#+end_src #+end_src
* Set shut down, restart and locking features * Set shut down, restart and locking features
:PROPERTIES:
:header-args:conf+: :tangle no
:END:
#+begin_src conf #+begin_src conf
bindsym $mod+0 exec --no-startup-id $HOME/scripts/quit.sh bindsym $mod+0 exec --no-startup-id $HOME/scripts/quit.sh
#+end_src #+end_src
* Command Mode * Command Mode
:PROPERTIES:
:header-args:conf+: :tangle no
:END:
#+begin_src conf #+begin_src conf
bindsym $mod+space mode "command" bindsym $mod+space mode "command"
@ -190,7 +208,7 @@ Set mod key (Mod1=<Alt>, Mod4=<Super>)
exec --no-startup-id xrandr --output eDP1 --mode 1920x1080 --dpi 192 exec --no-startup-id xrandr --output eDP1 --mode 1920x1080 --dpi 192
# Redshift # Redshift
exec --no-startup-id redshift exec --no-startup-id redshift-gtk
# Start mopidy # Start mopidy
exec --no-startup-id mopidy exec --no-startup-id mopidy
@ -201,19 +219,33 @@ Set mod key (Mod1=<Alt>, Mod4=<Super>)
# Start polybar # Start polybar
exec_always --no-startup-id $HOME/.config/polybar/scripts/launch.sh exec_always --no-startup-id $HOME/.config/polybar/scripts/launch.sh
# Megasync # Synology Cloud Station Drive
exec --no-startup-id i3-msg 'exec megasync' exec --no-startup-id synology-drive
# KDEconnect
exec --no-startup-id udiskie /usr/lib/kdeconnectd
# Udiskie to automount usb keys # Udiskie to automount usb keys
exec --no-startup-id udiskie --automount --notify --tray --use-udisks2 exec --no-startup-id udiskie --automount --notify --tray --use-udisks2
# Start sxhkd
exec --no-startup-id sxhkd -m 1 &
#+end_src #+end_src
* Kill one application * Kill one application
:PROPERTIES:
:header-args:conf+: :tangle no
:END:
#+begin_src conf #+begin_src conf
bindsym $mod+Ctrl+x --release exec --no-startup-id xkill bindsym $mod+Ctrl+x --release exec --no-startup-id xkill
#+end_src #+end_src
* Change Keyboard Layout * Change Keyboard Layout
:PROPERTIES:
:header-args:conf+: :tangle no
:END:
#+begin_src conf #+begin_src conf
bindsym $mod+Ctrl+d exec --no-startup-id setxkbmap -layout us -variant intl -option caps:escape bindsym $mod+Ctrl+d exec --no-startup-id setxkbmap -layout us -variant intl -option caps:escape
bindsym $mod+Shift+d exec --no-startup-id setxkbmap -layout us -option caps:escape bindsym $mod+Shift+d exec --no-startup-id setxkbmap -layout us -option caps:escape
@ -253,9 +285,8 @@ Set mod key (Mod1=<Alt>, Mod4=<Super>)
** TODO [#A] Split orientation - Use just one key bindings that alternates? ** TODO [#A] Split orientation - Use just one key bindings that alternates?
#+begin_src conf #+begin_src conf
bindsym $mod+semicolon split h bindsym $mod+q split h
bindsym $mod+v split v bindsym $mod+v split v
bindsym $mod+q split toggle
#+end_src #+end_src
** Kill focused window ** Kill focused window
@ -276,7 +307,14 @@ Set mod key (Mod1=<Alt>, Mod4=<Super>)
** TODO [#A] Change container layout (stacked, tabbed, toggle split) ** TODO [#A] Change container layout (stacked, tabbed, toggle split)
#+begin_src conf #+begin_src conf
# bindsym $mod+s layout stacking # bindsym $mod+s layout stacking
# bindsym $mod+l layout toggle split
# bindsym $mod+w layout tabbed # bindsym $mod+w layout tabbed
# Toggle between stacking/tabbed/split:
bindsym $mod+x layout toggle tabbed split
# bindsym $mod+Shift+s layout stacking
# bindsym $mod+t layout tabbed
# bindsym $mod+e layout toggle split # bindsym $mod+e layout toggle split
#+end_src #+end_src
@ -291,8 +329,10 @@ Set mod key (Mod1=<Alt>, Mod4=<Super>)
#+end_src #+end_src
** TODO Toggle sticky ** TODO Toggle sticky
If you want a window to stick to the glass, i.e., have it stay on screen even if you switch to another workspace, you can use the sticky command.
#+begin_src conf #+begin_src conf
bindsym $mod+Shift+s sticky toggle # bindsym $mod+Shift+s sticky toggle
#+end_src #+end_src
** Resize Floating Window ** Resize Floating Window
@ -409,7 +449,7 @@ To display names or symbols instead of plain workspace numbers you can use somet
#+begin_src conf #+begin_src conf
workspace_auto_back_and_forth yes workspace_auto_back_and_forth yes
bindsym $mod+b workspace back_and_forth bindsym $mod+b workspace back_and_forth
bindsym $mod+Shift+b move container to workspace back_and_forth; workspace back_and_forth # bindsym $mod+Shift+b move container to workspace back_and_forth; workspace back_and_forth
#+end_src #+end_src
** Move to prev/next workspace ** Move to prev/next workspace