From eb722c29839c47e0e41151d857ffee823fa3b6ba Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Thu, 4 Apr 2024 02:16:48 +0300 Subject: [PATCH] Makefile : Disable check for switch. --- Makefile | 2 +- module/common/tmux/Script.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8193c0c..48cde7c 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ reboot: boot reboot .PHONY: switch -switch: check +switch: nixos-rebuild switch $(options) --flake $(flake) .PHONY: trace diff --git a/module/common/tmux/Script.sh b/module/common/tmux/Script.sh index f4c4230..4880e68 100755 --- a/module/common/tmux/Script.sh +++ b/module/common/tmux/Script.sh @@ -66,7 +66,7 @@ function _tmux_statusbar() { local sep="" local thr_volume=100 local thr_battery=40 - local is_uber=$(cat "/tmp/.tmux_uber") + local is_uber=$(cat "/tmp/.tmux_uber" || echo -n false) # Get data. battery=($(_tmux_battery))