No border in Firefox

Issue #50 resolved
Carlo Ascani created an issue

Hi all,

Firefox does not show any border for me.

See the picture below:

This is my dkrc (I usually have 2px borders and no gaps, I put those values in to better show the issue)

#!/bin/sh

logfile="$HOME/.dkrc.log"
: > "$logfile"

# (re)load sxhkd for keybinds
if hash sxhkd >/dev/null 2>&1; then
    pkill sxhkd
    sxhkd -c "$HOME/.config/dk/sxhkdrc" &
fi

{
    dkcmd set numws=9
    dkcmd set ws=_ apply \
        layout=tile \
        master=1 \
        stack=3 \
        gap=10 \
        msplit=0.55 \
        ssplit=0.5
    dkcmd set \
        focus_open=true \
        focus_urgent=true \
        focus_mouse=true
    dkcmd set \
        tile_tohead=0 \
        tile_hints=false
    dkcmd set win_minwh=50 win_minxy=10
    dkcmd set smart_gap=true smart_border=true
    dkcmd set mouse mod=alt move=button1 resize=button3
    dkcmd set obey_motif=true
    dkcmd set border \
        width=10 \
        colour \
            focus='#ff0000' \
            unfocus='#303030' \
            urgent='#ff0000'

    dkcmd rule class="^(pavucontrol|appfinder)$" float=true
    dkcmd rule class="^(alacritty|xterm|xterm-256colors)$" terminal=true
    dkcmd rule title="^Event Tester$" no_absorb=true
    dkcmd rule apply '*'

} >> "$logfile" 2>&1

if grep -q 'error:' "$logfile"
then
    hash notify-send && notify-send -t 0 -u critical "dkrc has errors" \
        "$(awk '/error:/ {sub(/^error: /, ""); gsub(/</, "\<"); print}' "$logfile")"
    exit 1
fi

exit 0

Comments (3)

  1. Carlo Ascani reporter

    In Firefox, is it possible to activate the Title Bar in the Customize toolbar menu.

    That enables Server Side decorations I believe, and dk pick that up correctly.

    Sorry for the noise

  2. Log in to comment