dotfiles

personal configuration files and scripts
git clone https://tongong.net/git/dotfiles.git
Log | Files | Refs | README

commit c534fa16154ca77e66ef468189362456f995872d
parent 866888d0b3e5524dfc195473e34a4a37ac1e628d
Author: tongong <tongong@gmx.net>
Date:   Sun, 11 Jul 2021 22:33:04 +0200

switched to new laptop

Diffstat:
Mdwm/autostart.sh | 5+----
Msuckless/dsblocks/blocks/cpu.c | 2+-
Msuckless/dsblocks/config.h | 2+-
Msuckless/install.sh | 2+-
4 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/dwm/autostart.sh b/dwm/autostart.sh @@ -9,9 +9,6 @@ else # window manager settings picom & - # config for the old laptop: - # xrandr --output VGA-1 --off --output HDMI-1 --mode 1920x1080 --pos 1368x0 --rotate normal --output LVDS-1 --mode 1366x768 --pos 0x0 --rotate normal - xrandr --output HDMI-1 --primary --mode 1920x1080 --pos 1920x0 --rotate normal --output DVI-D-1 --mode 1920x1080 --pos 0x0 --rotate normal --output DP-1 --off --output DP-2 --off nitrogen --restore & # dwm statusbar @@ -21,7 +18,7 @@ else ~/.dwm/blocks/music-daemon.sh & # refresh arch package lists (to show number of updates in statusbar - sudo /usr/local/bin/refreshpkglist & + # sudo /usr/local/bin/refreshpkglist & # autostart programs clipmenud & diff --git a/suckless/dsblocks/blocks/cpu.c b/suckless/dsblocks/blocks/cpu.c @@ -9,7 +9,7 @@ #define STATFILE "/proc/uptime" #define MAX_CHARS_PER_LINE 40 /* IMPORTANT: idle is the sum of the cores, but uptime real time */ -#define CORE_NUM 4 +#define CORE_NUM 8 size_t cpuu(char *str, int sigval) { diff --git a/suckless/dsblocks/config.h b/suckless/dsblocks/config.h @@ -43,7 +43,7 @@ static const char delimiter[] = { ' ', '|', ' ', DELIMITERENDCHAR }; static Block blocks[] = { /* funcu funcc interval signal */ - { pkgsu, pkgsc, 600, 9}, +/* { pkgsu, pkgsc, 600, 9}, */ { tempu, tempc, 2, 6}, { memu, memc, 2, 4}, { cpuu, cpuc, 2, 3}, diff --git a/suckless/install.sh b/suckless/install.sh @@ -6,7 +6,7 @@ YELLOW='\e[1;33m' SCRIPTDIR="$(realpath "$(dirname "$0")")" -PROGRAMS="clipnotify clipmenu diary dmenu dwm dwmblocks passmenu-plus pinentry-dmenu slock st statnot sxiv" +PROGRAMS="clipnotify clipmenu diary dmenu dwm dsblocks passmenu-plus pinentry-dmenu slock st statnot sxiv" for i in $PROGRAMS; do echo -e "${YELLOW}Installing $i.${RESET}"