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
|
the «é» placed where the «w» is on a Qwerty layout (I’m looking at
|
||||||
you, HoloCure).
|
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
|
** License
|
||||||
See [[https://labs.phundrak.com/phundrak/dotfiles/src/branch/master/LICENSE.org][the repository’s license file]].
|
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
|
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
|
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
|
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
|
#+NAME: sc-misc
|
||||||
| Key | Modifiers | Lambda? | Action | What it does | Group |
|
| Key | Modifiers | Lambda? | Action | What it does | Group |
|
||||||
|--------------------+-----------+---------+-----------+-------------------------+-------|
|
|--------------------+-----------+---------+-----------+-------------------------+-------|
|
||||||
|
@ -334,7 +334,7 @@ Some visual packages:
|
|||||||
| nordic-theme-git | Nord theme for GTK |
|
| nordic-theme-git | Nord theme for GTK |
|
||||||
| noto-fonts-emoji | Font with emojis |
|
| noto-fonts-emoji | Font with emojis |
|
||||||
| otf-ipafont | Japanese font |
|
| otf-ipafont | Japanese font |
|
||||||
| picom | See [[file:picom.org]] |
|
| picom | See [[file:/picom.org][my Picom config]] |
|
||||||
| powerline-fonts | Powerline fonts |
|
| powerline-fonts | Powerline fonts |
|
||||||
| siji-git | Siji font |
|
| siji-git | Siji font |
|
||||||
| ttf-arphic-uming | CJK font Ming style |
|
| ttf-arphic-uming | CJK font Ming style |
|
||||||
@ -824,7 +824,7 @@ end
|
|||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
*** Symlink some system config files
|
*** 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.
|
can find it.
|
||||||
#+BEGIN_SRC fish
|
#+BEGIN_SRC fish
|
||||||
sudo ln -s ~/.local/bin/plock /usr/bin/plock
|
sudo ln -s ~/.local/bin/plock /usr/bin/plock
|
||||||
@ -838,7 +838,7 @@ mkdir -p ~/fromGIT
|
|||||||
|
|
||||||
**** Reveal.JS
|
**** Reveal.JS
|
||||||
I sometimes use Reveal.JS to make presentations, and I set its
|
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.
|
there.
|
||||||
#+BEGIN_SRC fish
|
#+BEGIN_SRC fish
|
||||||
printf "\n# Install Reveal.JS ###########################################################\n\n"
|
printf "\n# Install Reveal.JS ###########################################################\n\n"
|
@ -40,7 +40,7 @@ APPEND and COMPARE-FN, see `add-to-list'."
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Generate and insert random passwords
|
** 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]].
|
generator]].
|
||||||
|
|
||||||
** Handle new windows
|
** Handle new windows
|
||||||
|
@ -81,11 +81,11 @@ block.
|
|||||||
|
|
||||||
#+name: emacs-modules
|
#+name: emacs-modules
|
||||||
| Module Name | Config Page |
|
| Module Name | Config Page |
|
||||||
|--------------------------+----------------------------------|
|
|------------------------+----------------------------------|
|
||||||
| =basic-config.el= | [[file:./basic-config.org][Basic Configuration]] |
|
| =basic-config.el= | [[file:./basic-config.org][Basic Configuration]] |
|
||||||
| =custom-elisp.el= | [[file:./custom-elisp.org][Custom Elisp]] |
|
| =custom-elisp.el= | [[file:./custom-elisp.org][Custom Elisp]] |
|
||||||
| =package-manager.el= | [[file:./package-manager.org][Package Manager]] |
|
| =package-manager.el= | [[file:./package-manager.org][Package Manager]] |
|
||||||
| =keybinding-managemers.el= | [[file:./keybinding-managemers.org][Keybinding Managers]] |
|
| =keybinding-managers.el= | [[file:keybinding-managers.org][Keybinding Managers]] |
|
||||||
| =applications.el= | [[file:./packages/applications.org][Packages — Applications]] |
|
| =applications.el= | [[file:./packages/applications.org][Packages — Applications]] |
|
||||||
| =autocompletion.el= | [[file:./packages/autocompletion.org][Packages — Autocompletion]] |
|
| =autocompletion.el= | [[file:./packages/autocompletion.org][Packages — Autocompletion]] |
|
||||||
| =editing.el= | [[file:./packages/editing.org][Packages — Editing]] |
|
| =editing.el= | [[file:./packages/editing.org][Packages — Editing]] |
|
||||||
|
@ -498,7 +498,7 @@ configuration for the ~mu4e~ package itself.
|
|||||||
Quick sidenote: on Arch Linux, you’ll need to install either ~mu~ or
|
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
|
~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
|
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
|
#+header: :mkdirp yes
|
||||||
#+begin_src conf-desktop :tangle ~/.local/share/applications/mu4e.desktop
|
#+begin_src conf-desktop :tangle ~/.local/share/applications/mu4e.desktop
|
||||||
[Desktop Entry]
|
[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
|
EMMS, also known as the /Emacs MultiMedia System/, allows the user to
|
||||||
interact through Emacs with multimedia elements such as music and
|
interact through Emacs with multimedia elements such as music and
|
||||||
videos. My main use for it will be for music with MPD (see its
|
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
|
#+begin_src emacs-lisp
|
||||||
(use-package emms
|
(use-package emms
|
||||||
:defer t
|
:defer t
|
||||||
|
@ -224,7 +224,7 @@ mode), except for ~s-RET~ which opens an eshell terminal.
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
A couple of commands are also automatically executed through my
|
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
|
#+name: exwm-autostart
|
||||||
#+begin_src emacs-lisp :tangle no
|
#+begin_src emacs-lisp :tangle no
|
||||||
(exwm/run-in-background "autostart")
|
(exwm/run-in-background "autostart")
|
||||||
|
@ -746,7 +746,7 @@ installed this major mode.
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** Shells
|
*** 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.
|
config]]), therefore I need a mode for it.
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package fish-mode
|
(use-package fish-mode
|
||||||
@ -900,7 +900,7 @@ when entering ~lisp-mode~.
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
Sly enables some deep interactivity between Emacs and a CommonLisp
|
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]].
|
configuration for StumpWM]].
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package sly
|
(use-package sly
|
||||||
|
@ -538,7 +538,7 @@ abbr webcam 'devour mpv --demuxer-lavf-format=video4linux2 --demuxer-lavf-o-set=
|
|||||||
|
|
||||||
**** Sudo
|
**** Sudo
|
||||||
First, I make it so that ~sudo~ comes with the ~-A~ switch in order to call my
|
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.
|
~please~ is an equivalent to ~sudo -A~ as a joke.
|
||||||
#+BEGIN_SRC fish
|
#+BEGIN_SRC fish
|
||||||
abbr please 'sudo -A'
|
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
|
command-line utility ~mpc~, TUI ~ncmpcpp~, or GUI ~cantata~. In my case, I
|
||||||
use mainly ~ncmpcpp~ and Emacs’ EMMS.
|
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
|
On my computer, MPD runs as a user daemon.
|
||||||
file here]].
|
|
||||||
|
|
||||||
** Required Parameters
|
** Required Parameters
|
||||||
MPD requires a few compulsory parameters that we will see below.
|
MPD requires a few compulsory parameters that we will see below.
|
||||||
|
@ -9,11 +9,11 @@
|
|||||||
*** What is StumpWM?
|
*** What is StumpWM?
|
||||||
[[https://stumpwm.github.io/][StumpWM]] is a tiling window manager inheriting from [[http://www.nongnu.org/ratpoison/][RatPoison]], written
|
[[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
|
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
|
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
|
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
|
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.
|
of Emacs’ concepts, which is great for an Emacs user such as myself.
|
||||||
|
|
||||||
*** Why not EXWM then?
|
*** Why not EXWM then?
|
||||||
|
@ -525,7 +525,7 @@ with Emacs’ buffers.
|
|||||||
My music is managed through MPD, and I often use ~playerctl~ commands in
|
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
|
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
|
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
|
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
|
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
|
*** Generating the Mode-Line
|
||||||
We can indicate what to display in our modeline. Each formatter will
|
We can indicate what to display in our modeline. Each formatter will
|
||||||
be separated by a Powerline separator with the code point ~0xE0B0~ in
|
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
|
#+name: modeline-format
|
||||||
#+caption: Formatters for the modeline
|
#+caption: Formatters for the modeline
|
||||||
|
Loading…
Reference in New Issue
Block a user