Skip to content

Instantly share code, notes, and snippets.

//Modify this file to change what commands output to your statusbar, and recompile using the make command.
static const Block blocks[] = {
/*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/
{"", "nettraf", 1, 16},
{"", "volume", 1, 10},
{"", "clock", 60, 1},
{"", "internet", 5, 4},
};
[2024-01-03T04:55:32+0000] [PACMAN] Running 'pacman -r /mnt/archinstall -Sy --noconfirm --config=/etc/pacman.conf --cachedir=/mnt/archinstall/var/cache/pacman/pkg --noconfirm base base-devel linux-firmware linux grub'
[2024-01-03T04:55:32+0000] [PACMAN] synchronizing package lists
[2024-01-03T04:59:21+0000] [ALPM] transaction started
[2024-01-03T04:59:21+0000] [ALPM] installed iana-etc (20231117-1)
[2024-01-03T04:59:21+0000] [ALPM] installed filesystem (2023.09.18-1)
[2024-01-03T04:59:21+0000] [ALPM] installed linux-api-headers (6.4-1)
[2024-01-03T04:59:21+0000] [ALPM] installed tzdata (2023d-1)
[2024-01-03T04:59:21+0000] [ALPM] installed glibc (2.38-7)
[2024-01-03T04:59:22+0000] [ALPM] installed gcc-libs (13.2.1-3)
[2024-01-03T04:59:22+0000] [ALPM] installed ncurses (6.4_20230520-1)
/* See LICENSE file for copyright and license details. */
/* appearance */
static const unsigned int borderpx = 3; /* border pixel of windows */
static const unsigned int gappx = 3; /* gaps between windows */
static const unsigned int snap = 32; /* snap pixel */
static const int swallowfloating = 0; /* 1 means swallow floating windows by default */
static const int showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
static const char *fonts[] = { "JetBrains Mono:size=11", "JoyPixels:pixelsize=11:antialias=true:autohint=true"};
sh: line 1: internet: command not found
sh: line 1: internet: command not found
sh: line 1: internet: command not found
sh: line 1: internet: command not found
sh: line 1: internet: command not found
//Modify this file to change what commands output to your statusbar, and recompile using the make command.
static const Block blocks[] = {
/*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/
{"", "nettraf", 1, 16},
{"", "volume", 1, 10},
{"", "clock", 60, 1},
{"", "internet", 5, 4},
};
/* See LICENSE file for copyright and license details. */
/* appearance */
static const unsigned int borderpx = 3; /* border pixel of windows */
static const unsigned int gappx = 3; /* gaps between windows */
static const unsigned int snap = 32; /* snap pixel */
static const int swallowfloating = 0; /* 1 means swallow floating windows by default */
static const int showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
static const char *fonts[] = { "JetBrains Mono:size=11", "JoyPixels:pixelsize=11:antialias=true:autohint=true"};
/* See LICENSE file for copyright and license details. */
/*
* appearance
*
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
*/
static char *font = "JetBrains Mono:pixelsize=16:antialias=true:autohint=true";
static char *font2[] = { "JoyPixels:pixelsize=16:antialias=true:autohint=true" };
static int borderpx = 15;