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
|
||||
# /etc/profile
|
||||
|
||||
sudo rmmod pcspkr # Remove annoying beep sound in tty
|
||||
if lsmod | grep -wq "pcspkr"; then
|
||||
sudo rmmod pcspkr # Remove annoying beep sound in tty
|
||||
fi
|
||||
|
||||
if [[ $TTY == /dev/tty1 ]]; then
|
||||
Hyprland # For no display manager
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue