Browse Source

Config+Packages: Implement machine specific configuration

master
Riyyi 3 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 padding = 10
shrink = false shrink = false
frame_width = 3 # >>> hostname=arch-desktop
frame_width = 2
# <<<
# >>> hostname=arch-laptop
# frame_width = 3
# <<<
separator_height = 3 separator_height = 3
separator_color = frame separator_color = frame

9
.config/pacman/makepkg.conf

@ -1,4 +1,9 @@
#!/hint/bash #!/hint/bash
# Make Flags: use 4 threads # Amount of threads the use with the make command
MAKEFLAGS="-j4" # >>> hostname=arch-desktop
MAKEFLAGS="-j8"
# <<<
# >>> hostname=arch-laptop
# MAKEFLAGS="-j4"
# <<<

9
.config/redshift/redshift.conf

@ -1,6 +1,13 @@
[redshift] [redshift]
temp-day=5700 temp-day=5700
temp-night=3000
; >>> hostname=arch-desktop
temp-night=3500
; <<<
; >>> hostname=arch-laptop
; temp-night=3000
; <<<
fade=1 fade=1
brightness-day=1.0 brightness-day=1.0

4
.config/rofi/config.rasi

@ -11,6 +11,10 @@ configuration {
/* Layout */ /* Layout */
font: "DejaVu Sans Mono, Font Awesome 6 Free 12"; font: "DejaVu Sans Mono, Font Awesome 6 Free 12";
/* >>> hostname=arch-laptop */
/* dpi: 192; */
/* <<< */
/* Icons */ /* Icons */
icon-theme: "Arc"; icon-theme: "Arc";
show-icons: true; show-icons: true;

20
.config/xorg/Xresources

@ -49,11 +49,25 @@ WmWorkSpace.ws9: 九
WmWorkSpace.ws0: 十 WmWorkSpace.ws0: 十
Xcursor.theme: capitaine-cursors-light Xcursor.theme: capitaine-cursors-light
Xcursor.size: 48
! >>> hostname=arch-desktop
Xcursor.size: 24
! <<<
! >>> hostname=arch-laptop
! Xcursor.size: 48
! <<<
! Font config ! 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.autohint: 0
Xft.lcdfilter: lcddefault Xft.lcdfilter: lcddefault
Xft.hintstyle: hintslight Xft.hintstyle: hintslight

8
.config/xorg/xinitrc

@ -3,7 +3,13 @@
xrdb "$XDG_CONFIG_HOME/xorg/Xresources" xrdb "$XDG_CONFIG_HOME/xorg/Xresources"
# Setup display # 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 # Set default X cursor to arrow
xsetroot -cursor_name left_ptr 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" export R_ENVIRON_USER="$XDG_CONFIG_HOME/R/Renviron"
# HiDPI screen # HiDPI screen
export HIDPI=true
# >>> hostname=arch-laptop
# export HIDPI=true
# <<<
# GPG # GPG
export GNUPGHOME="$XDG_CONFIG_HOME/gnupg" export GNUPGHOME="$XDG_CONFIG_HOME/gnupg"

2
packages

@ -90,6 +90,7 @@ lua-language-server-git
lvm2 lvm2
lxappearance lxappearance
maim maim
manafiles-git
man-db man-db
man-pages man-pages
mariadb mariadb
@ -106,6 +107,7 @@ ncdu
neofetch neofetch
nerd-fonts-dejavu-complete nerd-fonts-dejavu-complete
netctl netctl
nlohmann-json
nodejs-intelephense nodejs-intelephense
ntfs-3g ntfs-3g
openssh openssh

Loading…
Cancel
Save