Skip to content

Unim8trix/HyprElite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation


Arch Linux on HP Elitebook 845 G10 in Hyprland

πŸ–ΌοΈ Gallery



Screenshots last updated 11.2024

πŸ—ƒοΈ Overview

This are my scripts on setting up a HP Elitebook 845 G10 with Arch Linux using Hyprland as window manager.

Iam using full disk encryption and secure boot (microsoft ca disabled in bios). For automatic Snapshot (by pacman) i use snapper.

Main usage is Cloud Development, Virtualization and some gaming.

Localisations are for german, so adjust for your own needs.

A big THANKs to SOL for getting me into hyprland!

πŸ“š Layout

  • install.sh πŸ“œ Shell script for setting up the complete stuff
  • config βš™οΈ configuration files
  • wallpapers πŸŒ„ wallpapers collection

πŸ“¦ List of installed Packages

Arch packages Description
mesa, vulkan-radeon OpenGL and Vulkan drivers for amd gpu
hyprland The compositor
alacritty My default terminal
waybar Top bar
firefox-developer-edition My default browser
neovim Terminal editor
swww Wallpaper backend
wofi Application launcher menu
dunst Graphical notification daemon
xdg-desktop-portal-hyprland Backend for hyprland
thunar Graphical file manager
thunar-archive-plugin, file-roller Thunar archive plugin and tool
tumbler Thumbnail creation in thunar
mc Midnight Commander, Norton Commander clone for console
polkit-gnome GUI for superuser access
pamixer, pavucontrol Audio tool and settings
brightnessctl control monitor and keyboard brightness level
bluez-utils, blueman Bluetooth drivers, utils and GUI app
network-manager-applet NetworkManager and applet
gvfs Automount USB drives,etc
btop Terminal resource monitor
grim, slurp, swappy Screenshots tools
pacman-contrib Additional tools for pacman
ttf-jetbrains-mono-nerd Main Font for terminal and waybar
noto-fonts-emoji Default emoji fonts
ttf-dejavu, cantarell-fonts Used by some apps
ttf-font-awesome Icons needed for dunst
nwg-look, xfce4-settings GTK theme settings
pipewire Audioserver
sof-firmware, alsa-firmware Soundcard firmware
xdg-user-dirs Manager user directories
oh-my-zsh, starship Customize terminal shell
fastfetch CLI based system information
papirus-icon-theme Icon theme
nordic-theme, nordzy-cursors Nord based color theme
papirus-folders-nordic Nord based color theme
neovim-nordic-git Nord based color theme

⌨️ Keybinds

My default $mainMod is the ALT key.

Keybindings
Keybindings
  • $mainMod, Return, exec, alacritty # open the terminal
  • $mainMod, Q, killactive, # close the active window
  • $mainMod SHIFT, Q, exit, # Exit Hyprland all together no (force quit Hyprland)
  • $mainMod, L, exec, swaylock # Lock the screen
  • $mainMod, E, exec, thunar # Show the graphical file browser
  • $mainMod, F, togglefloating, # Allow a window to float
  • $mainMod, SPACE, exec, wofi # Show the graphical app launcher
  • $mainMod, P, pseudo, # dwindle
  • $mainMod, T, togglesplit, # dwindle
Screenshot
  • $mainMod, S, exec, grim -g "$(slurp)" - | swappy -f -

Audio control

  • ,XF86AudioLowerVolume, exec, pactl -- set-sink-volume 0 -10% && ~/.config/hypr/scripts/dunstMixer.sh
  • ,XF86AudioRaiseVolume, exec, pactl -- set-sink-volume 0 +10% && ~/.config/hypr/scripts/dunstMixer.sh
  • ,XF86AudioMute, exec, pactl -- set-sink-mute 0 toggle && ~/.config/hypr/scripts/dunstMixer.sh
  • ,XF86AudioMicMute, exec, pactl -- set-source-mute 0 toggle && ~/.config/hypr/scripts/dunstMixer.sh

Screen bightness

  • ,XF86MonBrightnessDown, exec, brightnessctl s 10%- && ~/.config/hypr/scripts/dunstBright.sh
  • ,XF86MonBrightnessUp, exec, brightnessctl s +10% && ~/.config/hypr/scripts/dunstBright.sh

Move focus with mainMod + arrow keys

  • $mainMod, left, movefocus, l
  • $mainMod, right, movefocus, r
  • $mainMod, up, movefocus, u
  • $mainMod, down, movefocus, d

