Skip to content

Instantly share code, notes, and snippets.

@ivan
ivan / set-xfce4-panel-bgcolor.sh
Last active May 20, 2021 22:19
Set the background color of xfce4-panel from the command line
#!/usr/bin/env bash
set -eu
# Set the background color of xfce4-panel; takes 4 arguments:
# R G B A, ranging from 0.0 to 1.0.
#
# Tested only with xfce4-panel 4.13.4 which uses four doubles for
# <property name="background-rgba" type="array">