Updated windows organization, added autostart command

This commit is contained in:
Lucien Cartier-Tilet 2020-07-11 18:16:51 +02:00
parent d1ce2653e9
commit d3d7f118e1
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -503,13 +503,13 @@
| magnifier | yes | | magnifier | yes |
| tile.left | yes | | tile.left | yes |
| tile | yes | | tile | yes |
| tile.bottom | yes |
| tile.top | yes |
| max | yes | | max | yes |
| max.fullscreen | yes | | max.fullscreen | yes |
| floating | yes | | floating | yes |
| fair | yes | | fair | yes |
| fair.horizontal | yes | | fair.horizontal | yes |
| tile.bottom | yes |
| tile.top | yes |
| spiral | yes | | spiral | yes |
| spiral.dwindle | yes | | spiral.dwindle | yes |
| corner.nw | no | | corner.nw | no |
@ -525,18 +525,18 @@
"") "")
#+END_SRC #+END_SRC
#+RESULTS[b2574a8a87e61600a7d1b328f394b394fd69bf09]: list-layouts #+RESULTS[0bd0312ff10526c8b24199453ff235cf71425fb5]: list-layouts
#+begin_example #+begin_example
awful.layout.suit.magnifier, awful.layout.suit.magnifier,
awful.layout.suit.tile, awful.layout.suit.tile,
awful.layout.suit.tile.left, awful.layout.suit.tile.left,
awful.layout.suit.tile.bottom,
awful.layout.suit.tile.top,
awful.layout.suit.max, awful.layout.suit.max,
awful.layout.suit.max.fullscreen, awful.layout.suit.max.fullscreen,
awful.layout.suit.floating, awful.layout.suit.floating,
awful.layout.suit.fair, awful.layout.suit.fair,
awful.layout.suit.fair.horizontal, awful.layout.suit.fair.horizontal,
awful.layout.suit.tile.bottom,
awful.layout.suit.tile.top,
awful.layout.suit.spiral, awful.layout.suit.spiral,
awful.layout.suit.spiral.dwindle, awful.layout.suit.spiral.dwindle,
#+end_example #+end_example
@ -1640,16 +1640,17 @@
create some autolaunch. All of my autolaunched apps are launch through the create some autolaunch. All of my autolaunched apps are launch through the
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 |
| nm-applet | Launch NetworkManager applet | | nm-applet | Launch NetworkManager applet |
| numlockx on | Enable numlock | | numlockx on | Enable numlock |
| 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
@ -1660,7 +1661,7 @@
"\n") "\n")
#+END_SRC #+END_SRC
#+RESULTS[4f7ae21b2d44878b44a0aaea4a0f2ed030d9e9bf]: autostart #+RESULTS[34ee2754183559bee9c86a527d7bcf961a0e93ec]: 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")
@ -1669,6 +1670,7 @@
: 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.