aboutsummaryrefslogtreecommitdiff
path: root/startup
diff options
context:
space:
mode:
authorJosh Rahm <rahm@google.com>2021-11-02 20:15:32 -0600
committerJosh Rahm <joshuarahm@gmail.com>2022-10-09 12:19:45 -0600
commitb08e88ef0c569cd000cae836f3c86801a661f8cb (patch)
tree35513423208a35a7f45048954f005f91fd94885a /startup
parentcf47b5282be2a62da2aba1a88c8f9599a333b961 (diff)
downloadrde-b08e88ef0c569cd000cae836f3c86801a661f8cb.tar.gz
rde-b08e88ef0c569cd000cae836f3c86801a661f8cb.tar.bz2
rde-b08e88ef0c569cd000cae836f3c86801a661f8cb.zip
More XMobar sexiness.
Revamped the install script to make it easier to handle the install process.
Diffstat (limited to 'startup')
-rwxr-xr-xstartup38
1 files changed, 0 insertions, 38 deletions
diff --git a/startup b/startup
deleted file mode 100755
index dc302b7..0000000
--- a/startup
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/bash
-
-common() {
- # Startup commands common to all the hosts.
- xsetroot -cursor_name left_ptr
- xset r rate 200 60
-}
-
-hostname_rahm1() {
- # Startup commands specific to my worktop.
- xinput set-prop "TPPS/2 Elan TrackPoint" "Coordinate Transformation Matrix" 3 0 0 0 3 0 0 0 1
- xinput set-prop "SYNA8004:00 06CB:CD8B Touchpad" "Coordinate Transformation Matrix" 3 0 0 0 3 0 0 0 1
-
- if [ -z "$(ps aux | grep compton | grep -v grep)" ] ; then
- __GL_SYNC_TO_VBLANK=1 nohup compton --backend=glx &>/dev/null &
- fi
-
- feh --bg-scale "$HOME/wp.jpg"
-}
-
-hostname_photon() {
- # Startup commands specific to my desktop.
-
- if [ -z "$(ps aux | grep compton | grep -v grep)" ] ; then
- __GL_SYNC_TO_VBLANK=1 nohup compton --backend=glx &>/dev/null &
- fi
- xrandr --output DVI-I-1 --right-of DP-5 --mode 2560x1440
- feh --bg-scale "/home/rahm/.xmonad/wallpaper.jpg"
-}
-
-
-common
-
-hostname_fn="hostname_$(hostname)"
-
-if [[ "$(type -t "$hostname_fn")" == function ]] ; then
- "$hostname_fn"
-fi