From 1f68edef08094fd9d060d812bf45fe17d5ed4a31 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Thu, 23 May 2019 20:07:00 -0400 Subject: [PATCH] fix? for dm users --- .xinitrc | 12 +----------- .xprofile | 14 +++++++++++++- 2 files changed, 14 insertions(+), 12 deletions(-) mode change 120000 => 100644 .xprofile diff --git a/.xinitrc b/.xinitrc index 9647e2c9..71bf4f96 100644 --- a/.xinitrc +++ b/.xinitrc @@ -1,15 +1,5 @@ #!/bin/sh -setbg & # Set the background -sxhkd & # Bind keys -# Switch to US international with Caps as Mod/Escape -setxkbmap -option caps:super -variant altgr-intl && killall xcape 2>/dev/null ; xcape -e 'Super_L=Escape' & -# Properties button extra Mod/Escape -xmodmap -e 'keycode 135 = Super_R' & -xset r rate 300 50 & # Speed xrate up -unclutter & # Remove mouse when idle -xcompmgr & # xcompmgr for transparency -dunst & # dunst for notifications -mpdupdate & +[ -f "$HOME/.xprofile" ] && . ~/.xprofile exec i3 diff --git a/.xprofile b/.xprofile deleted file mode 120000 index aa7da3a9..00000000 --- a/.xprofile +++ /dev/null @@ -1 +0,0 @@ -.profile \ No newline at end of file diff --git a/.xprofile b/.xprofile new file mode 100644 index 00000000..84bf7c76 --- /dev/null +++ b/.xprofile @@ -0,0 +1,13 @@ +#!/bin/sh + +setbg & # Set the background +sxhkd & # Bind keys +# Switch to US international with Caps as Mod/Escape +setxkbmap -option caps:super -variant altgr-intl && killall xcape 2>/dev/null ; xcape -e 'Super_L=Escape' & +# Properties button extra Mod/Escape +xmodmap -e 'keycode 135 = Super_R' & +xset r rate 300 50 & # Speed xrate up +unclutter & # Remove mouse when idle +xcompmgr & # xcompmgr for transparency +dunst & # dunst for notifications +mpdupdate &