aboutsummaryrefslogtreecommitdiff
path: root/env/.config
diff options
context:
space:
mode:
authoriceyrazor <iceyrazor@mailfence.com>2026-06-10 00:48:19 -0500
committericeyrazor <iceyrazor@mailfence.com>2026-06-10 00:48:19 -0500
commit2097b0ebfdd07ae7a8295c26703d8d88ee7a5f8f (patch)
tree97edcae29f2817f045e0fda462609679935a6fb1 /env/.config
parent09156e6cea71093079af580acdd6d4a8594e14b9 (diff)
Squashed commit of the following:
made all scripts mostly posix moved from gajim to dino
Diffstat (limited to 'env/.config')
-rwxr-xr-xenv/.config/.profile4
-rwxr-xr-xenv/.config/hypr/cycle-layout.sh4
2 files changed, 5 insertions, 3 deletions
diff --git a/env/.config/.profile b/env/.config/.profile
index ba6ff67..3199e80 100755
--- a/env/.config/.profile
+++ b/env/.config/.profile
@@ -31,14 +31,14 @@ export PREFIX=/usr
export PATH="$PATH:$HOME/.cargo/bin:$HOME/.local/bin/blender-4.1.1-linux-x64"
export MANPAGER='nvim +Man!'
if [ -f ~/.local/bin/system/paths.sh ]; then
- source ~/.local/bin/system/paths.sh
+ . ~/.local/bin/system/paths.sh
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
alias fukn="sudo $@"
-[ doas ] && alias fukn="doas $@"
+which doas && alias fukn="doas $@"
alias ls='ls --color=auto'
alias lss="fukn du -ahd 1 | sort -h"
diff --git a/env/.config/hypr/cycle-layout.sh b/env/.config/hypr/cycle-layout.sh
index 8b7314f..8799c5a 100755
--- a/env/.config/hypr/cycle-layout.sh
+++ b/env/.config/hypr/cycle-layout.sh
@@ -1,4 +1,6 @@
-if [ -z $(hyprctl getoption general:layout | grep master ) ]; then
+#!/bin/bash
+
+if [ -z "$(hyprctl getoption general:layout | grep master )" ]; then
hyprctl keyword general:layout master
else
hyprctl keyword general:layout dwindle