set locale and terminal config
This commit is contained in:
+202
-65
@@ -1,3 +1,8 @@
|
|||||||
|
:DOC-CONFIG:
|
||||||
|
#+property: header-args: mkdirp yes :comments no
|
||||||
|
#+startup: fold
|
||||||
|
:END:
|
||||||
|
|
||||||
#+title: PWL Arch Linux Config
|
#+title: PWL Arch Linux Config
|
||||||
#+OPTIONS: toc:3
|
#+OPTIONS: toc:3
|
||||||
|
|
||||||
@@ -12,6 +17,7 @@
|
|||||||
- [[#zshrc][.zshrc]]
|
- [[#zshrc][.zshrc]]
|
||||||
- [[#bashrc][.bashrc]]
|
- [[#bashrc][.bashrc]]
|
||||||
- [[#autostartsh][autostart.sh]]
|
- [[#autostartsh][autostart.sh]]
|
||||||
|
- [[#alacrittytoml][alacritty.toml]]
|
||||||
- [[#package-management][Package Management]]
|
- [[#package-management][Package Management]]
|
||||||
- [[#arch-and-aur-packages][Arch and AUR Packages]]
|
- [[#arch-and-aur-packages][Arch and AUR Packages]]
|
||||||
- [[#base-system][Base System]]
|
- [[#base-system][Base System]]
|
||||||
@@ -19,6 +25,8 @@
|
|||||||
- [[#network-manager][Network Manager]]
|
- [[#network-manager][Network Manager]]
|
||||||
- [[#man-pages-and-texinfo][Man Pages and Texinfo]]
|
- [[#man-pages-and-texinfo][Man Pages and Texinfo]]
|
||||||
- [[#build-tools][Build Tools]]
|
- [[#build-tools][Build Tools]]
|
||||||
|
- [[#system-locale][System Locale]]
|
||||||
|
- [[#keyboard-layout][Keyboard Layout]]
|
||||||
- [[#desktop-environments-and-window-manager][Desktop Environments and Window Manager]]
|
- [[#desktop-environments-and-window-manager][Desktop Environments and Window Manager]]
|
||||||
- [[#lightdm][LightDM]]
|
- [[#lightdm][LightDM]]
|
||||||
- [[#gnome][GNOME]]
|
- [[#gnome][GNOME]]
|
||||||
@@ -33,10 +41,13 @@
|
|||||||
- [[#aliases][Aliases]]
|
- [[#aliases][Aliases]]
|
||||||
- [[#zsh][ZSH]]
|
- [[#zsh][ZSH]]
|
||||||
- [[#bash][Bash]]
|
- [[#bash][Bash]]
|
||||||
|
- [[#alacritty][Alacritty]]
|
||||||
|
- [[#font][Font]]
|
||||||
- [[#theming][Theming]]
|
- [[#theming][Theming]]
|
||||||
- [[#doom-emacs-2][Doom Emacs]]
|
- [[#doom-emacs-2][Doom Emacs]]
|
||||||
- [[#vscode-1][VSCode]]
|
- [[#vscode-1][VSCode]]
|
||||||
- [[#qtile-1][Qtile]]
|
- [[#qtile-1][Qtile]]
|
||||||
|
- [[#alacritty-1][Alacritty]]
|
||||||
- [[#git][Git]]
|
- [[#git][Git]]
|
||||||
- [[#installation][Installation]]
|
- [[#installation][Installation]]
|
||||||
- [[#configuration][Configuration]]
|
- [[#configuration][Configuration]]
|
||||||
@@ -73,7 +84,7 @@ This is used to initialize all files that are accessed from multiple places in t
|
|||||||
|
|
||||||
** packages.txt
|
** packages.txt
|
||||||
contains all Arch and AUR packages
|
contains all Arch and AUR packages
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
# DO NOT EDIT THIS FILE DIRECTLY
|
# DO NOT EDIT THIS FILE DIRECTLY
|
||||||
# This is a file generated from a literate programing source file
|
# This is a file generated from a literate programing source file
|
||||||
# You should make any changes there and regenerate it from Emacs org-mode
|
# You should make any changes there and regenerate it from Emacs org-mode
|
||||||
@@ -276,12 +287,20 @@ We start by simply defining the standard headers used by the three files. These
|
|||||||
# You should make any changes there and regenerate it from Emacs org-mode
|
# You should make any changes there and regenerate it from Emacs org-mode
|
||||||
# using org-babel-tangle (C-c C-v t)
|
# using org-babel-tangle (C-c C-v t)
|
||||||
|
|
||||||
|
#+end_src
|
||||||
|
** alacritty.toml
|
||||||
|
#+begin_src toml :tangle ~/.config/alacritty/alacritty.toml :mkdirp yes
|
||||||
|
# DO NOT EDIT THIS FILE DIRECTLY
|
||||||
|
# This is a file generated from a literate programing source file
|
||||||
|
# You should make any changes there and regenerate it from Emacs org-mode
|
||||||
|
# using org-babel-tangle (C-c C-v t)
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
* Package Management
|
* Package Management
|
||||||
** Arch and AUR Packages
|
** Arch and AUR Packages
|
||||||
*** Yay
|
*** Yay
|
||||||
**** Prerequisites
|
**** Prerequisites
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
git
|
git
|
||||||
base-devel
|
base-devel
|
||||||
#+end_src
|
#+end_src
|
||||||
@@ -300,7 +319,7 @@ if ! command -v "$command_name" &> /dev/null; then
|
|||||||
fi
|
fi
|
||||||
#+end_src
|
#+end_src
|
||||||
after installation add yay to the packages list to ensure it doesn't delete itself
|
after installation add yay to the packages list to ensure it doesn't delete itself
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
yay
|
yay
|
||||||
#+end_src
|
#+end_src
|
||||||
*** Package Installation
|
*** Package Installation
|
||||||
@@ -330,7 +349,7 @@ yay -S --needed `grep -v '^#' pkg-list.txt`
|
|||||||
* Base System
|
* Base System
|
||||||
** Arch Linux
|
** Arch Linux
|
||||||
the following packages are required for basic operation and should never be deleted
|
the following packages are required for basic operation and should never be deleted
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
amd-ucode
|
amd-ucode
|
||||||
base
|
base
|
||||||
efibootmgr
|
efibootmgr
|
||||||
@@ -345,7 +364,7 @@ sudo
|
|||||||
** Network Manager
|
** Network Manager
|
||||||
*** Installation
|
*** Installation
|
||||||
This config uses the [[https://wiki.archlinux.org/title/NetworkManager][NetworkManager]]
|
This config uses the [[https://wiki.archlinux.org/title/NetworkManager][NetworkManager]]
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
networkmanager
|
networkmanager
|
||||||
#+end_src
|
#+end_src
|
||||||
after being installed it also needs to be enabled
|
after being installed it also needs to be enabled
|
||||||
@@ -359,22 +378,57 @@ fi
|
|||||||
#+end_src
|
#+end_src
|
||||||
*** TODO Networks
|
*** TODO Networks
|
||||||
|
|
||||||
|
|
||||||
** [[https://wiki.archlinux.org/title/Man_page][Man Pages]] and [[https://wiki.archlinux.org/title/GNU#Texinfo][Texinfo]]
|
** [[https://wiki.archlinux.org/title/Man_page][Man Pages]] and [[https://wiki.archlinux.org/title/GNU#Texinfo][Texinfo]]
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
man-db
|
man-db
|
||||||
man-pages
|
man-pages
|
||||||
texinfo
|
texinfo
|
||||||
#+end_src
|
#+end_src
|
||||||
** Build Tools
|
** Build Tools
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
cmake
|
cmake
|
||||||
make
|
make
|
||||||
#+end_src
|
#+end_src
|
||||||
|
** System Locale
|
||||||
|
#+begin_src conf :tangle "/sudo::/etc/locale.conf"
|
||||||
|
# DO NOT EDIT THIS FILE DIRECTLY
|
||||||
|
# This is a file generated from a literate programing source file
|
||||||
|
# You should make any changes there and regenerate it from Emacs org-mode
|
||||||
|
# using org-babel-tangle (C-c C-v t)
|
||||||
|
|
||||||
|
LANG=en_US.UTF-8
|
||||||
|
LC_CTYPE=de_DE.UTF-8
|
||||||
|
LC_NUMERIC=de_DE.UTF-8
|
||||||
|
LC_TIME=de_DE.UTF-8
|
||||||
|
LC_COLLATE=en_US.UTF-8
|
||||||
|
LC_MONETARY=de_DE.UTF-8
|
||||||
|
LC_MESSAGES=en_US.UTF-8
|
||||||
|
LC_PAPER=de_DE.UTF-8
|
||||||
|
LC_NAME=en_US.UTF-8
|
||||||
|
LC_ADDRESS=de_DE.UTF-8
|
||||||
|
LC_TELEPHONE=de_DE.UTF-8
|
||||||
|
LC_MEASUREMENTS=de_DE.UTF-8
|
||||||
|
LC_IDENTIFICATION=en_US.UTF-8
|
||||||
|
LC_ALL=
|
||||||
|
#+end_src
|
||||||
|
** Keyboard Layout
|
||||||
|
*** vconsole
|
||||||
|
#+begin_src conf :tangle "/sudo::/etc/vconsole.conf"
|
||||||
|
# DO NOT EDIT THIS FILE DIRECTLY
|
||||||
|
# This is a file generated from a literate programing source file
|
||||||
|
# You should make any changes there and regenerate it from Emacs org-mode
|
||||||
|
# using org-babel-tangle (C-c C-v t)
|
||||||
|
|
||||||
|
KEYMAP=de-latin1
|
||||||
|
#+end_src
|
||||||
|
*** Xorg
|
||||||
|
#+begin_src shell :tangle update.sh
|
||||||
|
localectl set-x11-keymap --no-convert de
|
||||||
|
#+end_src
|
||||||
* Desktop Environments and Window Manager
|
* Desktop Environments and Window Manager
|
||||||
** [[https://wiki.archlinux.org/title/LightDM][LightDM]]
|
** [[https://wiki.archlinux.org/title/LightDM][LightDM]]
|
||||||
install the required packages
|
install the required packages
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
lightdm
|
lightdm
|
||||||
lightdm-gtk-greeter
|
lightdm-gtk-greeter
|
||||||
#+end_src
|
#+end_src
|
||||||
@@ -389,11 +443,11 @@ fi
|
|||||||
|
|
||||||
** GNOME
|
** GNOME
|
||||||
[[https://wiki.archlinux.org/title/GNOME][GNOME]] is installed as a fallback in case the main Window Manager breaks
|
[[https://wiki.archlinux.org/title/GNOME][GNOME]] is installed as a fallback in case the main Window Manager breaks
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
gnome
|
gnome
|
||||||
#+end_src
|
#+end_src
|
||||||
*** TODO GNOME programs
|
*** TODO GNOME programs
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
baobab
|
baobab
|
||||||
epiphany
|
epiphany
|
||||||
evince
|
evince
|
||||||
@@ -463,7 +517,7 @@ yelp
|
|||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
*** Installation
|
*** Installation
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
qtile
|
qtile
|
||||||
#+end_src
|
#+end_src
|
||||||
*** Import Qtile Dependencies
|
*** Import Qtile Dependencies
|
||||||
@@ -484,7 +538,7 @@ Defines are stored in a separate ~defines.py~ file
|
|||||||
#+end_src
|
#+end_src
|
||||||
**** Terminal
|
**** Terminal
|
||||||
Install [[https://alacritty.org/][Alacritty]]
|
Install [[https://alacritty.org/][Alacritty]]
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
alacritty
|
alacritty
|
||||||
#+end_src
|
#+end_src
|
||||||
and set it as default
|
and set it as default
|
||||||
@@ -609,7 +663,7 @@ def autostart():
|
|||||||
*** Custom Microphone Widgets
|
*** Custom Microphone Widgets
|
||||||
Based on the [[https://docs.qtile.org/en/stable/manual/ref/widgets.html#volume][Volume]] widget.
|
Based on the [[https://docs.qtile.org/en/stable/manual/ref/widgets.html#volume][Volume]] widget.
|
||||||
It requires some packages to be installed
|
It requires some packages to be installed
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
python-psutil
|
python-psutil
|
||||||
alsa-utils
|
alsa-utils
|
||||||
#+end_src
|
#+end_src
|
||||||
@@ -876,7 +930,7 @@ def system_widgets(size,fontsize):
|
|||||||
#+end_src
|
#+end_src
|
||||||
**** Datetime
|
**** Datetime
|
||||||
These require the [[https://www.keshikan.net/fonts-e.html][DSEG Font]]
|
These require the [[https://www.keshikan.net/fonts-e.html][DSEG Font]]
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
ttf-dseg
|
ttf-dseg
|
||||||
#+end_src
|
#+end_src
|
||||||
#+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes
|
#+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes
|
||||||
@@ -953,7 +1007,7 @@ top_screen_res = [1440,900]
|
|||||||
#+end_src
|
#+end_src
|
||||||
**** Getting Screen Information
|
**** Getting Screen Information
|
||||||
***** Dependencies
|
***** Dependencies
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
xorg-xrandr
|
xorg-xrandr
|
||||||
#+end_src
|
#+end_src
|
||||||
#+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes
|
#+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes
|
||||||
@@ -1097,7 +1151,7 @@ groups = [Group(icon, **kwargs) for icon, name, key, kwargs in main_groups_info]
|
|||||||
dropdown_groups_info = []
|
dropdown_groups_info = []
|
||||||
#+end_src
|
#+end_src
|
||||||
***** [[https://christian.amsuess.com/tools/arandr/][ARandR]]
|
***** [[https://christian.amsuess.com/tools/arandr/][ARandR]]
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
arandr
|
arandr
|
||||||
#+end_src
|
#+end_src
|
||||||
#+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes
|
#+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes
|
||||||
@@ -1124,7 +1178,7 @@ dropdown_groups_info.append((name,
|
|||||||
['mod1','control'],'space'))
|
['mod1','control'],'space'))
|
||||||
#+end_src
|
#+end_src
|
||||||
***** [[https://htop.dev/][htop]]
|
***** [[https://htop.dev/][htop]]
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
htop
|
htop
|
||||||
#+end_src
|
#+end_src
|
||||||
#+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes
|
#+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes
|
||||||
@@ -1136,7 +1190,7 @@ dropdown_groups_info.append((name,
|
|||||||
['control','shift'],'Escape'))
|
['control','shift'],'Escape'))
|
||||||
#+end_src
|
#+end_src
|
||||||
***** Audio Settings
|
***** Audio Settings
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
pavucontrol
|
pavucontrol
|
||||||
#+end_src
|
#+end_src
|
||||||
#+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes
|
#+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes
|
||||||
@@ -1148,7 +1202,7 @@ dropdown_groups_info.append((name,
|
|||||||
['mod1','control'],'a'))
|
['mod1','control'],'a'))
|
||||||
#+end_src
|
#+end_src
|
||||||
***** DropDown [[https://wiki.archlinux.org/title/PCManFM][PCManFM]]
|
***** DropDown [[https://wiki.archlinux.org/title/PCManFM][PCManFM]]
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
pcmanfm-gtk3
|
pcmanfm-gtk3
|
||||||
#+end_src
|
#+end_src
|
||||||
#+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes
|
#+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes
|
||||||
@@ -1161,7 +1215,7 @@ dropdown_groups_info.append((name,
|
|||||||
['mod1','control'],'e'))
|
['mod1','control'],'e'))
|
||||||
#+end_src
|
#+end_src
|
||||||
***** [[https://bitwarden.com/][Bitwarden]]
|
***** [[https://bitwarden.com/][Bitwarden]]
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
bitwarden
|
bitwarden
|
||||||
#+end_src
|
#+end_src
|
||||||
#+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes
|
#+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes
|
||||||
@@ -1175,7 +1229,7 @@ dropdown_groups_info.append((name,
|
|||||||
['mod1','control'],'b'))
|
['mod1','control'],'b'))
|
||||||
#+end_src
|
#+end_src
|
||||||
***** WhatsApp
|
***** WhatsApp
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
whatsapp-nativefier
|
whatsapp-nativefier
|
||||||
#+end_src
|
#+end_src
|
||||||
#+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes
|
#+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes
|
||||||
@@ -1193,7 +1247,7 @@ dropdown_groups_info.append((name,
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
***** [[https://www.signal.org/][Signal]]
|
***** [[https://www.signal.org/][Signal]]
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
signal-desktop
|
signal-desktop
|
||||||
#+end_src
|
#+end_src
|
||||||
#+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes
|
#+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes
|
||||||
@@ -1211,7 +1265,7 @@ dropdown_groups_info.append((name,
|
|||||||
['mod1','control'],'i'))
|
['mod1','control'],'i'))
|
||||||
#+end_src
|
#+end_src
|
||||||
***** [[https://qalculate.github.io/][Qalculate!]]
|
***** [[https://qalculate.github.io/][Qalculate!]]
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
qalculate-gtk
|
qalculate-gtk
|
||||||
#+end_src
|
#+end_src
|
||||||
#+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes
|
#+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes
|
||||||
@@ -1228,7 +1282,7 @@ dropdown_groups_info.append((name,
|
|||||||
['mod1','control'],'q'))
|
['mod1','control'],'q'))
|
||||||
#+end_src
|
#+end_src
|
||||||
***** [[https://slack.com][Slack]]
|
***** [[https://slack.com][Slack]]
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
slack-desktop
|
slack-desktop
|
||||||
#+end_src
|
#+end_src
|
||||||
#+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes
|
#+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes
|
||||||
@@ -1246,7 +1300,7 @@ dropdown_groups_info.append((name,
|
|||||||
#+end_src
|
#+end_src
|
||||||
***** [[https://www.deepl.com/translator][DeepL]]
|
***** [[https://www.deepl.com/translator][DeepL]]
|
||||||
DeepL is being used inside a [[https://surf.suckless.org/][surf]] DropDown
|
DeepL is being used inside a [[https://surf.suckless.org/][surf]] DropDown
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
surf
|
surf
|
||||||
#+end_src
|
#+end_src
|
||||||
#+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes
|
#+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes
|
||||||
@@ -1263,7 +1317,7 @@ dropdown_groups_info.append((name,
|
|||||||
['mod1','control'],'d'))
|
['mod1','control'],'d'))
|
||||||
#+end_src
|
#+end_src
|
||||||
***** [[https://telegram.org/][Telegram]]
|
***** [[https://telegram.org/][Telegram]]
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
telegram-desktop
|
telegram-desktop
|
||||||
#+end_src
|
#+end_src
|
||||||
#+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes
|
#+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes
|
||||||
@@ -1396,7 +1450,7 @@ keys.extend([
|
|||||||
])
|
])
|
||||||
#+end_src
|
#+end_src
|
||||||
**** Audio
|
**** Audio
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
pulseaudio-ctl
|
pulseaudio-ctl
|
||||||
alsa-utils
|
alsa-utils
|
||||||
#+end_src
|
#+end_src
|
||||||
@@ -1412,7 +1466,7 @@ keys.extend([
|
|||||||
])
|
])
|
||||||
#+end_src
|
#+end_src
|
||||||
**** Media Playback
|
**** Media Playback
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
playerctl
|
playerctl
|
||||||
#+end_src
|
#+end_src
|
||||||
#+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes
|
#+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes
|
||||||
@@ -1426,7 +1480,7 @@ keys.extend([
|
|||||||
])
|
])
|
||||||
#+end_src
|
#+end_src
|
||||||
**** Monitor Backlight
|
**** Monitor Backlight
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
acpilight
|
acpilight
|
||||||
#+end_src
|
#+end_src
|
||||||
#+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes
|
#+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes
|
||||||
@@ -1449,7 +1503,7 @@ keys.extend([
|
|||||||
])
|
])
|
||||||
#+end_src
|
#+end_src
|
||||||
***** PCManFM
|
***** PCManFM
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
pcmanfm-gtk3
|
pcmanfm-gtk3
|
||||||
#+end_src
|
#+end_src
|
||||||
#+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes
|
#+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes
|
||||||
@@ -1470,7 +1524,7 @@ keys.extend([
|
|||||||
])
|
])
|
||||||
#+end_src
|
#+end_src
|
||||||
***** Screenshot Tool
|
***** Screenshot Tool
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
gscreenshot
|
gscreenshot
|
||||||
#+end_src
|
#+end_src
|
||||||
#+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes
|
#+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes
|
||||||
@@ -1485,7 +1539,7 @@ keys.extend([
|
|||||||
])
|
])
|
||||||
#+end_src
|
#+end_src
|
||||||
***** App Launcher
|
***** App Launcher
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
rofi
|
rofi
|
||||||
#+end_src
|
#+end_src
|
||||||
#+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes
|
#+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes
|
||||||
@@ -1514,7 +1568,7 @@ wmname = 'LG3D'
|
|||||||
** Doom Emacs
|
** Doom Emacs
|
||||||
*** Installation
|
*** Installation
|
||||||
**** [[https://github.com/doomemacs/doomemacs#prerequisites][Prerequisites]]
|
**** [[https://github.com/doomemacs/doomemacs#prerequisites][Prerequisites]]
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
git
|
git
|
||||||
emacs
|
emacs
|
||||||
ripgrep
|
ripgrep
|
||||||
@@ -1727,7 +1781,7 @@ export PATH=$PATH:~/.config/emacs/bin
|
|||||||
**** Visual Settings
|
**** Visual Settings
|
||||||
***** Font
|
***** Font
|
||||||
install Ubuntu Mono
|
install Ubuntu Mono
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
ttf-ubuntu-font-family
|
ttf-ubuntu-font-family
|
||||||
ttf-ubuntu-mono-nerd
|
ttf-ubuntu-mono-nerd
|
||||||
ttf-ubuntu-nerd
|
ttf-ubuntu-nerd
|
||||||
@@ -1763,7 +1817,7 @@ emacs --daemon &
|
|||||||
*** Multilanguage Spellcheck
|
*** Multilanguage Spellcheck
|
||||||
Enables use of multiple dictionaries. In my case German and English
|
Enables use of multiple dictionaries. In my case German and English
|
||||||
install dependencies
|
install dependencies
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
hunspell
|
hunspell
|
||||||
hunspell-de
|
hunspell-de
|
||||||
hunspell-en_us
|
hunspell-en_us
|
||||||
@@ -1779,7 +1833,7 @@ and configure it
|
|||||||
|
|
||||||
*** TODO LaTeX
|
*** TODO LaTeX
|
||||||
install texlive
|
install texlive
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
biber
|
biber
|
||||||
texlive-basic
|
texlive-basic
|
||||||
texlive-bibtexextra
|
texlive-bibtexextra
|
||||||
@@ -1840,7 +1894,7 @@ This function could also become useful if we ever want to extend the compile com
|
|||||||
|
|
||||||
*** Org Mode
|
*** Org Mode
|
||||||
install dependencies
|
install dependencies
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
xclip
|
xclip
|
||||||
gnome-screenshot
|
gnome-screenshot
|
||||||
graphviz
|
graphviz
|
||||||
@@ -1952,7 +2006,7 @@ Because the normal shortcut for `org-open-at-point` is quite cumbersome I want i
|
|||||||
#+end_src
|
#+end_src
|
||||||
**** Bibliography
|
**** Bibliography
|
||||||
***** Enabling Zotero Links
|
***** Enabling Zotero Links
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
zotero
|
zotero
|
||||||
#+end_src
|
#+end_src
|
||||||
Following [[https://www.riccardopinosio.com/blog/posts/zotero_notes_article.html#opening-zotero-pdf-from-org-roam][this guide]] we enable using zotero links with the following code
|
Following [[https://www.riccardopinosio.com/blog/posts/zotero_notes_article.html#opening-zotero-pdf-from-org-roam][this guide]] we enable using zotero links with the following code
|
||||||
@@ -2014,7 +2068,7 @@ This is especially useful for Org Mode as it allows for better code editing insi
|
|||||||
#+end_src
|
#+end_src
|
||||||
*** TODO Python
|
*** TODO Python
|
||||||
install dependencies
|
install dependencies
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
python-isort
|
python-isort
|
||||||
python-pipenv
|
python-pipenv
|
||||||
python-pytest
|
python-pytest
|
||||||
@@ -2029,12 +2083,12 @@ as per the [[https://github.com/doomemacs/doomemacs/tree/master/modules/tools/de
|
|||||||
|
|
||||||
** VSCode
|
** VSCode
|
||||||
*** Installation
|
*** Installation
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
visual-studio-code-bin
|
visual-studio-code-bin
|
||||||
#+end_src
|
#+end_src
|
||||||
*** Add-On Configuration
|
*** Add-On Configuration
|
||||||
**** Config File Header
|
**** Config File Header
|
||||||
#+begin_src shell :tangle vscode-extensions.txt
|
#+begin_src conf :tangle vscode-extensions.txt
|
||||||
# DO NOT EDIT THIS FILE DIRECTLY
|
# DO NOT EDIT THIS FILE DIRECTLY
|
||||||
# This is a file generated from a literate programing source file
|
# This is a file generated from a literate programing source file
|
||||||
# You should make any changes there and regenerate it from Emacs org-mode
|
# You should make any changes there and regenerate it from Emacs org-mode
|
||||||
@@ -2043,21 +2097,21 @@ visual-studio-code-bin
|
|||||||
#+end_src
|
#+end_src
|
||||||
**** Basic Look & Feel Extensions
|
**** Basic Look & Feel Extensions
|
||||||
***** [[https://github.com/VSCodeVim/Vim][Vim Key Bindings]]
|
***** [[https://github.com/VSCodeVim/Vim][Vim Key Bindings]]
|
||||||
#+begin_src shell :tangle vscode-extensions.txt
|
#+begin_src conf :tangle vscode-extensions.txt
|
||||||
vscodevim.vim
|
vscodevim.vim
|
||||||
#+end_src
|
#+end_src
|
||||||
**** Useful Tools
|
**** Useful Tools
|
||||||
***** [[https://github.com/ChristianKohler/PathIntellisense][Path Intellisense]]
|
***** [[https://github.com/ChristianKohler/PathIntellisense][Path Intellisense]]
|
||||||
#+begin_src shell :tangle vscode-extensions.txt
|
#+begin_src conf :tangle vscode-extensions.txt
|
||||||
christian-kohler.path-intellisense
|
christian-kohler.path-intellisense
|
||||||
#+end_src
|
#+end_src
|
||||||
***** [[https://github.com/streetsidesoftware/vscode-spell-checker][Spellcheck]]
|
***** [[https://github.com/streetsidesoftware/vscode-spell-checker][Spellcheck]]
|
||||||
#+begin_src shell :tangle vscode-extensions.txt
|
#+begin_src conf :tangle vscode-extensions.txt
|
||||||
streetsidesoftware.code-spell-checker
|
streetsidesoftware.code-spell-checker
|
||||||
#+end_src
|
#+end_src
|
||||||
**** Languages
|
**** Languages
|
||||||
***** [[https://github.com/Microsoft/vscode-python][Python]]
|
***** [[https://github.com/Microsoft/vscode-python][Python]]
|
||||||
#+begin_src shell :tangle vscode-extensions.txt
|
#+begin_src conf :tangle vscode-extensions.txt
|
||||||
ms-python.python
|
ms-python.python
|
||||||
donjayamanne.python-environment-manager
|
donjayamanne.python-environment-manager
|
||||||
#+end_src
|
#+end_src
|
||||||
@@ -2082,14 +2136,14 @@ done
|
|||||||
** NeoVim
|
** NeoVim
|
||||||
[[https://neovim.io/][NeoVim Documentation]]
|
[[https://neovim.io/][NeoVim Documentation]]
|
||||||
*** Installation
|
*** Installation
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
neovim
|
neovim
|
||||||
#+end_src
|
#+end_src
|
||||||
*** TODO Configuration
|
*** TODO Configuration
|
||||||
* Browser
|
* Browser
|
||||||
** Firefox
|
** Firefox
|
||||||
*** Installation
|
*** Installation
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
firefox
|
firefox
|
||||||
#+end_src
|
#+end_src
|
||||||
*** TODO Configuration
|
*** TODO Configuration
|
||||||
@@ -2110,7 +2164,7 @@ alias rm='rm -i'
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** Git Aliases
|
*** Git Aliases
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
git
|
git
|
||||||
#+end_src
|
#+end_src
|
||||||
#+begin_src shell :tangle ~/alias.sh
|
#+begin_src shell :tangle ~/alias.sh
|
||||||
@@ -2134,7 +2188,7 @@ alias log='git log'
|
|||||||
#+end_src
|
#+end_src
|
||||||
** [[https://www.zsh.org/][ZSH]]
|
** [[https://www.zsh.org/][ZSH]]
|
||||||
*** Installation
|
*** Installation
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
zsh
|
zsh
|
||||||
which
|
which
|
||||||
#+end_src
|
#+end_src
|
||||||
@@ -2146,7 +2200,7 @@ fi
|
|||||||
#+end_src
|
#+end_src
|
||||||
*** [[https://ohmyz.sh/][Oh-My-Zsh]]
|
*** [[https://ohmyz.sh/][Oh-My-Zsh]]
|
||||||
**** Installation
|
**** Installation
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
curl
|
curl
|
||||||
#+end_src
|
#+end_src
|
||||||
install if needed
|
install if needed
|
||||||
@@ -2200,7 +2254,7 @@ plugins=(
|
|||||||
#+end_src
|
#+end_src
|
||||||
*** [[https://github.com/romkatv/powerlevel10k][Powerlevel10k]]
|
*** [[https://github.com/romkatv/powerlevel10k][Powerlevel10k]]
|
||||||
install if needed
|
install if needed
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
git
|
git
|
||||||
#+end_src
|
#+end_src
|
||||||
#+begin_src shell :tangle update.sh
|
#+begin_src shell :tangle update.sh
|
||||||
@@ -2225,7 +2279,7 @@ source path.sh
|
|||||||
#+end_src
|
#+end_src
|
||||||
**** [[https://github.com/dylanaraps/neofetch][neofetch]]
|
**** [[https://github.com/dylanaraps/neofetch][neofetch]]
|
||||||
install
|
install
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
neofetch
|
neofetch
|
||||||
#+end_src
|
#+end_src
|
||||||
and start
|
and start
|
||||||
@@ -2234,7 +2288,7 @@ neofetch
|
|||||||
#+end_src
|
#+end_src
|
||||||
** [[https://www.gnu.org/software/bash/][Bash]]
|
** [[https://www.gnu.org/software/bash/][Bash]]
|
||||||
*** Installation
|
*** Installation
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
bash
|
bash
|
||||||
#+end_src
|
#+end_src
|
||||||
*** Configuration
|
*** Configuration
|
||||||
@@ -2248,7 +2302,7 @@ source path.sh
|
|||||||
#+end_src
|
#+end_src
|
||||||
**** [[https://github.com/dylanaraps/neofetch][neofetch]]
|
**** [[https://github.com/dylanaraps/neofetch][neofetch]]
|
||||||
install
|
install
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
neofetch
|
neofetch
|
||||||
#+end_src
|
#+end_src
|
||||||
and start
|
and start
|
||||||
@@ -2256,6 +2310,39 @@ and start
|
|||||||
neofetch
|
neofetch
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
* Alacritty
|
||||||
|
** Font
|
||||||
|
#+begin_src toml :tangle ~/.config/alacritty/alacritty.toml :mkdirp yes
|
||||||
|
[font]
|
||||||
|
size = xx
|
||||||
|
|
||||||
|
[font.bold]
|
||||||
|
family = "UbuntuMonoNerdFont"
|
||||||
|
style = "Bold"
|
||||||
|
|
||||||
|
[font.bold_italic]
|
||||||
|
family = "UbuntuMonoNerdFont"
|
||||||
|
style = "Bold Italic"
|
||||||
|
|
||||||
|
[font.italic]
|
||||||
|
family = "UbuntuMonoNerdFont"
|
||||||
|
style = "Italic"
|
||||||
|
|
||||||
|
[font.normal]
|
||||||
|
family = "UbuntuMonoNerdFont"
|
||||||
|
style = "Regular"
|
||||||
|
#+end_src
|
||||||
|
The size is set via the autostart script depending on the system type (Laptop/Desktop)
|
||||||
|
#+begin_src shell :mkdirp yes :tangle ~/.config/autostart.sh
|
||||||
|
# Check if the chassis type is "laptop"
|
||||||
|
if [ "$chassis_type" == "laptop" ]; then
|
||||||
|
# set font size for alacritty
|
||||||
|
sed -i 's/size = xx/size = 11/' ~/.config/alacritty/alacritty.toml
|
||||||
|
else
|
||||||
|
# set font size for alacritty
|
||||||
|
sed -i 's/size = xx/size = 14/' ~/.config/alacritty/alacritty.toml
|
||||||
|
fi
|
||||||
|
#+end_src
|
||||||
* Theming
|
* Theming
|
||||||
This Config applies the [[https://github.com/gruvbox-community/gruvbox][Gruvbox Theme]] to as many programs as possible
|
This Config applies the [[https://github.com/gruvbox-community/gruvbox][Gruvbox Theme]] to as many programs as possible
|
||||||
** Doom Emacs
|
** Doom Emacs
|
||||||
@@ -2268,7 +2355,7 @@ and then set it
|
|||||||
(setq doom-theme 'gruvbox-dark-hard)
|
(setq doom-theme 'gruvbox-dark-hard)
|
||||||
#+end_src
|
#+end_src
|
||||||
** VSCode
|
** VSCode
|
||||||
#+begin_src shell :tangle vscode-extensions.txt
|
#+begin_src conf :tangle vscode-extensions.txt
|
||||||
jdinhlife.gruvbox
|
jdinhlife.gruvbox
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
@@ -2302,26 +2389,76 @@ magenta_color = ['#ff79c6','#ff79c6']
|
|||||||
# cyan
|
# cyan
|
||||||
cyan_color = ['#8be9fd','#8be9fd']
|
cyan_color = ['#8be9fd','#8be9fd']
|
||||||
#+end_src
|
#+end_src
|
||||||
|
** Alacritty
|
||||||
|
#+begin_src toml :tangle ~/.config/alacritty/alacritty.toml :mkdirp yes
|
||||||
|
[colors.bright]
|
||||||
|
black = "#928374"
|
||||||
|
blue = "#83a598"
|
||||||
|
cyan = "#8ec07c"
|
||||||
|
green = "#b8bb26"
|
||||||
|
magenta = "#d3869b"
|
||||||
|
red = "#fb4934"
|
||||||
|
white = "#ebdbb2"
|
||||||
|
yellow = "#fabd2f"
|
||||||
|
|
||||||
|
[colors.cursor]
|
||||||
|
cursor = "CellForeground"
|
||||||
|
text = "CellBackground"
|
||||||
|
|
||||||
|
[colors.dim]
|
||||||
|
black = "#32302f"
|
||||||
|
blue = "#076678"
|
||||||
|
cyan = "#427b58"
|
||||||
|
green = "#79740e"
|
||||||
|
magenta = "#8f3f71"
|
||||||
|
red = "#9d0006"
|
||||||
|
white = "#928374"
|
||||||
|
yellow = "#b57614"
|
||||||
|
|
||||||
|
[colors.normal]
|
||||||
|
black = "#282828"
|
||||||
|
blue = "#458588"
|
||||||
|
cyan = "#689d6a"
|
||||||
|
green = "#98971a"
|
||||||
|
magenta = "#b16286"
|
||||||
|
red = "#cc241d"
|
||||||
|
white = "#a89984"
|
||||||
|
yellow = "#d79921"
|
||||||
|
|
||||||
|
[colors.primary]
|
||||||
|
background = "#282828"
|
||||||
|
bright_foreground = "#f9f5d7"
|
||||||
|
dim_foreground = "#f2e5bc"
|
||||||
|
foreground = "#fbf1c7"
|
||||||
|
|
||||||
|
[colors.selection]
|
||||||
|
background = "CellForeground"
|
||||||
|
text = "CellBackground"
|
||||||
|
|
||||||
|
[colors.vi_mode_cursor]
|
||||||
|
cursor = "CellForeground"
|
||||||
|
text = "CellBackground"
|
||||||
|
#+end_src
|
||||||
* Git
|
* Git
|
||||||
** Installation
|
** Installation
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
git
|
git
|
||||||
#+end_src
|
#+end_src
|
||||||
** Configuration
|
** Configuration
|
||||||
set user
|
set user
|
||||||
#+begin_src shell :tangle ~/.gitconfig
|
#+begin_src conf :tangle ~/.gitconfig
|
||||||
[user]
|
[user]
|
||||||
name = paul-loedige
|
name = paul-loedige
|
||||||
email = paul@gve-loedige.de
|
email = paul@gve-loedige.de
|
||||||
#+end_src
|
#+end_src
|
||||||
set default branch to =main=
|
set default branch to =main=
|
||||||
#+begin_src shell :tangle ~/.gitconfig
|
#+begin_src conf :tangle ~/.gitconfig
|
||||||
[init]
|
[init]
|
||||||
defaultBranch = main
|
defaultBranch = main
|
||||||
#+end_src
|
#+end_src
|
||||||
* Miniconda
|
* Miniconda
|
||||||
** Installation
|
** Installation
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
miniconda3
|
miniconda3
|
||||||
#+end_src
|
#+end_src
|
||||||
universal link
|
universal link
|
||||||
@@ -2359,27 +2496,27 @@ auto_activate_base: false
|
|||||||
* TODO Misc Programs
|
* TODO Misc Programs
|
||||||
** Zathura
|
** Zathura
|
||||||
*** Installation
|
*** Installation
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
zathura
|
zathura
|
||||||
#+end_src
|
#+end_src
|
||||||
*** enable synctex
|
*** enable synctex
|
||||||
#+begin_src shell :mkdirp yes :tangle ~/.config/zathura/zathurarc
|
#+begin_src conf :mkdirp yes :tangle ~/.config/zathura/zathurarc
|
||||||
set synctex true
|
set synctex true
|
||||||
#+end_src
|
#+end_src
|
||||||
** Nextcloud
|
** Nextcloud
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
nextcloud-client
|
nextcloud-client
|
||||||
#+end_src
|
#+end_src
|
||||||
** Bitwarden
|
** Bitwarden
|
||||||
*** Installation
|
*** Installation
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
bitwarden
|
bitwarden
|
||||||
#+end_src
|
#+end_src
|
||||||
*** TODO Configuration
|
*** TODO Configuration
|
||||||
|
|
||||||
** Inkscape
|
** Inkscape
|
||||||
*** Installation
|
*** Installation
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
inkscape
|
inkscape
|
||||||
#+end_src
|
#+end_src
|
||||||
* Manual Tasks after tangling
|
* Manual Tasks after tangling
|
||||||
|
|||||||
Reference in New Issue
Block a user