aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-06-16 20:17:01 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-06-16 20:17:01 -0300
commitfcae9935850eb5a316902a2b63f56e2edef4e7fa (patch)
tree7b963da41af20a9369e67113dff45834c5f74177
parent910ded3a4c2ffdaa5286ae8a93d6d1cad225204a (diff)
downloadxsession-fcae9935850eb5a316902a2b63f56e2edef4e7fa.tar.gz
xsession-fcae9935850eb5a316902a2b63f56e2edef4e7fa.tar.bz2
Adds urxvt-font-size script
-rw-r--r--.gitmodules3
-rw-r--r--Xresources.dot.link11
l---------urxvt.dot.link/ext/font-size1
m---------urxvt.dot.link/ext/urxvt-font-size0
4 files changed, 14 insertions, 1 deletions
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000..66d6fc4
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,3 @@
+[submodule "urxvt.dot.link/ext/urxvt-font-size"]
+ path = urxvt.dot.link/ext/urxvt-font-size
+ url = https://github.com/majutsushi/urxvt-font-size
diff --git a/Xresources.dot.link b/Xresources.dot.link
index d7853e6..82f5842 100644
--- a/Xresources.dot.link
+++ b/Xresources.dot.link
@@ -45,7 +45,16 @@ URxvt.color15: #ffffff
! Terminal font with powerline support
URxvt*font: xft:Terminus:pixelsize=14,xft:Inconsolata\ for\ Powerline:pixelsize=14
-! Seee https://wiki.archlinux.org/index.php/HiDPI#X_Resources
+! See https://wiki.archlinux.org/index.php/HiDPI#X_Resources
Xft.dpi: 96
Xft.hinting: 1
Xft.hintstyle: hintmedium
+
+! Dynamically increase/decrease font-size
+!
+! Note that you might want to resize the window once you change the font size.
+! In Awesome Window Manager it can be done by setting window to fullscreen and
+! then settting it back.
+!
+! See https://github.com/majutsushi/urxvt-font-size
+URxvt.perl-ext-common: ...,font-size
diff --git a/urxvt.dot.link/ext/font-size b/urxvt.dot.link/ext/font-size
new file mode 120000
index 0000000..dc9cb4a
--- /dev/null
+++ b/urxvt.dot.link/ext/font-size
@@ -0,0 +1 @@
+urxvt-font-size/font-size \ No newline at end of file
diff --git a/urxvt.dot.link/ext/urxvt-font-size b/urxvt.dot.link/ext/urxvt-font-size
new file mode 160000
+Subproject 0984499379e420de651dcfeedfbb7938867c44f