better org files, updated installation packages

This commit is contained in:
Lucien Cartier-Tilet 2020-05-17 15:04:07 +02:00
parent e30c4a5f57
commit 0243f490f6
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
33 changed files with 2967 additions and 315 deletions

View File

@ -1,146 +1,150 @@
/* -*- mode: css; -*- */ /* -*- mode: css; -*- */
configuration { configuration {
modi: "combi"; /* columns: 4; */
/* width: 50; */ combi-modi: [window,drun,ssh];
/* lines: 15;*/ location: 0;
/* columns: 1;*/ /* modi: [window,drun,ssh,combi]; */
/* font: "mono 12";*/ lines: 20;
/* bw: 1;*/ parse-hosts: false;
/* location: 0;*/ parse-known-hosts: false;
/* padding: 5;*/ terminal: "st";
/* yoffset: 0;*/ /* theme: "~/.cache/wal/colors-rofi-dark.rasi"; */
/* xoffset: 0;*/ /* width: 50; */
/* fixed-num-lines: true;*/ /* auto-select: false;*/
/* show-icons: false;*/ /* bw: 1; */
/* terminal: "rofi-sensible-terminal";*/ /* cache-dir: ;*/
/* ssh-client: "ssh";*/ /* case-sensitive: false;*/
/* ssh-command: "{terminal} -e {ssh-client} {host} [-p {port}]";*/ /* click-to-exit: true;*/
/* run-command: "{cmd}";*/ /* color-active: ;*/
/* run-list-command: "";*/ /* color-normal: ;*/
/* run-shell-command: "{terminal} -e {cmd}";*/ /* color-urgent: ;*/
/* window-command: "wmctrl -i -R {window}";*/ /* color-window: ;*/
/* window-match-fields: "all";*/ /* combi-hide-mode-prefix: false;*/
/* icon-theme: ;*/ /* combi-modi: "window,drun,ssh,combi"; */
/* drun-match-fields: "name,generic,exec,categories";*/ /* cycle: true;*/
/* drun-show-actions: false;*/ /* disable-history: false; */
/* drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]";*/ /* display-combi: ;*/
/* disable-history: false;*/ /* display-drun: ;*/
/* ignored-prefixes: "";*/ /* display-keys: ;*/
/* sort: false; */ /* display-run: ;*/
/* sorting-method: ;*/ /* display-ssh: ;*/
/* case-sensitive: false;*/ /* display-window: ;*/
/* cycle: true;*/ /* display-windowcd: ;*/
/* sidebar-mode: false;*/ /* dpi: -1;*/
/* eh: 1;*/ /* drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]"; */
/* auto-select: false;*/ /* drun-match-fields: "name,generic,exec,categories"; */
/* parse-hosts: false;*/ /* drun-show-actions: false;*/
/* parse-known-hosts: true;*/ /* eh: 1;*/
combi-modi: "window,drun,ssh,combi"; /* fake-background: "screenshot";*/
/* matching: "normal";*/ /* fake-transparency: false;*/
/* tokenize: true;*/ /* filter: ;*/
/* m: "-5";*/ /* fixed-num-lines: true;*/
/* line-margin: 2;*/ /* font: "mono 12";*/
/* line-padding: 1;*/ /* fullscreen: false;*/
/* filter: ;*/ /* hide-scrollbar: false;*/
/* separator-style: "dash";*/ /* icon-theme: ""; */
/* hide-scrollbar: false;*/ /* ignored-prefixes: "";*/
/* fullscreen: false;*/ /* kb-accept-alt: "Shift+Return";*/
/* fake-transparency: false;*/ /* kb-accept-custom: "Control+Return";*/
/* dpi: -1;*/ /* kb-accept-entry: "Control+j,Control+m,Return,KP_Enter";*/
/* threads: 0;*/ /* kb-cancel: "Escape,Control+g,Control+bracketleft";*/
/* scrollbar-width: 8;*/ /* kb-clear-line: "Control+w";*/
/* scroll-method: 0;*/ /* kb-custom-10: "Alt+0";*/
/* fake-background: "screenshot";*/ /* kb-custom-11: "Alt+exclam";*/
/* window-format: "{w} {c} {t}";*/ /* kb-custom-12: "Alt+at";*/
/* click-to-exit: true;*/ /* kb-custom-13: "Alt+numbersign";*/
/* show-match: true;*/ /* kb-custom-14: "Alt+dollar";*/
theme: "~/.cache/wal/colors-rofi-dark.rasi"; /* kb-custom-15: "Alt+percent";*/
/* color-normal: ;*/ /* kb-custom-16: "Alt+dead_circumflex";*/
/* color-urgent: ;*/ /* kb-custom-17: "Alt+ampersand";*/
/* color-active: ;*/ /* kb-custom-18: "Alt+asterisk";*/
/* color-window: ;*/ /* kb-custom-19: "Alt+parenleft";*/
/* max-history-size: 25;*/ /* kb-custom-1: "Alt+1";*/
/* combi-hide-mode-prefix: false;*/ /* kb-custom-2: "Alt+2";*/
/* matching-negate-char: '-' /* unsupported */;*/ /* kb-custom-3: "Alt+3";*/
/* cache-dir: ;*/ /* kb-custom-4: "Alt+4";*/
/* pid: "/run/user/1000/rofi.pid";*/ /* kb-custom-5: "Alt+5";*/
/* display-window: ;*/ /* kb-custom-6: "Alt+6";*/
/* display-windowcd: ;*/ /* kb-custom-7: "Alt+7";*/
/* display-run: ;*/ /* kb-custom-8: "Alt+8";*/
/* display-ssh: ;*/ /* kb-custom-9: "Alt+9";*/
/* display-drun: ;*/ /* kb-delete-entry: "Shift+Delete";*/
/* display-combi: ;*/ /* kb-ellipsize: "Alt+period";*/
/* display-keys: ;*/ /* kb-mode-next: "Shift+Right,Control+Tab";*/
/* kb-primary-paste: "Control+V,Shift+Insert";*/ /* kb-mode-previous: "Shift+Left,Control+ISO_Left_Tab";*/
/* kb-secondary-paste: "Control+v,Insert";*/ /* kb-move-char-back: "Left,Control+b";*/
/* kb-clear-line: "Control+w";*/ /* kb-move-char-forward: "Right,Control+f";*/
/* kb-move-front: "Control+a";*/ /* kb-move-end: "Control+e";*/
/* kb-move-end: "Control+e";*/ /* kb-move-front: "Control+a";*/
/* kb-move-word-back: "Alt+b,Control+Left";*/ /* kb-move-word-back: "Alt+b,Control+Left";*/
/* kb-move-word-forward: "Alt+f,Control+Right";*/ /* kb-move-word-forward: "Alt+f,Control+Right";*/
/* kb-move-char-back: "Left,Control+b";*/ /* kb-page-next: "Page_Down";*/
/* kb-move-char-forward: "Right,Control+f";*/ /* kb-page-prev: "Page_Up";*/
/* kb-remove-word-back: "Control+Alt+h,Control+BackSpace";*/ /* kb-primary-paste: "Control+V,Shift+Insert";*/
/* kb-remove-word-forward: "Control+Alt+d";*/ /* kb-remove-char-back: "BackSpace,Shift+BackSpace,Control+h";*/
/* kb-remove-char-forward: "Delete,Control+d";*/ /* kb-remove-char-forward: "Delete,Control+d";*/
/* kb-remove-char-back: "BackSpace,Shift+BackSpace,Control+h";*/ /* kb-remove-to-eol: "Control+k";*/
/* kb-remove-to-eol: "Control+k";*/ /* kb-remove-to-sol: "Control+u";*/
/* kb-remove-to-sol: "Control+u";*/ /* kb-remove-word-back: "Control+Alt+h,Control+BackSpace";*/
/* kb-accept-entry: "Control+j,Control+m,Return,KP_Enter";*/ /* kb-remove-word-forward: "Control+Alt+d";*/
/* kb-accept-custom: "Control+Return";*/ /* kb-row-down: "Down,Control+n";*/
/* kb-accept-alt: "Shift+Return";*/ /* kb-row-first: "Home,KP_Home";*/
/* kb-delete-entry: "Shift+Delete";*/ /* kb-row-last: "End,KP_End";*/
/* kb-mode-next: "Shift+Right,Control+Tab";*/ /* kb-row-left: "Control+Page_Up";*/
/* kb-mode-previous: "Shift+Left,Control+ISO_Left_Tab";*/ /* kb-row-right: "Control+Page_Down";*/
/* kb-row-left: "Control+Page_Up";*/ /* kb-row-select: "Control+space";*/
/* kb-row-right: "Control+Page_Down";*/ /* kb-row-tab: "Tab";*/
/* kb-row-up: "Up,Control+p,ISO_Left_Tab";*/ /* kb-row-up: "Up,Control+p,ISO_Left_Tab";*/
/* kb-row-down: "Down,Control+n";*/ /* kb-screenshot: "Alt+S";*/
/* kb-row-tab: "Tab";*/ /* kb-secondary-paste: "Control+v,Insert";*/
/* kb-page-prev: "Page_Up";*/ /* kb-select-10: "Super+0";*/
/* kb-page-next: "Page_Down";*/ /* kb-select-1: "Super+1";*/
/* kb-row-first: "Home,KP_Home";*/ /* kb-select-2: "Super+2";*/
/* kb-row-last: "End,KP_End";*/ /* kb-select-3: "Super+3";*/
/* kb-row-select: "Control+space";*/ /* kb-select-4: "Super+4";*/
/* kb-screenshot: "Alt+S";*/ /* kb-select-5: "Super+5";*/
/* kb-ellipsize: "Alt+period";*/ /* kb-select-6: "Super+6";*/
/* kb-toggle-case-sensitivity: "grave,dead_grave";*/ /* kb-select-7: "Super+7";*/
/* kb-toggle-sort: "Alt+grave";*/ /* kb-select-8: "Super+8";*/
/* kb-cancel: "Escape,Control+g,Control+bracketleft";*/ /* kb-select-9: "Super+9";*/
/* kb-custom-1: "Alt+1";*/ /* kb-toggle-case-sensitivity: "grave,dead_grave";*/
/* kb-custom-2: "Alt+2";*/ /* kb-toggle-sort: "Alt+grave";*/
/* kb-custom-3: "Alt+3";*/ /* line-margin: 2;*/
/* kb-custom-4: "Alt+4";*/ /* line-padding: 1;*/
/* kb-custom-5: "Alt+5";*/ /* m: "-5";*/
/* kb-custom-6: "Alt+6";*/ /* matching-negate-char: '-' /* unsupported */;*/
/* kb-custom-7: "Alt+7";*/ /* matching: "normal";*/
/* kb-custom-8: "Alt+8";*/ /* max-history-size: 25;*/
/* kb-custom-9: "Alt+9";*/ /* me-accept-custom: "Control+MouseDPrimary";*/
/* kb-custom-10: "Alt+0";*/ /* me-accept-entry: "MouseDPrimary";*/
/* kb-custom-11: "Alt+exclam";*/ /* me-select-entry: "MousePrimary";*/
/* kb-custom-12: "Alt+at";*/ /* ml-row-down: "ScrollDown";*/
/* kb-custom-13: "Alt+numbersign";*/ /* ml-row-left: "ScrollLeft";*/
/* kb-custom-14: "Alt+dollar";*/ /* ml-row-right: "ScrollRight";*/
/* kb-custom-15: "Alt+percent";*/ /* ml-row-up: "ScrollUp";*/
/* kb-custom-16: "Alt+dead_circumflex";*/ /* padding: 5; */
/* kb-custom-17: "Alt+ampersand";*/ /* pid: "/run/user/1000/rofi.pid";*/
/* kb-custom-18: "Alt+asterisk";*/ /* run-command: "{cmd}";*/
/* kb-custom-19: "Alt+parenleft";*/ /* run-list-command: "";*/
/* kb-select-1: "Super+1";*/ /* run-shell-command: "{terminal} -e {cmd}";*/
/* kb-select-2: "Super+2";*/ /* scroll-method: 0;*/
/* kb-select-3: "Super+3";*/ /* scrollbar-width: 8;*/
/* kb-select-4: "Super+4";*/ /* separator-style: "dash";*/
/* kb-select-5: "Super+5";*/ /* show-icons: true; */
/* kb-select-6: "Super+6";*/ /* show-match: true;*/
/* kb-select-7: "Super+7";*/ /* show: combi; */
/* kb-select-8: "Super+8";*/ /* sidebar-mode: true; */
/* kb-select-9: "Super+9";*/ /* sort: true; */
/* kb-select-10: "Super+0";*/ /* sorting-method: ;*/
/* ml-row-left: "ScrollLeft";*/ /* ssh-client: "ssh";*/
/* ml-row-right: "ScrollRight";*/ /* ssh-command: "{terminal} -e {ssh-client} {host} [-p {port}]";*/
/* ml-row-up: "ScrollUp";*/ /* threads: 0;*/
/* ml-row-down: "ScrollDown";*/ /* tokenize: true;*/
/* me-select-entry: "MousePrimary";*/ /* window-command: "wmctrl -i -R {window}";*/
/* me-accept-entry: "MouseDPrimary";*/ /* window-format: "{w} {c} {t}";*/
/* me-accept-custom: "Control+MouseDPrimary";*/ /* window-match-fields: "all";*/
/* xoffset: 0; */
/* yoffset: 0; */
} }
@import "flamingo"
@theme "~/.cache/wal/colors-rofi-dark.rasi"

View File

@ -85,14 +85,15 @@ pavucontrol pdfpc picom-ibhagwan-git polybar powerline-fonts prettier \
pulseaudio-bluetooth python-autoflake python-envtpl-git python-epc \ pulseaudio-bluetooth python-autoflake python-envtpl-git python-epc \
python-importmagic python-language-server python-nose python-pip python-ptvsd \ python-importmagic python-language-server python-nose python-pip python-ptvsd \
python-pytest python-pywal qt5-imageformats qemu r raw-thumbnailer reflector \ python-pytest python-pywal qt5-imageformats qemu r raw-thumbnailer reflector \
rofi rsync rtv rustup samba scrot sent shadow siji-git simplescreenrecorder \ rofi rsync rtv ruby-rb-fsevent ruby-sass rustup samba scrot sent shadow \
sshfs st-luke-git sxiv texlive-bin texlive-langchinese texlive-langcyrillic \ siji-git simplescreenrecorder sshfs st-luke-git sxiv texlive-bin \
texlive-langgreek texlive-langjapanese texlive-langkorean texlive-latexextra \ texlive-langchinese texlive-langcyrillic texlive-langgreek \
texlive-langjapanese texlive-langkorean texlive-latexextra \
texlive-localmanager-git texlive-most tmux tree ttf-arphic-uming ttf-baekmuk \ texlive-localmanager-git texlive-most tmux tree ttf-arphic-uming ttf-baekmuk \
ttf-dejavu ttf-google-fonts-opinionated-git ttf-hanazono ttf-joypixels \ ttf-dejavu ttf-google-fonts-opinionated-git ttf-hanazono ttf-joypixels \
ttf-koruri ttf-liberation ttf-monapo ttf-sazanami ttf-tibetan-machine \ ttf-koruri ttf-liberation ttf-monapo ttf-sazanami ttf-tibetan-machine \
typescript typescript-language-server-bin unicode-emoji unrar usbutils valgrind \ typescript typescript-language-server-bin unicode-emoji unrar usbutils \
vscode-css-languageserver-bin vscode-html-languageserver-bin w3m wget \ valgrind vscode-css-languageserver-bin vscode-html-languageserver-bin w3m wget \
x11-ssh-askpass xclip xdg-user-dirs-gtk xfsprogs xorg-drivers xorg-server \ x11-ssh-askpass xclip xdg-user-dirs-gtk xfsprogs xorg-drivers xorg-server \
xorg-xinit xss-lock xvkbd yaml-language-server-bin yapf xorg-xinit xss-lock xvkbd yaml-language-server-bin yapf

Binary file not shown.

View File

@ -2,7 +2,7 @@
Version=1.5 Version=1.5
Name=FlowScape Name=FlowScape
Comment=Create gorgeous 3D landscapes with ease. Comment=Create gorgeous 3D landscapes with ease.
Exec=/home/phundrak/FlowScape/FlowScape.x86_64 Exec=/usr/bin/prime-run /home/phundrak/FlowScape/FlowScape.x86_64
Path=/home/phundrak/FlowScape Path=/home/phundrak/FlowScape
Icon=/home/phundrak/FlowScape/icon.jpg Icon=/home/phundrak/FlowScape/icon.jpg
Terminal=false Terminal=false

View File

