From d681bd972bdef874f8aa65a6903390793810a224 Mon Sep 17 00:00:00 2001 From: Akshay Date: Tue, 7 Feb 2023 22:02:08 +0530 Subject: fix cursor --- home.nix | 8 ++++++++ programs/tmux.nix | 7 +++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/home.nix b/home.nix index 7c9ae93..8f89697 100644 --- a/home.nix +++ b/home.nix @@ -46,6 +46,7 @@ libnotify inotify-tools pavucontrol + signaldctl # sync rtorrent @@ -62,6 +63,7 @@ slop maim arandr + gimp # graphics debug cudatoolkit @@ -89,6 +91,12 @@ ] ++ (import ./scripts { inherit pkgs; }); + home.pointerCursor = { + name = "Vanilla-DMZ"; + package = pkgs.vanilla-dmz; + x11.enable = true; + }; + xdg = { userDirs = { enable = true; diff --git a/programs/tmux.nix b/programs/tmux.nix index 139d15e..2e73f3e 100644 --- a/programs/tmux.nix +++ b/programs/tmux.nix @@ -7,9 +7,8 @@ let cmus-np = pkgs.writeScriptBin "cmus-np" '' ${pkgs.cmus}/bin/cmus-remote -Q | awk ' /tag artist/ { $1=$2=""; artist = substr($0,3) } - /tag album / { $1=$2=""; album = substr($0,3) } /tag title / { $1=$2=""; title = substr($0,3) } - END { if(artist&&album&&title) printf "%s / %s / %s\n", artist, album, title} + END { if(artist&&title) printf "%s / %s\n", artist, title} ' ''; @@ -130,13 +129,13 @@ in set -g status-style "bg=colour0" set -ag status-style "fg=colour7" - set status-right-length 70 + set -g status-right-length 70 set -g status-right "#[fg=colour15]#(date +"%H%M") #[fg=colour8]IST " set -ag status-right "#[fg=colour15]#(${date-bst}/bin/date-bst) #[fg=colour8]BST " set -ag status-right "#[fg=colour15]#(date +"%d/%m")#[fg=colour8] #(date +"%Y")" # status left - set status-left-length 70 + set -g status-left-length 70 set -g status-left "#[fg=colour7]#(bat -q) " set -ag status-left "#[fg=colour15]#(${cmus-np}/bin/cmus-np) #[fg=colour8]#(${cmus-status}/bin/cmus-status)" -- cgit v1.2.3