-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbashAppend.sh
More file actions
56 lines (40 loc) · 1.19 KB
/
Copy pathbashAppend.sh
File metadata and controls
56 lines (40 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# === HYPRLAND CONFIG START ===
export PATH="$HOME/.local/bin:$PATH"
# short hand function
function lk {
cd $(walk "$@")
}
# env's for walk configuration/customization
export EDITOR=vim
export WALK_MAIN_COLOR="#5a5b5e"
export WALK_STATUS_BAR='[Mode(), Owner(), Size() | PadLeft(7), ModTime() | PadLeft(12)] | join(" ")'
# System tools environment variables
export CURRENT_WALLPAPER="${HOME}/.local/share/Hypr-Trinity/wallpaper/wall1.png"
# Make prompt bright bold neon green keep output white.
# PS1=' \[\033[1;32m\]\w >\[\033[0m\] ' ## neon-green
# Make prompt bright bold neon purple keep output white.
PS1=' \[\033[38;5;141m\]\w >\[\033[0m\] ' ## neon-purple
function q {
exit
}
function F2 {
read -r -n 1 -s -p "Press ENTER to reboot, or any other key to cancel... " key
if [[ -z "$key" ]]; then
echo -e "\nRebooting now..."
systemctl reboot
else
echo -e "\nCancelled."
fi
}
function F1 {
read -r -n 1 -s -p "Press ENTER to poweroff, or any other key to cancel... " key
if [[ -z "$key" ]]; then
echo -e "\nPowering off now..."
systemctl poweroff
else
echo -e "\nCancelled."
fi
}
alias ~="cd ~"
alias ..="cd .."
# === HYPRLAND CONFIG END ===