From ef55687ec200f619932dc6a74e739f8caa8c322f Mon Sep 17 00:00:00 2001 From: Josh Lay Date: Wed, 19 Jun 2024 07:14:43 -0500 Subject: [PATCH 1/5] sway: clean up env comments --- outerheaven.init3.home/.config/sway/sway/environment | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/outerheaven.init3.home/.config/sway/sway/environment b/outerheaven.init3.home/.config/sway/sway/environment index 88722df..9b8e4fe 100644 --- a/outerheaven.init3.home/.config/sway/sway/environment +++ b/outerheaven.init3.home/.config/sway/sway/environment @@ -41,8 +41,9 @@ W_ELECTRON_FEATURES="VaapiVideoDecoder,VaapiVideoEncoder,WebRTCPipeWireCapturer, #W_ELECTRON_ARGS="--silent --enable-gpu --use-gl=egl --enable-features='${W_ELECTRON_FEATURES}' --ozone-platform-hint=auto" W_ELECTRON_ARGS="--silent --enable-gpu-rasterization --enable-sync --disable-features='AudioServiceSandbox,Vulkan' --enable-features='${W_ELECTRON_FEATURES}' --ozone-platform-hint=auto" -# maximum 'eFfIciEncY', avoid a ton of syscalls - set TZ to use localtime for glibc benefit, ref: +# avoid a ton of syscalls - set TZ to use localtime for glibc benefit, ref: # https://blog.packagecloud.io/set-environment-variable-save-thousands-of-system-calls/ -# flatpak things get weird with this, commenting out #TZ=:/etc/localtime -# untested theory, may improve: TZ=:../usr/share/zoneinfo/America/Chicago +# flatpak things get weird with this, commenting out +# untested theory, may improve things - similar to how 'resolv.conf' links should be relative, not absolute: +# TZ=:../usr/share/zoneinfo/America/Chicago From 22c42172b2af3be0ceb34fa785b9bbdf31b54553 Mon Sep 17 00:00:00 2001 From: Josh Lay Date: Wed, 19 Jun 2024 07:14:59 -0500 Subject: [PATCH 2/5] bashrc: init --- outerheaven.init3.home/.bashrc | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 outerheaven.init3.home/.bashrc diff --git a/outerheaven.init3.home/.bashrc b/outerheaven.init3.home/.bashrc new file mode 100644 index 0000000..50e7034 --- /dev/null +++ b/outerheaven.init3.home/.bashrc @@ -0,0 +1,21 @@ +# shellcheck shell=bash source=/dev/null +# Source global definitions +[ -f /etc/bashrc ] && . /etc/bashrc + +# Update window size after every command +shopt -s checkwinsize + +# User specific aliases, functions, and variables +[ -r ~/.shell_aliases ] && . ~/.shell_aliases +[ -r ~/.poetry_bash_completion ] && . ~/.poetry_bash_completion +export PS1="\[\e[0;34m\]\w \[\e[0;37m\]$ \[\e[0m\]" +#export PS1="\[\e[0;37m\]\u\[\e[0;37m\]:\[\e[0;34m\]\w \[\e[0;37m\]$ \[\e[0m\]" +export HISTTIMEFORMAT='%F %T %Z ' +export HISTCONTROL=ignoredups:erasedups:ignorespace +# Undocumented feature which sets the size to "unlimited". +# http://stackoverflow.com/questions/9457233/unlimited-bash-history +export HISTFILESIZE= +export HISTSIZE= + +[[ ${KITTY_WINDOW_ID} ]] && \ + echo ; fortune -n 180 -s | lolcat --random --24bit ; echo From 1b49d1b9b94a963a81c0e5e8d8369fddf1a6e4de Mon Sep 17 00:00:00 2001 From: Josh Lay Date: Wed, 19 Jun 2024 07:15:33 -0500 Subject: [PATCH 3/5] fuzzel (launcher): init --- .../.config/fuzzel/fuzzel/fuzzel.ini | 98 +++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 outerheaven.init3.home/.config/fuzzel/fuzzel/fuzzel.ini diff --git a/outerheaven.init3.home/.config/fuzzel/fuzzel/fuzzel.ini b/outerheaven.init3.home/.config/fuzzel/fuzzel/fuzzel.ini new file mode 100644 index 0000000..d67e9b4 --- /dev/null +++ b/outerheaven.init3.home/.config/fuzzel/fuzzel/fuzzel.ini @@ -0,0 +1,98 @@ +[main] +# output= +font=SFProText:weight=regular:size=14 +#font=SourceSans3:weight=regular:size=14 +#font=SourceSans3 +# dpi-aware=auto +# prompt=> +# icon-theme=hicolor +# icons-enabled=yes +# add keywords to default list of searched xdg .desktop params +fields=filename,name,generic,keywords +# password-character=* +# fuzzy=yes +# show-actions=no +terminal=kitty +# launch-prefix= + +# lines=15 +lines=10 +width=16 +# horizontal-pad=40 +horizontal-pad=16 +vertical-pad=6 +inner-pad=6 + +# the ratio of the larger image shown when only a few matches, compared to full window size +# default 0.5, 0.0 or > 0.5 seems to disable it +image-size-ratio=0.0 + +# line-height= +# letter-spacing=0 + +# layer = top +exit-on-keyboard-focus-loss = no + +[colors] +background=2b303cff +text=d8dee9ff +match=900000ff +selection=4c566aff +selection-text=879aa4ff +border=2a2f3a75 + +[border] +width=8 +# default radius = 10, 2 looked ok. 0 disables rounded corners +# radius=2 +radius=0 + +[dmenu] +# mode=text # text|index +# exit-immediately-if-empty=no + +[key-bindings] +# cancel=Escape Control+g +# execute=Return KP_Enter Control+y +# execute-or-next=Tab +# cursor-left=Left Control+b +# cursor-left-word=Control+Left Mod1+b +# cursor-right=Right Control+f +# cursor-right-word=Control+Right Mod1+f +# cursor-home=Home Control+a +# cursor-end=End Control+e +# delete-prev=BackSpace +# delete-prev-word=Mod1+BackSpace Control+BackSpace +# delete-next=Delete +# delete-next-word=Mod1+d Control+Delete +# delete-line=Control+k +# prev=Up Control+p +# prev-with-wrap=ISO_Left_Tab +# prev-page=PageUp KP_PageUp +# next=Down Control+n +# next-with-wrap=none +# next-page=Page_Down KP_Page_Down + +# custom-N: *dmenu mode only*. Like execute, but with a non-zero +# exit-code; custom-1 exits with code 10, custom-2 with 11, custom-3 +# with 12, and so on. + +# custom-1=Mod1+1 +# custom-2=Mod1+2 +# custom-3=Mod1+3 +# custom-4=Mod1+4 +# custom-5=Mod1+5 +# custom-6=Mod1+6 +# custom-7=Mod1+7 +# custom-8=Mod1+8 +# custom-9=Mod1+9 +# custom-10=Mod1+0 +# custom-11=Mod1+exclam +# custom-12=Mod1+at +# custom-13=Mod1+numbersign +# custom-14=Mod1+dollar +# custom-15=Mod1+percent +# custom-16=Mod1+dead_circumflex +# custom-17=Mod1+ampersand +# custom-18=Mod1+asterix +# custom-19=Mod1+parentleft From 32c196e628dc171c813b5a6bade3e3fdbe88a3d7 Mon Sep 17 00:00:00 2001 From: Josh Lay Date: Wed, 19 Jun 2024 07:16:05 -0500 Subject: [PATCH 4/5] update.sh: track fuzzel/bashrc, comment shell aliases --- update.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/update.sh b/update.sh index 803d060..e8b6603 100755 --- a/update.sh +++ b/update.sh @@ -8,7 +8,10 @@ set -u # array of files/dirs [relative to home] to include DOTS=( + '.bashrc' + # '.shell_aliases' # needs cleaned up first '.vimrc' + '.config/fuzzel' '.config/nvim/init.vim' '.config/nvim/coc-settings.json' '.config/autostart-i3ipc.yml' From 0336b62c269896684b48191ed150169eaf9b65db Mon Sep 17 00:00:00 2001 From: Josh Lay Date: Wed, 19 Jun 2024 07:21:49 -0500 Subject: [PATCH 5/5] sway/fuzzel: fix nested dirs --- outerheaven.init3.home/.config/fuzzel/{fuzzel => }/fuzzel.ini | 0 outerheaven.init3.home/.config/sway/{sway => }/10-variables.conf | 0 outerheaven.init3.home/.config/sway/{sway => }/11-colors.conf | 0 outerheaven.init3.home/.config/sway/{sway => }/12-displays.conf | 0 .../.config/sway/{sway => }/13-assignments.conf | 0 outerheaven.init3.home/.config/sway/{sway => }/14-input.conf | 0 outerheaven.init3.home/.config/sway/{sway => }/15-keybinds.conf | 0 .../.config/sway/{sway => }/16-for_windows.conf | 0 .../.config/sway/{sway => }/50-rules-browser.conf | 0 .../.config/sway/{sway => }/60-bindings-media.conf | 0 .../.config/sway/{sway => }/60-bindings-screenshot.conf | 0 .../.config/sway/{sway => }/60-bindings-volume.conf | 0 .../.config/sway/{sway => }/65-mode-passthrough.conf | 0 outerheaven.init3.home/.config/sway/{sway => }/90-bar.conf | 0 outerheaven.init3.home/.config/sway/{sway => }/90-swayidle.conf | 0 .../.config/sway/{sway => }/95-autostart-policykit-agent.conf | 0 outerheaven.init3.home/.config/sway/{sway => }/config | 0 outerheaven.init3.home/.config/sway/{sway => }/environment | 0 outerheaven.init3.home/.config/sway/{sway => }/scripts/locker.py | 0 .../.config/sway/{sway => }/scripts/screenshot.py | 0 outerheaven.init3.home/.config/sway/{sway => }/scripts/startup.py | 0 outerheaven.init3.home/.config/sway/{sway => }/scripts/volume.py | 0 .../.config/sway/{sway => }/scripts/wallpaper.py | 0 23 files changed, 0 insertions(+), 0 deletions(-) rename outerheaven.init3.home/.config/fuzzel/{fuzzel => }/fuzzel.ini (100%) rename outerheaven.init3.home/.config/sway/{sway => }/10-variables.conf (100%) rename outerheaven.init3.home/.config/sway/{sway => }/11-colors.conf (100%) rename outerheaven.init3.home/.config/sway/{sway => }/12-displays.conf (100%) rename outerheaven.init3.home/.config/sway/{sway => }/13-assignments.conf (100%) rename outerheaven.init3.home/.config/sway/{sway => }/14-input.conf (100%) rename outerheaven.init3.home/.config/sway/{sway => }/15-keybinds.conf (100%) rename outerheaven.init3.home/.config/sway/{sway => }/16-for_windows.conf (100%) rename outerheaven.init3.home/.config/sway/{sway => }/50-rules-browser.conf (100%) rename outerheaven.init3.home/.config/sway/{sway => }/60-bindings-media.conf (100%) rename outerheaven.init3.home/.config/sway/{sway => }/60-bindings-screenshot.conf (100%) rename outerheaven.init3.home/.config/sway/{sway => }/60-bindings-volume.conf (100%) rename outerheaven.init3.home/.config/sway/{sway => }/65-mode-passthrough.conf (100%) rename outerheaven.init3.home/.config/sway/{sway => }/90-bar.conf (100%) rename outerheaven.init3.home/.config/sway/{sway => }/90-swayidle.conf (100%) rename outerheaven.init3.home/.config/sway/{sway => }/95-autostart-policykit-agent.conf (100%) rename outerheaven.init3.home/.config/sway/{sway => }/config (100%) rename outerheaven.init3.home/.config/sway/{sway => }/environment (100%) rename outerheaven.init3.home/.config/sway/{sway => }/scripts/locker.py (100%) rename outerheaven.init3.home/.config/sway/{sway => }/scripts/screenshot.py (100%) rename outerheaven.init3.home/.config/sway/{sway => }/scripts/startup.py (100%) rename outerheaven.init3.home/.config/sway/{sway => }/scripts/volume.py (100%) rename outerheaven.init3.home/.config/sway/{sway => }/scripts/wallpaper.py (100%) diff --git a/outerheaven.init3.home/.config/fuzzel/fuzzel/fuzzel.ini b/outerheaven.init3.home/.config/fuzzel/fuzzel.ini similarity index 100% rename from outerheaven.init3.home/.config/fuzzel/fuzzel/fuzzel.ini rename to outerheaven.init3.home/.config/fuzzel/fuzzel.ini diff --git a/outerheaven.init3.home/.config/sway/sway/10-variables.conf b/outerheaven.init3.home/.config/sway/10-variables.conf similarity index 100% rename from outerheaven.init3.home/.config/sway/sway/10-variables.conf rename to outerheaven.init3.home/.config/sway/10-variables.conf diff --git a/outerheaven.init3.home/.config/sway/sway/11-colors.conf b/outerheaven.init3.home/.config/sway/11-colors.conf similarity index 100% rename from outerheaven.init3.home/.config/sway/sway/11-colors.conf rename to outerheaven.init3.home/.config/sway/11-colors.conf diff --git a/outerheaven.init3.home/.config/sway/sway/12-displays.conf b/outerheaven.init3.home/.config/sway/12-displays.conf similarity index 100% rename from outerheaven.init3.home/.config/sway/sway/12-displays.conf rename to outerheaven.init3.home/.config/sway/12-displays.conf diff --git a/outerheaven.init3.home/.config/sway/sway/13-assignments.conf b/outerheaven.init3.home/.config/sway/13-assignments.conf similarity index 100% rename from outerheaven.init3.home/.config/sway/sway/13-assignments.conf rename to outerheaven.init3.home/.config/sway/13-assignments.conf diff --git a/outerheaven.init3.home/.config/sway/sway/14-input.conf b/outerheaven.init3.home/.config/sway/14-input.conf similarity index 100% rename from outerheaven.init3.home/.config/sway/sway/14-input.conf rename to outerheaven.init3.home/.config/sway/14-input.conf diff --git a/outerheaven.init3.home/.config/sway/sway/15-keybinds.conf b/outerheaven.init3.home/.config/sway/15-keybinds.conf similarity index 100% rename from outerheaven.init3.home/.config/sway/sway/15-keybinds.conf rename to outerheaven.init3.home/.config/sway/15-keybinds.conf diff --git a/outerheaven.init3.home/.config/sway/sway/16-for_windows.conf b/outerheaven.init3.home/.config/sway/16-for_windows.conf similarity index 100% rename from outerheaven.init3.home/.config/sway/sway/16-for_windows.conf rename to outerheaven.init3.home/.config/sway/16-for_windows.conf diff --git a/outerheaven.init3.home/.config/sway/sway/50-rules-browser.conf b/outerheaven.init3.home/.config/sway/50-rules-browser.conf similarity index 100% rename from outerheaven.init3.home/.config/sway/sway/50-rules-browser.conf rename to outerheaven.init3.home/.config/sway/50-rules-browser.conf diff --git a/outerheaven.init3.home/.config/sway/sway/60-bindings-media.conf b/outerheaven.init3.home/.config/sway/60-bindings-media.conf similarity index 100% rename from outerheaven.init3.home/.config/sway/sway/60-bindings-media.conf rename to outerheaven.init3.home/.config/sway/60-bindings-media.conf diff --git a/outerheaven.init3.home/.config/sway/sway/60-bindings-screenshot.conf b/outerheaven.init3.home/.config/sway/60-bindings-screenshot.conf similarity index 100% rename from outerheaven.init3.home/.config/sway/sway/60-bindings-screenshot.conf rename to outerheaven.init3.home/.config/sway/60-bindings-screenshot.conf diff --git a/outerheaven.init3.home/.config/sway/sway/60-bindings-volume.conf b/outerheaven.init3.home/.config/sway/60-bindings-volume.conf similarity index 100% rename from outerheaven.init3.home/.config/sway/sway/60-bindings-volume.conf rename to outerheaven.init3.home/.config/sway/60-bindings-volume.conf diff --git a/outerheaven.init3.home/.config/sway/sway/65-mode-passthrough.conf b/outerheaven.init3.home/.config/sway/65-mode-passthrough.conf similarity index 100% rename from outerheaven.init3.home/.config/sway/sway/65-mode-passthrough.conf rename to outerheaven.init3.home/.config/sway/65-mode-passthrough.conf diff --git a/outerheaven.init3.home/.config/sway/sway/90-bar.conf b/outerheaven.init3.home/.config/sway/90-bar.conf similarity index 100% rename from outerheaven.init3.home/.config/sway/sway/90-bar.conf rename to outerheaven.init3.home/.config/sway/90-bar.conf diff --git a/outerheaven.init3.home/.config/sway/sway/90-swayidle.conf b/outerheaven.init3.home/.config/sway/90-swayidle.conf similarity index 100% rename from outerheaven.init3.home/.config/sway/sway/90-swayidle.conf rename to outerheaven.init3.home/.config/sway/90-swayidle.conf diff --git a/outerheaven.init3.home/.config/sway/sway/95-autostart-policykit-agent.conf b/outerheaven.init3.home/.config/sway/95-autostart-policykit-agent.conf similarity index 100% rename from outerheaven.init3.home/.config/sway/sway/95-autostart-policykit-agent.conf rename to outerheaven.init3.home/.config/sway/95-autostart-policykit-agent.conf diff --git a/outerheaven.init3.home/.config/sway/sway/config b/outerheaven.init3.home/.config/sway/config similarity index 100% rename from outerheaven.init3.home/.config/sway/sway/config rename to outerheaven.init3.home/.config/sway/config diff --git a/outerheaven.init3.home/.config/sway/sway/environment b/outerheaven.init3.home/.config/sway/environment similarity index 100% rename from outerheaven.init3.home/.config/sway/sway/environment rename to outerheaven.init3.home/.config/sway/environment diff --git a/outerheaven.init3.home/.config/sway/sway/scripts/locker.py b/outerheaven.init3.home/.config/sway/scripts/locker.py similarity index 100% rename from outerheaven.init3.home/.config/sway/sway/scripts/locker.py rename to outerheaven.init3.home/.config/sway/scripts/locker.py diff --git a/outerheaven.init3.home/.config/sway/sway/scripts/screenshot.py b/outerheaven.init3.home/.config/sway/scripts/screenshot.py similarity index 100% rename from outerheaven.init3.home/.config/sway/sway/scripts/screenshot.py rename to outerheaven.init3.home/.config/sway/scripts/screenshot.py diff --git a/outerheaven.init3.home/.config/sway/sway/scripts/startup.py b/outerheaven.init3.home/.config/sway/scripts/startup.py similarity index 100% rename from outerheaven.init3.home/.config/sway/sway/scripts/startup.py rename to outerheaven.init3.home/.config/sway/scripts/startup.py diff --git a/outerheaven.init3.home/.config/sway/sway/scripts/volume.py b/outerheaven.init3.home/.config/sway/scripts/volume.py similarity index 100% rename from outerheaven.init3.home/.config/sway/sway/scripts/volume.py rename to outerheaven.init3.home/.config/sway/scripts/volume.py diff --git a/outerheaven.init3.home/.config/sway/sway/scripts/wallpaper.py b/outerheaven.init3.home/.config/sway/scripts/wallpaper.py similarity index 100% rename from outerheaven.init3.home/.config/sway/sway/scripts/wallpaper.py rename to outerheaven.init3.home/.config/sway/scripts/wallpaper.py