summaryrefslogtreecommitdiff
path: root/autostart
diff options
context:
space:
mode:
authorPatrick Simianer <pks@pks.rocks>2020-02-23 14:28:14 +0100
committerPatrick Simianer <pks@pks.rocks>2020-02-23 14:28:14 +0100
commit91841ab64aa9c4fb642932b45f69025da033e1b5 (patch)
tree835f9d3154fbb641b2c778cdc896a0dbaa6b9758 /autostart
parent313d116ea4ad373d22b1501070e72e66a1375141 (diff)
autostart: rm obsolete stuff
Diffstat (limited to 'autostart')
-rwxr-xr-xautostart22
1 files changed, 3 insertions, 19 deletions
diff --git a/autostart b/autostart
index 1014a77..a443737 100755
--- a/autostart
+++ b/autostart
@@ -8,11 +8,7 @@ xset +fp $HOME/.fonts &
mkdir -p /tmp/pks/.cache /tmp/pks/.ccache /tmp/mutt &
-if [[ $(hostname) == "barkley" ]]; then
- xmodmap $HOME/.Xmodmap.barkley &
-else
- xmodmap $HOME/.Xmodmap &
-fi
+xmodmap $HOME/.Xmodmap &
xbindkeys &
urxvtd -q -f -o &
@@ -32,26 +28,14 @@ fi
$HOME/.local/bin/mouse-settings &
-if [[ $(hostname) == "barkley" ]]; then
- if [[ -x $(which gsettings) ]]; then
- gsettings set org.gnome.desktop.interface text-scaling-factor 1.2
- fi
-fi
-
if [[ $(hostname) == "bogues" ]]; then
xrandr --output VGA1 --off &
xrandr --output VGA0 --off &
xrandr --output VGA-0 --off &
xrandr --output VGA-1 --off &
-fi
-if [[ $(hostname) == "bryant" ]]; then
- if [[ -f /dev/nvidia0 ]]; then
- xrandr --output DP-7 --rotate right &
- sudo nvidia-settings -a "[gpu:0]/GPUFanControlState=1" -a "[fan-0]/GPUTargetFanSpeed=1" &
- else
- xrandr --output HDMI2 --rotate left &
- fi
+ mkdir -p /media/ext_sd/tmp
+ chmod 777 /media/ext_sd/tmp
fi
if [[ -x $(which notmuchfs) ]]; then