diff options
Diffstat (limited to 'X/xinitrc.d')
-rw-r--r-- | X/xinitrc.d/browser.sh | 24 | ||||
-rw-r--r-- | X/xinitrc.d/dunst.sh | 3 | ||||
-rw-r--r-- | X/xinitrc.d/redshift.sh | 3 | ||||
-rw-r--r-- | X/xinitrc.d/ssh.sh | 4 | ||||
-rw-r--r-- | X/xinitrc.d/sxhkd.sh | 3 | ||||
-rw-r--r-- | X/xinitrc.d/urxvt.sh | 3 | ||||
-rw-r--r-- | X/xinitrc.d/xkb.sh | 5 | ||||
-rw-r--r-- | X/xinitrc.d/xrbg.sh | 2 |
8 files changed, 0 insertions, 47 deletions
diff --git a/X/xinitrc.d/browser.sh b/X/xinitrc.d/browser.sh deleted file mode 100644 index 0153fba9..00000000 --- a/X/xinitrc.d/browser.sh +++ /dev/null @@ -1,24 +0,0 @@ -# Choose a GUI browser with some rough heuristics - -# If Firefox is available, start by assuming that -if command -v firefox >/dev/null 2>&1 ; then - BROWSER=firefox -fi - -# Consider a switch to Dillo... -if ( - # No output, please - exec >/dev/null 2>&1 - # Don't switch if it's not there - command -v dillo || exit - # Switch if Firefox isn't there - command -v firefox || exit 0 - # Switch if procfs says we have less than 2GB of RAM - awk '$1=="MemTotal:"&&$2<2^20{m++}END{exit!m}' < /proc/meminfo -) ; then - BROWSER=dillo -fi - -# Export our choice of browser, if it isn't empty -[ -n "$BROWSER" ] || return -export BROWSER diff --git a/X/xinitrc.d/dunst.sh b/X/xinitrc.d/dunst.sh deleted file mode 100644 index bddaa1fe..00000000 --- a/X/xinitrc.d/dunst.sh +++ /dev/null @@ -1,3 +0,0 @@ -# Start dunst(1) to display libnotify messages -command -v dunst >/dev/null 2>&1 || return -dunst & diff --git a/X/xinitrc.d/redshift.sh b/X/xinitrc.d/redshift.sh deleted file mode 100644 index d5d58d8a..00000000 --- a/X/xinitrc.d/redshift.sh +++ /dev/null @@ -1,3 +0,0 @@ -# Start redshift(1) -command -v redshift >/dev/null 2>&1 || return -redshift & diff --git a/X/xinitrc.d/ssh.sh b/X/xinitrc.d/ssh.sh deleted file mode 100644 index 005743fe..00000000 --- a/X/xinitrc.d/ssh.sh +++ /dev/null @@ -1,4 +0,0 @@ -# Set SSH_ASKPASS if we can find one -command -v ssh-askpass >/dev/null 2>&1 || return -SSH_ASKPASS=$(command -v ssh-askpass) -export SSH_ASKPASS diff --git a/X/xinitrc.d/sxhkd.sh b/X/xinitrc.d/sxhkd.sh deleted file mode 100644 index 132d8f8a..00000000 --- a/X/xinitrc.d/sxhkd.sh +++ /dev/null @@ -1,3 +0,0 @@ -# Start sxhkd(1) -command -v sxhkd >/dev/null 2>&1 || return -sxhkd & diff --git a/X/xinitrc.d/urxvt.sh b/X/xinitrc.d/urxvt.sh deleted file mode 100644 index a5eb0940..00000000 --- a/X/xinitrc.d/urxvt.sh +++ /dev/null @@ -1,3 +0,0 @@ -# Start urxvtd(1) -command -v urxvtd >/dev/null 2>&1 || return -urxvtd -o -q & diff --git a/X/xinitrc.d/xkb.sh b/X/xinitrc.d/xkb.sh deleted file mode 100644 index a5142398..00000000 --- a/X/xinitrc.d/xkb.sh +++ /dev/null @@ -1,5 +0,0 @@ -# Map Caps Lock as a Ctrl key, use right alt as Compose, kill X server with -# Ctrl+Alt+Backspace -# <https://en.wikipedia.org/wiki/Compose_key#Common_compose_combinations> -command -v setxkbmap >/dev/null 2>&1 || return -setxkbmap -option compose:ralt,ctrl:nocaps,terminate:ctrl_alt_bksp diff --git a/X/xinitrc.d/xrbg.sh b/X/xinitrc.d/xrbg.sh deleted file mode 100644 index 0e4ec278..00000000 --- a/X/xinitrc.d/xrbg.sh +++ /dev/null @@ -1,2 +0,0 @@ -# Apply a random background image -xrbg |