Remove old stuff

This commit is contained in:
exu 2024-09-15 21:10:16 +02:00
parent 4ad3105120
commit a850441b96
7 changed files with 7 additions and 67 deletions

View File

@ -1,5 +0,0 @@
Section "Monitor"
Identifier "DisplayPort-0"
#DisplaySize 598 336 # In millimeters
DisplaySize 541 304 # In millimeters
EndSection

View File

@ -1,6 +0,0 @@
Section "OutputClass"
Identifier "AMD"
MatchDriver "amdgpu"
Driver "amdgpu"
Option "VariableRefresh" "true"
EndSection

View File

@ -1,24 +0,0 @@
This host requires additional considerations, as it is using a 1440p display.
The following parts are modified:
- Polybar (.config/polybar/i3config.ini)
- Xresources (.Xresources)
- X11 (/etc/X11/xorg.conf.d/ _new files_)
## Calculate Monitor size for desired DPI
To get the exact monitor size xorg wants for a target dpi, execute this command.
```sh
xrandr --dpi [DPI]
```
Querying the set dpi now yields the exact monitor size you'd want to set.
```
$> xdpyinfo | grep -B 2 resolution
screen #0:
dimensions: 2560x1440 pixels (541x304 millimeters)
resolution: 120x120 dots per inch
```

View File

@ -1 +0,0 @@
Xft.dpi: 120

View File

@ -33,12 +33,12 @@ function func_seltheme {
clear clear
for choice in $choices; do for choice in $choices; do
case $choice in case $choice in
1) 1)
echo "nyarch" >"$HOME/.seltheme" echo "nyarch" >"$HOME/.seltheme"
;; ;;
2) 2)
echo "space-pink" >"$HOME/.seltheme" echo "space-pink" >"$HOME/.seltheme"
;; ;;
esac esac
done done
} }
@ -332,10 +332,6 @@ else
printf "\033[38;2;200;20;20mCouldn't find background image\n\033[0m" printf "\033[38;2;200;20;20mCouldn't find background image\n\033[0m"
fi fi
chmod +x "$HOME/scripts/gsettings.sh"
bash "$HOME/scripts/gsettings.sh"
echo "Set theme using gsettings"
echo echo
cat <<EOF cat <<EOF
#################### ####################
@ -507,7 +503,7 @@ EOF
update-desktop-database ~/.local/share/applications/ update-desktop-database ~/.local/share/applications/
# sync doom-emacs only if it is installed # sync doom-emacs only if it is installed
if [[ -f ~/.config/emacs/bin/doom ]]; then if [[ -f ~/.config/emacs/bin/doom ]]; then
~/.config/emacs/bin/doom sync & ~/.config/emacs/bin/doom sync &
pids="$pids $!" pids="$pids $!"
fi fi

View File

@ -1,19 +0,0 @@
#!/usr/bin/env sh
set -euo pipefail
# set GTK theme
gsettings set org.gnome.desktop.interface gtk-theme sweet
# prefer dark variant
gsettings set org.gnome.desktop.interface color-scheme prefer-dark
# icon theme
gsettings set org.gnome.desktop.interface icon-theme Sweet-Rainbow
# font config
gsettings set org.gnome.desktop.interface font-name "Fira Sans 12"
gsettings set org.gnome.desktop.interface font-hinting "slight"
gsettings set org.gnome.desktop.interface font-antialiasing "rgba"
# cursor theme
gsettings set org.gnome.desktop.interface cursor-theme "capitaine-cursors-light"