commit c836ddf332532ec0f4c78c8fdca9710c6037ab04
parent 69fa766932627045b81b2ae95e4a0e553b07cc43
Author: Jake Bauer <jbauer@paritybit.ca>
Date: Wed, 12 Apr 2023 18:20:28 -0400
Update dotfiles
Diffstat:
5 files changed, 29 insertions(+), 36 deletions(-)
diff --git a/.Xresources b/.Xresources
@@ -1,21 +1,18 @@
-#ifdef HIDPI
-Xcursor.size: 48
-*.font: xft:IBM Plex Mono:size=18
-xft.dpi: 164
-*.internalBorder: 28
-#else
-*.font: xft:IBM Plex Mono:size=10
-*.internalBorder: 12
-#endif
-
-Xcursor.theme: Paper
+Xcursor.theme: Paper
+Xcursor.size: 36
*.termName: xterm-256color
+*.font: xft:IBM Plex Mono:size=10
+*.internalBorder: 4
*.loginShell: true
*.scrollTtyOutput: false
*.scrollBar: false
*.saveLines: 20000
*.selectToClipboard: true
*.trimSelection: true
+*.cutNewline: false
+*.metaSendsEscape: true
+*.bellIsUrgent: true
+*.scrollKey: true
! special
*.foreground: #000000
diff --git a/.config/spectrwm/spectrwm.conf b/.config/spectrwm/spectrwm.conf
@@ -26,6 +26,10 @@ program[scrot_win] = screenshot win
program[scrot_full] = screenshot full
program[calc] = galculator
+# Autorun
+autorun = ws[6]:keepassxc
+quirk[KeePassXC] = WS[6]
+
# Bindings
modkey = Mod4
bind[menu] = MOD+space
diff --git a/.xsession b/.xsession
@@ -9,27 +9,17 @@ cleanup() {
}
trap cleanup INT TERM QUIT
+export MOZ_USE_XINPUT2=1
+export MOZ_ACCELERATED=1
+export MOZ_WEBRENDER=1
export LANG=en_US.UTF-8
export PATH=$HOME/.local/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/games
export ENV="$HOME/.config/shrc"
export QT_QPA_PLATFORMTHEME="qt5ct"
-
-# DPI-dependent options
-SCREEN_WIDTH=$(xrandr | grep "Screen 0: minimum" | sed -e 's/.*, current //' -e 's/ x.*//')
-if [ "$SCREEN_WIDTH" -gt 1920 ]; then
- echo "Screen width is $SCREEN_WIDTH, using HIDPI"
- export HIDPI=1
- export QT_SCALE_FACTOR=2
- export XCURSOR_SIZE=48
- export GDK_SCALE=2
-fi
+export QT_SCALE_FACTOR=0.75
# Load Xresources
-if [ "$HIDPI" -eq 1 ]; then
- xrdb -DHIDPI=1 < ~/.Xresources
-else
- xrdb < ~/.Xresources
-fi
+xrdb < ~/.Xresources
# No bell
xset -b
@@ -50,7 +40,7 @@ picom -b
xbanish -i all &
# Set background
-feh --no-fehbg --bg-tile '/home/jbauer/Pictures/background.png'
+hsetroot -solid grey
# Launch WM and block
spectrwm
diff --git a/xenodm.Xresources b/xenodm.Xresources
@@ -12,10 +12,10 @@ xlogin.Login.namePrompt:
xlogin.Login.passwdPrompt:
xlogin.Login.fail: -- ACCESS DENIED --
-xlogin.Login.width: 400
+xlogin.Login.width: 600
xlogin.Login.height: 300
-xlogin.Login.x: 420
-xlogin.Login.y: 220
+xlogin.Login.x: 660
+xlogin.Login.y: 360
xlogin*borderWidth: 0
xlogin.Login.sepWidth: 0
xlogin.Login.frameWidth: 10
@@ -31,15 +31,16 @@ xlogin.Login.hiColor: BLACK
xlogin.Login.shdColor: BLACK
! Needs pkg_add spleen
-xlogin.Login.face: spleen-14
-xlogin.Login.failFace: spleen-16
-xlogin.Login.greetFace: spleen-14
-xlogin.Login.promptFace: spleen-14
+xlogin.Login.face: spleen-16
+xlogin.Login.failFace: spleen-18
+xlogin.Login.greetFace: spleen-16
+xlogin.Login.promptFace: spleen-16
! XMessage
xmessage*background: WHITE
xmessage*foreground: BLACK
xmessage*borderWidth: 0
+xmessage*font: lucidasanstypewriter-18
xmessage*message.scrollHorizontal: Never
xmessage*message.scrollVertical: Never
xmessage*timeout: 0
diff --git a/xenodm.Xsetup_0 b/xenodm.Xsetup_0
@@ -5,7 +5,7 @@ xsetroot -solid "#FCFCFC"
# Sleep / Restart / Shutdown bar
( while true; do
- xmessage -geometry +500-32 -buttons "[ Sleep ]":20,"[ Restart ]":21,"[ Shutdown ]":22 ""
+ xmessage -geometry +700-40 -buttons "[ Sleep ]":20,"[ Restart ]":21,"[ Shutdown ]":22 ""
ACTION=$?
echo "Xmessage said: $ACTION"
if [ $ACTION -eq 20 ]; then
@@ -24,4 +24,5 @@ xsetroot -solid "#FCFCFC"
done) &
# Message with OS and release number
-xmessage -geometry +580-0 -buttons "" "($(uname -sr))" &
+xmessage -geometry +850-0 -buttons "" "($(uname -sr))" &
+xbacklight -set 10