Bladeren bron

emojis

master
RinRi-D 3 jaren geleden
bovenliggende
commit
e203c17619
6 gewijzigde bestanden met toevoegingen van 10 en 10 verwijderingen
  1. BIN
      2020-08-26-215357_1920x1080_scrot.png
  2. BIN
      2020-08-26-215501_1920x1080_scrot.png
  3. +5
    -5
      config.def.h
  4. +5
    -5
      config.h
  5. BIN
      slstatus
  6. BIN
      slstatus.o

BIN
2020-08-26-215357_1920x1080_scrot.png Bestand weergeven

Voor Na
Breedte: 1920  |  Hoogte: 1080  |  Grootte: 548 KiB

BIN
2020-08-26-215501_1920x1080_scrot.png Bestand weergeven

Voor Na
Breedte: 1920  |  Hoogte: 1080  |  Grootte: 561 KiB

+ 5
- 5
config.def.h Bestand weergeven

@@ -1,7 +1,7 @@
/* See LICENSE file for copyright and license details. */

/* interval between updates (in ms) */
const unsigned int interval = 1000;
const unsigned int interval = 300;

/* text to show if no value can be retrieved */
static const char unknown_str[] = "n/a";
@@ -64,10 +64,10 @@ static const char unknown_str[] = "n/a";
static const struct arg args[] = {
/* function format argument */
{ keymap, "%s ", "NULL"},
{ run_command, "V:%s ", "amixer sget Master | awk -F\"[][]\" '/%/ { print $2 }' | head -n1" },
{ battery_perc, "B:%s|", "BAT1"},
{ run_command, ":%s ", "amixer sget Master | awk -F\"[][]\" '/%/ { print $2 }' | head -n1" },
{ battery_perc, ":%s|", "BAT1"},
{ battery_state, "%s ", "BAT1"},
{ cpu_perc, "C:%s ", "NULL"},
{ ram_free, "R:%s ", "NULL"},
{ cpu_perc, ":%s ", "NULL"},
{ ram_free, ":%s ", "NULL"},
{ datetime, "%s", "%a %F %H:%M" },
};

+ 5
- 5
config.h Bestand weergeven

@@ -1,7 +1,7 @@
/* See LICENSE file for copyright and license details. */

/* interval between updates (in ms) */
const unsigned int interval = 1000;
const unsigned int interval = 300;

/* text to show if no value can be retrieved */
static const char unknown_str[] = "n/a";
@@ -64,10 +64,10 @@ static const char unknown_str[] = "n/a";
static const struct arg args[] = {
/* function format argument */
{ keymap, "%s ", "NULL"},
{ run_command, "V:%s ", "amixer sget Master | awk -F\"[][]\" '/%/ { print $2 }' | head -n1" },
{ battery_perc, "B:%s|", "BAT1"},
{ run_command, ":%s ", "amixer sget Master | awk -F\"[][]\" '/%/ { print $2 }' | head -n1" },
{ battery_perc, ":%s|", "BAT1"},
{ battery_state, "%s ", "BAT1"},
{ cpu_perc, "C:%s ", "NULL"},
{ ram_free, "R:%s ", "NULL"},
{ cpu_perc, ":%s ", "NULL"},
{ ram_free, ":%s ", "NULL"},
{ datetime, "%s", "%a %F %H:%M" },
};

BIN
slstatus Bestand weergeven


BIN
slstatus.o Bestand weergeven


Laden…
Annuleren
Opslaan