Browse Source

Config+Packages: Implement machine specific configuration

master
Riyyi 2 years ago
parent
commit
ef203c5063
  1. 8
      .config/dunst/dunstrc
  2. 9
      .config/pacman/makepkg.conf
  3. 9
      .config/redshift/redshift.conf
  4. 4
      .config/rofi/config.rasi
  5. 20
      .config/xorg/Xresources
  6. 8
      .config/xorg/xinitrc
  7. 5
      .config/zsh/.zprofile
  8. 2
      packages

8
.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

9
.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"
# <<<

9
.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

4
.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;

20
.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

8
.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

5
.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"

2
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

Loading…
Cancel
Save