diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2022-05-06 16:30:04 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2022-05-06 23:54:41 +1200 |
commit | 89b54c73f11c77c20266170213b8894db78accf4 (patch) | |
tree | 25938657fcdc86539c256ce5493d1f793d347375 /X | |
parent | Add log rotation support for .xsession (diff) | |
download | dotfiles-89b54c73f11c77c20266170213b8894db78accf4.tar.gz dotfiles-89b54c73f11c77c20266170213b8894db78accf4.zip |
Rename X dir to x for consistency
Diffstat (limited to 'X')
-rw-r--r-- | X/Xresources | 2 | ||||
-rw-r--r-- | X/Xresources.d/XTerm | 24 | ||||
-rw-r--r-- | X/logrotate/config.d/config | 5 | ||||
-rw-r--r-- | X/xsession.sh | 52 |
4 files changed, 0 insertions, 83 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/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/logrotate/config.d/config b/X/logrotate/config.d/config deleted file mode 100644 index c0b1b51b..00000000 --- a/X/logrotate/config.d/config +++ /dev/null @@ -1,5 +0,0 @@ -~/.config/log/xsession/errors.log { - copytruncate - daily - rotate 30 -} diff --git a/X/xsession.sh b/X/xsession.sh deleted file mode 100644 index 76cbc85b..00000000 --- a/X/xsession.sh +++ /dev/null @@ -1,52 +0,0 @@ -# Custom i3wm X session to fit into Debian's way of doing things - -# Monitor and wallpaper setup is very machine-specific, and isn't versioned in -# here. Neither xrandr(1) nor xwallpaper(1) have config files, so we fake it -# with xargs and looking for a file with argument tokens to read in -# XDG_CONFIG_HOME, which will almost always be: -# -# - ~/.config/xrandr/config -# - ~/.config/xwallpaper/config -# -# We figure each one out in a subshell, so that we can use a temporary variable -# for the configuration path without polluting the namespace of the rest of -# this script. -# -for program in xrandr xwallpaper ; do ( - command -v -- "$program" >/dev/null 2>&1 || exit - config=${XDG_CONFIG_HOME:-"$HOME"/.config}/"$program"/config - [ -e "$config" ] || exit - xargs -- "$program" < "$config" -) ; done - -# Set a few keyboard map options -# - Remap Caps Lock as another Control key -# - Remap right Alt as a Compose key -# - Kill X server with Ctrl+Alt+Backspace -setxkbmap \ - -option caps:ctrl_modifier \ - -option compose:ralt \ - -option terminate:ctrl_alt_bksp & - -# Set fast mouse acceleration with a natural threshold -xset mouse 5/2 0 & - -# Pick a GUI browser, depending on availability -if command -v librewolf >/dev/null 2>&1 ; then - BROWSER=librewolf -elif command -v firefox >/dev/null 2>&1 ; then - BROWSER=firefox -fi -if [ -n "$BROWSER" ] ; then - export BROWSER -fi - -# Load all supplementary scripts in ~/.xsession.d -for sh in "$HOME"/.xsession.d/*.sh ; do - [ -e "$sh" ] || continue - . "$sh" -done -unset -v sh - -# Start i3 window manager now that everything's ready -exec i3 |