Skip to content

Commit

Permalink
Updated hidpi_x11 function in .zshrc.local
Browse files Browse the repository at this point in the history
  • Loading branch information
gsanhueza committed Apr 3, 2024
1 parent 881df6a commit e21518b
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
1 change: 1 addition & 0 deletions airootfs/root/.Xresources
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#Xft.dpi:192
1 change: 0 additions & 1 deletion airootfs/root/.Xresources.hidpi

This file was deleted.

3 changes: 3 additions & 0 deletions airootfs/root/.xinitrc
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
#!/bin/sh

#export GDK_SCALE=2
exec i3
4 changes: 0 additions & 4 deletions airootfs/root/.xinitrc.hidpi

This file was deleted.

5 changes: 3 additions & 2 deletions airootfs/root/.zshrc.local
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ function hidpi_x11()
# embedded i3 window manager, you can use the
# terminal and GParted with bigger fonts.

cp /root/.xinitrc.hidpi /root/.xinitrc -v
cp /root/.Xresources.hidpi /root/.Xresources -v
echo ">> Setting HiDPI environment ... <<"
sed -i "s/\#export/export/g" ~/.xinitrc
sed -i "s/\#Xft/Xft/g" ~/.Xresources
}

function cowsize_expand()
Expand Down

0 comments on commit e21518b

Please sign in to comment.