aboutsummaryrefslogtreecommitdiff
path: root/env
diff options
context:
space:
mode:
authoriceyrazor <iceyrazor@mailfence.com>2026-09-20 01:57:45 -0500
committericeyrazor <iceyrazor@mailfence.com>2026-09-20 01:57:45 -0500
commit95b3608c70e96f72a01a6115219e3e0496d70785 (patch)
treefa34d8a6bc988321461d13b4ae2e1597a91f250f /env
parentc058edf67d703e5adc22f2953cdcdd696b969f41 (diff)
Squashed commit of the following:
theme change nnn config made COPY_COMMAND variable added .local/bin to env added CSI patch to st
Diffstat (limited to 'env')
-rwxr-xr-xenv/.config/.profile22
-rw-r--r--env/.config/rofi/config.rasi22
-rw-r--r--env/.config/waybar/style.css129
-rw-r--r--env/.config/wezterm/colors.lua40
-rwxr-xr-xenv/.zshrc31
5 files changed, 146 insertions, 98 deletions
diff --git a/env/.config/.profile b/env/.config/.profile
index 2bf1028..36f18ad 100755
--- a/env/.config/.profile
+++ b/env/.config/.profile
@@ -22,6 +22,12 @@ fi
# exec sway > ~/.swaylog 2>&1
#fi
+if [ "${WAYLAND_DISPLAY}" ]; then
+ export COPY_COMMAND="wlcopy"
+else
+ export COPY_COMMAND="xclip -sel clip"
+fi
+
GTK_IM_MODULE=fcitx; export GTK_IM_MODULE
QT_IM_MODULE=fcitx; export QT_IM_MODULE
SDL_IM_MODULE=fcitx; export SDL_IM_MODULE
@@ -32,9 +38,8 @@ XMODIFIERS=@im=fcitx; export XMODIFIERS
export DEV_ENV=~
export PROMPT_EOL_MARK=""
export EDITOR="vis"
-#export BROWSER="custom-zen.desktop"
export PREFIX=/usr
-export PATH="$PATH:$HOME/.cargo/bin:$HOME/.local/bin/blender-4.1.1-linux-x64"
+export PATH="$PATH:$PATH/.local/bin:$HOME/.cargo/bin:$HOME/.local/bin/blender-4.1.1-linux-x64"
export MANPAGER='nvim +Man!'
if [ -f ~/.local/bin/system/paths.sh ]; then
. ~/.local/bin/system/paths.sh
@@ -42,6 +47,14 @@ fi
export DIAGRAM_PLANTUML_CLASSPATH=/usr/lib/ruby/gems/3.4.0/gems/asciidoctor-diagram-plantuml-1.2025.3/lib/asciidoctor-diagram/plantuml/plantuml-lgpl-1.2025.3.jar
+# NNN config
+export NNN_TERMINAL=st
+export NNN_PREVIEWIMGPROG=chafa
+ # Block device, Char device, Directory, Executable, Regular, Hard link, Symbolic link, Missing OR file details, Orphaned symbolic link, FIFO, socket, Unknown OR 0B regular/exe
+export NNN_FCOLORS='0f0f0c0a0f090e09090b0d08'
+export NNN_PLUG='s:-!printf "%s" "$PWD/$nnn"|$COPY_COMMAND*;f:finder;o:fzopen;d:dragdrop;t:nmount;v:imgview;p:preview-tui'
+export NNN_FIFO="/tmp/nnn.fifo"
+
alias fukn="sudo $@"
which doas > /dev/null && alias fukn="doas $@"
@@ -54,10 +67,7 @@ alias grep='grep --color=auto'
alias t="tmux"
alias fzf="fzf --walker-skip=.private-parent"
alias fcd="cd \"\$(fzf --walker dir,hidden --walker-skip=.private-parent)\""
-alias pwdc="pwd | xclip -sel clip"
-if [ "${WAYLAND_DISPLAY}" ]; then
- alias pwdc="pwd | wl-copy"
-fi
+alias pwdc="pwd | $COPY_COMMAND"
alias ffcompact='fastfetch -c $HOME/.config/fastfetch/compact.jsonc'
alias ff='fastfetch -c $HOME/.config/fastfetch/10.jsonc 2> /dev/null || fastfetch --localip-show-ipv4 0'
alias ffascii='fastfetch -c $HOME/.config/fastfetch/ascii.jsonc'
diff --git a/env/.config/rofi/config.rasi b/env/.config/rofi/config.rasi
index 148a0bf..2a88ba1 100644
--- a/env/.config/rofi/config.rasi
+++ b/env/.config/rofi/config.rasi
@@ -1,17 +1,17 @@
-@theme "Arc-Dark"
-//background: #30303050;
*{
- background: #201f5060;
- alternate-normal-background: #3020B060;
- normal-background: #20109060;
- foreground: #F0C3F0;
- border-color: #5030D0;
- selected-normal-background: #10104060;
+ background: #15161ee0;
+ alternate-normal-background: #00000000;
+ normal-background: #00000000;
+ selected-normal-background: #bb9af7ff;
+ foreground: #7dcfff;
+ selected-normal-foreground: #15161eff;
+ separatorcolor: #00000000;
+ spacing: 2;
}
-window, mainbox{
- //border-radius: 20px;
+window {
+ border: 0;
}
configuration {
@@ -23,4 +23,4 @@ configuration {
/*kb-mode-next: "Shift+Right,Control+Tab,Control+l";*/
kb-mode-previous: "Shift+Left,Control+Shift+Tab,Control+h";
kb-remove-char-back: "BackSpace";
-}
+} \ No newline at end of file
diff --git a/env/.config/waybar/style.css b/env/.config/waybar/style.css
index efdbcb3..106b52f 100644
--- a/env/.config/waybar/style.css
+++ b/env/.config/waybar/style.css
@@ -1,48 +1,63 @@
* {
- font-family: JetbrainsMono Nerd Font;
- font-size: 13px;
- min-height: 0;
- padding-right: 2px;
- padding-left: 2px;
- padding-bottom: 0px;
+ font-family: 'JetbrainsMono Nerd Font', 'B612 Mono', 'monospace';
+
+ font-size: 14px;
+ min-height: 0;
+ padding: 0px;
+ padding-right: 2px;
+ padding-left: 2px;
}
#waybar {
- background: transparent;
- color: #bfbaac;
- margin: 2px 2px;
+background: transparent;
+color: #a9b1d6;
}
#workspaces {
- border-radius: 5px;
- margin: 5px;
- background: #263640;
- margin-left: 2px;
+background: #15161e;
+margin-bottom: 4px;
}
#workspaces button {
- color: #696ebf;
- border-radius: 5px;
- padding: 0.4rem;
+color: #7aa2f7;
}
#workspaces button.active {
- color: #00c5ba;
- border-radius: 5px;
+color: #7dcfff;
+}
+
+#workspaces button.visible {
+color: #7dcfff;
+}
+
+#workspaces button.empty {
+color: #bb9af7;
}
#workspaces button.focused {
- color: #00c5ba;
- border-radius: 5px;
+color: #7dcfff;
}
+
button {
- background: transparent;
+ background: transparent;
}
#workspaces button:hover {
- background: #4a697d;
- border: 0px solid transparent;
+background: #414868;
+border: 1px solid transparent;
+}
+
+#custom-ws_end_arrow,
+#custom-mod_end_arrow {
+color: #15161e;
+padding-left: 0px;
+margin-bottom: 6px;
+}
+
+#custom-mod_end_arrow {
+padding-right: 0px;
+margin-bottom: 1px;
}
#custom-music,
@@ -61,108 +76,100 @@ button {
#custom-rss,
#custom-disc,
#custom-mic,
+#custom-wifi,
#custom-docker {
- background-color: #263640;
- padding: 0.5rem 1rem;
- margin: 5px 0;
+background-color: #15161e;
+margin-bottom: 4px;
}
#clock {
- color: #2587cc;
- border-radius: 0px;
+color: #7aa2f7;
}
#custom-weather {
- color: #2587cc;
- margin-left: 0.5rem;
- border-radius: 5px;
+color: #7aa2f7;
}
#battery {
- color: #a6d189;
+color: #a6d189;
}
#battery.charging {
- color: #a6d189;
+color: #a6d189;
}
#battery.warning:not(.charging) {
- color: #e78284;
+color: #e78284;
}
#backlight {
- color: #e5c890;
-}
-
-#backlight,
-#battery {
- border-radius: 0;
+color: #e5c890;
}
#pulseaudio {
- color: #fa3935;
+color: #f7768e;
}
#custom-mic{
- color: #fa3935;
- border-radius: 5px 0px 0px 5px;
+color: #f7768e;
+padding-left: 10px;
}
#custom-docker {
- color: #2587cc;
+color: #7aa2f7;
}
#custom-music {
- color: #ca9ee6;
- border-radius: 5px;
+color: #ca9ee6;
}
#custom-lock {
- color: #babbf1;
+color: #babbf1;
+padding-right: 1rem;
}
#custom-power {
- margin-right: 1rem;
- border-radius: 0px 5px 5px 0px;
- color: #e78284;
+padding-right: 1rem;
+padding-left: 1px;
+color: #e78284;
}
#custom-docker.docker {
- color: #85c1dc;
+color: #85c1dc;
}
#custom-docker.docker-none {
- color: #737994;
+color: #737994;
}
#custom-docker.docker-error {
- color: #e78284;
+color: #e78284;
}
#custom-weather.clear {
- color: #e5c890; /* Sunny yellow */
+color: #e5c890; /* Sunny yellow */
}
#custom-weather.cloud {
- color: #99d1db; /* Light blue */
+color: #99d1db; /* Light blue */
}
#custom-weather.rain {
- color: #8caaee; /* Blue */
+color: #8caaee; /* Blue */
}
#custom-weather.snow {
- color: #c6d0f5; /* White-ish */
+color: #c6d0f5; /* White-ish */
}
#custom-weather.thunder {
- color: #ca9ee6; /* Purple */
+color: #ca9ee6; /* Purple */
}
#custom-weather.fog {
- color: #b0b4bc; /* Gray */
+color: #b0b4bc; /* Gray */
}
#custom-weather.error {
- color: #263640; /* Red */
-}
+color: #15161e; /* Red */
+} \ No newline at end of file
diff --git a/env/.config/wezterm/colors.lua b/env/.config/wezterm/colors.lua
index e77256e..66bb95b 100644
--- a/env/.config/wezterm/colors.lua
+++ b/env/.config/wezterm/colors.lua
@@ -1,26 +1,26 @@
return {
- foreground = '#e6e6e6',
- background = '#04000a',
- cursor_fg = '#fabd2f',
- selection_bg = '#08000a',
+ foreground = '#c0caf5',
+ background = '#1a1b26',
+ cursor_fg = '#c0caf5',
+ selection_bg = '#28344a',
ansi = {
- '#263640',
- '#d12f2c',
- '#819400',
- '#b08500',
- '#2587cc',
- '#696ebf',
- '#289c93',
- '#bfbaac',
+ '#15161e',
+ '#f7768e',
+ '#9ece6a',
+ '#e0af68',
+ '#7aa2f7',
+ '#bb9af7',
+ '#7dcfff',
+ '#a9b1d6',
},
brights = {
- '#4a697d',
- '#fa3935',
- '#a4bd00',
- '#d9a400',
- '#09a2f5',
- '#8086e8',
- '#00c5ba',
- '#fdf6e3',
+ '#414868',
+ '#f7768e',
+ '#9ece6a',
+ '#e0af68',
+ '#7aa2f7',
+ '#bb9af7',
+ '#7dcfff',
+ '#c0caf5',
}
} \ No newline at end of file
diff --git a/env/.zshrc b/env/.zshrc
index 91eb0ec..8bce2b3 100755
--- a/env/.zshrc
+++ b/env/.zshrc
@@ -23,6 +23,37 @@ function vi-yank-clipboard {
fi
}
+n ()
+{
+ # Block nesting of nnn in subshells
+ [ "${NNNLVL:-0}" -eq 0 ] || {
+ echo "nnn is already running"
+ return
+ }
+
+ # The behaviour is set to cd on quit (nnn checks if NNN_TMPFILE is set)
+ # If NNN_TMPFILE is set to a custom path, it must be exported for nnn to
+ # see. To cd on quit only on ^G, remove the "export" and make sure not to
+ # use a custom path, i.e. set NNN_TMPFILE *exactly* as follows:
+ NNN_TMPFILE="${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.lastd"
+ # export NNN_TMPFILE="${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.lastd"
+
+ # Unmask ^Q (, ^V etc.) (if required, see `stty -a`) to Quit nnn
+ # stty start undef
+ # stty stop undef
+ # stty lwrap undef
+ # stty lnext undef
+
+ # The command builtin allows one to alias nnn to n, if desired, without
+ # making an infinitely recursive alias
+ command nnn "$@"
+
+ [ ! -f "$NNN_TMPFILE" ] || {
+ . "$NNN_TMPFILE"
+ rm -f -- "$NNN_TMPFILE" > /dev/null
+ }
+}
+
zle -N vi-yank-clipboard
bindkey -M vicmd ' y' vi-yank-clipboard