aboutsummaryrefslogtreecommitdiff
path: root/programs
diff options
context:
space:
mode:
authorAkshay <[email protected]>2023-09-23 09:09:01 +0100
committerAkshay <[email protected]>2023-09-23 09:09:01 +0100
commite38658ec1c69821680b82ba3de57b8a4783aba19 (patch)
tree4255d770513aab361bb0b6d7f5a49dcb327f4aae /programs
parent54bf50e343e9e1634f12c5999fda65fc9b5feccb (diff)
dump
Diffstat (limited to 'programs')
-rw-r--r--programs/bash.nix5
-rw-r--r--programs/default.nix1
-rw-r--r--programs/feh.nix2
-rw-r--r--programs/rofi.nix5
-rw-r--r--programs/tmux.nix2
5 files changed, 7 insertions, 8 deletions
diff --git a/programs/bash.nix b/programs/bash.nix
index 2a3cb97..bff2eb9 100644
--- a/programs/bash.nix
+++ b/programs/bash.nix
@@ -14,6 +14,7 @@
14 14
15 shellAliases = { 15 shellAliases = {
16 "..." = "cd -- ../.."; 16 "..." = "cd -- ../..";
17 "...." = "cd -- ../../..";
17 grep = "grep --color=auto"; 18 grep = "grep --color=auto";
18 l = "ls -CF"; 19 l = "ls -CF";
19 la = "ls -A"; 20 la = "ls -A";
@@ -24,7 +25,6 @@
24 tmux = "tmux -u"; 25 tmux = "tmux -u";
25 tree = "tree -C"; 26 tree = "tree -C";
26 tb = "nc termbin.com 9999"; 27 tb = "nc termbin.com 9999";
27 n = "j";
28 28
29 # git aliases 29 # git aliases
30 gb = "git branch -v"; 30 gb = "git branch -v";
@@ -71,8 +71,6 @@
71 }; 71 };
72 72
73 initExtra = '' 73 initExtra = ''
74 [ -f $HOME/.github ] && . $HOME/.github
75 eval "$(direnv hook bash)"
76 export PATH=$PATH:"$HOME/scripts" 74 export PATH=$PATH:"$HOME/scripts"
77 export PROMPT_COMMAND="tmux refresh-client -S"; 75 export PROMPT_COMMAND="tmux refresh-client -S";
78 export PS1="\n\001\e[0;36m\002λ\001\e[0m\002 "; 76 export PS1="\n\001\e[0;36m\002λ\001\e[0m\002 ";
@@ -116,7 +114,6 @@
116 function __rm() { 114 function __rm() {
117 git worktree remove "$1" 115 git worktree remove "$1"
118 } 116 }
119
120 ''; 117 '';
121 118
122 }; 119 };
diff --git a/programs/default.nix b/programs/default.nix
index e28838b..70ded22 100644
--- a/programs/default.nix
+++ b/programs/default.nix
@@ -18,6 +18,7 @@
18 ./readline.nix 18 ./readline.nix
19 ./tmux.nix 19 ./tmux.nix
20 ./zathura.nix 20 ./zathura.nix
21 ./rofi.nix
21 ]; 22 ];
22 23
23 programs = { 24 programs = {
diff --git a/programs/feh.nix b/programs/feh.nix
index 2e15fe4..29374ca 100644
--- a/programs/feh.nix
+++ b/programs/feh.nix
@@ -5,7 +5,7 @@
5 5
6{ 6{
7 programs.feh = { 7 programs.feh = {
8 enable = true; 8 enable = false;
9 buttons = { 9 buttons = {
10 zoom_in = "C-5"; 10 zoom_in = "C-5";
11 zoom_out = "C-4"; 11 zoom_out = "C-4";
diff --git a/programs/rofi.nix b/programs/rofi.nix
index 12c0d7b..bdf5898 100644
--- a/programs/rofi.nix
+++ b/programs/rofi.nix
@@ -29,8 +29,7 @@ let
29 selected-normal-foreground = mkLiteral theme.base0C; 29 selected-normal-foreground = mkLiteral theme.base0C;
30 urgent-foreground = mkLiteral theme.base05; 30 urgent-foreground = mkLiteral theme.base05;
31 31
32 border = mkLiteral "4px solid"; 32 border-color = mkLiteral theme.base00;
33 border-color = mkLiteral theme.base01;
34 }; 33 };
35 34
36 inputbar.children = [ "entry" ]; 35 inputbar.children = [ "entry" ];
@@ -46,6 +45,8 @@ let
46 padding = 40; 45 padding = 40;
47 width = 800; 46 width = 800;
48 height = 600; 47 height = 600;
48 border = mkLiteral "3px solid";
49 border-color = mkLiteral theme.base01;
49 }; 50 };
50 }; 51 };
51in 52in
diff --git a/programs/tmux.nix b/programs/tmux.nix
index 292d751..f061997 100644
--- a/programs/tmux.nix
+++ b/programs/tmux.nix
@@ -76,7 +76,7 @@ in
76 setw -g pane-base-index 1 76 setw -g pane-base-index 1
77 77
78 # session jumper 78 # session jumper
79 bind-key -n C-n run-shell "tmux-fzf" 79 bind-key -n C-h run-shell "tmux-fzf"
80 80
81 # pane binds 81 # pane binds
82 unbind-key E 82 unbind-key E