Hyprland-dotfiles/scripts/checkplatform.sh

15 lines
451 B
Bash
Raw Normal View History

2023-03-09 03:25:31 -05:00
#!/bin/bash
2023-03-02 03:45:31 -05:00
# ____ _ _ __
# | _ \| | __ _| |_ / _| ___ _ __ _ __ ___
# | |_) | |/ _` | __| |_ / _ \| '__| '_ ` _ \
# | __/| | (_| | |_| _| (_) | | | | | | | |
# |_| |_|\__,_|\__|_| \___/|_| |_| |_| |_|
#
# by Stephan Raabe (2023)
2023-03-09 03:25:31 -05:00
# -----------------------------------------------------
2023-03-02 03:45:31 -05:00
# 3 = Desktop
# 10 = Laptop
2023-03-09 03:25:31 -05:00
# -----------------------------------------------------
2023-02-24 10:32:15 -05:00
cat /sys/class/dmi/id/chassis_type