Switch workspaces with mainMod + [0-9]

  • $mainMod, 1, workspace, 1
  • $mainMod, 2, workspace, 2
  • $mainMod, 3, workspace, 3
  • $mainMod, 4, workspace, 4
  • $mainMod, 5, workspace, 5
  • $mainMod, 6, workspace, 6
  • $mainMod, 7, workspace, 7
  • $mainMod, 8, workspace, 8
  • $mainMod, 9, workspace, 9
  • $mainMod, 0, workspace, 10

Move active window to a workspace with mainMod + SHIFT + [0-9]

  • $mainMod SHIFT, 1, movetoworkspace, 1
  • $mainMod SHIFT, 2, movetoworkspace, 2
  • $mainMod SHIFT, 3, movetoworkspace, 3
  • $mainMod SHIFT, 4, movetoworkspace, 4
  • $mainMod SHIFT, 5, movetoworkspace, 5
  • $mainMod SHIFT, 6, movetoworkspace, 6
  • $mainMod SHIFT, 7, movetoworkspace, 7
  • $mainMod SHIFT, 8, movetoworkspace, 8
  • $mainMod SHIFT, 9, movetoworkspace, 9
  • $mainMod SHIFT, 0, movetoworkspace, 10

Scroll through existing workspaces with mainMod + scroll

  • $mainMod, mouse_down, workspace, e+1
  • $mainMod, mouse_up, workspace, e-1

Move/resize windows with mainMod + LMB/RMB and dragging

  • $mainMod, mouse:272, movewindow
  • $mainMod, mouse:273, resizewindow

πŸš€ Installation

Caution

Applying custom configurations, especially those related to your operating system, can have unexpected consequences and may interfere with your system's normal behavior. While I have tested these configurations on my own setup, there is no guarantee that they will work flawlessly for you. I am not responsible for any issues that may arise from using this configuration.

Note

This configuration is build for the HP Elitebook 845 G10. If you want to use it with your hardware you to review the configuration contents and make necessary modifications to customize it to your needs before attempting the installation!

Boot arch linux live image

Get the latest live image from Arch Linux Website and make a bootable USB stick. Boot the elitebook with the USB stick.

Clone this repo and start Installation

Set your keyboard, activate network and clone this repo.

loadkeys de-latin1-nodeadkeys
iwctl
# station wlan0 connect "YOUR_WLAN_SSID"
timedatectl set-timezone Europe/Berlin
timedatectl set-ntp true
pacman -Sy git
git clone https://github.com/Unim8trix/HyprElite
cd HyprElite
./install.sh

πŸ“ Manual Config

Secure Boot

First, go into BIOS Settings: Secure Boot, enable Clear Keys, save and reboot.

Install sbctl

yay -Sy sbctl

Create keys (i dont include microsoft ca)

sudo sbctl create-keys

Check if secure boot is in setup mode, if not reboot and enable "Clear keys..." in BIOS

sudo sbctl status

Enroll keys and sign

sudo sbctl enroll-keys

sudo sbctl sign -s /boot/vmlinuz-linux
sudo sbctl sign -s /boot/EFI/BOOT/BOOTX64.EFI
sudo sbctl sign -s /boot/EFI/systemd/systemd-bootx64.efi

# enable automatic signing using pacman hook
sudo systemctl enable --now systemd-boot-update.service

# check
sudo sbctl verify

Now reboot, boot with secure bios would be automaticly enabled (check with sudo sbctl status)

Plymouth

Install plymouth and theme

yay -Sy plymouth plymouth-theme-arch-charge
sudo plymouth-set-default-theme -R arch-charge

Edit /etc/mkinitcpio.conf

Add plymouth just after systemd

HOOKS="base systemd plymouth...."

Run sudo mkinitcpio -P

Edit /boot/loader/entries/*.conf and append this to the options line:

quiet splash loglevel=3 rd.udev.log_priority=3 vt.global_cursor_default=0

Gaming

Enable 32-Bit Lib

Comment out [multilib] section in /etc/pacman.conf

[multilib]
Include = /etc/pacman.d/mirrorlist

Install Vulkan Driver and Libs

yay -Sy lib32-mesa lib32-vulkan-radeon lib32-vulkan-icd-loader lib32-systemd ttf-liberation

Reboot your book and start installing the steam client

yay -Sy steam

About

Arch Linux on HP Elitebook 845 G10 in Hyprland

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published