Update .xinitrc
This commit is contained in:
parent
424ec3b86b
commit
dd9f5a2d5d
23
.xinitrc
23
.xinitrc
|
@ -1,9 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
# JetBrains IDE fix
|
||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||
export AWT_TOOLKIT=MToolkit
|
||||
wmname LG3D
|
||||
# Export some paths here that need to be picked up by
|
||||
# the dmenu
|
||||
source ~/.config/path
|
||||
|
||||
userresources=$HOME/.Xresources
|
||||
usermodmap=$HOME/.Xmodmap
|
||||
|
@ -42,8 +41,8 @@ xset s noblank # don't blank the video device
|
|||
xset s off # disable screensaver
|
||||
|
||||
# Try to use the same scaling as my 4K monitor on my 768 laptop monitor
|
||||
xrandr --dpi 150 \
|
||||
--output eDP1 --scale 1.5x1.5
|
||||
xrandr --dpi 163.2 \
|
||||
--output eDP1 --scale 1.615x1.615
|
||||
|
||||
# Restore my background
|
||||
nitrogen --restore &
|
||||
|
@ -58,15 +57,15 @@ picom --experimental-backends &
|
|||
# Load keybinds
|
||||
#xbindkeys
|
||||
|
||||
setxkbmap us dvp
|
||||
|
||||
# Start dwmblocks
|
||||
dwmblocks &
|
||||
|
||||
# Export some paths here that need to be picked up by
|
||||
# the dmenu
|
||||
source ~/.config/path
|
||||
|
||||
# Disable the laptop keyboard
|
||||
# sleep 5; /home/vtimofei/scripts/laptopkb-disable &
|
||||
# Disable the laptop keyboard & touchpad
|
||||
/home/vtimofei/scripts/laptopkb-disable
|
||||
/home/vtimofei/scripts/laptoptouch-disable
|
||||
|
||||
# Finally exec my window manager
|
||||
exec dwm
|
||||
# exec /home/vtimofei/desktop-apps/dwm/rwm/target/debug/rwm 2>/tmp/rwm.logs
|
||||
|
|
Loading…
Reference in New Issue