From 5804d372ba101ab7f05d09f33f21f2f621579e90 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Thu, 25 Feb 2021 22:20:09 +0100 Subject: Fixing xmonad XDG dirs, Added inputrc for vi mode everywhere --- config/x11/.xinitrc | 26 -------------------------- config/x11/xinitrc | 26 ++++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 26 deletions(-) delete mode 100755 config/x11/.xinitrc create mode 100755 config/x11/xinitrc (limited to 'config/x11') diff --git a/config/x11/.xinitrc b/config/x11/.xinitrc deleted file mode 100755 index e50cfa6..0000000 --- a/config/x11/.xinitrc +++ /dev/null @@ -1,26 +0,0 @@ -#!/usr/bin/env sh - -# xinput disable 'ETPS/2 Elantech Touchpad' & - -echo 'Starting redshift' -redshift & -echo 'Starting dunst' -dunst & -xset r rate 200 50 -pulseaudio -D - -case "$(cat /etc/hostname)" in - cacharle-main) - xrandr --output DVI-0 --auto --left-of DVI-1 \ - --output DVI-1 --mode 1920x1080 --primary --left-of HDMI-0 \ - --output HDMI-0 --mode 1920x1080 - ;; - - charles-laptop) - xrandr | grep 'VGA1.*connected' && - xrandr --output LVDS1 --primary --left-of VGA1 \ - --output VGA1 --mode 1280x1024 - ;; -esac - -exec xmonad diff --git a/config/x11/xinitrc b/config/x11/xinitrc new file mode 100755 index 0000000..e50cfa6 --- /dev/null +++ b/config/x11/xinitrc @@ -0,0 +1,26 @@ +#!/usr/bin/env sh + +# xinput disable 'ETPS/2 Elantech Touchpad' & + +echo 'Starting redshift' +redshift & +echo 'Starting dunst' +dunst & +xset r rate 200 50 +pulseaudio -D + +case "$(cat /etc/hostname)" in + cacharle-main) + xrandr --output DVI-0 --auto --left-of DVI-1 \ + --output DVI-1 --mode 1920x1080 --primary --left-of HDMI-0 \ + --output HDMI-0 --mode 1920x1080 + ;; + + charles-laptop) + xrandr | grep 'VGA1.*connected' && + xrandr --output LVDS1 --primary --left-of VGA1 \ + --output VGA1 --mode 1280x1024 + ;; +esac + +exec xmonad -- cgit