From d0df0118e4f9d44f858c5953c1ac8b71ef88444b Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Mon, 30 Jan 2012 10:24:35 +0100 Subject: [PATCH 1/8] .config/newsbeuter/urls --- .config/newsbeuter/urls | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.config/newsbeuter/urls b/.config/newsbeuter/urls index 323b011..3356087 100644 --- a/.config/newsbeuter/urls +++ b/.config/newsbeuter/urls @@ -1,4 +1,4 @@ -# -*- mode: conf; mode: outline-minor -*- +# -*- mode: conf; eval: (git-auto-commit-mode 1) -*- #-----[ Followed projects ]------------------------------------------- https://github.com/ryuslash.private.atom?token=7362ca0604736cd92b5441949e8c9cd4 @@ -74,6 +74,7 @@ http://www.reddit.com/r/emacs/.rss emacs http://planet.emacsen.org/atom.xml emacs http://emacsblog.org/feed/ emacs http://www.emacswiki.org/emacs?action=rss emacs +http://feeds.feedburner.com/XahsEmacsBlog #-----[ N900 ]-------------------------------------------------------- http://www.reddit.com/r/n900/.rss n900 From a1fef455d1ac6e28a9d7a085fdb9f6758bfe79b2 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Mon, 30 Jan 2012 12:26:17 +0100 Subject: [PATCH 2/8] .xbindkeysrc.scm --- .xbindkeysrc.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.xbindkeysrc.scm b/.xbindkeysrc.scm index 0f1546c..e467941 100644 --- a/.xbindkeysrc.scm +++ b/.xbindkeysrc.scm @@ -1,3 +1,4 @@ +;; -*- eval: (git-auto-commit-mode 1) -*- ;;; Modkey (define modkey 'mod4) @@ -52,6 +53,7 @@ (xbindkey-function '(shift f) (cmd "herbstclient fullscreen toggle")) (xbindkey-function '(p) (cmd "herbstclient pseudotile toggle")) (xbindkey-function '(r) resize-map) + (xbindkey-function '(m) (cmd "~/bin/move_to_tag")) (xbindkey-function `(,modkey g) reset-main-binding) (grab-all-keys)) From b37378eb70eb2a0c0c45455eefd5dc41f8813b64 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Mon, 30 Jan 2012 16:52:30 +0100 Subject: [PATCH 3/8] .xbindkeysrc.scm --- .xbindkeysrc.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/.xbindkeysrc.scm b/.xbindkeysrc.scm index e467941..4bf6ecc 100644 --- a/.xbindkeysrc.scm +++ b/.xbindkeysrc.scm @@ -16,6 +16,7 @@ (main-binding) (grab-all-keys)) + ;;; Maps (define (main-binding) "First binding" From 74be96aa45bdd27f3cbfdcc5e29ab254ee52ece3 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Mon, 30 Jan 2012 16:52:31 +0100 Subject: [PATCH 4/8] .xbindkeysrc.scm --- .xbindkeysrc.scm | 1 - 1 file changed, 1 deletion(-) diff --git a/.xbindkeysrc.scm b/.xbindkeysrc.scm index 4bf6ecc..e467941 100644 --- a/.xbindkeysrc.scm +++ b/.xbindkeysrc.scm @@ -16,7 +16,6 @@ (main-binding) (grab-all-keys)) - ;;; Maps (define (main-binding) "First binding" From 1f659f7b6793097d8e6d2878e2e10c32079d4fee Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Tue, 31 Jan 2012 15:09:00 +0100 Subject: [PATCH 5/8] Remove changelog --- ChangeLog | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 ChangeLog diff --git a/ChangeLog b/ChangeLog deleted file mode 100644 index aed05e4..0000000 --- a/ChangeLog +++ /dev/null @@ -1,6 +0,0 @@ -2011-12-03 Tom Willemsen - - * .Xdefaults: Changed `*.color2' from #5a8e3a to #337733, - `*.color10' from #80b080 to #5ec95e, `*.color3' from #c9c990 to - #eac435, `*.color4' from RoyalBlue to #295874, `*.color12' from - #90a4c8 to RoyalBlue and `*.color13' from #ad68a6 to #9b859d From c06c29c929e11d0676ba446cff5d9a6023a50a1d Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Tue, 31 Jan 2012 15:45:32 +0100 Subject: [PATCH 6/8] Added move_to_tag command --- bin/move_to_tag | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 bin/move_to_tag diff --git a/bin/move_to_tag b/bin/move_to_tag new file mode 100755 index 0000000..3cf1806 --- /dev/null +++ b/bin/move_to_tag @@ -0,0 +1,9 @@ +#!/bin/zsh + +. $HOME/bin/hlwm_source + +if [[ "${TAGS[@]}" != *" $FOO "* ]]; then + herbstclient add $FOO +fi + +herbstclient move $FOO From 768262d2530cc9350264130deb04c5e82e7ddb1a Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Tue, 31 Jan 2012 16:03:14 +0100 Subject: [PATCH 7/8] .Xdefaults --- .Xdefaults | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.Xdefaults b/.Xdefaults index 1ce4327..7705911 100644 --- a/.Xdefaults +++ b/.Xdefaults @@ -47,8 +47,8 @@ urxvt*urlLauncher: firefox urxvt*matcher.button: 1 ! Appearance -urxvt.font: -misc-tamsyn-medium-r-normal-*-17-*-*-*-*-*-iso8859-* -urxvt.boldFont: -misc-tamsyn-bold-r-normal-*-17-*-*-*-*-*-iso8859-* +urxvt.font: xft:DejaVu Sans Mono:weight=medium:pixelsize=13 +urxvt.boldFont: xft:DejaVu Sans Mono:weight=black:pixelsize=13 urxvt.transparent: true xterm*faceName: -misc-tamsyn-medium-r-normal-*-17-*-*-*-*-*-iso8859-* From ce5f39a6ca5acb264f2791676b5e2b03c98876ae Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Tue, 31 Jan 2012 16:03:40 +0100 Subject: [PATCH 8/8] .config/herbstluftwm/panel.sh --- .config/herbstluftwm/panel.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/herbstluftwm/panel.sh b/.config/herbstluftwm/panel.sh index 448a0c6..14080b9 100755 --- a/.config/herbstluftwm/panel.sh +++ b/.config/herbstluftwm/panel.sh @@ -9,9 +9,9 @@ if [ -z "$geometry" ] ;then fi # geometry has the format: WxH+X+Y x=${geometry[0]} -y=${geometry[1]} width=${geometry[2]} height=1 +y=$(expr ${geometry[3]} - $height) tag_width=40 font="-misc-tamsyn-medium-r-normal-*-14-*-*-*-*-*-iso8859-*" @@ -25,7 +25,7 @@ function uniq_linebuffered() { awk '$0 != l { print ; l=$0 ; fflush(); }' "$@" } -herbstclient pad $monitor $(expr $height - 4) -5 -5 -5 +herbstclient pad $monitor -5 -5 $(expr -5 + $height) -5 herbstclient pad $monitor2 -5 -5 -5 -5 { childpid=$!