add st as default terminal

This commit is contained in:
davidovski 2023-07-15 23:30:56 +01:00
parent b85872dfc9
commit 4f5d2bab93
5 changed files with 1027 additions and 7 deletions

View file

@ -55,12 +55,13 @@ dzen2.font: mononoki
! Set depth to make transparency work. ! Set depth to make transparency work.
URxvt*depth: 32 URxvt*depth: 32
*.font: font1,font2,font3,font4 *.font: mononoki:minispace=False:size=10:antialias=true
URxvt.font: font1,font2,font3,font4 URxvt.font: font1,font2,font3,font4
URxvt.boldFont: font1:style=bold,font2:style=bold,font3:style=bold,font4 URxvt.boldFont: font1:style=bold,font2:style=bold,font3:style=bold,font4
URxvt.italicFont:font1:style=italic,font2:style=italic,font3:style=italic,font4 URxvt.italicFont:font1:style=italic,font2:style=italic,font3:style=italic,font4
URxvt.boldItalicfont: font1:style=bolditalic,font2:style=bolditalic,font3:style=bolditalic,font4 URxvt.boldItalicfont: font1:style=bolditalic,font2:style=bolditalic,font3:style=bolditalic,font4
*.borderpx: 20
URxvt.internalBorder: 20 URxvt.internalBorder: 20
*.cursorBlink: true *.cursorBlink: true
URxvt.cursorUnderline: true URxvt.cursorUnderline: true
@ -72,12 +73,10 @@ URxvt.geometry: 92x24
URxvt.urgentOnBell: true URxvt.urgentOnBell: true
URxvt.iso14755: false URxvt.iso14755: false
urxvt*dynamicColors: on URxvt*dynamicColors: on
XTerm*faceName: font1,font2,font3,font4 XTerm*faceName: font1,font2,font3,font4
!-- Xft settings -- ! !-- Xft settings -- !
Xft.dpi: 112 Xft.dpi: 112
Xft.antialias: true Xft.antialias: true
@ -85,7 +84,7 @@ Xft.rgba: rgb
Xft.hinting: true Xft.hinting: true
Xft.hintstyle: hintfull Xft.hintstyle: hintfull
URxvt.perl-ext-common: resize-font,config-reload URxvt.perl-ext-common: resize-font
URxvt.url-launcher: /usr/bin/xdg-open URxvt.url-launcher: /usr/bin/xdg-open
URxvt.matcher.button: 1 URxvt.matcher.button: 1

View file

@ -79,14 +79,19 @@ load () {
cp -r icons/* $HOME/.local/share/icons/ cp -r icons/* $HOME/.local/share/icons/
cp .local/share/kaomoji ~/.local/share/ cp .local/share/kaomoji ~/.local/share/
git clone https://github.com/simmel/urxvt-resize-font /tmp/urxvt-resize-font
mkdir -p ~/.urxvt/ext/ mkdir -p ~/.urxvt/ext/
git clone https://github.com/simmel/urxvt-resize-font /tmp/urxvt-resize-font
cp /tmp/urxvt-resize-font/resize-font ~/.urxvt/ext/ cp /tmp/urxvt-resize-font/resize-font ~/.urxvt/ext/
cd slock cd slock
./deploy.sh ./deploy.sh
cd - cd -
cd st
./deploy.sh
cd -
echo "Copied configurations!" echo "Copied configurations!"
else else

View file

@ -8,7 +8,7 @@
export XDG_RUNTIME_DIR=/tmp/$USER-$(uuidgen) export XDG_RUNTIME_DIR=/tmp/$USER-$(uuidgen)
alias editor=vim alias editor=vim
export TERMINAL="urxvt" export TERMINAL="st"
export BROWSER="/usr/bin/firefox" export BROWSER="/usr/bin/firefox"
export FILE_MANAGER="/usr/bin/thunar" export FILE_MANAGER="/usr/bin/thunar"
export EMAIL_CLIENT="/usr/bin/thunderbird" export EMAIL_CLIENT="/usr/bin/thunderbird"

1004
st/davidovski.patch Normal file

File diff suppressed because it is too large Load diff

12
st/deploy.sh Executable file
View file

@ -0,0 +1,12 @@
#!/bin/sh
wd="$HOME/.local/src/st"
[ ! -d "$HOME/.local/src" ] && mkdir -p "$wd"
git clone https://git.suckless.org/st "$wd"
patch -d "$wd" -p1 -i davidovski.patch
make -C "$wd"
doas make -C "$wd" install PREFIX=/usr