Archived
added bash dpi switcher detecting monitor types (more to come)
This commit is contained in:
1 parent
bc609835d8
commit
e7c3697c96
10 files changed
+41
-47
No files matched your search
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#! /bin/bash
|
||||
|
||||
if xdpyinfo | grep --quiet -oh 1440
|
||||
then
|
||||
sed '1 s/96/128/g' ~/.Xresources > /tmp/xres
|
||||
mv /tmp/xres ~/.Xresources
|
||||
fi
|
||||
|
||||
if xdpyinfo | grep --quiet -oh 1080
|
||||
then
|
||||
sed '1 s/128/96/g' ~/.Xresources > /tmp/xres
|
||||
mv /tmp/xres ~/.Xresources
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user