summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-05-02Move tab selection keybinding from Ctrl-t to Ctrl-`Quentin Rameau
2017-03-28One killclient() is enough.Christoph Lohmann
2016-04-25The forgotten half of the last patch.Christoph Lohmann
2016-03-25add -k to close tabbed foreground client on WMDeleteJustin Keogh
Hello, this is useful when you want to use the same key binding that closes windows to close tabs. I got tired of loosing my tabbed/surf session when I hit my WM's close key. "Last tab" behavior still respects -c/-f. Cheers -J From 829e95855f0fe78a368788a5e72231bd6456a8cf Mon Sep 17 00:00:00 2001 From: jakeogh <github.com@v6y.net> Date: Mon, 21 Mar 2016 01:36:28 +0000 Subject: [PATCH] add -k to close foreground tabbed client on WM_DELETE_WINDOW Signed-off-by: Christoph Lohmann <20h@r-36.net>
2016-02-21Import the arg.h from st with the fixed oob bug.Christoph Lohmann
2016-02-18Added xft supportLucas Gabriel Vuotto
Based on xft tabbed patch from the wiki. Signed-off-by: Lucas Gabriel Vuotto <l.vuotto92@gmail.com> Signed-off-by: Christoph Lohmann <20h@r-36.net>
2016-01-04Add configuration option for title truncation stringQuentin Rameau
Permit to use arbitrary string instead of "..." (ie "$") when truncating client title. Signed-off-by: Christoph Lohmann <20h@r-36.net>
2016-01-03Remove h flag, put usage() in the default caseQuentin Rameau
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2016-01-03Arrange diagnostic messagesQuentin Rameau
Fix error messages to use argv0 instead of fixed “tabbed”. Break usage message into multiple lines. Signed-off-by: Christoph Lohmann <20h@r-36.net>
2016-01-03Style cleanupQuentin Rameau
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2016-01-03Fix install paths and default build flagQuentin Rameau
Ensure that paths are quoted. Compile with -Os by default. Signed-off-by: Christoph Lohmann <20h@r-36.net>
2016-01-03Bumping up the year.Christoph Lohmann
Thanks for the bug report, FRIGN!
2016-01-01Bump year.Christoph Lohmann
2015-08-19autofocus urgent tabsJonas Rabenstein
When tabbed becomes urgent because one of it tabs becomes urgent, it may be desireable to automatically focus that tab. As a notification may be lost, if another notification comes in before you focused tabbed, the switch is only done, if tabbed is not urgent already. Moreover, it may be anoying, if you just type into one tab, another tab gets urgent -therfore focused- and you type into the other tab, you may switch between autofocus and nofocus using Ctrl-Shift-u. Maybe it would also be usefull, if there would be an commandline parameter to toggle that option, but as -u is already used for urgent-tab-color, i did not implement that. Signed-off-by: Jonas Rabenstein <jonas.rabenstein@studium.uni-erlangen.de> Signed-off-by: Christoph Lohmann <20h@r-36.net>
2015-08-19focus urgent tabsJonas Rabenstein
With a lot of open tabs its quite annoying to toggle through all tabs until reaching the next one with an urgent hint set. Also with using Ctrl-[0..9] to get to the first 10 tabs, in some cases this may have disadvantages: 1. with more than 10 tabs, you can not use that quickselection 2. with a small tabbed window, you do not see every tab in the statusbar and therefore do not know which tab got urgent Therefore I created a function, which iterates over all currently managed tabs, focus the first urgent tab found or stays at the current tab, if there is no urgent-tab. By default, that function is mapped to Ctrl-u. Signed-off-by: Jonas Rabenstein <jonas.rabenstein@studium.uni-erlangen.de> Signed-off-by: Christoph Lohmann <20h@r-36.net>
2015-05-09Fixing some manpage formatting and formatting in xembed.c.Christoph Lohmann
2015-05-09add xembed wrapper utilityConnor Lane Smith
xembed will cause a command to attempt to XEmbed into the window given by the environment variable XEMBED, so long as it is in the foreground of its controlling terminal. This causes a process to effectively take the place of the terminal window, unless it is backgrounded. Signed-off-by: Christoph Lohmann <20h@r-36.net>
2015-03-10fix bug in unmanage: check if lastsel is initializedMarkus Teich
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2015-01-25My libc wants _DEFAULT_SOURCE.Christoph Lohmann
2015-01-25revise drawbar and related mechanisms.Markus Teich
This also fixes a bug, where the last tab was hidden and no "after" text was displayed. Signed-off-by: Christoph Lohmann <20h@r-36.net>
2014-10-14movetab(): Move selected tab instead of switchingMarkus Teich
Before this patch, movetab() just switched positions of the selected tab with the new position. This resulted in unexpected behaviour when „moving“ a tab over one end of the list. Now tabs are moved correctly by the specified amount of indizes. Signed-off-by: Christoph Lohmann <20h@r-36.net>
2014-09-13tabbed: UnmapNotify patchOkan Demirmen
Hi, Simple patch for tabbed that prevents tabbed from killing a client that it should no longer be managing due to an UnmapNotify event. Add support for UnmapNotify; allows a window to map and unmap without needing it to be destroyed. Thanks, Okan Signed-off-by: Christoph Lohmann <20h@r-36.net>
2014-08-04Clear urgency hint on sel == cPeter Hofmann
- Run "tabbed xterm -into". - Open a new tab using Ctrl+Shift+Enter, switch to it using Ctrl+Tab. - Run "sleep 2; printf '\a'". - Quickly change back to the first tab (c = 0) and wait for the second one (c = 1) to get the urgency hint. - Close the first tab using Ctrl+Q or Ctrl+D. This sets sel = 0 and c = 0, so focus() won't touch the urgency hint. - Now, the urgency hint on the second tab has not been cleared. Open a new tab to verify it. Signed-off-by: Christoph Lohmann <20h@r-36.net>
2014-06-01Replace emallocz with ecalloc.noname
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2014-05-19add urgent color cmdline optionsMarkus Teich
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2014-05-19support urgency wm hintsMarkus Teich
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2014-01-26Simplifying the lastsel handling a bit.Christoph Lohmann
Some checks and comments were removed to simplify the function.
2014-01-26The check for a minimal new lastsel is not needed anymore.Christoph Lohmann
2014-01-26Applying the client sel handling of quinq.Christoph Lohmann
When after unmanaging the the last selected client was unmanaged, select the last client.
2014-01-22update years in copyright noticesMarkus Teich
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2014-01-21Adding conforming documentation of the commandline color support.Christoph Lohmann
2014-01-21Release 0.6.Christoph Lohmann
2014-01-21Fix crash on client terminationGregor Best
Signed-off-by: Gregor Best <gbe@ring0.de> Signed-off-by: Christoph Lohmann <20h@r-36.net>
2013-12-16Allow selecting the colors on command line.Markus Teich
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2013-12-01Document the new ctrl+t feature.Christoph Lohmann
2013-12-01select or open new tab with Ctrl-TMarkus Teich
The default config will display all open tabs in dmenu. You can either select one of them, or if you enter a string, that does not start with „0x“, tabbed will open a new tab and run the command specified at tabbed-startup but append the entered string to the command first. With tabbed -r 2 surf -e '' you can hit Ctrl-T and either select an already opened tab or enter an URL, which will be opened in a new tab with surf. Signed-off-by: Christoph Lohmann <20h@r-36.net>
2013-12-01Revert "select tab with X ClientMessage event"Christoph Lohmann
This reverts commit 34baef933d0bba6dad20e1b9f24878b63756e443.
2013-12-01select tab with X ClientMessage eventMarkus Teich
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2013-10-10Fixed obscure miscalculation when a client is closed.Alexander Sedov
This crops up whenever you just switched from tab # N+1 to tab # N and close current tab. unmanage() first decreases lastsel (so it becomes N) then erroneously tests it against sel and focuses first tab instead. One can see that focus() would never set lastsel == sel, so I took liberty to fix this annoying behaviour which happens to frequently with newposition = 0 and npisrelative = True settings. Signed-off-by: Christoph Lohmann <20h@r-36.net>
2013-08-21Fixing the manpage project name.Christoph Lohmann
Thanks Joerg Jung for noticing!
2013-08-20Adding a geometry flag to tabbed.Christoph Lohmann
Thanks for the hint Thorsten Glaser!
2013-07-12Don't set cmd[0] to the window IDGregor Best
Ahoy, the attached patch fixes a tiny issue with tabbed. When running it without a command and having it run spawn(), it tried to execute its window ID as a command. While most people probably don't have executables called 341123 or the like in their path, I think that is not exactly intended. The following patch fixes that: From c7ade36f8ef6429546ad89bc9ab479fa44c4790a Mon Sep 17 00:00:00 2001 From: Gregor Best <gbe@ring0.de> Date: Sun, 7 Jul 2013 20:36:06 +0200 Subject: [PATCH] Don't set cmd[0] to the window ID Starting tabbed without a command sets cmd[0] to the window ID of tabbed. This leads to funky errors such as "execvp: <ID> failed: no such file or directory" when running spawn(). Signed-off-by: Gregor Best <gbe@ring0.de> Signed-off-by: Christoph Lohmann <20h@r-36.net>
2013-06-23Noone likes -Wextra.Christoph Lohmann
I don't have the time to care for X11 that much.
2013-06-23Making the license fetishists happy.Christoph Lohmann
2013-06-10Adding more warnings and no debugging symbols.Christoph Lohmann
Thanks Joerg Jung!
2013-05-28Applying a fix for tab rotation.Christoph Lohmann
Thanks "Oleg O. Chukaev" <oleg.chukaev@mail.ru>!
2013-05-20Fix issue with clicks on the tabbed border.Christoph Lohmann
Thanks David Dufberg Tøttrup <david@dufberg.se>!
2013-05-060.5 tabbed release.Christoph Lohmann
2013-04-18Fix spelling of providedMichael Stevens
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2013-01-16Making tabbed convert the title string to native.Christoph Lohmann
Thanks "Markus Wichmann" <nullplan@gmx.net>!
2013-01-06Allowing xterm again to be run in tabbed.Christoph Lohmann
Thanks "Oleg O. Chukaev" <oleg.chukaev@mail.ru> for reporting this!
2012-12-26Fixing the position parameter and adding the documentation for it.Christoph Lohmann
2012-12-25Fixing the compile warning for setenv.Christoph Lohmann
2012-12-25Setting the XEMBED environment variable.Christoph Lohmann
Thanks Kyle Kramer for the suggestion!
2012-12-25Adding an option to do relative new position. And fixing tab position.Christoph Lohmann
Thanks Kyle Kramer for the suggestion!
2012-12-25Adding the -c option to close on last client close.Christoph Lohmann
Thanks for the suggestion by Kyle Kramer!
2012-12-25Removing .hgtags file.Christoph Lohmann
2012-12-07Trivial changes to try out the new update filter script.Christoph Lohmann
2012-12-07Just some change I always wanted to apply.Christoph Lohmann
2012-12-03Adding fullscreen mode to tabbed.Christoph Lohmann
2012-11-29Removing that change.Christoph Lohmann
2012-11-29A test, if this works.Christoph Lohmann
2012-11-28Another small change to test the git e-mailing.Christoph Lohmann
2012-11-28A small change for a test.Christoph Lohmann
2012-11-28Another small change to test the git interface.Christoph Lohmann
2012-11-28A test commit for git.Christoph Lohmann
2012-11-27Adding the form of -r1, which will result in -r 1 in arg.h.Christoph Lohmann
2012-11-27Correcting the lastsel handling in tabbed. It should be more predictable now.Christoph Lohmann
2012-11-26Add the -f flag, which tells tabbed to run the given command again, in caseChristoph Lohmann
the last tab is closed.
2012-11-25New windows should be in the foreground.Christoph Lohmann
2012-11-25Changing the single-linked list for clients to a malloc()ed array. This makesChristoph Lohmann
algorithms more efficient, that depend on the number of clients or shuffeling around. The patch also adds new shortcuts to move tabs in their position. The default color scheme is changed to the one of the maintainer.
2012-11-08Avoid flashing of surf when it is run in tabbed. Thanks Carlos Pita!Christoph Lohmann
2012-11-08Allowing a different position for the window id. Thanks David Galos!Christoph Lohmann
2012-11-08Style inquistion was here.Christoph Lohmann
2012-10-13Fix the atom handling and fix the title setting. Thanks to Carlos Pita!Christoph Lohmann
2012-10-03Adding the -n name parameter to set WM_CLASS. Thanks Gavin WahlChristoph Lohmann
<gavinwahl@gmail.com>!
2012-08-20Added tag 0.4.1 for changeset 29663026c3cbChristoph Lohmann
2012-08-20Minor release version.Christoph Lohmann
2012-08-20Test before commit. Correcting a typo.Christoph Lohmann
2012-08-20Adding ed(1) compatibility.Christoph Lohmann
2012-08-20Readding the spawn compatibility to use it in config.h. Thanks to Chris Hall.Christoph Lohmann
2012-07-07Added tag 0.4 for changeset 8a0db4733dd2Christoph Lohmann
2012-07-07Removed tag 0.4Christoph Lohmann
2012-07-07Removing the warning about »XKeycodeToKeysym.Christoph Lohmann
2012-07-07Added tag 0.4 for changeset d5b48b107641Christoph Lohmann
2012-07-07Removed tag 0.5Christoph Lohmann
2012-07-07Added tag 0.5 for changeset f82c63df310aChristoph Lohmann
2012-07-07Added tag 0.3 for changeset 78e9432d30bcChristoph Lohmann
2012-07-07Removed tag 0.4Christoph Lohmann
2012-07-07Removed tag 0.3Christoph Lohmann
2012-07-07Releasing version 0.4.Christoph Lohmann
2012-07-07Added tag 0.4 for changeset 5354ba0081c5Christoph Lohmann
2012-04-06Adding the missing arg.h for ARG* macros.Christoph Lohmann
2012-04-06Adding myself to the contributors list.Christoph Lohmann
2012-04-06Happy new year 2012!Christoph Lohmann
2012-04-06Introduce ARG* macros to simplify arg handling.Christoph Lohmann
2012-04-06Fixing a manpage typo.Christoph Lohmann
2012-04-06Enable easier tabbed handling with the xid.Christoph Lohmann
2012-02-09Add '--' and concatenated parameter support.Christoph Lohmann
2012-02-09Allow no automatic spawning of the command.Christoph Lohmann