add if statement in /etc/profile
This commit is contained in:
parent
757c192ee2
commit
617a84a5ee
1 changed files with 4 additions and 1 deletions
|
@ -8,7 +8,10 @@ Here I am sharing my Arch Linux system files, and also what code I will add imme
|
||||||
```sh
|
```sh
|
||||||
# /etc/profile
|
# /etc/profile
|
||||||
|
|
||||||
|
if lsmod | grep -wq "pcspkr"; then
|
||||||
sudo rmmod pcspkr # Remove annoying beep sound in tty
|
sudo rmmod pcspkr # Remove annoying beep sound in tty
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ $TTY == /dev/tty1 ]]; then
|
if [[ $TTY == /dev/tty1 ]]; then
|
||||||
Hyprland # For no display manager
|
Hyprland # For no display manager
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue