From 5f47923b7ede266a631deec5511bb58444e3fab4 Mon Sep 17 00:00:00 2001 From: Mitsuo Tokumori Date: Thu, 29 Aug 2024 03:39:04 +0900 Subject: Small changes I forgot to include when appropiate --- config/xorg/xinitrc | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'config/xorg/xinitrc') diff --git a/config/xorg/xinitrc b/config/xorg/xinitrc index 74aeeef..523f19c 100644 --- a/config/xorg/xinitrc +++ b/config/xorg/xinitrc @@ -46,10 +46,23 @@ export GTK_IM_MODULE=fcitx export QT_IM_MODULE=fcitx export XMODIFIERS=@im=fcitx -xrandr --dpi 144 # Original mac: 72, stupid windows: 96 pulse15: 188 -laptop-xinput_setup.sh -xbindkeys # keyboard shortcuts +xrandr --dpi 144 # Original mac: 72, stupid windows: 96 pulse15: 188 setxkbmap -option caps:escape # map CAPSLOCK to ESC +laptop-xinput_setup.sh # laptop touchpad +laptop-xrandr.sh +xbindkeys # keyboard shortcuts +# Bind the right Alt key to Mod4 (for DWM) +# https://wiki.archlinux.org/title/Dwm#Bind_the_right_Alt_key_to_Mod4 +# xmodmap -pke | grep Alt_R +xmodmap -display ":0.0" -e "keycode 108 = Super_L" +xmodmap -display ":0.0" -e "remove mod1 = Super_L" + +#autostart="mpd xcompmgr dunst unclutter pipewire remapd" +#autostart="dunst unclutter" +# +#for program in $autostart; do +# pidof -sx "$program" || "$program" & +#done >/dev/null 2>&1 # Start twm #twm & @@ -67,6 +80,7 @@ setxkbmap -option caps:escape # map CAPSLOCK to ESC #startxfce4 # Start dwm +unclutter & xautolock -time 10 -locker slock & dwmblocks & setbg.sh & -- cgit v1.2.3