From ef203c5063f9eb88992402cd587c27408c51d998 Mon Sep 17 00:00:00 2001 From: Riyyi Date: Mon, 28 Feb 2022 16:44:01 +0100 Subject: [PATCH] Config+Packages: Implement machine specific configuration --- .config/dunst/dunstrc | 8 +++++++- .config/pacman/makepkg.conf | 9 +++++++-- .config/redshift/redshift.conf | 9 ++++++++- .config/rofi/config.rasi | 4 ++++ .config/xorg/Xresources | 20 +++++++++++++++++--- .config/xorg/xinitrc | 8 +++++++- .config/zsh/.zprofile | 5 ++++- packages | 2 ++ 8 files changed, 56 insertions(+), 9 deletions(-) diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc index 9698157..034985c 100644 --- a/.config/dunst/dunstrc +++ b/.config/dunst/dunstrc @@ -10,7 +10,13 @@ indicate_hidden = false padding = 10 shrink = false -frame_width = 3 +# >>> hostname=arch-desktop +frame_width = 2 +# <<< +# >>> hostname=arch-laptop +# frame_width = 3 +# <<< + separator_height = 3 separator_color = frame diff --git a/.config/pacman/makepkg.conf b/.config/pacman/makepkg.conf index 187d591..cf2dfef 100644 --- a/.config/pacman/makepkg.conf +++ b/.config/pacman/makepkg.conf @@ -1,4 +1,9 @@ #!/hint/bash -# Make Flags: use 4 threads -MAKEFLAGS="-j4" +# Amount of threads the use with the make command +# >>> hostname=arch-desktop +MAKEFLAGS="-j8" +# <<< +# >>> hostname=arch-laptop +# MAKEFLAGS="-j4" +# <<< diff --git a/.config/redshift/redshift.conf b/.config/redshift/redshift.conf index 7c6b48e..f026b4f 100644 --- a/.config/redshift/redshift.conf +++ b/.config/redshift/redshift.conf @@ -1,6 +1,13 @@ [redshift] temp-day=5700 -temp-night=3000 + +; >>> hostname=arch-desktop +temp-night=3500 +; <<< +; >>> hostname=arch-laptop +; temp-night=3000 +; <<< + fade=1 brightness-day=1.0 diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi index 67d576c..0ae5df0 100644 --- a/.config/rofi/config.rasi +++ b/.config/rofi/config.rasi @@ -11,6 +11,10 @@ configuration { /* Layout */ font: "DejaVu Sans Mono, Font Awesome 6 Free 12"; + /* >>> hostname=arch-laptop */ + /* dpi: 192; */ + /* <<< */ + /* Icons */ icon-theme: "Arc"; show-icons: true; diff --git a/.config/xorg/Xresources b/.config/xorg/Xresources index 35d3400..0cfe176 100644 --- a/.config/xorg/Xresources +++ b/.config/xorg/Xresources @@ -49,11 +49,25 @@ WmWorkSpace.ws9: 九 WmWorkSpace.ws0: 十 Xcursor.theme: capitaine-cursors-light -Xcursor.size: 48 + +! >>> hostname=arch-desktop +Xcursor.size: 24 +! <<< +! >>> hostname=arch-laptop +! Xcursor.size: 48 +! <<< ! Font config -*dpi: 192 -Xft.dpi: 192 + +! >>> hostname=arch-desktop +*dpi: 96 +Xft.dpi: 96 +! <<< +! >>> hostname=arch-laptop +! *dpi: 192 +! Xft.dpi: 192 +! <<< + Xft.autohint: 0 Xft.lcdfilter: lcddefault Xft.hintstyle: hintslight diff --git a/.config/xorg/xinitrc b/.config/xorg/xinitrc index da3fb6d..7b3fa30 100644 --- a/.config/xorg/xinitrc +++ b/.config/xorg/xinitrc @@ -3,7 +3,13 @@ xrdb "$XDG_CONFIG_HOME/xorg/Xresources" # Setup display -#monctl auto 3000 2000 48 eDP-1 & + +# >>> hostname=arch-desktop +monctl primary DP-1 & +# <<< +# >>> hostname=arch-laptop +# monctl auto 3000 2000 48 eDP-1 & +# <<< # Set default X cursor to arrow xsetroot -cursor_name left_ptr diff --git a/.config/zsh/.zprofile b/.config/zsh/.zprofile index 397a4fa..81ef9c0 100644 --- a/.config/zsh/.zprofile +++ b/.config/zsh/.zprofile @@ -20,7 +20,10 @@ export PLATFORMIO_HOME_DIR="$XDG_DATA_HOME/platformio" export R_ENVIRON_USER="$XDG_CONFIG_HOME/R/Renviron" # HiDPI screen -export HIDPI=true + +# >>> hostname=arch-laptop +# export HIDPI=true +# <<< # GPG export GNUPGHOME="$XDG_CONFIG_HOME/gnupg" diff --git a/packages b/packages index 4794bb0..0e597ff 100644 --- a/packages +++ b/packages @@ -90,6 +90,7 @@ lua-language-server-git lvm2 lxappearance maim +manafiles-git man-db man-pages mariadb @@ -106,6 +107,7 @@ ncdu neofetch nerd-fonts-dejavu-complete netctl +nlohmann-json nodejs-intelephense ntfs-3g openssh