summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2020-10-21 10:16:17 -0400
committerKjetil Orbekk <kj@orbekk.com>2020-10-21 10:16:17 -0400
commitbc577ddef78c4723b90194dd1489c16e63d6d7d4 (patch)
treec8fc901c6dd33c425c18938ca52403f18df87685
parent76598fffb494800b330b96a770f0c45bf07a34b6 (diff)
Add more desktop setup
-rw-r--r--desktop/.Xresources3
-rwxr-xr-xdesktop/.urxvt/ext/clipboard (renamed from old/urxvt/ext/clipboard)0
-rwxr-xr-xdesktop/.urxvt/ext/resize-font (renamed from old/urxvt/ext/resize-font)0
-rwxr-xr-xdesktop/.xsession5
-rwxr-xr-xsetup.sh2
5 files changed, 8 insertions, 2 deletions
diff --git a/desktop/.Xresources b/desktop/.Xresources
index 9501ece..4bee280 100644
--- a/desktop/.Xresources
+++ b/desktop/.Xresources
@@ -1,7 +1,8 @@
*customization: -color
-urxvt*font: xft:dejavu sans mono:pixelsize=22:antialias=true:hinting=true
+!urxvt*font: xft:dejavu sans mono:pixelsize=22:antialias=true:hinting=true
!urxvt*font: xft:DejaVu Sans Mono:pixelsize=20:antialias=true:hinting=true
! urxvt*font: xft:fira code:pixelsize=22:antialias=true:hinting=true
+urxvt*font: xft:iosevka term:size=14,xft:dejavu sans mono:size=14
!urxvt*letterSpace: -5
!urxvt*font: xft:fira code:pixelsize=22:antialias=true
!urxvt*font: xft:inconsolata:size=18:antialias=true
diff --git a/old/urxvt/ext/clipboard b/desktop/.urxvt/ext/clipboard
index 05e1601..05e1601 100755
--- a/old/urxvt/ext/clipboard
+++ b/desktop/.urxvt/ext/clipboard
diff --git a/old/urxvt/ext/resize-font b/desktop/.urxvt/ext/resize-font
index cc89a96..cc89a96 100755
--- a/old/urxvt/ext/resize-font
+++ b/desktop/.urxvt/ext/resize-font
diff --git a/desktop/.xsession b/desktop/.xsession
index 6d76b30..102d280 100755
--- a/desktop/.xsession
+++ b/desktop/.xsession
@@ -18,6 +18,9 @@ xset -b
trayer --edge top --align right --SetDockType true --SetPartialStrut true --expand true --width 100 --widthtype pixel --transparent true --alpha 0 --tint 0x000000 --height 18 &
[[ -f /etc/nixos/configuration.nix ]] || \
redshift -l 40:-70 -r -t 5500:3700 &
-exec xmonad
+if which autorandr >/dev/null; then
+ autorandr --change
+fi
+exec xmonad
diff --git a/setup.sh b/setup.sh
index e1a42db..ba40f6c 100755
--- a/setup.sh
+++ b/setup.sh
@@ -4,6 +4,8 @@ set -euo pipefail
STOW="stow -R --no-folding -v"
cd "$(dirname $0)"
+git submodule update --init --recursive
+
$STOW common
$STOW zsh
source $HOME/.zshenv