Commits

José Antonio Pérez Sánchez committed 7bba2f7

urxvt bindings; brightness script

Comments (0)

Files changed (2)

 *faceName: Inconsolata\ Medium
-*faceSize: 14
+*faceSize: 16
 XTerm*termName: xterm-256color
 
 !! for apps that do not support fontconfig
 !! URxvt config
 URxvt*loginShell: true
 URxvt*termName: rxvt-unicode-256color
-URxvt.font: xft:Inconsolata-dz for Powerline:size=14:antialias=true:hinting=true
+!URxvt.font: xft:Inconsolata-dz for Powerline:size=16:antialias=true:hinting=true
+URxvt.font: xft:Inconsolata Medium:size=16:antialias=true:hinting=true
 
 URxvt.perl-ext-common:  default,matcher,font-size
 URxvt.urlLauncher:      /usr/bin/luakit
 URxvt.keysym.C-Delete:  perl:matcher:last
 URxvt.keysym.M-Delete:  perl:matcher:list
 
-URxvt.keysym.C-S-1: perl:font-size:increase
-URxvt.keysym.C-S-2: perl:font-size:decrease
+URxvt.keysym.C-S-Up: perl:font-size:increase
+URxvt.keysym.C-S-Down: perl:font-size:decrease
 
 
 

home/bin/brightness

 dev=/sys/class/backlight/acpi_video0/brightness
 current=$(cat $dev)
 case "$1" in
-  up)
+  up|+)
     val=$(($current + 1))
     echo $val >$dev
     ;;
-  down)
+  down|-)
     val=$(($current - 1))
     echo $val >$dev
     ;;
+  [0-9])
+    echo $1 >$dev
+    ;;
 esac
 
 echo "Brighness = $(cat $dev)"
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.