aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkshay <[email protected]>2023-02-07 16:32:08 +0000
committerAkshay <[email protected]>2023-02-07 16:32:08 +0000
commitd681bd972bdef874f8aa65a6903390793810a224 (patch)
tree5bbc1ad59ffad64323f3ec97eacfea50a737d190
parent8da75b85a4327d8dadc305b96a0b674d7de051d2 (diff)
fix cursor
-rw-r--r--home.nix8
-rw-r--r--programs/tmux.nix7
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 @@
46 libnotify 46 libnotify
47 inotify-tools 47 inotify-tools
48 pavucontrol 48 pavucontrol
49 signaldctl
49 50
50 # sync 51 # sync
51 rtorrent 52 rtorrent
@@ -62,6 +63,7 @@
62 slop 63 slop
63 maim 64 maim
64 arandr 65 arandr
66 gimp
65 67
66 # graphics debug 68 # graphics debug
67 cudatoolkit 69 cudatoolkit
@@ -89,6 +91,12 @@
89 91
90 ] ++ (import ./scripts { inherit pkgs; }); 92 ] ++ (import ./scripts { inherit pkgs; });
91 93
94 home.pointerCursor = {
95 name = "Vanilla-DMZ";
96 package = pkgs.vanilla-dmz;
97 x11.enable = true;
98 };
99
92 xdg = { 100 xdg = {
93 userDirs = { 101 userDirs = {
94 enable = true; 102 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
7 cmus-np = pkgs.writeScriptBin "cmus-np" '' 7 cmus-np = pkgs.writeScriptBin "cmus-np" ''
8 ${pkgs.cmus}/bin/cmus-remote -Q | awk ' 8 ${pkgs.cmus}/bin/cmus-remote -Q | awk '
9 /tag artist/ { $1=$2=""; artist = substr($0,3) } 9 /tag artist/ { $1=$2=""; artist = substr($0,3) }
10 /tag album / { $1=$2=""; album = substr($0,3) }
11 /tag title / { $1=$2=""; title = substr($0,3) } 10 /tag title / { $1=$2=""; title = substr($0,3) }
12 END { if(artist&&album&&title) printf "%s / %s / %s\n", artist, album, title} 11 END { if(artist&&title) printf "%s / %s\n", artist, title}
13 ' 12 '
14 ''; 13 '';
15 14
@@ -130,13 +129,13 @@ in
130 set -g status-style "bg=colour0" 129 set -g status-style "bg=colour0"
131 set -ag status-style "fg=colour7" 130 set -ag status-style "fg=colour7"
132 131
133 set status-right-length 70 132 set -g status-right-length 70
134 set -g status-right "#[fg=colour15]#(date +"%H%M") #[fg=colour8]IST " 133 set -g status-right "#[fg=colour15]#(date +"%H%M") #[fg=colour8]IST "
135 set -ag status-right "#[fg=colour15]#(${date-bst}/bin/date-bst) #[fg=colour8]BST " 134 set -ag status-right "#[fg=colour15]#(${date-bst}/bin/date-bst) #[fg=colour8]BST "
136 set -ag status-right "#[fg=colour15]#(date +"%d/%m")#[fg=colour8] #(date +"%Y")" 135 set -ag status-right "#[fg=colour15]#(date +"%d/%m")#[fg=colour8] #(date +"%Y")"
137 136
138 # status left 137 # status left
139 set status-left-length 70 138 set -g status-left-length 70
140 set -g status-left "#[fg=colour7]#(bat -q) " 139 set -g status-left "#[fg=colour7]#(bat -q) "
141 set -ag status-left "#[fg=colour15]#(${cmus-np}/bin/cmus-np) #[fg=colour8]#(${cmus-status}/bin/cmus-status)" 140 set -ag status-left "#[fg=colour15]#(${cmus-np}/bin/cmus-np) #[fg=colour8]#(${cmus-status}/bin/cmus-status)"
142 141