modified for desktop usage

This commit is contained in:
paul-loedige
2024-05-20 20:27:19 +02:00
parent 65605a59b7
commit 8b5085902e
+536 -25
View File
@@ -32,6 +32,9 @@
- [[#keyboard-layout][Keyboard Layout]] - [[#keyboard-layout][Keyboard Layout]]
- [[#ntp][NTP]] - [[#ntp][NTP]]
- [[#audio][Audio]] - [[#audio][Audio]]
- [[#additional-firmware][Additional Firmware]]
- [[#ntfs-compatibility][NTFS Compatibility]]
- [[#timeshift][Timeshift]]
- [[#desktop-environments-and-window-manager][Desktop Environments and Window Manager]] - [[#desktop-environments-and-window-manager][Desktop Environments and Window Manager]]
- [[#lightdm][LightDM]] - [[#lightdm][LightDM]]
- [[#xfce][Xfce]] - [[#xfce][Xfce]]
@@ -58,13 +61,17 @@
- [[#xorg][Xorg]] - [[#xorg][Xorg]]
- [[#gtk][GTK]] - [[#gtk][GTK]]
- [[#rofi][Rofi]] - [[#rofi][Rofi]]
- [[#dunst-urgency-levels][Dunst Urgency Levels]]
- [[#bluetooth][Bluetooth]] - [[#bluetooth][Bluetooth]]
- [[#installation][Installation]] - [[#installation][Installation]]
- [[#activate-systemd-service][Activate systemd Service]] - [[#activate-systemd-service][Activate systemd Service]]
- [[#blueman-applet][Blueman Applet]] - [[#blueman-applet][Blueman Applet]]
- [[#space-mouse-support][Space Mouse Support]]
- [[#daemon][Daemon]]
- [[#git][Git]] - [[#git][Git]]
- [[#installation-1][Installation]] - [[#installation-1][Installation]]
- [[#configuration][Configuration]] - [[#configuration][Configuration]]
- [[#meld][Meld]]
- [[#miniconda][Miniconda]] - [[#miniconda][Miniconda]]
- [[#installation-2][Installation]] - [[#installation-2][Installation]]
- [[#zsh-special-settings][ZSH special settings]] - [[#zsh-special-settings][ZSH special settings]]
@@ -115,11 +122,17 @@
- [[#hyphenation-rules][Hyphenation Rules]] - [[#hyphenation-rules][Hyphenation Rules]]
- [[#thesaurus][Thesaurus]] - [[#thesaurus][Thesaurus]]
- [[#utils][Utils]] - [[#utils][Utils]]
- [[#downgrade][Downgrade]]
- [[#gnu-wget][GNU Wget]]
- [[#hardware-lister-lshw][Hardware Lister (lshw)]]
- [[#ncdu][NCDU]] - [[#ncdu][NCDU]]
- [[#nmap][NMAP]] - [[#nmap][NMAP]]
- [[#pdftk][PDFtk]] - [[#pdftk][PDFtk]]
- [[#rpi-imager][rpi-imager]]
- [[#rsync][Rsync]] - [[#rsync][Rsync]]
- [[#transmission][Transmission]] - [[#transmission][Transmission]]
- [[#tree][Tree]]
- [[#wireguard][WireGuard]]
- [[#xarchiver][xarchiver]] - [[#xarchiver][xarchiver]]
- [[#xclip][XClip]] - [[#xclip][XClip]]
- [[#yt-dlp][yt-dlp]] - [[#yt-dlp][yt-dlp]]
@@ -144,6 +157,11 @@
- [[#virtualbox][Virtualbox]] - [[#virtualbox][Virtualbox]]
- [[#teamviewer][Teamviewer]] - [[#teamviewer][Teamviewer]]
- [[#anki][Anki]] - [[#anki][Anki]]
- [[#freecad][FreeCAD]]
- [[#gramps][Gramps]]
- [[#obs-studio][OBS Studio]]
- [[#portfolio-performance][Portfolio Performance]]
- [[#steam][Steam]]
- [[#manual-tasks-after-tangling][Manual Tasks after tangling]] - [[#manual-tasks-after-tangling][Manual Tasks after tangling]]
- [[#other-todos][Other TODOs]] - [[#other-todos][Other TODOs]]
- [[#dunst][dunst]] - [[#dunst][dunst]]
@@ -152,6 +170,7 @@
- [[#go-through-httpswikiarchlinuxorgtitlelaptop][go through https://wiki.archlinux.org/title/Laptop]] - [[#go-through-httpswikiarchlinuxorgtitlelaptop][go through https://wiki.archlinux.org/title/Laptop]]
- [[#go-through-old-pkglist][go through old pkglist]] - [[#go-through-old-pkglist][go through old pkglist]]
- [[#add-readme][add README]] - [[#add-readme][add README]]
- [[#cuda][CUDA]]
* Prerequisites * Prerequisites
- Completed Arch Linux Installation - Completed Arch Linux Installation
@@ -171,17 +190,35 @@ This is used to initialize all files that are accessed from multiple places in t
#+end_src #+end_src
** packages.txt ** packages.txt
contains all Arch and AUR packages contains all general Arch and AUR packages
#+begin_src conf :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
# using org-babel-tangle (C-c C-v t) # using org-babel-tangle (C-c C-v t)
#+end_src
*** pwl-desktop_pkg-list
contains all packages for the device pwl-desktop
#+begin_src conf :tangle pwl-desktop_pkg-list.txt
# 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
*** pwl-laptop_pkg-list
contains all packages for the device pwl-laptop
#+begin_src conf :tangle pwl-laptop_pkg-list.txt
# 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
** alias.sh ** alias.sh
#+begin_src shell :tangle ~/alias.sh #+begin_src shell :tangle ~/.alias.sh
#!/bin/sh #!/bin/sh
# 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
@@ -192,7 +229,7 @@ contains all Arch and AUR packages
** path.sh ** path.sh
contains all modifications to the path variables contains all modifications to the path variables
#+begin_src shell :tangle ~/path.sh #+begin_src shell :tangle ~/.path.sh
#!/bin/sh #!/bin/sh
# 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
@@ -473,13 +510,15 @@ Include = /etc/pacman.d/mirrorlist
yay -Sy yay -Sy
#+end_src #+end_src
** Package Installation ** Package Installation
remove all packages not in ~pkg-list.txt~ remove all packages not in ~pkg-list.txt~ or the specific device ~<device_name>_pkg-list.txt~ file
#+begin_src shell :tangle update.sh #+begin_src shell :tangle update.sh
# Get list of installed packages # Get list of installed packages
INSTALLED_PACKAGES=$(pacman -Qqe) INSTALLED_PACKAGES=$(pacman -Qqe)
# Read the list of packages to keep from the file # Read the list of packages to keep from the file
KEEP_LIST=$(cat "pkg-list.txt") KEEP_LIST=$(cat "pkg-list.txt")
KEEP_LIST+=$'\n'
KEEP_LIST+=$(cat "$(uname -n)_pkg-list.txt")
# Loop through installed packages # Loop through installed packages
for PACKAGE in $INSTALLED_PACKAGES; do for PACKAGE in $INSTALLED_PACKAGES; do
@@ -491,22 +530,34 @@ for PACKAGE in $INSTALLED_PACKAGES; do
fi fi
done done
#+end_src #+end_src
and install the packages specified in ~pkg-list.txt~
remove orphaned packages and update the remaining packages to avoid version conflicts
#+begin_src shell :tangle update.sh
yay -Qtdq | yay -Rns -
yay -Syu
#+end_src
#+RESULTS:
and install the packages specified in ~pkg-list.txt~ or the specific device ~<device_name>_pkg-list.txt~ file
#+begin_src shell :tangle update.sh #+begin_src shell :tangle update.sh
yay -S --needed `grep -v '^#' pkg-list.txt` yay -S --needed `grep -v '^#' pkg-list.txt`
yay -S --needed `grep -v '^#' $(uname -n)_pkg-list.txt`
#+end_src #+end_src
* 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 conf :tangle pkg-list.txt #+begin_src conf :tangle pkg-list.txt
amd-ucode
base base
efibootmgr efibootmgr
grub grub
linux-zen linux-zen
linux-zen-headers
linux-lts linux-lts
linux-lts-headers
linux-firmware linux-firmware
linux-firmware-marvell
lvm2 lvm2
sudo sudo
#+end_src #+end_src
@@ -601,6 +652,31 @@ pulseaudio-bluetooth
pulseaudio-equalizer pulseaudio-equalizer
pulseaudio-jack pulseaudio-jack
#+end_src #+end_src
** Additional Firmware
*** pwl-desktop
#+begin_src shell :tangle pwl-desktop_pkg-list.txt
amd-ucode
aic94xx-firmware
sof-firmware
wd719x-firmware
nvidia-dkms
opencl-headers
opencl-nvidia
xf86-video-nouveau
cuda
#+end_src
*** pwl-laptop
#+begin_src shell :tangle pwl-laptop_pkg-list.txt
amd-ucode
#+end_src
** NTFS Compatibility
#+begin_src conf :tangle pkg-list.txt
ntfs-3g
#+end_src
** Timeshift
#+begin_src conf :tangle pkg-list.txt
timeshift
#+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
@@ -1185,12 +1261,11 @@ from libqtile.config import Screen
#+end_src #+end_src
***** Reading the Information ***** Reading the Information
#+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes #+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes
cmd = ['xrandr'] cmd = ['xrandr','--listmonitors']
p = subprocess.Popen(cmd, stdout=subprocess.PIPE) p = subprocess.Popen(cmd, stdout=subprocess.PIPE)
resolution_string, junk = p.communicate() resolution_string, junk = p.communicate()
p.stdout.close() p.stdout.close()
screen_resolutions = [np.array(screen_res.split('x')).astype(int) for screen_res in re.findall('[0-9]+x[0-9]+(?=[^\\\\n]*\*)',str(resolution_string))] screen_resolutions = re.findall(r'(\d+)/\d+x(\d+)/', str(resolution_string))
number_of_screens = len(screen_resolutions)
max_width = max(screen_resolutions, key=lambda res: res[0])[0] max_width = max(screen_resolutions, key=lambda res: res[0])[0]
#+end_src #+end_src
**** Setting the Screens **** Setting the Screens
@@ -1202,7 +1277,7 @@ for width, height in screen_resolutions:
screens.append(Screen(top=main_bar, wallpaper= "~/Pictures/Wallpapers/gruvbox-like.jpg", wallpaper_mode="fill")) screens.append(Screen(top=main_bar, wallpaper= "~/Pictures/Wallpapers/gruvbox-like.jpg", wallpaper_mode="fill"))
defined_main_window = True defined_main_window = True
elif width == top_screen_res[0] and height == top_screen_res[1]: elif width == top_screen_res[0] and height == top_screen_res[1]:
screens.append(Screen(bottom=top_bar, wallpaper="~/Pictures/Wallpapers/wallpaperflare.com_wallpaper.jpg", wallpaper_mode="fill")) screens.append(Screen(bottom=top_bar, wallpaper="~/Pictures/Wallpapers/Xorg.jpg", wallpaper_mode="fill"))
elif width < height: elif width < height:
screens.append(Screen(top=left_bar, wallpaper="~/Pictures/Wallpapers/gruvbox-like-left.jpg", wallpaper_mode="fill")) screens.append(Screen(top=left_bar, wallpaper="~/Pictures/Wallpapers/gruvbox-like-left.jpg", wallpaper_mode="fill"))
elif width == max_width and not defined_main_window: elif width == max_width and not defined_main_window:
@@ -1779,6 +1854,348 @@ it is a 3D non-reparenting WM written in java that happens to be on java's white
#+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes #+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes
wmname = 'LG3D' wmname = 'LG3D'
#+end_src #+end_src
*** [[https://dunst-project.org/][Dunst]]
**** Installation
#+begin_src conf :tangle pkg-list.txt
dunst
#+end_src
**** Configuration
#+begin_src conf :mkdirp yes :tangle ~/.config/dunst/dunstrc
# 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
***** Global Configuration
#+begin_src conf :tangle ~/.config/dunst/dunstrc
[global]
### Display ###
#+end_src
****** Monitor
display dunst notifications on the main monitor
#+begin_src conf :tangle ~/.config/dunst/dunstrc
monitor = 0
# Display notification on focused monitor. Possible modes are:
# mouse: follow mouse pointer
# keyboard: follow window with keyboard focus
# none: don't follow anything
#
# "keyboard" needs a window manager that exports the
# _NET_ACTIVE_WINDOW property.
# This should be the case for almost all modern window managers.
#
# If this option is set to mouse or keyboard, the monitor option
# will be ignored.
follow = none
#+end_src
****** Geometry
#+begin_src conf :tangle ~/.config/dunst/dunstrc
# constant width
width = 500
# The height of a single notification, excluding the frame.
# dynamic
height = (0, 300)
# Position the notification in the top right corner
origin = top-right
# Offset from the origin
offset = (10, 50)
# Scale factor. It is auto-detected if value is 0.
scale = 0
# Maximum number of notification (0 means no limit)
notification_limit = 0
# Show how many messages are currently hidden (because of
# notification_limit).
indicate_hidden = yes
#+end_src
****** Progress Bar
#+begin_src conf :tangle ~/.config/dunst/dunstrc
# Turn on the progress bar. It appears when a progress hint is passed with
# for example dunstify -h int:value:12
progress_bar = true
# Set the progress bar height. This includes the frame, so make sure
# it's at least twice as big as the frame width.
progress_bar_height = 10
# Set the frame width of the progress bar
progress_bar_frame_width = 1
# Set the minimum width for the progress bar
progress_bar_min_width = 150
# Set the maximum width for the progress bar
progress_bar_max_width = 500
# Corner radius for the progress bar. 0 disables rounded corners.
progress_bar_corner_radius = 0
# Define which corners to round when drawing the progress bar. If progress_bar_corner_radius
# is set to 0 this option will be ignored.
progress_bar_corners = all
# Draw a line of "separator_height" pixel height between two
# notifications.
# Set to 0 to disable.
# If gap_size is greater than 0, this setting will be ignored.
separator_height = 2
# Padding between text and separator.
padding = 8
# Horizontal padding.
horizontal_padding = 8
# Padding between text and icon.
text_icon_padding = 0
# Defines width in pixels of frame around the notification window.
# Set to 0 to disable.
frame_width = 3
# Size of gap to display between notifications - requires a compositor.
# If value is greater than 0, separator_height will be ignored and a border
# of size frame_width will be drawn around each notification instead.
# Click events on gaps do not currently propagate to applications below.
gap_size = 0
#+end_src
****** Icons
#+begin_src conf :tangle ~/.config/dunst/dunstrc
# Corner radius for the icon image.
icon_corner_radius = 0
# Define which corners to round when drawing the icon image. If icon_corner_radius
# is set to 0 this option will be ignored.
icon_corners = all
# Recursive icon lookup. You can set a single theme, instead of having to
# define all lookup paths.
enable_recursive_icon_lookup = true
# Set icon theme (only used for recursive icon lookup)
icon_theme = Adwaita
# You can also set multiple icon themes, with the leftmost one being used first.
# icon_theme = "Adwaita, breeze"
# Align icons left/right/top/off
icon_position = left
# Scale small icons up to this size, set to 0 to disable. Helpful
# for e.g. small files or high-dpi screens. In case of conflict,
# max_icon_size takes precedence over this.
min_icon_size = 32
# Scale larger icons down to this size, set to 0 to disable
max_icon_size = 128
# Paths to default icons (only necessary when not using recursive icon lookup)
icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
#+end_src
****** Transparency
#+begin_src conf :tangle ~/.config/dunst/dunstrc
# The transparency of the window. Range: [0; 100].
# This option will only work if a compositing window manager is
# present (e.g. xcompmgr, compiz, etc.). (X11 only)
transparency = 0
#+end_src
****** Colors
#+begin_src conf :tangle ~/.config/dunst/dunstrc
# Defines color of the frame around the notification window.
frame_color = "#aaaaaa"
# Define a color for the separator.
# possible values are:
# * auto: dunst tries to find a color fitting to the background;
# * foreground: use the same color as the foreground;
# * frame: use the same color as the frame;
# * anything else will be interpreted as a X color.
separator_color = frame
#+end_src
****** Sorting
#+begin_src conf :tangle ~/.config/dunst/dunstrc
# Sort type.
# possible values are:
# * id: sort by id
# * urgency_ascending: sort by urgency (low then normal then critical)
# * urgency_descending: sort by urgency (critical then normal then low)
# * update: sort by update (most recent always at the top)
sort = yes
#+end_src
****** Text
#+begin_src conf :tangle ~/.config/dunst/dunstrc
font = Monospace 8
# The spacing between lines. If the height is smaller than the
# font height, it will get raised to the font height.
line_height = 0
# Possible values are:
# full: Allow a small subset of html markup in notifications:
# <b>bold</b>
# <i>italic</i>
# <s>strikethrough</s>
# <u>underline</u>
#
# For a complete reference see
# <https://docs.gtk.org/Pango/pango_markup.html>.
#
# strip: This setting is provided for compatibility with some broken
# clients that send markup even though it's not enabled on the
# server. Dunst will try to strip the markup but the parsing is
# simplistic so using this option outside of matching rules for
# specific applications *IS GREATLY DISCOURAGED*.
#
# no: Disable markup parsing, incoming notifications will be treated as
# plain text. Dunst will not advertise that it has the body-markup
# capability if this is set as a global setting.
#
# It's important to note that markup inside the format option will be parsed
# regardless of what this is set to.
markup = full
# The format of the message. Possible variables are:
# %a appname
# %s summary
# %b body
# %i iconname (including its path)
# %I iconname (without its path)
# %p progress value if set ([ 0%] to [100%]) or nothing
# %n progress value if set without any extra characters
# %% Literal %
# Markup is allowed
format = "<b>%s</b>\n%b"
# Alignment of message text.
# Possible values are "left", "center" and "right".
alignment = left
# Vertical alignment of message text and icon.
# Possible values are "top", "center" and "bottom".
vertical_alignment = center
# Show age of message if message is older than show_age_threshold
# seconds.
# Set to -1 to disable.
show_age_threshold = 60
# Specify where to make an ellipsis in long lines.
# Possible values are "start", "middle" and "end".
ellipsize = middle
# Ignore newlines '\n' in notifications.
ignore_newline = no
# Stack together notifications with the same content
stack_duplicates = true
# Hide the count of stacked notifications with the same content
hide_duplicate_count = false
# Display indicators for URLs (U) and actions (A).
show_indicators = yes
#+end_src
****** History
#+begin_src conf :tangle ~/.config/dunst/dunstrc
# Should a notification popped up from history be sticky or timeout
# as if it would normally do.
sticky_history = yes
# Maximum amount of notifications kept in history
history_length = 20
#+end_src
****** Misc/Advanced
#+begin_src conf :tangle ~/.config/dunst/dunstrc
# dmenu path.
dmenu = /usr/bin/dmenu -p dunst:
# Browser for opening urls in context menu.
browser = /usr/bin/xdg-open
# Always run rule-defined scripts, even if the notification is suppressed
always_run_script = true
# Define the title of the windows spawned by dunst (X11 only)
title = Dunst
# Define the class of the windows spawned by dunst (X11 only)
class = Dunst
# Define the corner radius of the notification window
# in pixel size. If the radius is 0, you have no rounded
# corners.
# The radius will be automatically lowered if it exceeds half of the
# notification height to avoid clipping text and/or icons.
corner_radius = 0
# Define which corners to round when drawing the window. If the corner radius
# is set to 0 this option will be ignored.
#
# Comma-separated list of the corners. The accepted corner values are bottom-right,
# bottom-left, top-right, top-left, top, bottom, left, right or all.
corners = all
# Ignore the dbus closeNotification message.
# Useful to enforce the timeout set by dunst configuration. Without this
# parameter, an application may close the notification sent before the
# user defined timeout.
ignore_dbusclose = false
#+end_src
****** Wayland
These settings are Wayland-specific. They have no effect when using X11
#+begin_src conf :tangle ~/.config/dunst/dunstrc
# Uncomment this if you want to let notifications appear under fullscreen
# applications (default: overlay)
# layer = top
# Set this to true to use X11 output on Wayland.
force_xwayland = false
#+end_src
****** Legacy
#+begin_src conf :tangle ~/.config/dunst/dunstrc
# Use the Xinerama extension instead of RandR for multi-monitor support.
# This setting is provided for compatibility with older nVidia drivers that
# do not support RandR and using it on systems that support RandR is highly
# discouraged.
#
# By enabling this setting dunst will not be able to detect when a monitor
# is connected or disconnected which might break follow mode if the screen
# layout changes.
force_xinerama = false
#+end_src
****** Mouse Action
#+begin_src conf :tangle ~/.config/dunst/dunstrc
# Defines list of actions for each mouse event
# Possible values are:
# * none: Don't do anything.
# * do_action: Invoke the action determined by the action_name rule. If there is no
# such action, open the context menu.
# * open_url: If the notification has exactly one url, open it. If there are multiple
# ones, open the context menu.
# * close_current: Close current notification.
# * close_all: Close all notifications.
# * context: Open context menu for the notification.
# * context_all: Open context menu for all notifications.
# These values can be strung together for each mouse event, and
# will be executed in sequence.
mouse_left_click = do_action, close_current
mouse_middle_click = close_current
mouse_right_click = close_all
#+end_src
***** Experimental Configurations
#+begin_src conf :tangle ~/.config/dunst/dunstrc
# Calculate the dpi to use on a per-monitor basis.
# If this setting is enabled the Xft.dpi value will be ignored and instead
# dunst will attempt to calculate an appropriate dpi value for each monitor
# using the resolution and physical size. This might be useful in setups
# where there are multiple screens with very different dpi values.
per_monitor_dpi = false
#+end_src
* Text Editors * Text Editors
** Doom Emacs ** Doom Emacs
*** Installation *** Installation
@@ -1800,7 +2217,7 @@ if [ ! -d "/home/paul/.config/doom" ]; then
fi fi
#+end_src #+end_src
**** add to PATH **** add to PATH
#+begin_src shell :tangle ~/path.sh #+begin_src shell :tangle ~/.path.sh
export PATH=$PATH:~/.config/emacs/bin export PATH=$PATH:~/.config/emacs/bin
#+end_src #+end_src
*** Doom Modules *** Doom Modules
@@ -2474,12 +2891,12 @@ torbrowser-launcher
ZSH is used as the default shell ZSH is used as the default shell
** Aliases ** Aliases
*** Shutdown and Reboot *** Shutdown and Reboot
#+begin_src shell :tangle ~/alias.sh #+begin_src shell :tangle ~/.alias.sh
alias sn='shutdown now' alias sn='shutdown now'
alias rb='reboot' alias rb='reboot'
#+end_src #+end_src
*** Confirm before overwriting *** Confirm before overwriting
#+begin_src shell :tangle ~/alias.sh #+begin_src shell :tangle ~/.alias.sh
alias cp="cp -i" alias cp="cp -i"
alias mv='mv -i' alias mv='mv -i'
alias rm='rm -i' alias rm='rm -i'
@@ -2489,7 +2906,7 @@ alias rm='rm -i'
#+begin_src conf :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
alias add='git add' alias add='git add'
alias addup='git add -u' alias addup='git add -u'
alias addall='git add .' alias addall='git add .'
@@ -2512,7 +2929,7 @@ alias log='git log'
#+begin_src shell :tangle pkg-list.txt #+begin_src shell :tangle pkg-list.txt
eza eza
#+end_src #+end_src
#+begin_src shell :tangle ~/alias.sh #+begin_src shell :tangle ~/.alias.sh
alias ls='eza --icons -lF --color=always --group-directories-first --git' # my preferred listing alias ls='eza --icons -lF --color=always --group-directories-first --git' # my preferred listing
alias la='eza --icons -aF --color=always --group-directories-first --git' # all files and dirs alias la='eza --icons -aF --color=always --group-directories-first --git' # all files and dirs
alias ll='eza --icons -alF --color=always --group-directories-first --git' # long format alias ll='eza --icons -alF --color=always --group-directories-first --git' # long format
@@ -2692,11 +3109,11 @@ source $ZSH/oh-my-zsh.sh
*** Configuration *** Configuration
**** Source Aliases **** Source Aliases
#+begin_src shell :tangle ~/.zshrc #+begin_src shell :tangle ~/.zshrc
source ~/alias.sh source ~/.alias.sh
#+end_src #+end_src
**** Modify PATH **** Modify PATH
#+begin_src shell :tangle ~/.zshrc #+begin_src shell :tangle ~/.zshrc
source path.sh source ~/.path.sh
#+end_src #+end_src
**** [[https://github.com/dylanaraps/neofetch][neofetch]] **** [[https://github.com/dylanaraps/neofetch][neofetch]]
install install
@@ -2715,11 +3132,11 @@ bash
*** Configuration *** Configuration
**** Source Aliases **** Source Aliases
#+begin_src shell :tangle ~/.bashrc #+begin_src shell :tangle ~/.bashrc
source ~/alias.sh source ~/.alias.sh
#+end_src #+end_src
**** Modify PATH **** Modify PATH
#+begin_src shell :tangle ~/.bashrc #+begin_src shell :tangle ~/.bashrc
source path.sh source ~/.path.sh
#+end_src #+end_src
**** [[https://github.com/dylanaraps/neofetch][neofetch]] **** [[https://github.com/dylanaraps/neofetch][neofetch]]
install install
@@ -3023,6 +3440,31 @@ gtk-font-name = UbuntuMono Nerd Font 11
@import "gruvbox-common.rasi" @import "gruvbox-common.rasi"
#+end_src #+end_src
** Dunst Urgency Levels
*** Low Urgency
#+begin_src conf :tangle ~/.config/dunst/dunstrc
[urgency_low]
background = "#282828"
foreground = "#928374"
timeout = 10
#+end_src
*** Normal Urgency
#+begin_src conf :tangle ~/.config/dunst/dunstrc
[urgency_normal]
background = "#076678"
foreground = "#fbf1c7"
timeout = 10
override_pause_level = 30
#+end_src
*** Critical Urgency
#+begin_src conf :tangle ~/.config/dunst/dunstrc
[urgency_critical]
background = "#9d0006"
foreground = "#fbf1c7"
frame_color = "#cc241d"
timeout = 0
override_pause_level = 60
#+end_src
* Bluetooth * Bluetooth
** Installation ** Installation
#+begin_src shell :tangle pkg-list.txt #+begin_src shell :tangle pkg-list.txt
@@ -3047,6 +3489,20 @@ blueman
#+begin_src shell :tangle ~/.autostart.sh #+begin_src shell :tangle ~/.autostart.sh
blueman-applet & blueman-applet &
#+end_src #+end_src
* Space Mouse Support
#+begin_src conf :tangle pkg-list.txt
spnavcfg
#+end_src
** Daemon
#+begin_src shell :tangle update.sh
systemd_service="spacenavd"
if ! systemctl is-enabled --quiet "$systemd_service"; then
echo "Enabling $systemd_service"
sudo systemctl enable "$systemd_service"
sudo systemctl start "$systemd_service"
fi
#+end_src
* Git * Git
** Installation ** Installation
#+begin_src conf :tangle pkg-list.txt #+begin_src conf :tangle pkg-list.txt
@@ -3072,6 +3528,10 @@ git
[init] [init]
defaultBranch = main defaultBranch = main
#+end_src #+end_src
** [[https://meldmerge.org/][Meld]]
#+begin_src conf :tangle pkg-list.txt
meld
#+end_src
* Miniconda * Miniconda
** Installation ** Installation
#+begin_src conf :tangle pkg-list.txt #+begin_src conf :tangle pkg-list.txt
@@ -3112,7 +3572,7 @@ auto_activate_base: false
** Install [[https://mamba.readthedocs.io][Mamba]] for faster environment solve ** Install [[https://mamba.readthedocs.io][Mamba]] for faster environment solve
install micromamba install micromamba
#+begin_src shell :tangle pkg-list.txt #+begin_src shell :tangle pkg-list.txt
micromamba micromamba-bin
#+end_src #+end_src
and create a symlink so it can be called as ~mamba~ and create a symlink so it can be called as ~mamba~
#+begin_src shell :tangle update.sh #+begin_src shell :tangle update.sh
@@ -3345,7 +3805,7 @@ telegram-desktop
#+end_src #+end_src
** Rocket.Chat ** Rocket.Chat
#+begin_src shell :tangle pkg-list.txt #+begin_src shell :tangle pkg-list.txt
rocketchat-desktop rocketchat-client-bin
#+end_src #+end_src
* Docker * Docker
#+begin_src shell :tangle pkg-list.txt #+begin_src shell :tangle pkg-list.txt
@@ -3409,6 +3869,18 @@ mythes-en
mythes-de mythes-de
#+end_src #+end_src
* Utils * Utils
** [[https://github.com/archlinux-downgrade/downgrade][Downgrade]]
#+begin_src conf :tangle pkg-list.txt
downgrade
#+end_src
** [[https://www.gnu.org/software/wget/wget.html][GNU Wget]]
#+begin_src conf :tangle pkg-list.txt
wget
#+end_src
** [[https://ezix.org/project/wiki/HardwareLiSter][Hardware Lister (lshw)]]
#+begin_src conf :tangle pkg-list.txt
lshw
#+end_src
** [[https://dev.yorhel.nl/ncdu][NCDU]] ** [[https://dev.yorhel.nl/ncdu][NCDU]]
#+begin_src shell :tangle pkg-list.txt #+begin_src shell :tangle pkg-list.txt
ncdu ncdu
@@ -3421,6 +3893,10 @@ nmap
#+begin_src shell :tangle pkg-list.txt #+begin_src shell :tangle pkg-list.txt
pdftk pdftk
#+end_src #+end_src
** [[https://github.com/raspberrypi/rpi-imager][rpi-imager]]
#+begin_src conf :tangle pkg-list.txt
rpi-imager
#+end_src
** [[https://github.com/WayneD/rsync][Rsync]] ** [[https://github.com/WayneD/rsync][Rsync]]
#+begin_src shell :tangle pkg-list.txt #+begin_src shell :tangle pkg-list.txt
rsync rsync
@@ -3429,6 +3905,14 @@ rsync
#+begin_src shell :tangle pkg-list.txt #+begin_src shell :tangle pkg-list.txt
transmission-gtk transmission-gtk
#+end_src #+end_src
** [[https://gitlab.com/OldManProgrammer/unix-tree][Tree]]
#+begin_src conf :tangle pkg-list.txt
tree
#+end_src
** [[https://www.wireguard.com/][WireGuard]]
#+begin_src conf :tangle pkg-list.txt
wireguard-tools
#+end_src
** [[https://github.com/ib/xarchiver][xarchiver]] ** [[https://github.com/ib/xarchiver][xarchiver]]
#+begin_src shell :tangle pkg-list.txt #+begin_src shell :tangle pkg-list.txt
xarchiver xarchiver
@@ -3520,7 +4004,7 @@ python-vlc
** [[https://openprinting.github.io/cups/][CUPS]] ** [[https://openprinting.github.io/cups/][CUPS]]
#+begin_src shell :tangle pkg-list.txt #+begin_src shell :tangle pkg-list.txt
cups cups
foomatic-db-gutenprints-ppds foomatic-db-gutenprint-ppds
gutenprint gutenprint
#+end_src #+end_src
*** TODO Configure Printers *** TODO Configure Printers
@@ -3574,20 +4058,46 @@ xclip
#+end_src #+end_src
** [[https://www.drawio.com/][drawio]] ** [[https://www.drawio.com/][drawio]]
#+begin_src shell :tangle pkg-list.txt #+begin_src shell :tangle pkg-list.txt
drawio-desktop drawio-desktop-bin
#+end_src #+end_src
** [[https://open.spotify.com][Spotify]] ** [[https://open.spotify.com][Spotify]]
#+begin_src shell :tangle pkg-list.txt #+begin_src shell :tangle pkg-list.txt
spotify-launcher spotify-launcher
#+end_src #+end_src
** TODO Virtualbox ** Virtualbox
#+begin_src conf :tangle pkg-list.txt
virtualbox
virtualbox-host-dkms
virtualbox-guest-iso
#+end_src
** Teamviewer ** Teamviewer
#+begin_src shell :tangle pkg-list.txt #+begin_src shell :tangle pkg-list.txt
teamviewer teamviewer
#+end_src #+end_src
** Anki ** Anki
#+begin_src shell :tangle pkg-list.txt #+begin_src shell :tangle pkg-list.txt
anki-bin anki
#+end_src
** [[https://www.freecad.org/][FreeCAD]]
#+begin_src conf :tangle pkg-list.txt
freecad
#+end_src
** [[https://gramps-project.org][Gramps]]
#+begin_src conf :tangle pkg-list.txt
gramps
#+end_src
** [[https://obsproject.com/][OBS Studio]]
#+begin_src conf :tangle pkg-list.txt
obs-studio
#+end_src
** [[https://www.portfolio-performance.info/en/][Portfolio Performance]]
#+begin_src conf :tangle pkg-list.txt
portfolio-performance-bin
#+end_src
** Steam
#+begin_src conf :tangle pkg-list.txt
steam
#+end_src #+end_src
* Manual Tasks after tangling * Manual Tasks after tangling
1. run ~update.sh~ 1. run ~update.sh~
@@ -3613,3 +4123,4 @@ anki-bin
** DONE go through old pkglist ** DONE go through old pkglist
- State "DONE" from "TODO" [2024-02-20 Di 23:49] - State "DONE" from "TODO" [2024-02-20 Di 23:49]
** TODO add README ** TODO add README
** TODO CUDA