Updated keyboard configuration, removed related Awesome autostart

This commit is contained in:
Lucien Cartier-Tilet 2020-07-11 18:19:36 +02:00
parent d3d7f118e1
commit c803be2505
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
3 changed files with 13 additions and 15 deletions

View File

@ -10,7 +10,7 @@ set keyboardconf \
Option "XkbLayout" "fr,fr,us"
Option "XkbModel" "pc104"
Option "XkbVariant" "bepo_afnor,,"
Option "XkbOptions" "grp:menu_toggle"
Option "XkbOptions" "grp:menu_toggle,caps:ctrl_modifier"
EndSection'
printf "\n# Set keyboard layout #########################################################\n\n"

View File

@ -1640,17 +1640,16 @@
create some autolaunch. All of my autolaunched apps are launch through the
shell.
#+NAME: autostart-table
| Command | What it is for |
|-----------------------------------------------------+------------------------------------------------|
| pkill xfce-polkit; /usr/lib/xfce-polkit/xfce-polkit | Launch or relaunch Polkit |
| pkill picom; compton --experimental-backends | Launch or relaunch Picom |
| xss-lock -- lock | Enable lockscreen after a blank screen |
| nm-applet | Launch NetworkManager applet |
| numlockx on | Enable numlock |
| mpc stop | Stop music |
| mpd_discord_richpresence --no-idle --fork | Launch MPD rich presence for Discord |
| sleep 3 && emacsclient -c -e \"(delete-frame)\" | Launch blank EmacsClient |
| setxkbmap -option caps:ctrl_modifier | Caps lock is evil and takes the Ctrl key space |
| Command | What it is for |
|-----------------------------------------------------+----------------------------------------|
| pkill xfce-polkit; /usr/lib/xfce-polkit/xfce-polkit | Launch or relaunch Polkit |
| pkill picom; compton --experimental-backends | Launch or relaunch Picom |
| xss-lock -- lock | Enable lockscreen after a blank screen |
| nm-applet | Launch NetworkManager applet |
| numlockx on | Enable numlock |
| mpc stop | Stop music |
| mpd_discord_richpresence --no-idle --fork | Launch MPD rich presence for Discord |
| sleep 3 && emacsclient -c -e \"(delete-frame)\" | Launch blank EmacsClient |
#+NAME: autostart
#+BEGIN_SRC emacs-lisp :tangle no :exports none :cache yes :var apps=autostart-table
@ -1661,7 +1660,7 @@
"\n")
#+END_SRC
#+RESULTS[34ee2754183559bee9c86a527d7bcf961a0e93ec]: autostart
#+RESULTS[d6e417272b634c3a67185926e08725116dc98810]: autostart
: awful.spawn.with_shell("pkill xfce-polkit; /usr/lib/xfce-polkit/xfce-polkit")
: awful.spawn.with_shell("pkill picom; compton --experimental-backends")
: awful.spawn.with_shell("xss-lock -- lock")
@ -1670,7 +1669,6 @@
: awful.spawn.with_shell("mpc stop")
: awful.spawn.with_shell("mpd_discord_richpresence --no-idle --fork")
: awful.spawn.with_shell("sleep 3 && emacsclient -c -e \"(delete-frame)\"")
: awful.spawn.with_shell("setxkbmap -option caps:ctrl_modifier")
Each of the command gets called with the call of ~awful.spawn.with_shell()~,
as you can see below.

View File

@ -181,7 +181,7 @@
Option "XkbLayout" "fr,fr,us"
Option "XkbModel" "pc104"
Option "XkbVariant" "bepo_afnor,,"
Option "XkbOptions" "grp:menu_toggle"
Option "XkbOptions" "grp:menu_toggle,caps:ctrl_modifier"
EndSection'
#+END_SRC
So, lets set it as our keyboard configuration.