@ -124,7 +124,7 @@ This function is called at the very end of Spacemacs initialization."
'(org-trello-current-prefix-keybinding "C-c o" nil (org-trello)) '(org-trello-current-prefix-keybinding "C-c o" nil (org-trello))
'(package-selected-packages '(package-selected-packages
(quote (quote
(org-ref lsp-dart mu4e-maildirs-extension mu4e-alert helm-mu xkcd vmd-mode visual-fill-column typit mmt sudoku restclient-helm pony-mode pacmacs ox-reveal outorg ob-restclient ob-http meson-mode ibuffer-projectile lv helm-w3m w3m graphviz-dot-mode flycheck-gometalinter transient ess-smart-equals ess-R-data-view ctable ess julia-mode eshell-git-prompt emoji-cheat-sheet-plus edit-indirect dockerfile-mode docker docker-tramp company-restclient restclient know-your-http-well company-quickhelp company-emoji company-emacs-eclim eclim atomic-chrome websocket 2048-game ox-gfm slime-company slime common-lisp-snippets erlang insert-shebang fish-mode company-shell faceup racket-mode treepy graphql yapfify yaml-mode xterm-color web-beautify twittering-mode toml-mode tagedit stickyfunc-enhance smeargle slim-mode shell-pop selectric-mode scss-mode sass-mode ranger rainbow-identifiers pytest pyenv-mode py-isort pug-mode plantuml-mode phpunit phpcbf php-auto-yasnippets pdf-tools tablist ox-pandoc orgit org-present org-pomodoro alert log4e gntp ob-elixir multi-term markdown-toc magit-gitflow magit-gh-pulls livid-mode live-py-mode json-snatcher js2-refactor js-doc htmlize hlint-refactor hindent helm-pydoc helm-hoogle helm-gitignore helm-css-scss haskell-snippets haml-mode gnuplot glsl-mode gitignore-mode github-search github-clone github-browse-file gitconfig-mode gitattributes-mode git-messenger gist gh marshal logito pcache ht gh-md flyspell-correct-helm flyspell-correct flycheck-rust pos-tip flycheck-mix flycheck-credo eshell-z eshell-prompt-extras esh-help drupal-mode disaster cython-mode dash-functional tern company-ghci company-ghc ghc color-identifiers-mode cmm-mode clang-format cargo auto-dictionary alchemist modern-cpp-font-lock yasnippet-snippets x86-lookup web-mode srefactor racer pyvenv pip-requirements pandoc-mode org-projectile org-category-capture org-mime org-download nasm-mode json-reformat intero imenu-list hy-mode git-timemachine git-link geiser flycheck-pos-tip flycheck-haskell evil-magit emmet-mode cmake-mode anaconda-mode rust-mode elixir-mode flycheck haskell-mode multiple-cursors skewer-mode simple-httpd markdown-mode magit magit-popup git-commit ghub with-editor pythonic emms gmail-message-mode ham-mode html-to-markdown flymd edit-server image-dired+ go-guru go-eldoc company-go go-mode unfill mwim company-web web-completion-data company-tern company-cabal company-c-headers company-auctex company-anaconda elcord xresources-theme sql-indent rainbow-mode php-extras php-mode mmm-mode json-mode js2-mode csv-mode coffee-mode auctex helm-company helm-c-yasnippet fuzzy company-statistics company auto-yasnippet yasnippet ac-ispell auto-complete ws-butler winum which-key volatile-highlights vi-tilde-fringe uuidgen use-package toc-org spaceline powerline restart-emacs request rainbow-delimiters popwin persp-mode pcre2el paradox spinner org-plus-contrib org-bullets open-junk-file neotree move-text macrostep lorem-ipsum linum-relative link-hint indent-guide hydra hungry-delete hl-todo highlight-parentheses highlight-numbers parent-mode highlight-indentation helm-themes helm-swoop helm-projectile helm-mode-manager helm-make projectile pkg-info epl helm-flx helm-descbinds helm-ag google-translate golden-ratio flx-ido flx fill-column-indicator fancy-battery eyebrowse expand-region exec-path-from-shell evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-surround evil-search-highlight-persist evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-lisp-state smartparens evil-indent-plus evil-iedit-state iedit evil-exchange evil-escape evil-ediff evil-args evil-anzu anzu evil goto-chg undo-tree eval-sexp-fu highlight elisp-slime-nav dumb-jump f dash s diminish define-word column-enforce-mode clean-aindent-mode bind-map bind-key auto-highlight-symbol auto-compile packed aggressive-indent adaptive-wrap ace-window ace-link ace-jump-helm-line helm avy helm-core popup async))) (caddyfile-mode org-ref lsp-dart mu4e-maildirs-extension mu4e-alert helm-mu xkcd vmd-mode visual-fill-column typit mmt sudoku restclient-helm pony-mode pacmacs ox-reveal outorg ob-restclient ob-http meson-mode ibuffer-projectile lv helm-w3m w3m graphviz-dot-mode flycheck-gometalinter transient ess-smart-equals ess-R-data-view ctable ess julia-mode eshell-git-prompt emoji-cheat-sheet-plus edit-indirect dockerfile-mode docker docker-tramp company-restclient restclient know-your-http-well company-quickhelp company-emoji company-emacs-eclim eclim atomic-chrome websocket 2048-game ox-gfm slime-company slime common-lisp-snippets erlang insert-shebang fish-mode company-shell faceup racket-mode treepy graphql yapfify yaml-mode xterm-color web-beautify twittering-mode toml-mode tagedit stickyfunc-enhance smeargle slim-mode shell-pop selectric-mode scss-mode sass-mode ranger rainbow-identifiers pytest pyenv-mode py-isort pug-mode plantuml-mode phpunit phpcbf php-auto-yasnippets pdf-tools tablist ox-pandoc orgit org-present org-pomodoro alert log4e gntp ob-elixir multi-term markdown-toc magit-gitflow magit-gh-pulls livid-mode live-py-mode json-snatcher js2-refactor js-doc htmlize hlint-refactor hindent helm-pydoc helm-hoogle helm-gitignore helm-css-scss haskell-snippets haml-mode gnuplot glsl-mode gitignore-mode github-search github-clone github-browse-file gitconfig-mode gitattributes-mode git-messenger gist gh marshal logito pcache ht gh-md flyspell-correct-helm flyspell-correct flycheck-rust pos-tip flycheck-mix flycheck-credo eshell-z eshell-prompt-extras esh-help drupal-mode disaster cython-mode dash-functional tern company-ghci company-ghc ghc color-identifiers-mode cmm-mode clang-format cargo auto-dictionary alchemist modern-cpp-font-lock yasnippet-snippets x86-lookup web-mode srefactor racer pyvenv pip-requirements pandoc-mode org-projectile org-category-capture org-mime org-download nasm-mode json-reformat intero imenu-list hy-mode git-timemachine git-link geiser flycheck-pos-tip flycheck-haskell evil-magit emmet-mode cmake-mode anaconda-mode rust-mode elixir-mode flycheck haskell-mode multiple-cursors skewer-mode simple-httpd markdown-mode magit magit-popup git-commit ghub with-editor pythonic emms gmail-message-mode ham-mode html-to-markdown flymd edit-server image-dired+ go-guru go-eldoc company-go go-mode unfill mwim company-web web-completion-data company-tern company-cabal company-c-headers company-auctex company-anaconda elcord xresources-theme sql-indent rainbow-mode php-extras php-mode mmm-mode json-mode js2-mode csv-mode coffee-mode auctex helm-company helm-c-yasnippet fuzzy company-statistics company auto-yasnippet yasnippet ac-ispell auto-complete ws-butler winum which-key volatile-highlights vi-tilde-fringe uuidgen use-package toc-org spaceline powerline restart-emacs request rainbow-delimiters popwin persp-mode pcre2el paradox spinner org-plus-contrib org-bullets open-junk-file neotree move-text macrostep lorem-ipsum linum-relative link-hint indent-guide hydra hungry-delete hl-todo highlight-parentheses highlight-numbers parent-mode highlight-indentation helm-themes helm-swoop helm-projectile helm-mode-manager helm-make projectile pkg-info epl helm-flx helm-descbinds helm-ag google-translate golden-ratio flx-ido flx fill-column-indicator fancy-battery eyebrowse expand-region exec-path-from-shell evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-surround evil-search-highlight-persist evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-lisp-state smartparens evil-indent-plus evil-iedit-state iedit evil-exchange evil-escape evil-ediff evil-args evil-anzu anzu evil goto-chg undo-tree eval-sexp-fu highlight elisp-slime-nav dumb-jump f dash s diminish define-word column-enforce-mode clean-aindent-mode bind-map bind-key auto-highlight-symbol auto-compile packed aggressive-indent adaptive-wrap ace-window ace-link ace-jump-helm-line helm avy helm-core popup async)))
'(pdf-view-midnight-colors (quote ("#655370" . "#fbf8ef"))) '(pdf-view-midnight-colors (quote ("#655370" . "#fbf8ef")))
'(safe-local-variable-values '(safe-local-variable-values
(quote (quote

1
org/config/LICENSE.md Symbolic link
View File

@ -0,0 +1 @@
/home/phundrak/LICENSE.md

View File

@ -1,6 +1,6 @@
# -*- org-confirm-babel-evaluate: nil -*- # -*- org-confirm-babel-evaluate: nil -*-
#+title: AwesomeWM configuration #+title: AwesomeWM configuration
#+INCLUDE: headers.org #+INCLUDE: headers
#+OPTIONS: auto-id:t #+OPTIONS: auto-id:t
#+HTML_HEAD_EXTRA: <meta name="description" content="Phundrak's AwesomeWM config" /> #+HTML_HEAD_EXTRA: <meta name="description" content="Phundrak's AwesomeWM config" />
#+HTML_HEAD_EXTRA: <meta property="og:title" content="Phundrak's AwesomeWM config" /> #+HTML_HEAD_EXTRA: <meta property="og:title" content="Phundrak's AwesomeWM config" />
@ -19,6 +19,11 @@
- [[#error-handling][Error handling]] - [[#error-handling][Error handling]]
- [[#variable-definitions][Variable definitions]] - [[#variable-definitions][Variable definitions]]
- [[#themes][Themes]] - [[#themes][Themes]]
- [[#creating-my-own-theme-wip-not-yet-used][Creating my own theme (WIP, not yet used)]]
- [[#loading-assets][Loading assets]]
- [[#inherit-the-default-theme][Inherit the default theme]]
- [[#loading-default-fonts-and-colors][Loading default fonts and colors]]
- [[#loading-the-theme][Loading the theme]]
- [[#default-terminal-and-text-editor][Default terminal and text editor]] - [[#default-terminal-and-text-editor][Default terminal and text editor]]
- [[#keys][Keys]] - [[#keys][Keys]]
- [[#wallpapers-directory][Wallpapers directory]] - [[#wallpapers-directory][Wallpapers directory]]
@ -191,12 +196,105 @@
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: h-b2f0f248-68ba-4bdd-a63d-98ee640b071c :CUSTOM_ID: h-b2f0f248-68ba-4bdd-a63d-98ee640b071c
:END: :END:
The following line will load the default colors, icons, fonts and wallpapers. With Awesome, it is possible to load or write custom themes in order to give
It is possible to write a custom theme for Awesome by loading a different Lua Awesome a special look that fits the user. I used to load the default theme
file. from Xresources, but now I would like to use my own theme, tweaked to my
#+BEGIN_SRC lua liking.
beautiful.init("/home/phundrak/.config/awesome/xresources/theme.lua")
#+END_SRC *** Creating my own theme (WIP, not yet used)
:PROPERTIES:
:CUSTOM_ID: h-45318187-d57c-4f40-a8c6-fad9d90333eb
:HEADER-ARGS:lua: :tangle ~/.config/awesome/theme/theme.lua :exports code
:HEADER-ARGS:emacs-lisp: :exports none :cache yes
:END:
Here I will create my own theme, which will be exported to
=~/.config/awesome/theme/theme.lua=. It is based on my former Xresources
theme, but also on some other themes I found on the internet, particularly
on Github. Here are a few I would like to mention:
- [[https://github.com/lcpz/awesome-copycats/tree/master/themes/powerarrow-dark][Powerarrow-dark]]
- DistroTubes Qtile theme, which you can see [[https://lbry.tv/@DistroTube:2/reactos-is-an-open-source-windows:9?r=4LXiLPA3uQN6Ekx8Rnu9oNVUVArqsbPf][here]]
My theme has two main dependencies: [[https://github.com/lcpz/lain][lain]] and [[https://github.com/lcpz/awesome-freedesktop][freedesktop]] for Awesome. The
former is a framework for Awesome theming while the second enables its users
to add ~.desktop~ entries to the Awesome menu.
**** Loading assets
:PROPERTIES:
:CUSTOM_ID: h-34db58ad-011d-4ebb-892a-6f481ba460aa
:END:
So first off, lets load our libraries or anything I might need to import.
First, let's import the ~theme_assets~ module of ~beautiful~, a collection
of functions for theming, as well as the ~xresources~ library which will
let us interact with the Xresources theme. The ~filesystem~ module of
~gears~ will also enable us to interact with the systems filesystem,
getting paths and files. I will also import ~lain~, the above described
dependency, so I get some useful functions and constructs.
#+NAME: theme-modules-import-table
| Module | Import as | What it is |
|------------------------+--------------+--------------------------|
| beautiful.theme_assets | theme_assets | theming library |
| beautiful.xresources | xresources | Xresources interactivity |
| gears.filesystem | gfs | filesystem interactivity |
| lain | lain | theming framework |
#+NAME: theme-modules-import-gen
#+BEGIN_SRC emacs-lisp :var table=theme-modules-import-table formstr="local %s = require(\"%s\")"
(mapconcat (lambda (x)
(format formstr
(cadr x) (car x)))
table "\n")
#+END_SRC
Here is what the code looks like:
#+BEGIN_SRC lua
<<theme-modules-import-gen()>>
#+END_SRC
Lets also import some functions and values!
#+NAME: theme-modules-variables-table
| What to import | Import as | What it is |
|--------------------------------+-------------+------------------------------------|
| xresources.apply_dpi | dpi | Apply screens DPI ([[https://awesomewm.org/doc/api/libraries/beautiful.html#lib_beautiful_xresources_Functions][documentation]]) |
| xresources.get_current_theme() | xrdb | Get current Xresources theme |
| gfs.get_themes_dir() | themes_path | Get path to default Awesome themes |
Here is what the code looks like:
#+BEGIN_SRC lua
<<theme-modules-import-gen(table=theme-modules-variables-table, formstr="local %s = %s")>>
#+END_SRC
**** Inherit the default theme
:PROPERTIES:
:CUSTOM_ID: h-bcb7fef1-009d-418d-8903-9196881da791
:END:
Now that I imported what I need, I can get a default theme which I will
later modify:
#+BEGIN_SRC lua
local theme = dofile(themes_path.."default/theme.lua")
#+END_SRC
**** Loading default fonts and colors
:PROPERTIES:
:CUSTOM_ID: h-f95c53b3-42fc-410b-b836-482b10075be3
:END:
With the default theme loaded, let's modify it! The themes font will be
the same as the one I use for st: Source Code Pro for Powerline
#+BEGIN_SRC lua
theme.font = "Source Code Pro for Powerline 8"
#+END_SRC
*** Loading the theme
:PROPERTIES:
:CUSTOM_ID: h-27548575-a623-4478-8406-ff23f9d1dce4
:END:
Finally, lets load our theme.
#+BEGIN_SRC lua
beautiful.init("/home/phundrak/.config/awesome/xresources/theme.lua")
#+END_SRC
On top of that, I would like to edit some settings. First of all, lets set
some default transparency for Awesome, with an alpha background. By default,
it is completely opaque with a max value of ~256~ and a minimal value of ~0~.
** Default terminal and text editor ** Default terminal and text editor
:PROPERTIES: :PROPERTIES:
@ -274,7 +372,7 @@
papes = get_papes() papes = get_papes()
pape = papes[math.random(#papes)] pape = papes[math.random(#papes)]
awful.spawn.with_shell("nitrogen --set-scaled "..pape.." && wal -o wal-set -i "..pape) awful.spawn.with_shell("nitrogen --set-scaled "..pape.." && wal -o wal-set -i "..pape)
naughty.notify({ prest = naughty.config.presets.normal, naughty.notify({ preset = naughty.config.presets.normal,
title = "Wallpaper change", title = "Wallpaper change",
text = "Done!"}) text = "Done!"})
end end
@ -1099,6 +1197,7 @@
#+NAME: sc-app-rofi #+NAME: sc-app-rofi
| Key | Modifiers | Lambda? | Action | What it does | Group | | Key | Modifiers | Lambda? | Action | What it does | Group |
|-----+------------------------+---------+---------------------------------------+---------------------------------+-------| |-----+------------------------+---------+---------------------------------------+---------------------------------+-------|
| a | modkey | shell | awiki | find and open an ArchWiki page | rofi |
| d | modkey | spawn | rofi -show combi | invoke rofi | rofi | | d | modkey | spawn | rofi -show combi | invoke rofi | rofi |
| d | modkey, shift | spawn | rofi -combi-modi drun,run -show combi | invoke j4-dmenu-desktop | rofi | | d | modkey, shift | spawn | rofi -combi-modi drun,run -show combi | invoke j4-dmenu-desktop | rofi |
| p | modkey, shift | shell | rofi-pass -t | types password from ~pass~ | rofi | | p | modkey, shift | shell | rofi-pass -t | types password from ~pass~ | rofi |
@ -1384,27 +1483,27 @@
:CUSTOM_ID: h-5d846dc4-bbdc-4270-b0fc-44c9dbdaf35f :CUSTOM_ID: h-5d846dc4-bbdc-4270-b0fc-44c9dbdaf35f
:END: :END:
With the use of some rules, it is possible to define which client are With the use of some rules, it is possible to define which client are
assigned to which tag by default. Here is the list of my defaults: assigned to which tag by default.
#+NAME: rules-default-tags-table #+NAME: rules-default-tags-table
| Client Property | Value | Screen | Tag | | Client Property | Value | Tag |
|-----------------+---------+--------+-----| |-----------------+---------+-----|
| class | Emacs | 1 | 2 | | class | Emacs | 2 |
| class | firefox | 1 | 3 | | class | firefox | 3 |
| class | Nemo | 1 | 4 | | class | Nemo | 4 |
| class | Gimp* | 1 | 5 | | class | Gimp* | 5 |
| class | discord | 1 | 0 | | class | discord | 0 |
| class | Steam | 1 | 9 | | class | Steam | 9 |
#+NAME: rules-default-tags-generate #+NAME: rules-default-tags-generate
#+BEGIN_SRC emacs-lisp :tangle no :exports none :cache yes :var tags=rules-default-tags-table #+BEGIN_SRC emacs-lisp :tangle no :exports none :cache yes :var tags=rules-default-tags-table
(mapconcat (lambda (x) (mapconcat (lambda (x)
(format "{rule = {%s = \"%s\"}, properties = {screen = %d, tag = \"%d\"} }" (format "{rule = {%s = \"%s\"}, properties = {screen = 1, tag = \"%d\"} }"
(nth 0 x) (nth 1 x) (nth 2 x) (nth 3 x))) (nth 0 x) (nth 1 x) (nth 2 x)))
tags tags
",\n") ",\n")
#+END_SRC #+END_SRC
#+RESULTS[c916cbccf08bf765657e11de26e9840a5319486e]: rules-default-tags-generate #+RESULTS[2b9fe1774ebfde3fc2cfadb24a32dee9b2639144]: rules-default-tags-generate
: {rule = {class = "Emacs"}, properties = {screen = 1, tag = "2"} }, : {rule = {class = "Emacs"}, properties = {screen = 1, tag = "2"} },
: {rule = {class = "firefox"}, properties = {screen = 1, tag = "3"} }, : {rule = {class = "firefox"}, properties = {screen = 1, tag = "3"} },
: {rule = {class = "Nemo"}, properties = {screen = 1, tag = "4"} }, : {rule = {class = "Nemo"}, properties = {screen = 1, tag = "4"} },
@ -1431,14 +1530,16 @@
:END: :END:
When a new client is created, the ~manage~ signal is emited. When so, the When a new client is created, the ~manage~ signal is emited. When so, the
following snippet ensures this new client is not off the screen, unless its following snippet ensures this new client is not off the screen, unless its
position was deliberately set by a program or by the user. position was deliberately set by a program or by the user. It will also spawn
the new client where the mouse currently is.
#+BEGIN_SRC lua #+BEGIN_SRC lua
client.connect_signal("manage", function (c) client.connect_signal("manage", function (c)
if awesome.startup awful.client.movetoscreen(c, mouse.screen)
and not c.size_hints.user_position if awesome.startup
and not c.size_hints.program_position then and not c.size_hints.user_position
awful.placement.no_offscreen(c) and not c.size_hints.program_position then
end awful.placement.no_offscreen(c)
end
end) end)
#+END_SRC #+END_SRC
@ -1456,7 +1557,6 @@
<<signal-titlebar-button1>>, <<signal-titlebar-button1>>,
<<signal-titlebar-button3>> <<signal-titlebar-button3>>
) )
<<signal-titlebar-create>> <<signal-titlebar-create>>
end) end)
#+END_SRC #+END_SRC
@ -1608,3 +1708,8 @@
:CUSTOM_ID: h-828e67df-7fba-4524-95d5-9e505023cb4a :CUSTOM_ID: h-828e67df-7fba-4524-95d5-9e505023cb4a
:END: :END:
~attempt to index a nil value (global 'c')~ ~attempt to index a nil value (global 'c')~
** TODO Make custom theme
:PROPERTIES:
:CUSTOM_ID: h-9f6ad3d4-2581-43f1-ab0a-8903479e26e2
:END:

View File

@ -1,5 +1,5 @@
#+TITLE: Phundraks executable scripts #+TITLE: Executable scripts
#+INCLUDE: headers.org #+INCLUDE: headers
#+OPTIONS: auto-id:t #+OPTIONS: auto-id:t
#+HTML_HEAD_EXTRA: <meta name="description" content="Phundrak's i3 config" /> #+HTML_HEAD_EXTRA: <meta name="description" content="Phundrak's i3 config" />
#+HTML_HEAD_EXTRA: <meta property="og:title" content="Phundrak's i3 config" /> #+HTML_HEAD_EXTRA: <meta property="og:title" content="Phundrak's i3 config" />
@ -13,6 +13,7 @@
:END: :END:
- [[#presentation][Presentation]] - [[#presentation][Presentation]]
- [[#4chandl][4chandl]] - [[#4chandl][4chandl]]
- [[#awiki][awiki]]
- [[#askpass][Askpass]] - [[#askpass][Askpass]]
- [[#backup][Backup]] - [[#backup][Backup]]
- [[#connectwifi][ConnectWifi]] - [[#connectwifi][ConnectWifi]]
@ -25,6 +26,7 @@
- [[#emoji-picker][Emoji picker]] - [[#emoji-picker][Emoji picker]]
- [[#lock][Lock]] - [[#lock][Lock]]
- [[#mp42webm][mp42webm]] - [[#mp42webm][mp42webm]]
- [[#pinfo][Pinfo]]
- [[#polybar-launch][Polybar-launch]] - [[#polybar-launch][Polybar-launch]]
- [[#rofi-mount][Rofi-mount]] - [[#rofi-mount][Rofi-mount]]
- [[#get-the-mountable-elements][Get the mountable elements]] - [[#get-the-mountable-elements][Get the mountable elements]]
@ -147,12 +149,45 @@
end end
#+END_SRC #+END_SRC
* awiki
:PROPERTIES:
:CUSTOM_ID: h-340e487c-152a-459a-8da5-6f597e67abd3
:HEADER-ARGS: :tangle ~/.local/bin/awiki
:END:
~awiki~ is a simple script used with ~rofi~ that relies on the
~arch-wiki-docs~ package in order to provide the user a way to quickly find
and display any English page from the Arch Wiki in a browser. The advantage of
using this over the ~wiki-search~ utility from the ~arch-wiki-lite~ package is
you get instant suggestion in rofi using fuzzy-search. The downside is rofi
will only help you find pages by their title, and it will not help you find
keywords in the content of said pages.
The first step is to create the list of all the pages that are currently
stored on disk. ~arch-wiki-docs~ stores them in
~/usr/share/doc/arch-wiki/html/en~. A simple ~ls~ piped in three ~sed~ will
give us a list of page titles. We then pipe that into rofi in dmenu mode in
order to choose the page we want to display. By the way, setting the location
of the HTML files will come in handy later.
#+BEGIN_SRC fish
#!/usr/bin/env fish
set WLOCATION /usr/share/doc/arch-wiki/html/en/
set WPAGE (/bin/ls $WLOCATION | \
sed 's/_/ /g' | sed 's/\.html$//' | sed 's/.*\/\(.*\)/\1/' | \
rofi -dmenu -p "Arch Wiki" -i)
#+END_SRC
Now, all I need to do is to send this list into rofi and tell it to open the
result with our favorite browser with ~xdg-open~.
#+BEGIN_SRC fish
xdg-open $WLOCATION$WPAGE.html
#+END_SRC
* Askpass * Askpass
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: h-b2bef089-69e3-4efb-ac2f-a5eb6a3a80e8 :CUSTOM_ID: h-b2bef089-69e3-4efb-ac2f-a5eb6a3a80e8
:HEADER-ARGS: :tangle ~/.local/bin/askpass :HEADER-ARGS: :tangle ~/.local/bin/askpass
:END: :END:
Askpass is a simple script that invokes =rofi= as a way to get from a GUI the Askpass is a simple script that invokes ~rofi~ as a way to get from a GUI the
users sudo password. It is inspired by [[https://github.com/ODEX-TOS/tools/blob/master/rofi/askpass][this original tool]], rewritten in fish users sudo password. It is inspired by [[https://github.com/ODEX-TOS/tools/blob/master/rofi/askpass][this original tool]], rewritten in fish
and with [[https://wiki.archlinux.org/index.php/Rofi][rofi]] support instead of [[https://wiki.archlinux.org/index.php/Dmenu][dmenu]]. As you can see, this is a oneliner if and with [[https://wiki.archlinux.org/index.php/Rofi][rofi]] support instead of [[https://wiki.archlinux.org/index.php/Dmenu][dmenu]]. As you can see, this is a oneliner if
we ignore the initial shebang. This executable is pointed at by the we ignore the initial shebang. This executable is pointed at by the
@ -166,7 +201,7 @@
:CUSTOM_ID: h-30cb6655-382f-492a-a005-df15512ab7a5 :CUSTOM_ID: h-30cb6655-382f-492a-a005-df15512ab7a5
:HEADER-ARGS: :tangle ~/.local/bin/backup :HEADER-ARGS: :tangle ~/.local/bin/backup
:END: :END:
=backup= is a very simple, oneliner script that will create a local copy of a ~backup~ is a very simple, oneliner script that will create a local copy of a
file and add the date at which it was copied in the filename. You can see its file and add the date at which it was copied in the filename. You can see its
source code here: source code here:
#+BEGIN_SRC fish #+BEGIN_SRC fish
@ -179,13 +214,16 @@
:HEADER-ARGS: :tangle ~/.local/bin/connect-wifi :HEADER-ARGS: :tangle ~/.local/bin/connect-wifi
:CUSTOM_ID: h-7a958906-1f79-448f-95b3-7226bc80e88c :CUSTOM_ID: h-7a958906-1f79-448f-95b3-7226bc80e88c
:END: :END:
=connect-wifi= is a small utility tool that allows the user to connect to ~connect-wifi~ is a small utility tool that allows the user to connect to
available WiFi networks. The first thing to do is to select the WiFi we want available WiFi networks. The first thing to do is to select the WiFi we want
to connect to. Well use the =nmcli c s= command to get the list of the to connect to. Well use the ~nmcli c s~ command to get the list of the
available networks, and well chose one with =rofi=. available networks, and well chose one with ~rofi~.
#+BEGIN_SRC fish #+BEGIN_SRC fish
#!/usr/bin/env fish #!/usr/bin/env fish
set SELECTEDWIFI (nmcli d w l | egrep -o '([0-9A-F]{2}:){5}[0-9A-F]{2}\s*(.*)Infra' | egrep -o '\s+(.*)\s+' | awk '{$1=$1}1' | rofi -dmenu -p "Select your WiFi network") set SELECTEDWIFI (nmcli d w l | \
egrep -o '([0-9A-F]{2}:){5}[0-9A-F]{2}\s*(.*)Infra' | \
egrep -o '\s+(.*)\s+' | awk '{$1=$1}1' | \
rofi -dmenu -p "Select your WiFi network")
#+END_SRC #+END_SRC
Now, if a network was selected, lets attempt to connect to it. Otherwise, Now, if a network was selected, lets attempt to connect to it. Otherwise,
lets just send a notification no network was selected. lets just send a notification no network was selected.
@ -350,7 +388,8 @@
emoji is selected, it is copied to the clipboard using =xclipboard=. emoji is selected, it is copied to the clipboard using =xclipboard=.
#+BEGIN_SRC fish #+BEGIN_SRC fish
#!/usr/bin/env fish #!/usr/bin/env fish
grep -v "#" ~/.config/emoji.txt | rofi -dmenu -p "Select emoji" -i | awk '{print $1}' | tr -d '\n' | xclip -selection clipboard grep -v "#" ~/.config/emoji.txt | rofi -dmenu -p "Select emoji" -i | \
awk '{print $1}' | tr -d '\n' | xclip -selection clipboard
#+END_SRC #+END_SRC
Also, lets send a notification telling the user the emoji has been copied! Also, lets send a notification telling the user the emoji has been copied!
@ -358,7 +397,7 @@
set emoji (xclip -o -selection clipboard | tr -d '\n') set emoji (xclip -o -selection clipboard | tr -d '\n')
test -z "$emoji" && notify-send "No emoji copied" -u low && exit test -z "$emoji" && notify-send "No emoji copied" -u low && exit
set -a emoji "copied to clipboard" set -a emoji "copied to clipboard"
pgrep -x dunst >/dev/null && notify-send -u low $emoji notify-send -u low $emoji
#+END_SRC #+END_SRC
It is inspired from [[https://www.youtube.com/watch?v=UCEXY46t3OA][this video]] from [[https://lukesmith.xyz/][Luke Smith]], rewritten in Fish. It is inspired from [[https://www.youtube.com/watch?v=UCEXY46t3OA][this video]] from [[https://lukesmith.xyz/][Luke Smith]], rewritten in Fish.
@ -385,11 +424,20 @@
:HEADER-ARGS: :tangle ~/.local/bin/mp42webm :HEADER-ARGS: :tangle ~/.local/bin/mp42webm
:CUSTOM_ID: h-29b8a01c-7499-4a35-be25-f5a593bf40ea :CUSTOM_ID: h-29b8a01c-7499-4a35-be25-f5a593bf40ea
:END: :END:
This function allows me to convert easily an mp4 video to the webm format.
Nothing too fancy here.
#+BEGIN_SRC fish #+BEGIN_SRC fish
#!/usr/bin/fish #!/usr/bin/fish
ffmpeg -i $argv[1] -c:v libvpx -crf 10 -b:v 1M -c:a libvorbis $argv[1].webm ffmpeg -i $argv[1] -c:v libvpx -crf 10 -b:v 1M -c:a libvorbis $argv[1].webm
#+END_SRC #+END_SRC
* Pinfo
:PROPERTIES:
:HEADER-ARGS: :tangle ~/.local/bin/pinfo
:CUSTOM_ID: h-da11c9a4-732c-40f8-b98f-2bcfe297a6aa
:END:
~pinfo~ is a utility that shows system information
* Polybar-launch * Polybar-launch
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: h-68587918-879b-42db-b304-901d01233f95 :CUSTOM_ID: h-68587918-879b-42db-b304-901d01233f95

View File

@ -1,6 +1,6 @@
# -*- org-confirm-babel-evaluate: nil -*- # -*- org-confirm-babel-evaluate: nil -*-
#+TITLE: Phundraks fish config #+TITLE: Fish config
#+INCLUDE: headers.org #+INCLUDE: headers
#+OPTIONS: auto-id:t #+OPTIONS: auto-id:t
#+HTML_HEAD_EXTRA: <meta name="description" content="Phundrak's fish config" /> #+HTML_HEAD_EXTRA: <meta name="description" content="Phundrak's fish config" />
#+HTML_HEAD_EXTRA: <meta property="og:title" content="Phundrak's fish config" /> #+HTML_HEAD_EXTRA: <meta property="og:title" content="Phundrak's fish config" />
@ -18,12 +18,14 @@
- [[#tramp-remote-access][Tramp remote access]] - [[#tramp-remote-access][Tramp remote access]]
- [[#regular-fish-shell-appearance][Regular fish shell appearance]] - [[#regular-fish-shell-appearance][Regular fish shell appearance]]
- [[#global-variables][Global variables]] - [[#global-variables][Global variables]]
- [[#development][Development]]
- [[#path][$PATH]]
- [[#abbreviations][Abbreviations]] - [[#abbreviations][Abbreviations]]
- [[#system-monitoring][System monitoring]] - [[#system-monitoring][System monitoring]]
- [[#system-management-packages-and-services][System management (packages and services)]] - [[#system-management-packages-and-services][System management (packages and services)]]
- [[#package-management][Package management]] - [[#package-management][Package management]]
- [[#service-management][Service management]] - [[#service-management][Service management]]
- [[#development][Development]] - [[#development-1][Development]]
- [[#cmake][CMake]] - [[#cmake][CMake]]
- [[#compilation][Compilation]] - [[#compilation][Compilation]]
- [[#docker][Docker]] - [[#docker][Docker]]
@ -177,32 +179,6 @@
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: h-0eff37da-af9f-4546-8ad3-201961a2200f :CUSTOM_ID: h-0eff37da-af9f-4546-8ad3-201961a2200f
:END: :END:
Some global variables might sometimes be needed and need to be modified. This
is for example the case with my =PATH= variable in which I add Rusts Cargos
binaries, Gos binaries and my own executables. And of course, dont forget
to add the already existing =PATH=.
#+NAME: extra-paths
| additional path | what it leads to |
|---------------------------+--------------------------------------|
| $HOME/.pub-cache/bin | Dart binaries and executables |
| $HOME/.local/bin | Custom executables, see [[file:bin.org]] |
| $HOME/go/bin | Go binaries and executables |
| $HOME/.cargo/bin | Rust binaries and executables |
| $HOME/.gem/ruby/2.6.0/bin | Ruby binaries and executables |
#+NAME: generate-extra-paths
#+BEGIN_SRC emacs-lisp :var paths=extra-paths[,0] :exports none :cache yes
(mapconcat (lambda (x) x)
paths " ")
#+END_SRC
#+RESULTS[d6cf1e9d562d644db1bc6458eca1fc165b065f0c]: generate-extra-paths
: $HOME/.pub-cache/bin $HOME/.local/bin $HOME/go/bin $HOME/.cargo/bin $HOME/.gem/ruby/2.6.0/bin
#+BEGIN_SRC fish :noweb yes
set -gx PATH <<generate-extra-paths()>> $PATH
#+END_SRC
In order to keep some other code clean, I set the ~$BROWSER~ variable so I In order to keep some other code clean, I set the ~$BROWSER~ variable so I
dont have to call my web browser directly but rather with this variable. dont have to call my web browser directly but rather with this variable.
@ -216,28 +192,72 @@
set -gx SUDO_ASKPASS ~/.local/bin/askpass set -gx SUDO_ASKPASS ~/.local/bin/askpass
#+END_SRC #+END_SRC
Now, lets declare our editor of choice, EmacsClient; not Emacs itself since ** Development
it will most often be just quick edits, nothing too heavy, if it is called :PROPERTIES:
from the =EDITOR= variable (from Git, for example). :CUSTOM_ID: h-6e86740b-c7f1-49e0-a4f8-73e870c69324
#+BEGIN_SRC fish :END:
set -gx EDITOR emacsclient -c Now, lets declare our editor of choice, EmacsClient; not Emacs itself since
#+END_SRC it will most often be just quick edits, nothing too heavy, if it is called
from the =EDITOR= variable (from Git, for example).
#+BEGIN_SRC fish
set -gx EDITOR emacsclient -c
#+END_SRC
We also need to set the path to the Dart SDK. We also need to set the path to the Dart SDK.
#+BEGIN_SRC fish #+BEGIN_SRC fish
set -gx DART_SDK /opt/dart-sdk/bin set -gx DART_SDK /opt/dart-sdk/bin
#+END_SRC #+END_SRC
And we also need to specify where the Android SDK it located. And we also need to specify where the Android SDK it located.
#+BEGIN_SRC fish #+BEGIN_SRC fish
set -gx ANDROID_HOME $HOME/Android/Sdk set -gx ANDROID_HOME $HOME/Android/Sdk
#+END_SRC #+END_SRC
Finally, some development packages require the =PKG_CONFIG_PATH= to be set, Next, we have two variables from Deno, the Node.js destroyer. Its base
so lets do so. directory will be set in my XDG config directory, and its binaries will be
#+BEGIN_SRC fish located in my local binaries directory (see below).
set -gx PKG_CONFIG_PATH /usr/local/lib/pkgconfig/ $PKG_CONFIG_PATH #+BEGIN_SRC fish
#+END_SRC set -gx DENO_DIR $HOME/.config/deno
set -gx DENO_INSTALL_ROOT $HOME/.local/bin/deno
#+END_SRC
Finally, some development packages require the =PKG_CONFIG_PATH= to be set,
so lets do so.
#+BEGIN_SRC fish
set -gx PKG_CONFIG_PATH /usr/local/lib/pkgconfig/ $PKG_CONFIG_PATH
#+END_SRC
** $PATH
:PROPERTIES:
:CUSTOM_ID: h-a9c79e7c-29ea-49e0-959e-0983e886f346
:END:
Some global variables might sometimes be needed and need to be modified. This
is for example the case with my =PATH= variable in which I add Rusts Cargos
binaries, Gos binaries and my own executables. And of course, dont forget
to add the already existing =PATH=.
#+NAME: extra-paths
| additional path | what it leads to |
|---------------------------+--------------------------------------|
| $HOME/.pub-cache/bin | Dart binaries and executables |
| $HOME/.local/bin | Custom executables, see [[file:bin.org]] |
| $HOME/go/bin | Go binaries and executables |
| $HOME/.cargo/bin | Rust binaries and executables |
| $HOME/.gem/ruby/2.6.0/bin | Ruby binaries and executables |
| $HOME/.cabal/bin | Haskel binaries |
#+NAME: generate-extra-paths
#+BEGIN_SRC emacs-lisp :var paths=extra-paths[,0] :exports none :cache yes
(mapconcat (lambda (x) x)
paths " ")
#+END_SRC
#+RESULTS[d6cf1e9d562d644db1bc6458eca1fc165b065f0c]: generate-extra-paths
: $HOME/.pub-cache/bin $HOME/.local/bin $HOME/go/bin $HOME/.cargo/bin $HOME/.gem/ruby/2.6.0/bin
#+BEGIN_SRC fish :noweb yes
set -gx PATH <<generate-extra-paths()>> $PATH
#+END_SRC
* Abbreviations * Abbreviations
:PROPERTIES: :PROPERTIES:
@ -367,7 +387,7 @@
|--------------+----------------------| |--------------+----------------------|
| clang | clang -Wall | | clang | clang -Wall |
| clang++ | clang++ -Wall | | clang++ | clang++ -Wall |
| g++ | g++ -Wall -std=c++17 | | g++ | g++ -Wall -std=c++20 |
| gcc | gcc -Wall -std=c18 | | gcc | gcc -Wall -std=c18 |
Here is the corresponding fish configuration: Here is the corresponding fish configuration:
@ -385,7 +405,9 @@
| abbreviation | command | | abbreviation | command |
|--------------+------------------------------| |--------------+------------------------------|
| dc | docker-compose | | dc | docker-compose |
| dcb | docker-compose build |
| dcd | docker-compose down | | dcd | docker-compose down |
| dcl | docker-compose logs |
| dcp | docker-compose pull | | dcp | docker-compose pull |
| dcr | docker-compose run --rm | | dcr | docker-compose run --rm |
| dcu | docker-compose up | | dcu | docker-compose up |

View File

@ -1,3 +1,4 @@
# -*- mode: org -*-
#+AUTHOR: Lucien Cartier-Tilet #+AUTHOR: Lucien Cartier-Tilet
#+EMAIL: lucien@phundrak.com #+EMAIL: lucien@phundrak.com
#+CREATOR: Lucien Cartier-Tilet #+CREATOR: Lucien Cartier-Tilet
@ -15,15 +16,11 @@
#+HTML_HEAD_EXTRA: <meta name="twitter:card" content="summary" /> #+HTML_HEAD_EXTRA: <meta name="twitter:card" content="summary" />
#+HTML_HEAD_EXTRA: <meta name="twitter:site" content="@phundrak" /> #+HTML_HEAD_EXTRA: <meta name="twitter:site" content="@phundrak" />
#+HTML_HEAD_EXTRA: <meta name="twitter:creator" content="@phundrak" /> #+HTML_HEAD_EXTRA: <meta name="twitter:creator" content="@phundrak" />
#+HTML_HEAD_EXTRA: <link rel="stylesheet" href="https://langue.phundrak.com/css/main.css"/> #+HTML_HEAD_EXTRA: <link rel="stylesheet" href="/style/style.css"/>
#+HTML_HEAD_EXTRA: <link rel="stylesheet" href="https://langue.phundrak.com/css/htmlize.min.css"/>
#+HTML_HEAD_EXTRA: <link rel="stylesheet" id="theme" href="https://langue.phundrak.com/css/dark.css"/>
#+HTML_HEAD_EXTRA: <link rel="shortcut icon" href="https://cdn.phundrak.com/img/mahakala-128x128.png" type="img/png" media="screen" /> #+HTML_HEAD_EXTRA: <link rel="shortcut icon" href="https://cdn.phundrak.com/img/mahakala-128x128.png" type="img/png" media="screen" />
#+HTML_HEAD_EXTRA: <link rel="shortcut icon" href="https://cdn.phundrak.com/img/favicon.ico" type="image/x-icon" media="screen" /> #+HTML_HEAD_EXTRA: <link rel="shortcut icon" href="https://cdn.phundrak.com/img/favicon.ico" type="image/x-icon" media="screen" />
#+HTML_HEAD_EXTRA: <script defer src="https://cdn.jsdelivr.net/npm/js-cookie@2/src/js.cookie.min.js"></script> #+HTML_HEAD_EXTRA: <script defer src="/dart/main.dart.js"></script>
#+HTML_HEAD_EXTRA: <script defer src="https://langue.phundrak.com/dart/main.dart.js"></script> #+HTML_HEAD_EXTRA: <script defer src="https://kit.fontawesome.com/4d42d0c8c5.js" crossorigin="anonymous"></script>
#+HTML_HEAD_EXTRA: <script defer src="https://kit.fontawesome.com/4d42d0c8c5.js"></script>
#+INFOJS_OPT: view:info home:https://phundrak.com/config toc:t ltoc:t mouse:underline
# ### MACROS ################################################################### # ### MACROS ###################################################################
#+MACRO: newline @@latex:\hspace{0pt}\\@@ @@html:<br>@@ #+MACRO: newline @@latex:\hspace{0pt}\\@@ @@html:<br>@@

View File

@ -1,6 +1,6 @@
# -*- org-confirm-babel-evaluate: nil -*- # -*- org-confirm-babel-evaluate: nil -*-
#+TITLE: Phundraks i3 config #+TITLE: i3 config
#+INCLUDE: headers.org #+INCLUDE: headers
#+OPTIONS: auto-id:t #+OPTIONS: auto-id:t
#+HTML_HEAD_EXTRA: <meta name="description" content="Phundrak's i3 config" /> #+HTML_HEAD_EXTRA: <meta name="description" content="Phundrak's i3 config" />
#+HTML_HEAD_EXTRA: <meta property="og:title" content="Phundrak's i3 config" /> #+HTML_HEAD_EXTRA: <meta property="og:title" content="Phundrak's i3 config" />

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 218 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 188 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 KiB

804
org/config/index.html Normal file
View File

@ -0,0 +1,804 @@
<!DOCTYPE html>
<html lang="en">
<head>
<!-- 2020-05-05 mar. 23:17 -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Phundraks dotfiles</title>
<meta name="generator" content="Org mode">
<meta name="author" content="Lucien Cartier-Tilet">
<meta name="keywords" content="dotfiles linux emacs configuration phundrak drakpa">
<style type="text/css">
<!--/*--><![CDATA[/*><!--*/
.title { text-align: center;
margin-bottom: .2em; }
.subtitle { text-align: center;
font-size: medium;
font-weight: bold;
margin-top:0; }
.todo { font-family: monospace; color: red; }
.done { font-family: monospace; color: green; }
.priority { font-family: monospace; color: orange; }
.tag { background-color: #eee; font-family: monospace;
padding: 2px; font-size: 80%; font-weight: normal; }
.timestamp { color: #bebebe; }
.timestamp-kwd { color: #5f9ea0; }
.org-right { margin-left: auto; margin-right: 0px; text-align: right; }
.org-left { margin-left: 0px; margin-right: auto; text-align: left; }
.org-center { margin-left: auto; margin-right: auto; text-align: center; }
.underline { text-decoration: underline; }
#postamble p, #preamble p { font-size: 90%; margin: .2em; }
p.verse { margin-left: 3%; }
pre {
border: 1px solid #ccc;
box-shadow: 3px 3px 3px #eee;
padding: 8pt;
font-family: monospace;
overflow: auto;
margin: 1.2em;
}
pre.src {
position: relative;
overflow: visible;
padding-top: 1.2em;
}
pre.src:before {
display: none;
position: absolute;
background-color: white;
top: -10px;
right: 10px;
padding: 3px;
border: 1px solid black;
}
pre.src:hover:before { display: inline;}
/* Languages per Org manual */
pre.src-asymptote:before { content: 'Asymptote'; }
pre.src-awk:before { content: 'Awk'; }
pre.src-C:before { content: 'C'; }
/* pre.src-C++ doesn't work in CSS */
pre.src-clojure:before { content: 'Clojure'; }
pre.src-css:before { content: 'CSS'; }
pre.src-D:before { content: 'D'; }
pre.src-ditaa:before { content: 'ditaa'; }
pre.src-dot:before { content: 'Graphviz'; }
pre.src-calc:before { content: 'Emacs Calc'; }
pre.src-emacs-lisp:before { content: 'Emacs Lisp'; }
pre.src-fortran:before { content: 'Fortran'; }
pre.src-gnuplot:before { content: 'gnuplot'; }
pre.src-haskell:before { content: 'Haskell'; }
pre.src-hledger:before { content: 'hledger'; }
pre.src-java:before { content: 'Java'; }
pre.src-js:before { content: 'Javascript'; }
pre.src-latex:before { content: 'LaTeX'; }
pre.src-ledger:before { content: 'Ledger'; }
pre.src-lisp:before { content: 'Lisp'; }
pre.src-lilypond:before { content: 'Lilypond'; }
pre.src-lua:before { content: 'Lua'; }
pre.src-matlab:before { content: 'MATLAB'; }
pre.src-mscgen:before { content: 'Mscgen'; }
pre.src-ocaml:before { content: 'Objective Caml'; }
pre.src-octave:before { content: 'Octave'; }
pre.src-org:before { content: 'Org mode'; }
pre.src-oz:before { content: 'OZ'; }
pre.src-plantuml:before { content: 'Plantuml'; }
pre.src-processing:before { content: 'Processing.js'; }
pre.src-python:before { content: 'Python'; }
pre.src-R:before { content: 'R'; }
pre.src-ruby:before { content: 'Ruby'; }
pre.src-sass:before { content: 'Sass'; }
pre.src-scheme:before { content: 'Scheme'; }
pre.src-screen:before { content: 'Gnu Screen'; }
pre.src-sed:before { content: 'Sed'; }
pre.src-sh:before { content: 'shell'; }
pre.src-sql:before { content: 'SQL'; }
pre.src-sqlite:before { content: 'SQLite'; }
/* additional languages in org.el's org-babel-load-languages alist */
pre.src-forth:before { content: 'Forth'; }
pre.src-io:before { content: 'IO'; }
pre.src-J:before { content: 'J'; }
pre.src-makefile:before { content: 'Makefile'; }
pre.src-maxima:before { content: 'Maxima'; }
pre.src-perl:before { content: 'Perl'; }
pre.src-picolisp:before { content: 'Pico Lisp'; }
pre.src-scala:before { content: 'Scala'; }
pre.src-shell:before { content: 'Shell Script'; }
pre.src-ebnf2ps:before { content: 'ebfn2ps'; }
/* additional language identifiers per "defun org-babel-execute"
in ob-*.el */
pre.src-cpp:before { content: 'C++'; }
pre.src-abc:before { content: 'ABC'; }
pre.src-coq:before { content: 'Coq'; }
pre.src-groovy:before { content: 'Groovy'; }
/* additional language identifiers from org-babel-shell-names in
ob-shell.el: ob-shell is the only babel language using a lambda to put
the execution function name together. */
pre.src-bash:before { content: 'bash'; }
pre.src-csh:before { content: 'csh'; }
pre.src-ash:before { content: 'ash'; }
pre.src-dash:before { content: 'dash'; }
pre.src-ksh:before { content: 'ksh'; }
pre.src-mksh:before { content: 'mksh'; }
pre.src-posh:before { content: 'posh'; }
/* Additional Emacs modes also supported by the LaTeX listings package */
pre.src-ada:before { content: 'Ada'; }
pre.src-asm:before { content: 'Assembler'; }
pre.src-caml:before { content: 'Caml'; }
pre.src-delphi:before { content: 'Delphi'; }
pre.src-html:before { content: 'HTML'; }
pre.src-idl:before { content: 'IDL'; }
pre.src-mercury:before { content: 'Mercury'; }
pre.src-metapost:before { content: 'MetaPost'; }
pre.src-modula-2:before { content: 'Modula-2'; }
pre.src-pascal:before { content: 'Pascal'; }
pre.src-ps:before { content: 'PostScript'; }
pre.src-prolog:before { content: 'Prolog'; }
pre.src-simula:before { content: 'Simula'; }
pre.src-tcl:before { content: 'tcl'; }
pre.src-tex:before { content: 'TeX'; }
pre.src-plain-tex:before { content: 'Plain TeX'; }
pre.src-verilog:before { content: 'Verilog'; }
pre.src-vhdl:before { content: 'VHDL'; }
pre.src-xml:before { content: 'XML'; }
pre.src-nxml:before { content: 'XML'; }
/* add a generic configuration mode; LaTeX export needs an additional
(add-to-list 'org-latex-listings-langs '(conf " ")) in .emacs */
pre.src-conf:before { content: 'Configuration File'; }
table { border-collapse:collapse; }
caption.t-above { caption-side: top; }
caption.t-bottom { caption-side: bottom; }
td, th { vertical-align:top; }
th.org-right { text-align: center; }
th.org-left { text-align: center; }
th.org-center { text-align: center; }
td.org-right { text-align: right; }
td.org-left { text-align: left; }
td.org-center { text-align: center; }
dt { font-weight: bold; }
.footpara { display: inline; }
.footdef { margin-bottom: 1em; }
.figure { padding: 1em; }
.figure p { text-align: center; }
.equation-container {
display: table;
text-align: center;
width: 100%;
}
.equation {
vertical-align: middle;
}
.equation-label {
display: table-cell;
text-align: right;
vertical-align: middle;
}
.inlinetask {
padding: 10px;
border: 2px solid gray;
margin: 10px;
background: #ffffcc;
}
#org-div-home-and-up
{ text-align: right; font-size: 70%; white-space: nowrap; }
textarea { overflow-x: auto; }
.linenr { font-size: smaller }
.code-highlighted { background-color: #ffff00; }
.org-info-js_info-navigation { border-style: none; }
#org-info-js_console-label
{ font-size: 10px; font-weight: bold; white-space: nowrap; }
.org-info-js_search-highlight
{ background-color: #ffff00; color: #000000; font-weight: bold; }
.org-svg { width: 90%; }
/*]]>*/-->
</style>
<meta property="og:image" content="https://cdn.phundrak.com/img/rich_preview.png" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@phundrak" />
<meta name="twitter:creator" content="@phundrak" />
<link rel="stylesheet" href="/style/style.css"/>
<link rel="shortcut icon" href="https://cdn.phundrak.com/img/mahakala-128x128.png" type="img/png" media="screen" />
<link rel="shortcut icon" href="https://cdn.phundrak.com/img/favicon.ico" type="image/x-icon" media="screen" />
<script defer src="/dart/main.dart.js"></script>
<script defer src="https://kit.fontawesome.com/4d42d0c8c5.js" crossorigin="anonymous"></script>
<meta name="description" content="Phundrak's dotfiles" />
<meta property="og:title" content="Phundrak's dotfiles" />
<meta property="og:description" content="Description of the dotfiles of Phundrak" />
<script type="text/javascript">
// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&amp;dn=gpl-3.0.txt GPL-v3-or-Later
<!--/*--><![CDATA[/*><!--*/
function CodeHighlightOn(elem, id)
{
var target = document.getElementById(id);
if(null != target) {
elem.cacheClassElem = elem.className;
elem.cacheClassTarget = target.className;
target.className = "code-highlighted";
elem.className = "code-highlighted";
}
}
function CodeHighlightOff(elem, id)
{
var target = document.getElementById(id);
if(elem.cacheClassElem)
elem.className = elem.cacheClassElem;
if(elem.cacheClassTarget)
target.className = elem.cacheClassTarget;
}
/*]]>*///-->
// @license-end
</script>
</head>
<body>
<div id="content">
<h1 class="title">Phundraks dotfiles</h1>
<div id="table-of-contents">
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#h-536e69f5-c012-4b7d-8a45-3a340d3bc7ee">1. Presentation</a></li>
<li><a href="#h-ee37502b-09a4-4668-88e2-1d4406252bd2">2. Screenshots</a></li>
<li><a href="#h-8539dd6f-4fcb-4dc7-a3ef-b8ad198c91d4">3. Features</a>
<ul>
<li><a href="#h-b70d9b3b-4259-4311-aa23-4792656220bb">3.1. Tiling Window Managers</a>
<ul>
<li><a href="#h-dbfc71a0-9d96-4f53-a064-f8d6f9567813">3.1.1. AwesomeWM</a></li>
<li><a href="#h-c918e370-d867-412c-8b0e-078e4e3772e0">3.1.2. i3 configuration</a></li>
</ul>
</li>
<li><a href="#h-08018a9b-f0c8-4bff-b18d-834ec0dc11a8">3.2. Graphical tweaks</a>
<ul>
<li><a href="#h-1e9b2c5f-9ce4-4706-af5b-fb3b423cdb82">3.2.1. GTK Settings</a>
<ul>
<li><a href="#h-6b46d7ef-3015-46e6-b9f4-58be449ff9b6">3.2.1.1. GTK2</a></li>
<li><a href="#h-0de8173e-2c28-4ac2-811e-e6c1a437ef51">3.2.1.2. GTK3</a></li>
</ul>
</li>
<li><a href="#h-c539fde3-3f1a-4855-8d63-28729ed806a5">3.2.2. Picom</a></li>
<li><a href="#h-e6f48975-3b86-4a75-a7e5-5cc9edbd9869">3.2.3. Xresources</a></li>
</ul>
</li>
<li><a href="#h-2730f882-e775-41a3-b169-5049c142cc54">3.3. Text and source code editing</a>
<ul>
<li><a href="#h-f6d2561f-5c02-4540-8287-4acf3037b3d5">3.3.1. Emacs configuration</a></li>
<li><a href="#h-1724166b-55b7-4a64-9ff1-47c2a9e76f46">3.3.2. Nano</a></li>
<li><a href="#h-0ae9005c-76a6-49f6-947c-0c8464616e10">3.3.3. Rustfmt</a></li>
</ul>
</li>
<li><a href="#h-d582e107-fa66-4f79-869e-2b49116ed1ec">3.4. Custom scripts in <code>PATH</code></a></li>
<li><a href="#h-f35ed9a3-c9fc-458c-8a62-693f679f6992">3.5. Fish configuration with useful abbreviations</a></li>
<li><a href="#h-1a819f94-ab79-41e6-9509-a2781ab10b79">3.6. And some minor configuration files</a>
<ul>
<li><a href="#h-f6c48286-a320-493f-b330-ee0a697e6d79">3.6.1. Email signature</a></li>
<li><a href="#h-4f92eb29-7cfa-48ec-b39d-39037ace3682">3.6.2. Global gitignore</a></li>
</ul>
</li>
<li><a href="#h-4f48b912-b67b-4549-a671-802e76221f46">3.7. Tmux configuration</a></li>
</ul>
</li>
<li><a href="#h-5849dbcf-a650-4323-9a90-bec549a7b982">4. Dependencies</a></li>
<li><a href="#h-bfb2e09b-d5d7-4d6f-8b29-763c49b3fd09">5. Installation</a></li>
<li><a href="#h-a3438126-ee60-4f11-a2f6-f52e49dade59">6. Licence</a></li>
</ul>
</div>
</div>
<div id="outline-container-h-536e69f5-c012-4b7d-8a45-3a340d3bc7ee" class="outline-2">
<h2 id="h-536e69f5-c012-4b7d-8a45-3a340d3bc7ee"><span class="section-number-2">1</span> Presentation</h2>
<div class="outline-text-2" id="text-h-536e69f5-c012-4b7d-8a45-3a340d3bc7ee">
<div class="figure">
<p><a href="http://spacemacs.org"><object type="image/svg+xml" data="https://cdn.rawgit.com/syl20bnr/spacemacs/442d025779da2f62fc86c2082703697714db6514/assets/spacemacs-badge.svg" class="org-svg">
Sorry, your browser does not support SVG.</object></a>
</p>
</div>
<p>
This is my collection of dotfiles for my daily GNU/Linux environment, tweaked
to my liking. If you wish to get the same setup as mine, follow the
instructions below.
</p>
<p>
As you can see, I personally use <a href="https://fishshell.com/">fish</a> as my shell of choice, and <a href="https://www.gnu.org/software/emacs/">Emacs</a> 27.0.90
(custom build) using <a href="http://spacemacs.org">Spacemacs</a> (still with Emacs keybinding in Insert mode but
with Evil in Normal mode) as my main text editor.
</p>
<p>
When it comes to my graphical UI, I do not have any desktop environment.
Instead, I have two tiling window managers. The historical first on my
configuration is <a href="https://github.com/Airblader/i3">i3-gaps</a>, an <a href="https://i3wm.org/">i3</a> fork by <a href="https://github.com/Airblader/i3">Airblader</a> with which I use two bars
generated by <a href="https://polybar.github.io/">Polybar</a>. My other TWM, and the one I use most often, is
<a href="https://awesomewm.org/">AwesomeWM</a>. Both TWMs use <a href="https://github.com/dylanaraps/pywal">pywal</a> to define their color scheme, as well as <a href="https://github.com/davatorium/rofi">rofi</a>s
color scheme.
</p>
<p>
Finally, you can find my configuration for my Ergodox keyboard <a href="https://configure.ergodox-ez.com/ergodox-ez/layouts/5WrVw/latest/0">here</a>. It is
optimized for usage with the Bépo layout set as a software layout, and for
shortcuts from i3.
</p>
</div>
</div>
<div id="outline-container-h-ee37502b-09a4-4668-88e2-1d4406252bd2" class="outline-2">
<h2 id="h-ee37502b-09a4-4668-88e2-1d4406252bd2"><span class="section-number-2">2</span> Screenshots</h2>
<div class="outline-text-2" id="text-h-ee37502b-09a4-4668-88e2-1d4406252bd2">
<div class="figure">
<p><img src="./img/neofetch.png.webp" alt="neofetch.png.webp" width="100%">
</p>
<p><span class="figure-number">Figure 2: </span>Desktop with Neofetch in the terminal</p>
</div>
<div class="figure">
<p><img src="./img/emacs.png.webp" alt="emacs.png.webp" width="100%">
</p>
<p><span class="figure-number">Figure 3: </span>Desktop with Emacs opened</p>
</div>
<div class="figure">
<p><img src="./img/rofi.png.webp" alt="rofi.png.webp" width="100%">
</p>
<p><span class="figure-number">Figure 4: </span>Desktop with Rofi</p>
</div>
</div>
</div>
<div id="outline-container-h-8539dd6f-4fcb-4dc7-a3ef-b8ad198c91d4" class="outline-2">
<h2 id="h-8539dd6f-4fcb-4dc7-a3ef-b8ad198c91d4"><span class="section-number-2">3</span> Features</h2>
<div class="outline-text-2" id="text-h-8539dd6f-4fcb-4dc7-a3ef-b8ad198c91d4">
<ul class="org-ul">
<li>Emacs configuration perfectly tailored for my own use</li>
<li>Beautiful and comfy i3 and polybar configuration</li>
<li>And enough information below to get basically the same distro install as I
have on my main computer and my travel laptop.</li>
</ul>
<p>
Most of the org files you will find in this repos are the actual source code
of much of my config files. For instance, the bootstrap found in
<a href="installation.html">installation.org</a> exports almost all of its code snippets to
<a href=".config/yadm/bootstrap">.config/yadm/bootstrap</a> thanks to <code>M-x org-babel-tangle</code> from within Emacs.
Below I will also present and comment some of my short config files which do
not deserve to have a full org file dedicated to them.
</p>
</div>
<div id="outline-container-h-b70d9b3b-4259-4311-aa23-4792656220bb" class="outline-3">
<h3 id="h-b70d9b3b-4259-4311-aa23-4792656220bb"><span class="section-number-3">3.1</span> Tiling Window Managers</h3>
<div class="outline-text-3" id="text-h-b70d9b3b-4259-4311-aa23-4792656220bb">
</div>
<div id="outline-container-h-dbfc71a0-9d96-4f53-a064-f8d6f9567813" class="outline-4">
<h4 id="h-dbfc71a0-9d96-4f53-a064-f8d6f9567813"><span class="section-number-4">3.1.1</span> AwesomeWM</h4>
<div class="outline-text-4" id="text-h-dbfc71a0-9d96-4f53-a064-f8d6f9567813">
<p>
AwesomeWM is the TWM I use the most on my computer between itself and i3. My
configuration for it is documented in detail in its corresponding document,
which you can find <a href="awesome.html">here</a>.
</p>
</div>
</div>
<div id="outline-container-h-c918e370-d867-412c-8b0e-078e4e3772e0" class="outline-4">
<h4 id="h-c918e370-d867-412c-8b0e-078e4e3772e0"><span class="section-number-4">3.1.2</span> i3 configuration</h4>
<div class="outline-text-4" id="text-h-c918e370-d867-412c-8b0e-078e4e3772e0">
<p>
The i3 configuration is detailed in its corresponding README which you can
find <a href="i3.html">here</a>.
</p>
</div>
</div>
</div>
<div id="outline-container-h-08018a9b-f0c8-4bff-b18d-834ec0dc11a8" class="outline-3">
<h3 id="h-08018a9b-f0c8-4bff-b18d-834ec0dc11a8"><span class="section-number-3">3.2</span> Graphical tweaks</h3>
<div class="outline-text-3" id="text-h-08018a9b-f0c8-4bff-b18d-834ec0dc11a8">
</div>
<div id="outline-container-h-1e9b2c5f-9ce4-4706-af5b-fb3b423cdb82" class="outline-4">
<h4 id="h-1e9b2c5f-9ce4-4706-af5b-fb3b423cdb82"><span class="section-number-4">3.2.1</span> GTK Settings</h4>
<div class="outline-text-4" id="text-h-1e9b2c5f-9ce4-4706-af5b-fb3b423cdb82">
</div>
<div id="outline-container-h-6b46d7ef-3015-46e6-b9f4-58be449ff9b6" class="outline-5">
<h5 id="h-6b46d7ef-3015-46e6-b9f4-58be449ff9b6"><span class="section-number-5">3.2.1.1</span> GTK2</h5>
<div class="outline-text-5" id="text-h-6b46d7ef-3015-46e6-b9f4-58be449ff9b6">
<p>
Regarding GTK2, I have only one configuration file: the filechoosers
configuration file.
</p>
<div class="org-src-container">
<pre class="src src-conf-unix">[<span style="color: #FCCE7B;">Filechooser Settings</span>]
</pre>
</div>
<p>
The first option alows me to open the file chooser in the current working
directory:
</p>
<div class="org-src-container">
<pre class="src src-conf-unix"><span style="color: #DFDFDF;">StartupMode</span>=cwd
</pre>
</div>
<p>
Next, setting the location mode to <code>path-bar</code> will show the path as buttons
that can be clicked rather than the full path.
</p>
<div class="org-src-container">
<pre class="src src-conf-unix"><span style="color: #DFDFDF;">LocationMode</span>=path-bar
</pre>
</div>
<p>
With this configuration, by default we wont see hidden files.
</p>
<div class="org-src-container">
<pre class="src src-conf-unix"><span style="color: #DFDFDF;">ShowHidden</span>=true
</pre>
</div>
<p>
And we'll also see the size of the visible files.
</p>
<div class="org-src-container">
<pre class="src src-conf-unix"><span style="color: #DFDFDF;">ShowSizeColumn</span>=true
</pre>
</div>
<p>
Now, lets choose the geometry of our file picker. These two first lines
set where the file picker appears:
</p>
<div class="org-src-container">
<pre class="src src-conf-unix"><span style="color: #DFDFDF;">GeometryX</span>=566
<span style="color: #DFDFDF;">GeometryY</span>=202
</pre>
</div>
<p>
And these two describe the size of the window:
</p>
<div class="org-src-container">
<pre class="src src-conf-unix"><span style="color: #DFDFDF;">GeometryWidth</span>=800
<span style="color: #DFDFDF;">GeometryHeight</span>=400
</pre>
</div>
<p>
With these two lines, we set how our files are sorted: by name, and in the
ascending order.
</p>
<div class="org-src-container">
<pre class="src src-conf-unix"><span style="color: #DFDFDF;">SortColumn</span>=name
<span style="color: #DFDFDF;">SortOrder</span>=ascending
</pre>
</div>
<p>
Our default view mode is a list of files:
</p>
<div class="org-src-container">
<pre class="src src-conf-unix"><span style="color: #DFDFDF;">ViewMode</span>=list-view
</pre>
</div>
<p>
And finally, setting our icon view scale to <code>-1</code> sets the icon view to the
max size.
</p>
<div class="org-src-container">
<pre class="src src-conf-unix"><span style="color: #DFDFDF;">IconViewScale</span>=-1
</pre>
</div>
</div>
</div>
<div id="outline-container-h-0de8173e-2c28-4ac2-811e-e6c1a437ef51" class="outline-5">
<h5 id="h-0de8173e-2c28-4ac2-811e-e6c1a437ef51"><span class="section-number-5">3.2.1.2</span> GTK3</h5>
<div class="outline-text-5" id="text-h-0de8173e-2c28-4ac2-811e-e6c1a437ef51">
<p>
The following file helps me choosing the aspect of various GTK+ 3 software,
including their theme and icons. First, lets declare the header:
</p>
<div class="org-src-container">
<pre class="src src-conf-unix">[<span style="color: #FCCE7B;">Settings</span>]
</pre>
</div>
<p>
Now, lets hint to GTK that I prefer dark themes. This can have an
influence also on some websites that can detect this preference and
therefore set their own theme to dark by themselves.
</p>
<div class="org-src-container">
<pre class="src src-conf-unix"><span style="color: #DFDFDF;">gtk-application-prefer-dark-theme</span> = true
</pre>
</div>
<p>
Next, the icon theme is the Flat Remix Dark icon theme:
</p>
<div class="org-src-container">
<pre class="src src-conf-unix"><span style="color: #DFDFDF;">gtk-icon-theme-name</span> = Flat-Remix-Dark
</pre>
</div>
<p>
Now, the general theme for GTK3 is Arc Dark.
</p>
<div class="org-src-container">
<pre class="src src-conf-unix"><span style="color: #DFDFDF;">gtk-theme-name</span> = Arc-Dark
</pre>
</div>
<div class="org-src-container">
<pre class="src src-conf-unix"><span style="color: #DFDFDF;">gtk-can-change-accels</span> = 1
</pre>
</div>
<div class="org-src-container">
<pre class="src src-conf-unix"><span style="color: #DFDFDF;">gtk-xft-antialias</span>=1
<span style="color: #DFDFDF;">gtk-xft-hinting</span>=1
<span style="color: #DFDFDF;">gtk-xft-hintstyle</span>=hintslight
<span style="color: #62686E;"># </span><span style="color: #62686E;">gtk-xft-rgba=rgb</span>
</pre>
</div>
<p>
Since window decorations are handled by my WMs, I will leave this variable
empty.
</p>
<div class="org-src-container">
<pre class="src src-conf-unix"><span style="color: #DFDFDF;">gtk-decoration-layout</span>=
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-h-c539fde3-3f1a-4855-8d63-28729ed806a5" class="outline-4">
<h4 id="h-c539fde3-3f1a-4855-8d63-28729ed806a5"><span class="section-number-4">3.2.2</span> Picom</h4>
<div class="outline-text-4" id="text-h-c539fde3-3f1a-4855-8d63-28729ed806a5">
<p>
Picom is a standalone compositor for Xorg, and the successor to Compton,
itself successor to xcompmgr-dana, itself a fork of xcompmgr. You can find
my Picom configuration <a href="picom.html">here</a>.
</p>
</div>
</div>
<div id="outline-container-h-e6f48975-3b86-4a75-a7e5-5cc9edbd9869" class="outline-4">
<h4 id="h-e6f48975-3b86-4a75-a7e5-5cc9edbd9869"><span class="section-number-4">3.2.3</span> Xresources</h4>
<div class="outline-text-4" id="text-h-e6f48975-3b86-4a75-a7e5-5cc9edbd9869">
<p>
My Xresources file is very short. Indeed, it only contains two lines which
are dedicated to my <code>st</code> terminal to set its font and shell. The font is set
as follows.
</p>
<div class="org-src-container">
<pre class="src src-conf"><span style="color: #DFDFDF;">st.font: Source Code Pro for Powerline:style</span>=book
</pre>
</div>
<p>
And I will set my shell like this:
</p>
<div class="org-src-container">
<pre class="src src-conf">st.shell: /usr/bin/fish
</pre>
</div>
<p>
I can also set the transparency of st (my terminal emulator) like so:
</p>
<div class="org-src-container">
<pre class="src src-conf">st.alpha: 0.9
</pre>
</div>
<p>
I used to have lines dedicated to UXTerm and URxvt, but I cast them out of
my system.
</p>
</div>
</div>
</div>
<div id="outline-container-h-2730f882-e775-41a3-b169-5049c142cc54" class="outline-3">
<h3 id="h-2730f882-e775-41a3-b169-5049c142cc54"><span class="section-number-3">3.3</span> Text and source code editing</h3>
<div class="outline-text-3" id="text-h-2730f882-e775-41a3-b169-5049c142cc54">
</div>
<div id="outline-container-h-f6d2561f-5c02-4540-8287-4acf3037b3d5" class="outline-4">
<h4 id="h-f6d2561f-5c02-4540-8287-4acf3037b3d5"><span class="section-number-4">3.3.1</span> Emacs configuration</h4>
<div class="outline-text-4" id="text-h-f6d2561f-5c02-4540-8287-4acf3037b3d5">
<p>
Emacs is my main text editor, which I use for almost everything. Because,
you know…
</p>
<blockquote>
<p>
Emacs is a great operating system, it just lacks a good text editor.
</p>
</blockquote>
<p>
You can find my Emacs config, based on Spacemacs, in my <a href="https://labs.phundrak.com/phundrak/dotfiles/src/branch/master/.spacemacs">.spacemacs</a> file, and
my user configuration in my <a href="spacemacs.html">spacemacs.org</a> file.
</p>
</div>
</div>
<div id="outline-container-h-1724166b-55b7-4a64-9ff1-47c2a9e76f46" class="outline-4">
<h4 id="h-1724166b-55b7-4a64-9ff1-47c2a9e76f46"><span class="section-number-4">3.3.2</span> Nano</h4>
<div class="outline-text-4" id="text-h-1724166b-55b7-4a64-9ff1-47c2a9e76f46">
<p>
Although it is a very simple piece of software, nano does offer some
customization. Mine can be found in my <a href="file:///home/phundrak/org/config-website/nano.html">nano.org</a> file.
</p>
</div>
</div>
<div id="outline-container-h-0ae9005c-76a6-49f6-947c-0c8464616e10" class="outline-4">
<h4 id="h-0ae9005c-76a6-49f6-947c-0c8464616e10"><span class="section-number-4">3.3.3</span> Rustfmt</h4>
<div class="outline-text-4" id="text-h-0ae9005c-76a6-49f6-947c-0c8464616e10">
<p>
You can find my Rustfmt configuration <a href="rustfmt.html">here</a>.
</p>
</div>
</div>
</div>
<div id="outline-container-h-d582e107-fa66-4f79-869e-2b49116ed1ec" class="outline-3">
<h3 id="h-d582e107-fa66-4f79-869e-2b49116ed1ec"><span class="section-number-3">3.4</span> Custom scripts in <code>PATH</code></h3>
<div class="outline-text-3" id="text-h-d582e107-fa66-4f79-869e-2b49116ed1ec">
<p>
I have written some scripts that help me daily accomplish some simple tasks,
like mounting and unmounting a drive or Android device, an emoji picker, a
utility to set up my Wacom tablet, and so on. You can find them stored in
<a href=".local/bin/README.html">.local/bin</a> along with their detailed explanation in the README placed in the
same folder —which is actually their source code once the org-mode file gets
tangled.
</p>
</div>
</div>
<div id="outline-container-h-f35ed9a3-c9fc-458c-8a62-693f679f6992" class="outline-3">
<h3 id="h-f35ed9a3-c9fc-458c-8a62-693f679f6992"><span class="section-number-3">3.5</span> Fish configuration with useful abbreviations</h3>
<div class="outline-text-3" id="text-h-f35ed9a3-c9fc-458c-8a62-693f679f6992">
<p>
You can also find in my Fish shell configuration in my <a href="file:///home/phundrak/org/config-website/fish.html">fish.org</a> file, which
contains my usual abbreviations.
</p>
</div>
</div>
<div id="outline-container-h-1a819f94-ab79-41e6-9509-a2781ab10b79" class="outline-3">
<h3 id="h-1a819f94-ab79-41e6-9509-a2781ab10b79"><span class="section-number-3">3.6</span> And some minor configuration files</h3>
<div class="outline-text-3" id="text-h-1a819f94-ab79-41e6-9509-a2781ab10b79">
</div>
<div id="outline-container-h-f6c48286-a320-493f-b330-ee0a697e6d79" class="outline-4">
<h4 id="h-f6c48286-a320-493f-b330-ee0a697e6d79"><span class="section-number-4">3.6.1</span> Email signature</h4>
<div class="outline-text-4" id="text-h-f6c48286-a320-493f-b330-ee0a697e6d79">
<p>
This file gets inserted automatically at the end of my emails.
</p>
<div class="org-src-container">
<pre class="src src-text">Lucien &#8220;Phundrak&#8221; Cartier-Tilet
https://phundrak.com (Fran&#231;ais)
https://en.phundrak.com (English)
Sent from a Free and Open-Source Linux operating system with GNU/Emacs
</pre>
</div>
</div>
</div>
<div id="outline-container-h-4f92eb29-7cfa-48ec-b39d-39037ace3682" class="outline-4">
<h4 id="h-4f92eb29-7cfa-48ec-b39d-39037ace3682"><span class="section-number-4">3.6.2</span> Global gitignore</h4>
<div class="outline-text-4" id="text-h-4f92eb29-7cfa-48ec-b39d-39037ace3682">
<p>
Sometimes, there are some lines that always reappear in gitignores. So,
instead of always adding them, let git now that some elements are to be
ignored by default, hence the <a href=".gitignore_global">~/.gitignore_global</a> file. First, we dont want
nanos backup files.
</p>
<div class="org-src-container">
<pre class="src src-text">~*
</pre>
</div>
<p>
And object files and output binaries generated by <code>gcc</code> and the likes arent
welcome either.
</p>
<div class="org-src-container">
<pre class="src src-text">*.out
*.o
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-h-4f48b912-b67b-4549-a671-802e76221f46" class="outline-3">
<h3 id="h-4f48b912-b67b-4549-a671-802e76221f46"><span class="section-number-3">3.7</span> Tmux configuration</h3>
<div class="outline-text-3" id="text-h-4f48b912-b67b-4549-a671-802e76221f46">
<p>
You can find my tmux configuration in <a href="tmux.html">tmux.org</a>. It depends on the submodule
<a href="https://github.com/gpakosz/.tmux.git">.tmux</a> by <a href="https://pempek.net/">Gregory Pakosz</a>.
</p>
</div>
</div>
</div>
<div id="outline-container-h-5849dbcf-a650-4323-9a90-bec549a7b982" class="outline-2">
<h2 id="h-5849dbcf-a650-4323-9a90-bec549a7b982"><span class="section-number-2">4</span> Dependencies</h2>
<div class="outline-text-2" id="text-h-5849dbcf-a650-4323-9a90-bec549a7b982">
<p>
Of course, some dependencies are needed for my dotfiles to work well. Here is
a non-exhaustive list of software needed by these configuration files:
</p>
<ul class="org-ul">
<li><a href="https://www.gnu.org/software/emacs/">GNU/Emacs</a> &gt;= 26.2
<ul class="org-ul">
<li><a href="http://spacemacs.org">Spacemacs</a> (develop branch)</li>
<li>My <a href="https://labs.phundrak.com/phundrak/conlang-layer">conlanging layer</a></li>
<li><a href="https://github.com/venmos/w3m-layer">Venmos</a> <a href="https://github.com/venmos/w3m-layer">w3m layer</a></li>
</ul></li>
<li>The <a href="https://fishshell.com/">Fish shell</a>, using <a href="https://github.com/jorgebucaran/fisher">fisher</a></li>
<li><a href="https://lukesmith.xyz/">Luke Smith</a>s <a href="https://github.com/LukeSmithxyz/st">fork</a> of <a href="https://st.suckless.org/">st</a></li>
<li><a href="https://resloved.info/">Resloved</a>s <a href="https://github.com/resloved/i3">i3-gaps-rounded</a> fork of <a href="https://github.com/Airblader/i3">Airblader</a>s <a href="https://github.com/Airblader/i3">i3-gaps</a>, itself a fork of <a href="https://i3wm.org/">i3</a></li>
<li><a href="https://github.com/yshui/compton">Compton</a>, more specificaly <a href="https://github.com/tryone144/compton">Tryone</a>s <a href="https://github.com/tryone144/compton">fork</a></li>
<li><a href="https://github.com/dylanaraps/pywal/">pywal</a></li>
<li><a href="https://tools.suckless.org/dmenu/">dmenu</a></li>
<li><a href="https://github.com/enkore/j4-dmenu-desktop">j4-dmenu-desktop</a></li>
<li><a href="https://github.com/davatorium/rofi">Rofi</a></li>
<li><a href="https://github.com/gpoore/minted">minted</a></li>
<li><a href="https://www.rust-lang.org/">Rust</a> (stable and nightly)</li>
<li><a href="https://www.latex-project.org/">LaTeX</a> and <a href="http://xetex.sourceforge.net/">XeTeX</a> (<code>texlive</code> packages on Arch Linux)</li>
<li><a href="https://github.com/tmux/tmux">tmux</a>, based on <a href="https://github.com/gpakosz/.tmux">this repo</a>s configuration by <a href="https://pempek.net/">Grégory Pakosz</a>.</li>
<li>And a bunch of other stuff, see below</li>
</ul>
<p>
And some other stuff scattered around in my dotfiles.
</p>
<p>
BTW, I use Arch.
</p>
</div>
</div>
<div id="outline-container-h-bfb2e09b-d5d7-4d6f-8b29-763c49b3fd09" class="outline-2">
<h2 id="h-bfb2e09b-d5d7-4d6f-8b29-763c49b3fd09"><span class="section-number-2">5</span> Installation</h2>
<div class="outline-text-2" id="text-h-bfb2e09b-d5d7-4d6f-8b29-763c49b3fd09">
<p>
For an installation walkthrough of my Arch Linux installation, check out my
<a href="installation.html">installation.org</a> file where I walk you through the first manual steps and
through the bootstrap you can execute to automatically take care of a lot of
elements.
</p>
</div>
</div>
<div id="outline-container-h-a3438126-ee60-4f11-a2f6-f52e49dade59" class="outline-2">
<h2 id="h-a3438126-ee60-4f11-a2f6-f52e49dade59"><span class="section-number-2">6</span> Licence</h2>
<div class="outline-text-2" id="text-h-a3438126-ee60-4f11-a2f6-f52e49dade59">
<p>
All of my dotfiles (and my dotfiles only) are available under the GNU GPLv3
Licence. Please consult <a href="LICENCE.md">LICENCE.md</a> for more information. In short: you
are free to access, edit and redistribute all of my dotfiles under the same
licence and as allowed by the licence, and if you fuck up something, its your
own responsibility.
</p>
</div>
</div>
</div>
<div id="postamble" class="status">
<p class="author">Author: Lucien Cartier-Tilet</p>
<p class="email">Email: <a href="mailto:lucien@phundrak.com">lucien@phundrak.com</a></p>
<p class="date">Created: 2020-05-05 mar. 23:17</p>
</div>
</body>
</html>

View File

@ -1,34 +1,5 @@
#+TITLE: Phundraks dotfiles #+TITLE: Phundraks dotfiles
#+INCLUDE: headers.org #+INCLUDE:-some-minor-configuration-files][And some minor configuration files]]
#+OPTIONS: auto-id:t
#+HTML_HEAD_EXTRA: <meta name="description" content="Phundrak's dotfiles" />
#+HTML_HEAD_EXTRA: <meta property="og:title" content="Phundrak's dotfiles" />
#+HTML_HEAD_EXTRA: <meta property="og:description" content="Description of the dotfiles of Phundrak" />
#+STARTUP: content
* Table of Contents :TOC:noexport:
:PROPERTIES:
:CUSTOM_ID: h-400070eb-725f-4416-a4c6-da3053df750b
:END:
- [[#presentation][Presentation]]
- [[#screenshots][Screenshots]]
- [[#features][Features]]
- [[#tiling-window-managers][Tiling Window Managers]]
- [[#awesomewm][AwesomeWM]]
- [[#i3-configuration][i3 configuration]]
- [[#graphical-tweaks][Graphical tweaks]]
- [[#gtk-settings][GTK Settings]]
- [[#gtk2][GTK2]]
- [[#gtk3][GTK3]]
- [[#picom][Picom]]
- [[#xresources][Xresources]]
- [[#text-and-source-code-editing][Text and source code editing]]
- [[#emacs-configuration][Emacs configuration]]
- [[#nano][Nano]]
- [[#rustfmt][Rustfmt]]
- [[#custom-scripts-in-path][Custom scripts in =PATH=]]
- [[#fish-configuration-with-useful-abbreviations][Fish configuration with useful abbreviations]]
- [[#and-some-minor-configuration-files][And some minor configuration files]]
- [[#email-signature][Email signature]] - [[#email-signature][Email signature]]
- [[#global-gitignore][Global gitignore]] - [[#global-gitignore][Global gitignore]]
- [[#tmux-configuration][Tmux configuration]] - [[#tmux-configuration][Tmux configuration]]
@ -40,8 +11,6 @@
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: h-536e69f5-c012-4b7d-8a45-3a340d3bc7ee :CUSTOM_ID: h-536e69f5-c012-4b7d-8a45-3a340d3bc7ee
:END: :END:
[[http://spacemacs.org][file:https://cdn.rawgit.com/syl20bnr/spacemacs/442d025779da2f62fc86c2082703697714db6514/assets/spacemacs-badge.svg]]
This is my collection of dotfiles for my daily GNU/Linux environment, tweaked This is my collection of dotfiles for my daily GNU/Linux environment, tweaked
to my liking. If you wish to get the same setup as mine, follow the to my liking. If you wish to get the same setup as mine, follow the
instructions below. instructions below.
@ -66,17 +35,14 @@
:CUSTOM_ID: h-ee37502b-09a4-4668-88e2-1d4406252bd2 :CUSTOM_ID: h-ee37502b-09a4-4668-88e2-1d4406252bd2
:END: :END:
#+ATTR_HTML: :width 100%
#+CAPTION: Desktop with Neofetch in the terminal #+CAPTION: Desktop with Neofetch in the terminal
[[./img/neofetch.png]] [[./img/neofetch.png.webp]]
#+CAPTION: Desktop with Emacs opened #+CAPTION: Desktop with Emacs opened
#+ATTR_HTML: :width 100% [[./img/emacs.png.webp]]
[[./img/emacs.png]]
#+CAPTION: Desktop with Rofi #+CAPTION: Desktop with Rofi
#+ATTR_HTML: :width 100% [[./img/rofi.png.webp]]
[[./img/rofi.png]]
* Features * Features
:PROPERTIES: :PROPERTIES:
@ -322,7 +288,7 @@
#+BEGIN_SRC text #+BEGIN_SRC text
Lucien “Phundrak” Cartier-Tilet Lucien “Phundrak” Cartier-Tilet
https://phundrak.com (Français) https://phundrak.com (Français)
https://en.phundrak.com (English) https://phundrak.com/en (English)
Sent from a Free and Open-Source Linux operating system with GNU/Emacs Sent from a Free and Open-Source Linux operating system with GNU/Emacs
#+END_SRC #+END_SRC

View File

@ -1,6 +1,6 @@
# -*- org-confirm-babel-evaluate: nil -*- # -*- org-confirm-babel-evaluate: nil -*-
#+TITLE: Install a Phundrak-flavored Arch Linux #+TITLE: Phundrak-flavored Arch Linux
#+INCLUDE: headers.org #+INCLUDE: headers
#+OPTIONS: auto-id:t #+OPTIONS: auto-id:t
#+HTML_HEAD_EXTRA: <meta name="description" content="Phundrak-flavored Arch Linux" /> #+HTML_HEAD_EXTRA: <meta name="description" content="Phundrak-flavored Arch Linux" />
#+HTML_HEAD_EXTRA: <meta property="og:title" content="Phundrak-flavored Arch Linux" /> #+HTML_HEAD_EXTRA: <meta property="og:title" content="Phundrak-flavored Arch Linux" />
@ -310,14 +310,15 @@
pulseaudio-bluetooth python-autoflake python-envtpl-git python-epc \ pulseaudio-bluetooth python-autoflake python-envtpl-git python-epc \
python-importmagic python-language-server python-nose python-pip python-ptvsd \ python-importmagic python-language-server python-nose python-pip python-ptvsd \
python-pytest python-pywal qt5-imageformats qemu r raw-thumbnailer reflector \ python-pytest python-pywal qt5-imageformats qemu r raw-thumbnailer reflector \
rofi rsync rtv rustup samba scrot sent shadow siji-git simplescreenrecorder \ rofi rsync rtv ruby-rb-fsevent ruby-sass rustup samba scrot sent shadow \
sshfs st-luke-git sxiv texlive-bin texlive-langchinese texlive-langcyrillic \ siji-git simplescreenrecorder sshfs st-luke-git sxiv texlive-bin \
texlive-langgreek texlive-langjapanese texlive-langkorean texlive-latexextra \ texlive-langchinese texlive-langcyrillic texlive-langgreek \
texlive-langjapanese texlive-langkorean texlive-latexextra \
texlive-localmanager-git texlive-most tmux tree ttf-arphic-uming ttf-baekmuk \ texlive-localmanager-git texlive-most tmux tree ttf-arphic-uming ttf-baekmuk \
ttf-dejavu ttf-google-fonts-opinionated-git ttf-hanazono ttf-joypixels \ ttf-dejavu ttf-google-fonts-opinionated-git ttf-hanazono ttf-joypixels \
ttf-koruri ttf-liberation ttf-monapo ttf-sazanami ttf-tibetan-machine \ ttf-koruri ttf-liberation ttf-monapo ttf-sazanami ttf-tibetan-machine \
typescript typescript-language-server-bin unicode-emoji unrar usbutils valgrind \ typescript typescript-language-server-bin unicode-emoji unrar usbutils \
vscode-css-languageserver-bin vscode-html-languageserver-bin w3m wget \ valgrind vscode-css-languageserver-bin vscode-html-languageserver-bin w3m wget \
x11-ssh-askpass xclip xdg-user-dirs-gtk xfsprogs xorg-drivers xorg-server \ x11-ssh-askpass xclip xdg-user-dirs-gtk xfsprogs xorg-drivers xorg-server \
xorg-xinit xss-lock xvkbd yaml-language-server-bin yapf xorg-xinit xss-lock xvkbd yaml-language-server-bin yapf
#+END_SRC #+END_SRC

View File

@ -1,5 +1,5 @@
#+TITLE: Phundraks nano configuration #+TITLE: Nano configuration
#+INCLUDE: headers.org #+INCLUDE: headers
#+OPTIONS: auto-id:t #+OPTIONS: auto-id:t
#+HTML_HEAD_EXTRA: <meta name="description" content="Phundrak's nano configuration" /> #+HTML_HEAD_EXTRA: <meta name="description" content="Phundrak's nano configuration" />
#+HTML_HEAD_EXTRA: <meta property="og:title" content="Phundrak's nano configuration" /> #+HTML_HEAD_EXTRA: <meta property="og:title" content="Phundrak's nano configuration" />

74
org/config/ncmpcpp.org Normal file
View File

@ -0,0 +1,74 @@
#+title: Ncmpcpp Configuration (WIP)
#+INCLUDE: headers
#+OPTIONS: auto-id:t
#+HTML_HEAD_EXTRA: <meta name="description" content="Phundraks ncmpcpp Configuration" />
#+HTML_HEAD_EXTRA: <meta property="og:title" content="Phundraks ncmpcpp Configuration" />
#+HTML_HEAD_EXTRA: <meta property="og:description" content="Description of the ncmpcpp configuration of Phundrak" />
#+PROPERTY: header-args :tangle ~/.config/ncmpcpp/config2 :exports code
#+STARTUP: content
* Table of Contents :TOC_4_gh:noexport:
:PROPERTIES:
:CUSTOM_ID: h-b2167b42-e88d-4308-abaf-d33eeec63fff
:END:
- [[#introduction][Introduction]]
- [[#core-ncmpcpp-settings][Core Ncmpcpp settings]]
- [[#directories][Directories]]
- [[#mpd][MPD]]
* Introduction
:PROPERTIES:
:CUSTOM_ID: h-7ead0ad9-857d-4179-9e02-be0f8f8c02ef
:END:
Ncmpcpp is a TUI front-end for MPD, with an UI very similar to Ncmpc. This is
my main MPD front-end after my i3 shortcuts. You can find below some
screenshots of how my current ncmpcpp configuration looks like.
[[file:img/ncmpcpp-queue.png]]
[[file:img/ncmpcpp-directory.png]]
[[file:img/ncmpcpp-visualizer.png]]
* Core Ncmpcpp settings
:PROPERTIES:
:CUSTOM_ID: h-02b8e820-d12d-479f-a856-86121eccab96
:END:
#+BEGIN_SRC conf :exports none
# -*- mode: conf -*-
#+END_SRC
** Directories
:PROPERTIES:
:CUSTOM_ID: h-0da83a89-b409-4e48-9bd7-3db9afed4945
:END:
Ncmpcpp has two vital directories: the lyrics directory, and its own
configuration directory. The configuration for ncmpcpp is generally either in
~$HOME/.ncmpcpp/~ or in ~$XDG_CONFIG_HOME/ncmpcpp/~.
#+BEGIN_SRC conf
ncmpcpp_directory = ~/.config/ncmpcpp
#+END_SRC
When it comes to the lyrics, be sure to set the directory to the same
directory pointed at by Mpd.
#+BEGIN_SRC conf
lyrics_directory = ~/.lyrics
#+END_SRC
** MPD
:PROPERTIES:
:CUSTOM_ID: h-cc81e6db-7418-4823-b2b4-4c3f1e842eaa
:END:
These settings tell ncmpcpp how to communicate with Mpd. Once again, be sure
to follow your own MPD settings. In my case, I am connecting to my local MPD
server, hence the ~localhost~ value of the variable below, and I did not
change the default port of MPD. My music is located at =~/Music=, and ncmpcpp
should connect pretty much immediately, although I allow a five seconds
timeout before ncmpcpp treats it as an error. Also, no crossfade please.
#+BEGIN_SRC conf
mpd_host = localhost
mpd_port = 6600
mpd_music_dir = ~/Music
mpd_connection_timeout = 5
mpd_crossfade_time = 0
#+END_SRC

1072
org/config/neofetch.html Normal file

File diff suppressed because it is too large Load Diff

523
org/config/neofetch.org Normal file
View File

@ -0,0 +1,523 @@
# -*- org-confirm-babel-evaluate: nil -*-
#+title: Neofetch configuration (WIP)
#+INCLUDE: headers
#+OPTIONS: auto-id:t
#+HTML_HEAD_EXTRA: <meta name="description" content="Phundrak's Neofetch config" />
#+HTML_HEAD_EXTRA: <meta property="og:title" content="Phundrak's Neofetch config" />
#+HTML_HEAD_EXTRA: <meta property="og:description" content="Description of the Neofetch config file of Phundrak" />
#+PROPERTY: header-args :noweb yes :exports code :tangle no :exports none
#+PROPERTY: header-args:sh :tangle ~/.config/neofetch/config.conf.bak :comments link :exports code :noweb yes
#+STARTUP: content
# #+INFOJS_OPT: view:plain home:https://phundrak.com/config toc:t
#+INFOJS_OPT: up:https://phundrak.com/config/neofetch
* Introduction
:PROPERTIES:
:CUSTOM_ID: h-1b7321bc-190e-41a7-a6e0-ff13e9a61b74
:END:
[[https://github.com/dylanaraps/neofetch][Neofetch]] is a CLI utility used to display system information. It was written
in Bash, and thus its configuration file is written as a Bash script too. This
document was written with org-mode, and my configuration file is tangled from
the source blocks you will see below to =~/.config/neofetch/config.conf=.
First, lets insert the Emacs config header in order to specify the mode to
open the file with.
#+BEGIN_SRC sh
# -*- mode: sh -*-
#+END_SRC
* The ~print_info~ functions
:PROPERTIES:
:CUSTOM_ID: h-3a3a5ade-adab-4508-9aa9-17896126b169
:END:
The ~print_info~ function is the function called by Neofetch in order to print
the system information it could fetch. In this function, well choose what to
display, and how. This function looks like this:
#+BEGIN_SRC sh
print_info() {
# Print information here…
}
#+END_SRC
Generally, what we will display will be shown through the ~info~ function,
redefined inside Neofetch (this is not ~info(1)~). This ~info~ function
accepts one or two arguments. With one argument, such as with ~info memory~,
we can get a result that looks like ~5136MiB / 15873MiB~, while calling it
with two arguments will treat the first one as a prefix and the second one as
the interesting information; ~info "Memory" memory~ will look like
~Memory: 5136MiB / 15873MiB~. Here is what we want to display:
#+NAME: info-elements-table
| Prefix | Information | What it does |
|----------+-------------+------------------------------|
| | line_break | Insert a blank line |
| | title | Username and hostname |
| | line_break | Insert a blank line |
| | cols | System theme |
| | line_break | Insert a blank line |
| OS | distro | Distribution name |
| Kernel | kernel | Kernel version |
| Uptime | uptime | Machine uptime |
| Packages | packages | Number of installed packages |
| Shell | shell | Users default shell |
| WM | wm | Users Window Manager |
| Terminal | term | Default terminal |
| CPU | cpu | CPU information |
| GPU | gpu | GPU information |
| Memory | memory | RAM information |
#+NAME: info-elements-gen
#+BEGIN_SRC emacs-lisp :var table=info-elements-table :cache yes
(mapconcat (lambda (x)
(format "info %s%s"
(if (not (string= (car x) ""))
(format "\"%s\" " (car x))
"")
(cadr x)))
table
"\n")
#+END_SRC
#+RESULTS[b674f32b66234a67929a0426ce187ce712d806f4]: info-elements-gen
#+begin_example
info line_break
info title
info line_break
info cols
info line_break
info "OS" distro
info "Kernel" kernel
info "Uptime" uptime
info "Packages" packages
info "Shell" shell
info "WM" wm
info "Terminal" term
info "CPU" cpu
info "GPU" gpu
info "Memory" memory
#+end_example
Hence, the function looks like so:
#+BEGIN_SRC sh
print_info() {
<<info-elements-gen()>>
}
#+END_SRC
Each of these modules can be tuned with the variables presented below.
* Information settings
:PROPERTIES:
:CUSTOM_ID: h-d1ddb7fc-e87a-42d1-a71b-6fc7b10c9f78
:END:
Each of the following variable tunes a function that can be called in
~print_info~ described above. It is possible to tune them by modifying this
document or the configuration file itself, and they can be overridden by the
command line with flags passed to ~neofetch~. I will divide these variables in
two main categories: hardware and software-related properties.
** Software
:PROPERTIES:
:CUSTOM_ID: h-2f562a5c-3530-4b50-b553-a0cb801affea
:END:
*** OS
:PROPERTIES:
:CUSTOM_ID: h-afe50abf-8988-48dd-9768-72eb0143b613
:END:
**** Kernel
:PROPERTIES:
:CUSTOM_ID: h-be4b75c8-2612-4e40-933f-bd451bd6fc5e
:END:
The variable below can shorten the output ofh the ~kernel~ function.
- Default value :: ~"on"~
- Values ::
- ~"on"~
- ~"off"~
- Flag :: ~"--kernel_shorthand"~
- Supports :: Everything except *BSDs (except PacBSD and PC-BSD)
- Examples ::
- on :: ~4.8.9-1-ARCH~
- off :: ~Linux 4.8.9-1-ARCH~
#+begin_src sh
kernel_shorthand="off"
#+end_src
**** Distro
:PROPERTIES:
:CUSTOM_ID: h-979a15ac-c2ac-41a4-91f2-5676feba6dd4
:END:
This variable can shorten the output of the ~distro~ function.
- Default value :: ~"on"~
- Values ::
- ~"on"~
- ~"off"~
- Flag :: ~"--distro_shorthand"~
- Supports :: Everything except Windows and Haiku
- Examples ::
- on :: ~Arch Linux~
- off :: ~Arch~
#+begin_src sh
distro_shorthand="off"
#+end_src
**** OS Architecture
:PROPERTIES:
:CUSTOM_ID: h-c621c645-f926-411f-852c-9b4508a0736a
:END:
This variable can show or hide the OS architecture in the ~distro~ output.
- Default value :: ~"off"~
- Values ::
- ~"on"~
- ~"off"~
- Flag :: ~"--os_arch"~
- Examples ::
- on :: ~Arch Linux x86_64~
- off :: ~Arch Linux~
#+begin_src sh
os_arch="off"
#+end_src
*** Uptime shorthand
:PROPERTIES:
:CUSTOM_ID: h-41f62c23-4306-4828-a824-7a33e19deee5
:END:
This variable can shorten the output of the ~uptime~ function. ~on~ shortens
it a bit, while ~tiny~ shortens it greatly.
- Default value :: ~"on"~
- Values ::
- ~"on"~
- ~"tiny"~
- ~"off"~
- Flag :: ~"--uptime_shorthand"~
- Examples ::
- on :: ~2 days, 10 hours, 3 mins~
- off :: ~2 days, 10 hours, 3 minutes~
- tiny :: ~2d 10h 3m~
#+begin_src sh
uptime_shorthand="on"
#+end_src
*** Shell
:PROPERTIES:
:CUSTOM_ID: h-759202dd-43a9-477f-8d11-df1790870673
:END:
**** Shell path
:PROPERTIES:
:CUSTOM_ID: h-dd92a375-1fa1-4e46-9427-503c03b83b83
:END:
This allows to show either the path of the users shell, or simply its
name.
- Default value :: ~"off"~
- Values ::
- ~"on"~
- ~"off"~
- Flag :: ~"--shell_path"~
- Examples ::
- on :: ~/bin/bash~
- off :: ~bash~
#+begin_src sh
shell_path="off"
#+end_src
**** Shell version
:PROPERTIES:
:CUSTOM_ID: h-636dfde0-f0d1-4166-870c-8f1ff31b6dc2
:END:
This allows to show the shells version in the output of ~shell~.
- Default value :: ~"on"~
- Values ::
- ~"on"~
- ~"off"~
- Flag :: ~"--shell_version"~
- Examples ::
- on :: ~bash 4.4.5~
- off :: ~bash~
#+begin_src sh
shell_version="off"
#+end_src
*** Theming
:PROPERTIES:
:CUSTOM_ID: h-e2ee7a72-d852-436d-b610-946508597696
:END:
This section will allow the user to modify what Neofetch can and cannot
display about the machines theming —by this, I mean its GTK theme, its
icons and its default font.
**** Shorten output
:PROPERTIES:
:CUSTOM_ID: h-19994d7e-908b-4e20-912c-a527eee19668
:END:
With this value, it is possible to shorten the output of the computers
theming.
- Default value :: ~"off"~
- Values ::
- ~"on"~
- ~"off"~
- Flag :: ~"--gtk_shorthand"~
- Examples ::
- on :: ~Numix, Adwaita~
- off :: ~Numix [GTK2], Adwaita [GTK3]~
#+begin_src sh
gtk_shorthand="on"
#+end_src
**** Enable or disable theming display for GTK2
:PROPERTIES:
:CUSTOM_ID: h-c9bf1b93-ec7b-4c48-b9f8-5d44edbcb8bc
:END:
It is possible to explicitely show or hide the computers theming with GTK2
with this variable.
- Default value :: ~"on"~
- Values ::
- ~"on"~
- ~"off"~
- Flag :: ~"--gtk2"~
- Examples ::
- on :: ~Numix [GTK2], Adwaita [GTK3]~
- off :: ~Adwaita [GTK3]~
#+begin_src sh
gtk2="off"
#+end_src
**** Enable or disable theming display for GTK3
:PROPERTIES:
:CUSTOM_ID: h-6d367bd6-bb5c-469c-bfd7-145ef0ecd6d9
:END:
The same variable as above is also available for GTK3.
- Default value :: ~"on"~
- Values ::
- ~"on"~
- ~"off"~
- Flag :: ~"--gtk3"~
- Examples ::
- on :: ~Numix [GTK2], Adwaita [GTK3]~
- off :: ~Numix [GTK2]~
#+begin_src sh
#+end_src
*** IP address
:PROPERTIES:
:CUSTOM_ID: h-2ec1b0c8-1663-4afa-bf91-b2dc811ba95b
:END:
It is possible to display the machines public IP address with the function
~ip~. The value below allows the user to change the website used to fetch
it.
- Default value :: ~"http://ident.me"~
- Value :: ~"url"~
- Flag :: ~"--ip_host"~
#+begin_src sh
public_ip_host="http://ident.me"
#+end_src
- Default value :: ~""~
- Values ::
- ~""~
- ~""~
- Flag :: ~""~
- Supports ::
- Examples ::
- on :: ~~
- off :: ~~
#+begin_src sh
#+end_src
** Hardware
:PROPERTIES:
:CUSTOM_ID: h-d7f87860-5c1d-427b-9d2e-f7674d9fbab5
:END:
*** CPU
:PROPERTIES:
:CUSTOM_ID: h-b2183b8b-de13-4812-a7da-9f2d4d66e42d
:END:
**** CPU brand
:PROPERTIES:
:CUSTOM_ID: h-7300f2bb-e8d2-4ede-8765-a6e8883af99e
:END:
With this variables, it is possible to show or hide the brand of a CPU in
the ~cpu~ output.
- Default value :: ~"on"~
- Values ::
- ~"on"~
- ~"off"~
- Flag :: ~"--cpu_brand"~
- Examples ::
- on :: ~Intel i7-6500U~
- off :: ~i7-6500U~
#+begin_src sh
cpu_brand="off"
#+end_src
**** CPU speed
:PROPERTIES:
:CUSTOM_ID: h-5cd70ef6-4ba3-45a3-a46e-ec2d5b76d36a
:END:
With this variable, it is possible to show or hide the speed of the CPU.
- Default value :: ~"on"~
- Values ::
- ~"on"~
- ~"off"~
- Flag :: ~"--cpu_speed"~
- Examples ::
- on :: ~Intel i7-6500U (4) @ 3.1GHz~
- off :: ~Intel i7-6500U (4)~
#+begin_src sh
cpu_speed="off"
#+end_src
**** CPU speed type
:PROPERTIES:
:CUSTOM_ID: h-61affc64-b69d-44f2-b950-1623cd908b6a
:END:
This allows Neofetch to know what type of speed it has to fetch regarding
the machines CPU. Any file in ~/sys/devices/system/cpu/cpu0/cpufreq~ can
be used as a value.
- Default value :: ~"bios_limit"~
- Values ::
- ~"scaling_cur_freq"~
- ~"scaling_min_freq"~
- ~"scaling_max_freq"~
- ~"bios_limit"~
- Flag :: ~"--speed_type"~
- Supports :: Linux with ~cpufreq~
#+begin_src sh
speed_type="bios_limit"
#+end_src
**** CPU speed shorthand
:PROPERTIES:
:CUSTOM_ID: h-6138e3bd-937f-4604-b2c0-db0a49b869bc
:END:
This value allows to show sorter CPU speed with less digits. This flag is
not supported in systems with CPU speed below 1GHz.
- Default value :: ~"off"~
- Values ::
- ~"on"~
- ~"on"~
- Flag :: ~"--speed_shorthand"~
- Examples ::
- on :: ~i7-6500U (4) @ 3.1GHz~
- off :: ~i7-6500U (4) @ 3.100GHz~
#+begin_src sh
speed_shorthand="on"
#+end_src
**** CPU cores
:PROPERTIES:
:CUSTOM_ID: h-eea09747-5334-49af-aef3-1a29f59ea40e
:END:
With this variable, it is possible to display the number of cores that are
available in the CPU.
- Default value :: ~"logical"~
- Values ::
- ~"logical"~
- ~"physical"~
- ~"off"~
- Flag :: ~"--cpu_cores"~
- Supports :: ~physical~ does not work on BSD.
- Examples ::
- logical :: ~Intel i7-6500U (4) @ 3.1GHz~ (All virtual cores)
- physical :: ~Intel i7-6500U (2) @ 3.1GHz~ (All physical cores)
- off :: ~Intel i7-6500U @ 3.1GHz~
#+begin_src sh
cpu_cores="off"
#+end_src
**** CPU temperature
:PROPERTIES:
:CUSTOM_ID: h-66633b86-2427-4079-9e62-e72b3d458a21
:END:
This variable allows the user to hide or show the CPUs temperature, and if
shown, the user can display it in Celcius or Farenheit degrees. For FreeBSD
and NetBSD-based systems, youll need to enable the ~coretemp~ kernel
module. This only supports newer Intel processors.
- Default value :: ~"off"~
- Values ::
- ~"C"~
- ~"F"~
- ~"off"~
- Flag :: ~"--cpu_temp"~
- Supports :: Linux, BSD
- Examples ::
- C :: ~Intel i7-6500U (4) @ 3.1GHz [27.2°C]~
- F :: ~Intel i7-6500U (4) @ 3.1GHz [82.0°F]~
- off :: ~Intel i7-6500U (4) @ 3.1GHz~
#+begin_src sh
cpu_temp="off"
#+end_src
*** GPU
:PROPERTIES:
:CUSTOM_ID: h-6138e3bd-937f-4604-b2c0-db0a49b869bc
:END:
The function responsible for displaying information regarding the GPUs is
~gpu~. It will try to list all available GPUs and display what it knows
about them.
**** GPU brand
:PROPERTIES:
:CUSTOM_ID: h-d2a0a4dd-7dc4-4584-8093-ce417b4bb59b
:END:
This value allows the user to hide or show the brand of their GPU in the
output of ~gpu~.
- Default value :: ~"on"~
- Values ::
- ~"on"~
- ~"off"~
- Flag :: ~"--gpu_brand"~
- Supports ::
- Examples ::
- on :: ~AMD HD 7950~
- off :: ~HD 7950~
#+begin_src sh
gpu_brand="off"
#+end_src
**** Which GPU to display
:PROPERTIES:
:CUSTOM_ID: h-4309d902-fc80-48c9-be89-02b932d1f650
:END:
This allows the user to choose which GPU appears in the output of the
function ~gpu~.
- Default value :: ~"all"~
- Values ::
- ~"all"~
- ~"dedicated"~
- ~"integrated"~
- Flag :: ~"--gpu_type"~
- Supports :: Linux
- Examples ::
- all ::
#+BEGIN_SRC text
GPU1: AMD HD 7950
GPU2: Intel Integrated Graphics
#+END_SRC
- dedicated :: ~GPU1: AMD HD 7950~
- integrated :: ~GPU1: Intel Integrated Graphics~
#+begin_src sh
gpu_type="all"
#+end_src
*** Resolution
:PROPERTIES:
:CUSTOM_ID: h-9803fa70-bf09-400a-800f-071de9f2d91d
:END:
This will try to list all the connected screens and display their resolution
individually. It is possible to display the refresh rate or to hide it.
- Default value :: ~"off"~
- Values ::
- ~"on"~
- ~"off"~
- Flag :: ~"--refresh_rate"~
- Supports :: Does not work on Windows
- Examples ::
- on :: ~1920x1080 @ 60Hz~
- off :: ~1920x1080~
#+begin_src sh
refresh_rate="off"
#+end_src
*** Disks
:PROPERTIES:
:CUSTOM_ID: h-87ce5b65-ae28-49a8-a91b-ed7a38ccc8b4
:END:
Neofetch can display the space available and the total space of disks

View File

@ -1,5 +1,5 @@
#+title: Phundraks Picom Configuration #+title: Picom Configuration
#+INCLUDE: headers.org #+INCLUDE: headers
#+OPTIONS: auto-id:t #+OPTIONS: auto-id:t
#+HTML_HEAD_EXTRA: <meta name="description" content="Phundraks Picom Configuration" /> #+HTML_HEAD_EXTRA: <meta name="description" content="Phundraks Picom Configuration" />
#+HTML_HEAD_EXTRA: <meta property="og:title" content="Phundraks Picom Configuration" /> #+HTML_HEAD_EXTRA: <meta property="og:title" content="Phundraks Picom Configuration" />

View File

@ -1,6 +1,6 @@
# -*- org-confirm-babel-evaluate: nil -*- # -*- org-confirm-babel-evaluate: nil -*-
#+TITLE: Phundraks polybar config #+TITLE: Polybar config
#+INCLUDE: headers.org #+INCLUDE: headers
#+OPTIONS: auto-id:t #+OPTIONS: auto-id:t
#+HTML_HEAD_EXTRA: <meta name="description" content="Phundrak's polybar config" /> #+HTML_HEAD_EXTRA: <meta name="description" content="Phundrak's polybar config" />
#+HTML_HEAD_EXTRA: <meta property="og:title" content="Phundrak's polybar config" /> #+HTML_HEAD_EXTRA: <meta property="og:title" content="Phundrak's polybar config" />

View File

@ -1,5 +1,5 @@
#+TITLE: Phundraks Rust format config #+TITLE: Rust format config
#+INCLUDE: headers.org #+INCLUDE: headers
#+OPTIONS: auto-id:t #+OPTIONS: auto-id:t
#+HTML_HEAD_EXTRA: <meta name="description" content="Phundrak's Rust format config" /> #+HTML_HEAD_EXTRA: <meta name="description" content="Phundrak's Rust format config" />
#+HTML_HEAD_EXTRA: <meta property="og:title" content="Phundrak's Rust format config" /> #+HTML_HEAD_EXTRA: <meta property="og:title" content="Phundrak's Rust format config" />

16
org/config/sitemap.org Normal file
View File

@ -0,0 +1,16 @@
#+TITLE: Sitemap for project config-website-org
- [[file:awesome.org][AwesomeWM configuration]]
- [[file:bin.org][Executable scripts]]
- [[file:fish.org][Fish config]]
- [[file:nano.org][Nano configuration]]
- [[file:ncmpcpp.org][Ncmpcpp Configuration (WIP)]]
- [[file:neofetch.org][Neofetch configuration (WIP)]]
- [[file:installation.org][Phundrak-flavored Arch Linux]]
- [[file:index.org][Phundraks dotfiles]]
- [[file:picom.org][Picom Configuration]]
- [[file:polybar.org][Polybar config]]
- [[file:rustfmt.org][Rust format config]]
- [[file:spacemacs.org][Spacemacs Configuration]]
- [[file:tmux.org][Tmux config]]
- [[file:i3.org][i3 config]]

View File

@ -1,6 +1,6 @@
# -*- org-confirm-babel-evaluate: nil -*- # -*- org-confirm-babel-evaluate: nil -*-
#+title: Phundraks Spacemacs Configuration #+title: Spacemacs Configuration
#+INCLUDE: headers.org #+INCLUDE: headers
#+OPTIONS: auto-id:t #+OPTIONS: auto-id:t
#+HTML_HEAD_EXTRA: <meta name="description" content="Phundraks Spacemacs Configuration" /> #+HTML_HEAD_EXTRA: <meta name="description" content="Phundraks Spacemacs Configuration" />
#+HTML_HEAD_EXTRA: <meta property="og:title" content="Phundraks Spacemacs Configuration" /> #+HTML_HEAD_EXTRA: <meta property="og:title" content="Phundraks Spacemacs Configuration" />
@ -215,6 +215,7 @@
#+NAME: extra-packages #+NAME: extra-packages
| name of the package | why is it installed | | name of the package | why is it installed |
|---------------------+------------------------------------------------------| |---------------------+------------------------------------------------------|
| caddyfile-mode | Major mode for editing Caddyfiles |
| dired-du | alternative to ~ncdu~ with Dired | | dired-du | alternative to ~ncdu~ with Dired |
| doom-themes | some cool themes | | doom-themes | some cool themes |
| edit-indirect | edit region in separate buffer | | edit-indirect | edit region in separate buffer |
@ -314,7 +315,6 @@
(auto-completion :variables (auto-completion :variables
auto-completion-complete-with-key-sequence-delay 0.2 auto-completion-complete-with-key-sequence-delay 0.2
auto-completion-enable-help-tooltip 'manual auto-completion-enable-help-tooltip 'manual
auto-completion-enable-snippets-in-popup t
auto-completion-enable-sort-by-usage t auto-completion-enable-sort-by-usage t
:disabled-for :disabled-for
org org
@ -580,6 +580,13 @@
node-add-modules-path t) node-add-modules-path t)
#+END_SRC #+END_SRC
Alternatively, I also use Typescript which is a sort of better Javascript
as it should have been, with the LSP backend.
#+BEGIN_SRC emacs-lisp
(typescript :variables
typescript-backend 'lsp)
#+END_SRC
I am also currently using the Awesome window manager which requires the Lua I am also currently using the Awesome window manager which requires the Lua
programming language, so here it is. programming language, so here it is.
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
@ -590,6 +597,10 @@
lua-lsp-emmy-enable-file-watchers t) lua-lsp-emmy-enable-file-watchers t)
#+END_SRC #+END_SRC
#+BEGIN_SRC emacs-lisp
haskell
#+END_SRC
*** Readers *** Readers
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: h-02099754-7102-4251-9e2e-a3ee33f4b469 :CUSTOM_ID: h-02099754-7102-4251-9e2e-a3ee33f4b469
@ -950,6 +961,12 @@
:size 10.0)) :size 10.0))
#+END_SRC #+END_SRC
I also added the following code in order to define a fallback font for
emojis, defined only on their unicode range:
#+BEGIN_SRC emacs-lisp
(set-fontset-font "fontset-default" '(#x1f600 . #x1f64f) "NotoEmoji Nerd Font")
#+END_SRC
*** Other on-screen elements *** Other on-screen elements
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: h-fabead22-a4d0-4826-9ed1-37297810c30b :CUSTOM_ID: h-fabead22-a4d0-4826-9ed1-37297810c30b
@ -2016,7 +2033,7 @@
(setq mu4e-enable-notifications t (setq mu4e-enable-notifications t
mu4e-alert-email-notification-types '(count)) mu4e-alert-email-notification-types '(count))
(with-eval-after-load 'mu4e-alert (with-eval-after-load 'mu4e-alert
(mu4e-alert-set-default-style 'libnotify)) (mu4e-alert-set-default-style 'notifications))
(add-hook 'mu4e-view-mode-hook 'visual-line-mode) (add-hook 'mu4e-view-mode-hook 'visual-line-mode)
#+END_SRC #+END_SRC
@ -2922,11 +2939,12 @@
:base-directory "~/org/config/" :base-directory "~/org/config/"
:base-extension "org" :base-extension "org"
:exclude "\\./\\(CONTRIB\\|head\\|temp\\|svg-ink\\).*" :exclude "\\./\\(CONTRIB\\|head\\|temp\\|svg-ink\\).*"
:publishing-directory "/ssh:Naro:~/www/phundrak.com/www/config" :publishing-directory "/ssh:Naro:~/www/phundrak.com/config"
:recursive t :recursive t
:language "en" :language "en"
:publishing-function org-html-publish-to-html :publishing-function org-html-publish-to-html
:headline-levels 5 :headline-levels 5
:auto-sitemap t
:auto-preamble t) :auto-preamble t)
#+END_SRC #+END_SRC
@ -2936,8 +2954,8 @@
#+BEGIN_SRC emacs-lisp :tangle no #+BEGIN_SRC emacs-lisp :tangle no
("config-website-static" ("config-website-static"
:base-directory "~/org/config/" :base-directory "~/org/config/"
:base-extension "css\\|scss\\|dart\\|js\\|png\\|jpg\\|gif\\|svg\\|jpeg\\|ttf\\|woff\\|txt\\|epub\\|md" :base-extension "css\\|scss\\|dart\\|js\\|png\\|jpg\\|gif\\|webp\\|svg\\|jpeg\\|ttf\\|woff\\|txt\\|epub\\|md"
:publishing-directory "/ssh:Naro:~/www/phundrak.com/www/config" :publishing-directory "/ssh:Naro:~/www/phundrak.com/config"
:recursive t :recursive t
:language "en" :language "en"
:publishing-function org-publish-attachment) :publishing-function org-publish-attachment)
@ -2961,10 +2979,10 @@
#+NAME: org-proj-lang-html #+NAME: org-proj-lang-html
#+BEGIN_SRC emacs-lisp :tangle no #+BEGIN_SRC emacs-lisp :tangle no
("langue-phundrak-com-org" ("langue-phundrak-com-org"
:base-directory "~/Documents/conlanging/web/" :base-directory "~/Documents/conlanging/content/"
:base-extension "org" :base-extension "org"
:exclude "\\./\\(CONTRIB\\|README\\|head\\|temp\\|svg-ink\\).*" :exclude "\\./\\(CONTRIB\\|README\\|head\\|temp\\|svg-ink\\).*"
:publishing-directory "/ssh:Naro:~/www/phundrak.com/langue-phundrak-com/web" :publishing-directory "/ssh:Naro:~/www/phundrak.com/langue/"
:recursive t :recursive t
:language "fr" :language "fr"
:publishing-function org-html-publish-to-html :publishing-function org-html-publish-to-html
@ -2977,10 +2995,10 @@
#+NAME: org-proj-lang-pdf #+NAME: org-proj-lang-pdf
#+BEGIN_SRC emacs-lisp :tangle no #+BEGIN_SRC emacs-lisp :tangle no
("langue-phundrak-com-pdf" ("langue-phundrak-com-pdf"
:base-directory "~/Documents/conlanging/web/" :base-directory "~/Documents/conlanging/content/"
:base-extension "org" :base-extension "org"
:exclude "\\./\\(CONTRIB\\|README\\|index\\|head\\|temp\\|svg-ink\\).*" :exclude "\\./\\(CONTRIB\\|README\\|index\\|head\\|temp\\|svg-ink\\).*"
:publishing-directory "/ssh:Naro:~/www/phundrak.com/langue-phundrak-com/web" :publishing-directory "/ssh:Naro:~/www/phundrak.com/langue/"
:recursive t :recursive t
:language "fr" :language "fr"
:publishing-function org-latex-publish-to-pdf :publishing-function org-latex-publish-to-pdf
@ -2993,9 +3011,9 @@
#+NAME: org-proj-lang-static #+NAME: org-proj-lang-static
#+BEGIN_SRC emacs-lisp :tangle no #+BEGIN_SRC emacs-lisp :tangle no
("langue-phundrak-com-static" ("langue-phundrak-com-static"
:base-directory "~/Documents/conlanging/web/" :base-directory "~/Documents/conlanging/content/"
:base-extension "css\\|scss\\|dart\\|js\\|png\\|jpg\\|gif\\|svg\\|jpeg\\|ttf\\|woff\\|txt\\|epub" :base-extension "css\\|scss\\|dart\\|js\\|png\\|jpg\\|gif\\|webp\\|svg\\|jpeg\\|ttf\\|woff\\|txt\\|epub"
:publishing-directory "/ssh:Naro:~/www/phundrak.com/langue-phundrak-com/web" :publishing-directory "/ssh:Naro:~/www/phundrak.com/langue/"
:recursive t :recursive t
:language "fr" :language "fr"
:publishing-function org-publish-attachment) :publishing-function org-publish-attachment)

View File

@ -1,5 +1,5 @@
#+TITLE: Phundraks tmux config #+TITLE: Tmux config
#+INCLUDE: headers.org #+INCLUDE: headers
#+OPTIONS: auto-id:t #+OPTIONS: auto-id:t
#+HTML_HEAD_EXTRA: <meta name="description" content="Phundrak's tmux config" /> #+HTML_HEAD_EXTRA: <meta name="description" content="Phundrak's tmux config" />
#+HTML_HEAD_EXTRA: <meta property="og:title" content="Phundrak's tmux config" /> #+HTML_HEAD_EXTRA: <meta property="og:title" content="Phundrak's tmux config" />