Updated keyboard configuration, removed related Awesome autostart
This commit is contained in:
parent
d3d7f118e1
commit
c803be2505
@ -10,7 +10,7 @@ set keyboardconf \
|
|||||||
Option "XkbLayout" "fr,fr,us"
|
Option "XkbLayout" "fr,fr,us"
|
||||||
Option "XkbModel" "pc104"
|
Option "XkbModel" "pc104"
|
||||||
Option "XkbVariant" "bepo_afnor,,"
|
Option "XkbVariant" "bepo_afnor,,"
|
||||||
Option "XkbOptions" "grp:menu_toggle"
|
Option "XkbOptions" "grp:menu_toggle,caps:ctrl_modifier"
|
||||||
EndSection'
|
EndSection'
|
||||||
|
|
||||||
printf "\n# Set keyboard layout #########################################################\n\n"
|
printf "\n# Set keyboard layout #########################################################\n\n"
|
||||||
|
@ -1641,7 +1641,7 @@
|
|||||||
shell.
|
shell.
|
||||||
#+NAME: autostart-table
|
#+NAME: autostart-table
|
||||||
| Command | What it is for |
|
| Command | What it is for |
|
||||||
|-----------------------------------------------------+------------------------------------------------|
|
|-----------------------------------------------------+----------------------------------------|
|
||||||
| pkill xfce-polkit; /usr/lib/xfce-polkit/xfce-polkit | Launch or relaunch Polkit |
|
| pkill xfce-polkit; /usr/lib/xfce-polkit/xfce-polkit | Launch or relaunch Polkit |
|
||||||
| pkill picom; compton --experimental-backends | Launch or relaunch Picom |
|
| pkill picom; compton --experimental-backends | Launch or relaunch Picom |
|
||||||
| xss-lock -- lock | Enable lockscreen after a blank screen |
|
| xss-lock -- lock | Enable lockscreen after a blank screen |
|
||||||
@ -1650,7 +1650,6 @@
|
|||||||
| mpc stop | Stop music |
|
| mpc stop | Stop music |
|
||||||
| mpd_discord_richpresence --no-idle --fork | Launch MPD rich presence for Discord |
|
| mpd_discord_richpresence --no-idle --fork | Launch MPD rich presence for Discord |
|
||||||
| sleep 3 && emacsclient -c -e \"(delete-frame)\" | Launch blank EmacsClient |
|
| 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 |
|
|
||||||
|
|
||||||
#+NAME: autostart
|
#+NAME: autostart
|
||||||
#+BEGIN_SRC emacs-lisp :tangle no :exports none :cache yes :var apps=autostart-table
|
#+BEGIN_SRC emacs-lisp :tangle no :exports none :cache yes :var apps=autostart-table
|
||||||
@ -1661,7 +1660,7 @@
|
|||||||
"\n")
|
"\n")
|
||||||
#+END_SRC
|
#+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 xfce-polkit; /usr/lib/xfce-polkit/xfce-polkit")
|
||||||
: awful.spawn.with_shell("pkill picom; compton --experimental-backends")
|
: awful.spawn.with_shell("pkill picom; compton --experimental-backends")
|
||||||
: awful.spawn.with_shell("xss-lock -- lock")
|
: awful.spawn.with_shell("xss-lock -- lock")
|
||||||
@ -1670,7 +1669,6 @@
|
|||||||
: awful.spawn.with_shell("mpc stop")
|
: awful.spawn.with_shell("mpc stop")
|
||||||
: awful.spawn.with_shell("mpd_discord_richpresence --no-idle --fork")
|
: 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("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()~,
|
Each of the command gets called with the call of ~awful.spawn.with_shell()~,
|
||||||
as you can see below.
|
as you can see below.
|
||||||
|
@ -181,7 +181,7 @@
|
|||||||
Option "XkbLayout" "fr,fr,us"
|
Option "XkbLayout" "fr,fr,us"
|
||||||
Option "XkbModel" "pc104"
|
Option "XkbModel" "pc104"
|
||||||
Option "XkbVariant" "bepo_afnor,,"
|
Option "XkbVariant" "bepo_afnor,,"
|
||||||
Option "XkbOptions" "grp:menu_toggle"
|
Option "XkbOptions" "grp:menu_toggle,caps:ctrl_modifier"
|
||||||
EndSection'
|
EndSection'
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
So, let’s set it as our keyboard configuration.
|
So, let’s set it as our keyboard configuration.
|
||||||
|
Loading…
Reference in New Issue
Block a user