From 2171f213d6c7d0443c52b736b12f4394b4e34655 Mon Sep 17 00:00:00 2001 From: Julian T Date: Mon, 13 Jan 2020 12:51:33 +0100 Subject: Switched xlaunch system --- xinit/#pre_stow.sh# | 3 +++ xinit/.Xmodmap | 4 ++++ xinit/.zprofile | 3 +++ xinit/Scripts/xlaunchrc | 31 +++++++++++++++++++++++++++++++ 4 files changed, 41 insertions(+) create mode 100644 xinit/#pre_stow.sh# create mode 100644 xinit/.Xmodmap create mode 100644 xinit/.zprofile create mode 100755 xinit/Scripts/xlaunchrc (limited to 'xinit') diff --git a/xinit/#pre_stow.sh# b/xinit/#pre_stow.sh# new file mode 100644 index 0000000..c972151 --- /dev/null +++ b/xinit/#pre_stow.sh# @@ -0,0 +1,3 @@ +#!/bin/sh + +mkdir -p ~/Scripts diff --git a/xinit/.Xmodmap b/xinit/.Xmodmap new file mode 100644 index 0000000..89d617a --- /dev/null +++ b/xinit/.Xmodmap @@ -0,0 +1,4 @@ +clear lock +clear control +keycode 66 = Control_R +add control = Control_R Control_L diff --git a/xinit/.zprofile b/xinit/.zprofile new file mode 100644 index 0000000..b78f84a --- /dev/null +++ b/xinit/.zprofile @@ -0,0 +1,3 @@ +if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then + exec startx +fi diff --git a/xinit/Scripts/xlaunchrc b/xinit/Scripts/xlaunchrc new file mode 100755 index 0000000..2a27fa2 --- /dev/null +++ b/xinit/Scripts/xlaunchrc @@ -0,0 +1,31 @@ +#!/usr/bin/env bash + +set +e + +setxkbmap -layout us -variant altgr-intl + +export _JAVA_AWT_WM_NONREPARENTING=1 +feh --bg-tile /home/julian/Pictures/defaultWall.* +export TERM=xfce4-terminal +export TERMINAL=xfce4-terminal + +export SSH_AUTH_SOCK=${XDG_RUNTIME_DIR}/gnupg/S.gpg-agent.ssh + +dbus-update-activation-environment --systemd DISPLAY & +eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets) & + +xmodmap .Xmodmap +xcape -e "Control_R=Escape" + +nm-applet & +xscreensaver & +xss-lock -- xscreensaver-command --lock & +dunst & +# xcompmgr & + +# play ~/Winsounds/login.wav -q & + +autorandr -c +xfce4-panel & + +# Please do not block -- cgit v1.2.3