Skip to content

Instantly share code, notes, and snippets.

@fwsmit
fwsmit / anchor.diff
Created April 4, 2021 17:06
Mako patch for adding left-right anchors
diff --git a/config.c b/config.c
index 6d68205..2423dbf 100644
--- a/config.c
+++ b/config.c
@@ -597,6 +597,16 @@ static bool apply_style_option(struct mako_style *style, const char *name,
ZWLR_LAYER_SURFACE_V1_ANCHOR_LEFT;
} else if (strcmp(value, "center") == 0) {
style->anchor = 0;
+ } else if (strcmp(value, "left-right") == 0) {
+ style->anchor = ZWLR_LAYER_SURFACE_V1_ANCHOR_LEFT |
#!/bin/bash
ICON_ROOT=/usr/share/icons/Adwaita
# pause in milliseconds per test notification
# about icons 5907 in total
PAUSE=1
LOG="wg-dunst-test-icons.log"
# $ find $ICON_ROOT -type f | grep -v -e "\(.png\|.svg\)"
# shows that the only other files are below, which are not icons
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1] darkman-0.2.0-1
1 darkman (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
:: PKGBUILD up to date, Skipping (1/1): darkman
1 darkman (Build Files Exist)
# Default config for sway
#
# Copy this to ~/.config/sway/config and edit it to your liking.
#
# Read `man 5 sway` for a complete reference.
### Variables
#
# Logo key. Use Mod1 for Alt.
set $mod Mod4
❯ coredumpctl gdb sway
Hint: You are currently not seeing messages from other users and the system.
Users in groups 'adm', 'systemd-journal', 'wheel' can see all messages.
Pass -q to turn off this notice.
PID: 717 (sway)
UID: 1000 (friso)
GID: 1000 (friso)
Signal: 11 (SEGV)
Timestamp: Fri 2021-12-03 13:44:51 CET (6min ago)
Command Line: sway