[StumpWM] Move xinitrc files to their respective .org file
Move .xinitrc.emacs to emacs.org Move .xinitrc.stumpwm to stumpwm.org Move .xinitrc.awesome to Deprecated/awesome.org
This commit is contained in:
parent
0e86789285
commit
2dfabd7d56
@ -1,15 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
xhost +SI:localuser:$USER
|
|
||||||
wmname LG3D
|
|
||||||
|
|
||||||
# Set fallback cursor
|
|
||||||
xsetroot -cursor_name left_ptr
|
|
||||||
|
|
||||||
# If Emacs is started in server mode, `emacsclient` is a convenient way to edit
|
|
||||||
# files in place (used by e.g. `git commit`)
|
|
||||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
|
||||||
export VISUAL=emacsclient
|
|
||||||
export EDITOR="$VISUAL"
|
|
||||||
|
|
||||||
exec emacs --with-exwm
|
|
@ -1,9 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# this makes it work in Ubuntu
|
|
||||||
xhost +SI:localuser:$USER
|
|
||||||
|
|
||||||
# wmname LG3D
|
|
||||||
# export _JAVA_AWT_WM_NONREPARENTING=1
|
|
||||||
|
|
||||||
exec stumpwm
|
|
@ -26,6 +26,17 @@ This document was written in Emacs with Org-mode and is both the documentation
|
|||||||
and source code of my configuration file which can be extracted to
|
and source code of my configuration file which can be extracted to
|
||||||
~$HOME/.config/awesome/rc.lua~ through a call to ~org-babel-tangle~.
|
~$HOME/.config/awesome/rc.lua~ through a call to ~org-babel-tangle~.
|
||||||
|
|
||||||
|
* Launching Awesome
|
||||||
|
:PROPERTIES:
|
||||||
|
:CUSTOM_ID: Launching-Awesome-lavgvvz00bj0
|
||||||
|
:END:
|
||||||
|
In order to launch Awesome with ~startx~, I need a ~xinit~-compatible
|
||||||
|
script. Here is my ~$HOME/.xinitrc.awesome~ file:
|
||||||
|
#+begin_src sh :tangle ~/.xinitrc.awesome
|
||||||
|
xhost +
|
||||||
|
exec awesome
|
||||||
|
#+end_src
|
||||||
|
|
||||||
* Loading libraries
|
* Loading libraries
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:CUSTOM_ID: Loading_libraries-4df76999
|
:CUSTOM_ID: Loading_libraries-4df76999
|
||||||
|
@ -3234,6 +3234,28 @@ easily.
|
|||||||
(apply #'call-process `(,(car command-parts) nil 0 nil ,@(cdr command-parts)))))
|
(apply #'call-process `(,(car command-parts) nil 0 nil ,@(cdr command-parts)))))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
In order to launch Emacs with EXWM with ~startx~, I need a ~xinit~ file.
|
||||||
|
This one is exported to ~$HOME/.xinitrc.emacs~.
|
||||||
|
#+begin_src sh :tangle ~/.xinitrc.emacs
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
xhost +SI:localuser:$USER
|
||||||
|
|
||||||
|
# Set fallback cursor
|
||||||
|
xsetroot -cursor_name left_ptr
|
||||||
|
|
||||||
|
# If Emacs is started in server mode, `emacsclient` is a convenient way to edit
|
||||||
|
# files in place (used by e.g. `git commit`)
|
||||||
|
export VISUAL=emacsclient
|
||||||
|
export EDITOR="$VISUAL"
|
||||||
|
|
||||||
|
# in case Java applications display /nothing/
|
||||||
|
# wmname LG3D
|
||||||
|
# export _JAVA_AWT_WM_NONREPARENTING=1
|
||||||
|
|
||||||
|
exec emacs --with-exwm
|
||||||
|
#+end_src
|
||||||
|
|
||||||
*** EXWM itself
|
*** EXWM itself
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:CUSTOM_ID: Packages-Configuration-EXWM-EXWM-itself-hhgexz61aaj0
|
:CUSTOM_ID: Packages-Configuration-EXWM-EXWM-itself-hhgexz61aaj0
|
||||||
|
@ -87,6 +87,28 @@ follows this architecture:
|
|||||||
- ~theme.lisp~ :: manages the color theme of StumpWM, the default
|
- ~theme.lisp~ :: manages the color theme of StumpWM, the default
|
||||||
placement of some windows and StumpWM’s gaps.
|
placement of some windows and StumpWM’s gaps.
|
||||||
|
|
||||||
|
You will also find below my ~xinit~ file for StumpWM, exported to
|
||||||
|
~$HOME/.xinitrc.stumpwm~, which I use to start Stump through ~startx
|
||||||
|
~/.xinitrc.stumpwm~.
|
||||||
|
#+begin_src sh :tangle ~/.xinitrc.stumpwm
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# this makes it work in Ubuntu
|
||||||
|
xhost +SI:localuser:$USER
|
||||||
|
|
||||||
|
# Set fallback pointer
|
||||||
|
xsetroot -cursor_name left_ptr
|
||||||
|
|
||||||
|
# Fix scrolling on some GTK3 applications
|
||||||
|
export GDK_CORE_DEVICE_EVENTS=1
|
||||||
|
|
||||||
|
# in case Java applications display /nothing/
|
||||||
|
# wmname LG3D
|
||||||
|
# export _JAVA_AWT_WM_NONREPARENTING=1
|
||||||
|
|
||||||
|
exec stumpwm
|
||||||
|
#+end_src
|
||||||
|
|
||||||
* Init file
|
* Init file
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:CUSTOM_ID: Init-file-l3q4snd1u5j0
|
:CUSTOM_ID: Init-file-l3q4snd1u5j0
|
||||||
|
Loading…
Reference in New Issue
Block a user