This commit is contained in:
parent
420bd45c34
commit
c02d6690ed
@ -18,13 +18,5 @@ keys or whose remap feature is kind of buggy with some keys, such as
|
||||
the «é» placed where the «w» is on a Qwerty layout (I’m looking at
|
||||
you, HoloCure).
|
||||
|
||||
** Installation
|
||||
If you wish to install my dotfiles and you are on ArchLinux, you can
|
||||
follow the [[file:bootstrap.org][bootstrap]] page where you can find a walkthrough of how I
|
||||
configure my environment and what I install. If you have [[https://github.com/TheLocehiliosan/yadm][YADM]]
|
||||
installed, you can even execute =yadm bootstrap= to execute it after
|
||||
cloning my repo with =yadm clone
|
||||
https://labs.phundrak.com/phundrak/dotfiles.git=.
|
||||
|
||||
** License
|
||||
See [[https://labs.phundrak.com/phundrak/dotfiles/src/branch/master/LICENSE.org][the repository’s license file]].
|
||||
|
@ -1031,7 +1031,7 @@ displayed as ~0~). Here is what the possible actions are:
|
||||
In this category you will find other keybindings that do not fit in other
|
||||
categories. For now, the only keybinding that is in this category is for
|
||||
toggling the touchpad’s tapping ability. This is linked to a special script I
|
||||
wrote [[file:bin.org::#Toggle_touchpad_tapping-23348b00][here]].
|
||||
wrote [[file:./scripts.md#toggle-touchpad-tapping][here]].
|
||||
#+NAME: sc-misc
|
||||
| Key | Modifiers | Lambda? | Action | What it does | Group |
|
||||
|--------------------+-----------+---------+-----------+-------------------------+-------|
|
||||
|
@ -334,7 +334,7 @@ Some visual packages:
|
||||
| nordic-theme-git | Nord theme for GTK |
|
||||
| noto-fonts-emoji | Font with emojis |
|
||||
| otf-ipafont | Japanese font |
|
||||
| picom | See [[file:picom.org]] |
|
||||
| picom | See [[file:/picom.org][my Picom config]] |
|
||||
| powerline-fonts | Powerline fonts |
|
||||
| siji-git | Siji font |
|
||||
| ttf-arphic-uming | CJK font Ming style |
|
||||
@ -824,7 +824,7 @@ end
|
||||
#+END_SRC
|
||||
|
||||
*** Symlink some system config files
|
||||
Let’s symlink the ~plock~ script ([[file:bin.org::#Lock-635fcb38][source here]]) to ~/usr/bin~ so ~xss-lock~
|
||||
Let’s symlink the ~plock~ script ([[file:../scripts.md#plock][source here]]) to ~/usr/bin~ so ~xss-lock~
|
||||
can find it.
|
||||
#+BEGIN_SRC fish
|
||||
sudo ln -s ~/.local/bin/plock /usr/bin/plock
|
||||
@ -838,7 +838,7 @@ mkdir -p ~/fromGIT
|
||||
|
||||
**** Reveal.JS
|
||||
I sometimes use Reveal.JS to make presentations, and I set its
|
||||
location in my [[file:emacs.org][Emacs config]] to be in =~/fromGIT=, so let’s clone it
|
||||
location in my [[file:../emacs/index.md][Emacs config]] to be in =~/fromGIT=, so let’s clone it
|
||||
there.
|
||||
#+BEGIN_SRC fish
|
||||
printf "\n# Install Reveal.JS ###########################################################\n\n"
|
@ -40,7 +40,7 @@ APPEND and COMPARE-FN, see `add-to-list'."
|
||||
#+end_src
|
||||
|
||||
** Generate and insert random passwords
|
||||
These functions got replaced by my custom package, see [[file:./misc.md#password-generator][Password
|
||||
These functions got replaced by my custom package, see [[file:packages/misc.md#password-generator][Password
|
||||
generator]].
|
||||
|
||||
** Handle new windows
|
||||
|
@ -80,24 +80,24 @@ block.
|
||||
** Loading All Configuration Modules
|
||||
|
||||
#+name: emacs-modules
|
||||
| Module Name | Config Page |
|
||||
|--------------------------+----------------------------------|
|
||||
| =basic-config.el= | [[file:./basic-config.org][Basic Configuration]] |
|
||||
| =custom-elisp.el= | [[file:./custom-elisp.org][Custom Elisp]] |
|
||||
| =package-manager.el= | [[file:./package-manager.org][Package Manager]] |
|
||||
| =keybinding-managemers.el= | [[file:./keybinding-managemers.org][Keybinding Managers]] |
|
||||
| =applications.el= | [[file:./packages/applications.org][Packages — Applications]] |
|
||||
| =autocompletion.el= | [[file:./packages/autocompletion.org][Packages — Autocompletion]] |
|
||||
| =editing.el= | [[file:./packages/editing.org][Packages — Editing]] |
|
||||
| =emacs-builtin.el= | [[file:./packages/emacs-builtin.org][Packages — Emacs Built-ins]] |
|
||||
| =exwm.el= | [[file:./packages/exwm.org][Packages — EXWM]] |
|
||||
| =helpful.el= | [[file:./packages/helpful.org][Packages — Making My Life Easier]] |
|
||||
| =latex.el= | [[file:./packages/latex.org][Packages — LaTeX]] |
|
||||
| =misc.el= | [[file:./packages/misc.org][Packages — Misc]] |
|
||||
| =org.el= | [[file:./packages/org.org][Packages — Org Mode]] |
|
||||
| =programming.el= | [[file:./packages/programming.org][Packages — Programming]] |
|
||||
| =visual-config.el= | [[file:./packages/visual-config.org][Packages — Visual Configuration]] |
|
||||
| =keybindings.el= | [[file:./keybindings.org][Keybindings]] |
|
||||
| Module Name | Config Page |
|
||||
|------------------------+----------------------------------|
|
||||
| =basic-config.el= | [[file:./basic-config.org][Basic Configuration]] |
|
||||
| =custom-elisp.el= | [[file:./custom-elisp.org][Custom Elisp]] |
|
||||
| =package-manager.el= | [[file:./package-manager.org][Package Manager]] |
|
||||
| =keybinding-managers.el= | [[file:keybinding-managers.org][Keybinding Managers]] |
|
||||
| =applications.el= | [[file:./packages/applications.org][Packages — Applications]] |
|
||||
| =autocompletion.el= | [[file:./packages/autocompletion.org][Packages — Autocompletion]] |
|
||||
| =editing.el= | [[file:./packages/editing.org][Packages — Editing]] |
|
||||
| =emacs-builtin.el= | [[file:./packages/emacs-builtin.org][Packages — Emacs Built-ins]] |
|
||||
| =exwm.el= | [[file:./packages/exwm.org][Packages — EXWM]] |
|
||||
| =helpful.el= | [[file:./packages/helpful.org][Packages — Making My Life Easier]] |
|
||||
| =latex.el= | [[file:./packages/latex.org][Packages — LaTeX]] |
|
||||
| =misc.el= | [[file:./packages/misc.org][Packages — Misc]] |
|
||||
| =org.el= | [[file:./packages/org.org][Packages — Org Mode]] |
|
||||
| =programming.el= | [[file:./packages/programming.org][Packages — Programming]] |
|
||||
| =visual-config.el= | [[file:./packages/visual-config.org][Packages — Visual Configuration]] |
|
||||
| =keybindings.el= | [[file:./keybindings.org][Keybindings]] |
|
||||
|
||||
#+name: generate-modules
|
||||
#+begin_src emacs-lisp :tangle no :cache yes :var modules=emacs-modules :exports none
|
||||
|
@ -498,7 +498,7 @@ configuration for the ~mu4e~ package itself.
|
||||
Quick sidenote: on Arch Linux, you’ll need to install either ~mu~ or
|
||||
~mu-git~ from the AUR in order to use mu4e. I also have a ~.desktop~ file
|
||||
to make it possible to open mu4e directly from my program picker. It
|
||||
uses the shell script ~emacsmail~ I’ve written [[file:bin.org::#Emacsmail-afffb7cd][here]].
|
||||
uses the shell script ~emacsmail~ I’ve written [[file:./scripts.md#emacsmail][here]].
|
||||
#+header: :mkdirp yes
|
||||
#+begin_src conf-desktop :tangle ~/.local/share/applications/mu4e.desktop
|
||||
[Desktop Entry]
|
||||
@ -1092,7 +1092,7 @@ notification system, and I’ll activate the modeline notification.
|
||||
EMMS, also known as the /Emacs MultiMedia System/, allows the user to
|
||||
interact through Emacs with multimedia elements such as music and
|
||||
videos. My main use for it will be for music with MPD (see its
|
||||
configuration [[file:mpd.org][here]]).
|
||||
configuration [[file:/mpd.md][here]]).
|
||||
#+begin_src emacs-lisp
|
||||
(use-package emms
|
||||
:defer t
|
||||
|
@ -224,7 +224,7 @@ mode), except for ~s-RET~ which opens an eshell terminal.
|
||||
#+end_src
|
||||
|
||||
A couple of commands are also automatically executed through my
|
||||
~autostart~ script written [[file:bin.org::#Autostart-a99e99e7][here]].
|
||||
~autostart~ script written [[file:/scripts.md#autostart][here]].
|
||||
#+name: exwm-autostart
|
||||
#+begin_src emacs-lisp :tangle no
|
||||
(exwm/run-in-background "autostart")
|
||||
|
@ -746,7 +746,7 @@ installed this major mode.
|
||||
#+end_src
|
||||
|
||||
*** Shells
|
||||
Aside from Eshell, my main shell on my machine is fish (see my [[file:fish.org][fish
|
||||
Aside from Eshell, my main shell on my machine is fish (see my [[file:/fish.md][fish
|
||||
config]]), therefore I need a mode for it.
|
||||
#+begin_src emacs-lisp
|
||||
(use-package fish-mode
|
||||
@ -900,7 +900,7 @@ when entering ~lisp-mode~.
|
||||
#+end_src
|
||||
|
||||
Sly enables some deep interactivity between Emacs and a CommonLisp
|
||||
application running the Slynk backend. For an example, see [[file:stumpwm.org::#Utilities-Sly-kkok6oi0yaj0][my Sly
|
||||
application running the Slynk backend. For an example, see [[file:/stumpwm/utilities.md#sly][my Sly
|
||||
configuration for StumpWM]].
|
||||
#+begin_src emacs-lisp
|
||||
(use-package sly
|
||||
|
@ -538,7 +538,7 @@ abbr webcam 'devour mpv --demuxer-lavf-format=video4linux2 --demuxer-lavf-o-set=
|
||||
|
||||
**** Sudo
|
||||
First, I make it so that ~sudo~ comes with the ~-A~ switch in order to call my
|
||||
custom graphical script for getting my password (see [[file:bin.org::#Askpass-d0d7a8c0][askpass]]). I also made it so
|
||||
custom graphical script for getting my password (see [[file:./scripts.md#askpass][askpass]]). I also made it so
|
||||
~please~ is an equivalent to ~sudo -A~ as a joke.
|
||||
#+BEGIN_SRC fish
|
||||
abbr please 'sudo -A'
|
||||
|
@ -11,8 +11,7 @@ It can be manipulated by various front-end applications, such as the
|
||||
command-line utility ~mpc~, TUI ~ncmpcpp~, or GUI ~cantata~. In my case, I
|
||||
use mainly ~ncmpcpp~ and Emacs’ EMMS.
|
||||
|
||||
On my computer, MPD runs as a user daemon, as seen in [[file:bootstrap.org::#Execute_bootstrap-Enable_some_services-Mpd-f0f5b9b7][my bootstrap
|
||||
file here]].
|
||||
On my computer, MPD runs as a user daemon.
|
||||
|
||||
** Required Parameters
|
||||
MPD requires a few compulsory parameters that we will see below.
|
||||
|
@ -9,11 +9,11 @@
|
||||
*** What is StumpWM?
|
||||
[[https://stumpwm.github.io/][StumpWM]] is a tiling window manager inheriting from [[http://www.nongnu.org/ratpoison/][RatPoison]], written
|
||||
entirely in [[https://common-lisp.net/][Common Lisp]] and compiled with [[http://www.sbcl.org/][SBCL]]. While it is not a
|
||||
dynamic tiling window manager like [[file:Deprecated/awesome.org][Awesome]] is, its ability of managing
|
||||
dynamic tiling window manager like [[file:/deprecated/awesome.md][Awesome]] is, its ability of managing
|
||||
windows in frames and using keychords with keymaps like Emacs does is
|
||||
a huge plus for me, not to mention the fact its configuration file is
|
||||
written in Common Lisp, a general programming language, a bit like
|
||||
Awesome. This makes it an [[file:Deprecated/i3.org][i3]] on steroids, sort of. It also uses a lot
|
||||
Awesome. This makes it an [[file:/deprecated/i3.md][i3]] on steroids, sort of. It also uses a lot
|
||||
of Emacs’ concepts, which is great for an Emacs user such as myself.
|
||||
|
||||
*** Why not EXWM then?
|
||||
|
@ -525,7 +525,7 @@ with Emacs’ buffers.
|
||||
My music is managed through MPD, and I often use ~playerctl~ commands in
|
||||
order to interact with it without any GUI application. So, we’ll see a
|
||||
lot of its usage here, and numerous commands used here come from the
|
||||
~mpd~ minor mode loaded [[file:./stumpwm.md#init-file][above]].
|
||||
~mpd~ minor mode loaded [[file:init.md][in the init file]].
|
||||
|
||||
First, let’s declare an interactive keymap in order to easily change
|
||||
several times in a row either the current song playing or the volume
|
||||
|
@ -97,7 +97,7 @@ formatter is U+E082, which symbolizes the CPU.
|
||||
*** Generating the Mode-Line
|
||||
We can indicate what to display in our modeline. Each formatter will
|
||||
be separated by a Powerline separator with the code point ~0xE0B0~ in
|
||||
the font I am using (see [[file:./stumpwm.md#fonts][Fonts]]).
|
||||
the font I am using (see [[file:theme.md#fonts][Theme » Fonts]]).
|
||||
|
||||
#+name: modeline-format
|
||||
#+caption: Formatters for the modeline
|
||||
|
Loading…
Reference in New Issue
Block a user