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