aboutsummaryrefslogtreecommitdiff
path: root/env/.config
diff options
context:
space:
mode:
authoriceyrazor <iceyrazor@mailfence.com>2026-07-22 02:42:17 -0500
committericeyrazor <iceyrazor@mailfence.com>2026-07-22 02:42:17 -0500
commitb50c450a572c9951baf2bdf1720fb241625c626d (patch)
tree4750183b51250f5444a6839bc2bf679ef9a12b79 /env/.config
parent735b92dbcfe2f8f85047110bdd17f48900b12b8e (diff)
Squashed commit of the following:HEADmain
fixed i3blocks breaking blocks on multible monitors added keybind for cboomer urlview.sh change added asciidoc asociation for vis for v0.9 tag fixed vis theme added xorg-xinit. fixed typo xlibre-xserver moved ugrep urlview check change
Diffstat (limited to 'env/.config')
-rwxr-xr-xenv/.config/.profile2
-rw-r--r--env/.config/i3/config12
-rwxr-xr-xenv/.config/i3blocks/bandwidth-wrapper.sh14
-rw-r--r--env/.config/i3blocks/config11
-rw-r--r--env/.config/vis/themes/caelus.lua6
-rw-r--r--env/.config/vis/visrc.lua1
6 files changed, 34 insertions, 12 deletions
diff --git a/env/.config/.profile b/env/.config/.profile
index e4dd27e..96cf32f 100755
--- a/env/.config/.profile
+++ b/env/.config/.profile
@@ -63,7 +63,7 @@ alias dev="~/stuff/scripts/dotfiles/run.sh"
alias lf="~/.local/bin/lfimg-sixel/lfrun"
alias ovim=/usr/bin/vim
alias vim=nvim
-alias notes="cd ~/stuff/notes && vim notes.adoc && cd ~"
+alias notes="tmux new-session -s notes -c ~/stuff/notes 'zsh -c \"vis notes.adoc; zsh\"'"
alias ts="tmux-sessionizer.sh"
alias fman="bash -c 'compgen -c' | fzf | xargs man"
alias ffmpreg="ffmpeg $@"
diff --git a/env/.config/i3/config b/env/.config/i3/config
index 64637d3..6084e0f 100644
--- a/env/.config/i3/config
+++ b/env/.config/i3/config
@@ -82,6 +82,8 @@ bindsym $mod+d exec --no-startup-id "rofi -x11 -show drun"
bindsym $mod+SHIFT+D exec $HOME/.local/bin/system/rofi-search-web.sh
bindsym $mod+Control+period exec $HOME/.local/bin/system/kaomoji-picker.sh
+bindsym $mod+x exec $HOME/.local/bin/cboomer
+
# kill gamethread
bindsym $mod+Shift+i exec "pkill GameThread && sleep 1 && steam run steam://rungameid/2073850"
@@ -139,10 +141,10 @@ bindsym $mod+space floating toggle
bindsym $mod+Shift+space focus mode_toggle
# focus the parent container
-bindsym $mod+a focus parent
+bindsym $mod+shift+a focus parent
# focus the child container
-#bindsym $mod+d focus child
+bindsym $mod+a focus child
# move the currently focused window to the scratchpad
bindsym $mod+Shift+minus move scratchpad
@@ -304,7 +306,7 @@ bar {
output primary
tray_output primary
strip_workspace_numbers yes
- status_command SCRIPT_DIR=~/.config/i3blocks i3blocks
+ status_command env I3BLOCKS_PRIMARY=1 SCRIPT_DIR=$HOME/.config/i3blocks i3blocks
colors {
statusline #c0caf5
@@ -323,7 +325,7 @@ bar {
output nonprimary
tray_output none
strip_workspace_numbers yes
- status_command SCRIPT_DIR=~/.config/i3blocks i3blocks
+ status_command env SCRIPT_DIR=$HOME/.config/i3blocks i3blocks
colors {
statusline #c0caf5
@@ -335,4 +337,4 @@ bar {
active_workspace $trans $trans $text-color
urgent_workspace $urbg-color $urbg-color $text-color
}
-}
+} \ No newline at end of file
diff --git a/env/.config/i3blocks/bandwidth-wrapper.sh b/env/.config/i3blocks/bandwidth-wrapper.sh
new file mode 100755
index 0000000..d78daa4
--- /dev/null
+++ b/env/.config/i3blocks/bandwidth-wrapper.sh
@@ -0,0 +1,14 @@
+#!/bin/bash
+CACHE_FILE="/tmp/bandwidth.cache"
+
+# Primary bar updates the cache
+if [ -n "$I3BLOCKS_PRIMARY" ]; then
+ ~/.config/i3blocks/bandwidth/bandwidth > "$CACHE_FILE" 2>/dev/null
+fi
+
+# Both bars show from cache
+if [ -f "$CACHE_FILE" ]; then
+ sleep 0.1 && cat "$CACHE_FILE"
+else
+ echo "↓0 ↑0"
+fi
diff --git a/env/.config/i3blocks/config b/env/.config/i3blocks/config
index 1be7de4..b2faf6c 100644
--- a/env/.config/i3blocks/config
+++ b/env/.config/i3blocks/config
@@ -81,8 +81,13 @@ label=󰈀
interval=10
separator=false
-[bandwidth]
+#[bandwidth]
#INTERFACE=eth0
+#interval=5
+
+[bandwidth]
+INTERFACE=eth0
+command=bandwidth-wrapper.sh
interval=5
# CPU usage
@@ -93,7 +98,7 @@ interval=5
label=
interval=10
min_width= 100.00%
-#separator=false
+separator=false
[load_average]
label=
@@ -109,7 +114,7 @@ interval=30
[rss]
label=
-command=/usr/bin/newsboat -x print-unread|sed 's/\s.*//; s/Error:/E/'
+command=cat /tmp/newsboat-unreads.cache 2>/dev/null || echo "0"
interval=20
# Date Time
diff --git a/env/.config/vis/themes/caelus.lua b/env/.config/vis/themes/caelus.lua
index 07461a5..be71bd9 100644
--- a/env/.config/vis/themes/caelus.lua
+++ b/env/.config/vis/themes/caelus.lua
@@ -1,8 +1,8 @@
local lexers = vis.lexers
-local lightyellow = '#efbf71'
-local lightgray = '#9a9c8b'
-local darkgray = '#1e1f1e'
+local lightyellow = '221'
+local lightgray = '144'
+local darkgray = '234'
lexers.STYLE_DEFAULT = 'back:000000,fore:white'
lexers.STYLE_NOTHING = 'back:black'
diff --git a/env/.config/vis/visrc.lua b/env/.config/vis/visrc.lua
index b11f0cb..d1a2e32 100644
--- a/env/.config/vis/visrc.lua
+++ b/env/.config/vis/visrc.lua
@@ -28,3 +28,4 @@ vis.events.subscribe(vis.events.WIN_OPEN, function(win)
end)
vis.ftdetect.filetypes["greyscript"] = { ext = { "%.src$" } }
+vis.ftdetect.filetypes["asciidoc"] = { ext = { "%.adoc$" } }