aboutsummaryrefslogtreecommitdiff
path: root/X
diff options
context:
space:
mode:
Diffstat (limited to 'X')
-rw-r--r--X/Xresources2
-rw-r--r--X/Xresources.d/URxvt32
-rw-r--r--X/Xresources.d/XTerm24
-rw-r--r--X/redshift.conf10
-rw-r--r--X/sxhkdrc56
-rw-r--r--X/xinitrc18
-rw-r--r--X/xinitrc.d/background.sh7
-rw-r--r--X/xinitrc.d/browser.sh24
-rw-r--r--X/xinitrc.d/dunst.sh3
-rw-r--r--X/xinitrc.d/redshift.sh3
-rw-r--r--X/xinitrc.d/ssh.sh4
-rw-r--r--X/xinitrc.d/sxhkd.sh3
-rw-r--r--X/xinitrc.d/urxvt.sh3
-rw-r--r--X/xinitrc.d/xkb.sh5
14 files changed, 0 insertions, 194 deletions
diff --git a/X/Xresources b/X/Xresources
deleted file mode 100644
index 3f586a87..00000000
--- a/X/Xresources
+++ /dev/null
@@ -1,2 +0,0 @@
-#include ".Xresources.d/URxvt"
-#include ".Xresources.d/XTerm"
diff --git a/X/Xresources.d/URxvt b/X/Xresources.d/URxvt
deleted file mode 100644
index f4c30d54..00000000
--- a/X/Xresources.d/URxvt
+++ /dev/null
@@ -1,32 +0,0 @@
-! URxvt
-URxvt.cursorBlink: on
-URxvt.cutchars: <>│
-URxvt.internalBorder: 0
-URxvt.iso14755: false
-URxvt.iso14755_52: false
-URxvt.perl-ext-common: select
-URxvt.pointerBlank: true
-URxvt.saveLines: 10000
-URxvt.scrollBar: false
-URxvt.scrollTTyKeypress: true
-URxvt.scrollTTyOutput: false
-URxvt.secondaryScroll: true
-URxvt.urgentOnBell: true
-URxvt.background: #030303
-URxvt.foreground: #E0E0E0
-URxvt.color0: #030303
-URxvt.color1: #CC0000
-URxvt.color2: #3EAA06
-URxvt.color3: #C4A000
-URxvt.color4: #3465A4
-URxvt.color5: #75507B
-URxvt.color6: #06989A
-URxvt.color7: #D3D7CF
-URxvt.color8: #303030
-URxvt.color9: #EF2929
-URxvt.color10: #7AF234
-URxvt.color11: #FCE94F
-URxvt.color12: #729FCF
-URxvt.color13: #AD7FA8
-URxvt.color14: #34E2E2
-URxvt.color15: #EEEEEC
diff --git a/X/Xresources.d/XTerm b/X/Xresources.d/XTerm
deleted file mode 100644
index f991ec91..00000000
--- a/X/Xresources.d/XTerm
+++ /dev/null
@@ -1,24 +0,0 @@
-! XTerm
-XTerm.termName: xterm-256color
-XTerm.vt100.bellIsUrgent: true
-XTerm.vt100.internalBorder: 0
-XTerm.vt100.eightBitInput: false
-XTerm.vt100.metaSendsEscape: true
-XTerm.vt100.background: #030303
-XTerm.vt100.foreground: #E0E0E0
-XTerm.vt100.color0: #030303
-XTerm.vt100.color1: #CC0000
-XTerm.vt100.color2: #3EAA06
-XTerm.vt100.color3: #C4A000
-XTerm.vt100.color4: #3465A4
-XTerm.vt100.color5: #75507B
-XTerm.vt100.color6: #06989A
-XTerm.vt100.color7: #D3D7CF
-XTerm.vt100.color8: #303030
-XTerm.vt100.color9: #EF2929
-XTerm.vt100.color10: #7AF234
-XTerm.vt100.color11: #FCE94F
-XTerm.vt100.color12: #729FCF
-XTerm.vt100.color13: #AD7FA8
-XTerm.vt100.color14: #34E2E2
-XTerm.vt101.color15: #EEEEEC
diff --git a/X/redshift.conf b/X/redshift.conf
deleted file mode 100644
index 1e1de4ee..00000000
--- a/X/redshift.conf
+++ /dev/null
@@ -1,10 +0,0 @@
-[redshift]
-adjustment-method=randr
-location-provider=manual
-temp-day=5700
-temp-night=3500
-transition=1
-
-[manual]
-lat=-40.352306
-lon=175.608215
diff --git a/X/sxhkdrc b/X/sxhkdrc
deleted file mode 100644
index c277855b..00000000
--- a/X/sxhkdrc
+++ /dev/null
@@ -1,56 +0,0 @@
-super + Return
- urxvtcd
-
-super + control + Return
- urxvtcd -e sh
-
-super + shift + Return
- urxvtcd -e ksh
-
-super + alt + Return
- urxvtcd -e zsh
-
-super + b
- br
-
-super + d
- dmenu_run
-
-super + g
- xgoc
-
-super + i
- gimp
-
-super + m
- urxvtcd -e tm
-
-super + p
- dmp
-
-super + v
- urxvtcd -e "$VISUAL"
-
-super + shift + s
- sleep 0.25 && scrot --freeze --select \
- --exec 'xclip -selection clipboard -target image/png $f && \
- dir=$$HOME/screenshots/%Y-%m-%d && \
- mkdir --parents -- "$$dir" && \
- convert -- $f -define webp:lossless=true \
- "$$dir"/%Y-%m-%d_%H%M%S_$wx$h.webp && \
- rm -- $f'
-
-super + slash
- i3lock --color=#000000 --image "$HOME"/.local/share/i3/lock.png --nofork
-
-XF86AudioMute
- amixer -q sset Master toggle
-
-XF86AudioRaiseVolume
- amixer -q sset Master 5%+ unmute
-
-XF86AudioLowerVolume
- amixer -q sset Master 5%- unmute
-
-XF86Calculator
- urxvtcd -e bcq
diff --git a/X/xinitrc b/X/xinitrc
deleted file mode 100644
index b5041f8c..00000000
--- a/X/xinitrc
+++ /dev/null
@@ -1,18 +0,0 @@
-# If a file ~/.xrandrrc exists for monitor setup, source that first
-# shellcheck disable=SC1091
-[ -e "$HOME"/.xrandrrc ] && . "$HOME"/.xrandrrc
-
-# Read X resources
-xrdb "$HOME"/.Xresources
-
-# Faster mouse acceleration with a natural threshold
-xset mouse 5/2 0
-
-# Load all supplementary scripts in ~/.xinitrc.d
-for sh in "$HOME"/.xinitrc.d/*.sh ; do
- [ -e "$sh" ] && . "$sh"
-done
-unset -v sh
-
-# Start window manager
-exec i3
diff --git a/X/xinitrc.d/background.sh b/X/xinitrc.d/background.sh
deleted file mode 100644
index 85a40889..00000000
--- a/X/xinitrc.d/background.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-# If there's a ~/.fehbg, just run that; otherwise, try to apply a random
-# background image, if the relevant dir exists
-if [ -e "$HOME"/.fehbg ] ; then
- sh -- "$HOME"/.fehbg
-elif [ -d "${XBACKGROUNDS:-"$HOME"/.xbackgrounds}" ] ; then
- xrbg
-fi
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