From: Sergey Matveev Date: Sat, 4 May 2024 16:45:11 +0000 (+0300) Subject: Some HiDPI-related stuff X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=a382a4c9f7edc9295247389cd7ea4cd143942a7a;p=dotfiles.git Some HiDPI-related stuff --- diff --git a/wish/.wishrc b/wish/.wishrc new file mode 100644 index 0000000..2fa31fa --- /dev/null +++ b/wish/.wishrc @@ -0,0 +1,4 @@ +font create myDefaultFont -family Go -size 14 +option add *font myDefaultFont +tk scaling [expr {163 / 72.0}] +tk_setPalette grey diff --git a/x/.Xresources b/x/.Xresources index 00f07a8..aec20aa 100644 --- a/x/.Xresources +++ b/x/.Xresources @@ -1,4 +1,3 @@ -Xft.dpi: 96 Xft.hinting: true Xft.antialias: true Xft.autohint: false diff --git a/x/.xinitrc b/x/.xinitrc index 4717bbb..0fa02e1 100755 --- a/x/.xinitrc +++ b/x/.xinitrc @@ -5,6 +5,7 @@ xset b off setxkbmap -rules xorg -layout us,ru -option grp:caps_toggle,grp_led:caps xrdb ~/.Xresources xmodmap ~/.Xmodmap +xset m 4 ~/work/godwmstat/godwmstat -xsetroot & rm -f ~/.ssh/agent ; ssh-agent -a $SSH_AUTH_SOCK exec ~/src/suckless/dwm/dwm diff --git a/x/bin/start-x b/x/bin/start-x index ca17aa2..cf889aa 100755 --- a/x/bin/start-x +++ b/x/bin/start-x @@ -1,4 +1,4 @@ #!/bin/sh rm .serverauth.* .Xauthority* -exec startx +exec startx $@