aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2022-04-19 01:16:11 -0700
committerGravatar Tom Willemse2022-04-19 01:16:11 -0700
commitedba4af64db8808fae99e8327251af1283a35a91 (patch)
tree1c4712bf48911012b5625dd29df1589f1020be44
parent067c524ffe5f6af4828a1fff17c7fab4cb81103e (diff)
downloadnew-dotfiles-edba4af64db8808fae99e8327251af1283a35a91.tar.gz
new-dotfiles-edba4af64db8808fae99e8327251af1283a35a91.zip
Switch to the first tag before deleting the default tag
Without this, even with a target, the command will complain that the current tag can't be merged.
-rw-r--r--oni/home/services/herbstluftwm.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/oni/home/services/herbstluftwm.scm b/oni/home/services/herbstluftwm.scm
index 2d0ef82..a563aa6 100644
--- a/oni/home/services/herbstluftwm.scm
+++ b/oni/home/services/herbstluftwm.scm
@@ -73,7 +73,7 @@
(length tags))
tags)
(if (> (length tags) 0)
- (list (format #f "herbstclient merge_tag default ~s\n" (car tags)))
+ (list (format #f "herbstclient use ~s\nherbstclient merge_tag default ~s\n" (car tags) (car tags)))
'())
(map (lambda (attribute-pair)
(format #f "herbstclient attr ~a ~s\n"