aboutsummaryrefslogtreecommitdiff
path: root/env/.config
diff options
context:
space:
mode:
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