Compare commits
No commits in common. "2ca7577125e0c20bdc0f0409c9d79d63e16fb26f" and "4096d75cb19008718939da1ddff70ff7c4b8f9be" have entirely different histories.
2ca7577125
...
4096d75cb1
@ -11,8 +11,8 @@ $mainMod = SUPER # Sets "Windows" key as main modifier
|
|||||||
bind = $mainMod, Escape, exec, $lockscreen
|
bind = $mainMod, Escape, exec, $lockscreen
|
||||||
|
|
||||||
# Screenshot
|
# Screenshot
|
||||||
bind = , Print, exec, $screenshotSelect
|
bind = , Print, exec, $screenshot
|
||||||
bind = CTRL, Print, exec, $screenshot
|
bind = CTRL, Print, exec, $screenshotSelect
|
||||||
|
|
||||||
# Binds apps https://wiki.hyprland.org/Configuring/Binds/ for more
|
# Binds apps https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||||
bind = $mainMod, RETURN, exec, $terminal
|
bind = $mainMod, RETURN, exec, $terminal
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/
|
# https://wiki.hyprland.org/Configuring/
|
||||||
|
|
||||||
################
|
################
|
||||||
@ -22,26 +21,9 @@ $powerMenu = bash ~/.config/waybar/scripts/power-menu.sh
|
|||||||
$browser = firefox
|
$browser = firefox
|
||||||
$email = thunderbird
|
$email = thunderbird
|
||||||
$screenshot = grim
|
$screenshot = grim
|
||||||
$screenshotSelect = grim -g "$(slurp -d)" - | wl-copy
|
$screenshotSelect = grim -g "$(slurp)"
|
||||||
$lockscreen = hyprlock
|
$lockscreen = hyprlock
|
||||||
|
|
||||||
#############################
|
|
||||||
### ENVIRONMENT VARIABLES ###
|
|
||||||
#############################
|
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Environment-variables/
|
|
||||||
|
|
||||||
env = XCURSOR_SIZE,24
|
|
||||||
env = HYPRCURSOR_SIZE,24
|
|
||||||
env = GDK_BACKEND,wayland,x11,*
|
|
||||||
env = QT_QPA_PLATFORM,wayland;xcb
|
|
||||||
env = XDG_CURRENT_DESKTOP,Hyprland
|
|
||||||
env = XDG_SESSION_TYPE,wayland
|
|
||||||
env = XDG_SESSION_DESKTOP,Hyprland
|
|
||||||
env = GTK_THEME,Adwaita:dark
|
|
||||||
env = QT_QPA_PLATFORMTHEME,gtk3
|
|
||||||
env = ELECTRON_OZONE_PLATFORM_HINT,auto
|
|
||||||
|
|
||||||
#################
|
#################
|
||||||
### AUTOSTART ###
|
### AUTOSTART ###
|
||||||
#################
|
#################
|
||||||
@ -50,8 +32,24 @@ env = ELECTRON_OZONE_PLATFORM_HINT,auto
|
|||||||
exec-once = waybar
|
exec-once = waybar
|
||||||
exec-once = hyprpaper & hypridle & $lockscreen
|
exec-once = hyprpaper & hypridle & $lockscreen
|
||||||
exec-once = dunst
|
exec-once = dunst
|
||||||
#exec-once = [workspace 2 silent] $browser
|
exec-once = [workspace 2 silent] $browser
|
||||||
#exec-once = [workspace 1 silent] $terminal
|
exec-once = [workspace 1 silent] $terminal
|
||||||
|
|
||||||
|
#############################
|
||||||
|
### ENVIRONMENT VARIABLES ###
|
||||||
|
#############################
|
||||||
|
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Environment-variables/
|
||||||
|
|
||||||
|
env = XCURSOR_SIZE,24
|
||||||
|
env = HYPRCURSOR_SIZE,24
|
||||||
|
env = GDK_BACKEND,wayland
|
||||||
|
env = QT_QPA_PLATFORM,wayland
|
||||||
|
env = XDG_CURRENT_DESKTOP,Hyprland
|
||||||
|
env = XDG_SESSION_TYPE,wayland
|
||||||
|
env = XDG_SESSION_DESKTOP,Hyprland
|
||||||
|
env = GTK_THEME,Adwaita:dark
|
||||||
|
env = QT_QPA_PLATFORMTHEME,gtk3
|
||||||
|
|
||||||
##############################
|
##############################
|
||||||
### WINDOWS AND WORKSPACES ###
|
### WINDOWS AND WORKSPACES ###
|
||||||
|
44
install.bash
44
install.bash
@ -2,6 +2,11 @@
|
|||||||
|
|
||||||
# Run as root
|
# Run as root
|
||||||
# Kitty tab bar: https://github.com/kovidgoyal/kitty/discussions/4447#discussioncomment-3240635
|
# Kitty tab bar: https://github.com/kovidgoyal/kitty/discussions/4447#discussioncomment-3240635
|
||||||
|
|
||||||
|
###################################################################
|
||||||
|
# SYMBOLIC LINKS
|
||||||
|
###################################################################
|
||||||
|
|
||||||
# Copy everything from .config
|
# Copy everything from .config
|
||||||
|
|
||||||
ln -s ~/dotfiles/wallpapers ~/wallpapers
|
ln -s ~/dotfiles/wallpapers ~/wallpapers
|
||||||
@ -17,31 +22,11 @@ ln -s ~/dotfiles/.conf/environment.d ~/.config/environment.d
|
|||||||
|
|
||||||
###################################################################
|
###################################################################
|
||||||
# PACKAGES
|
# PACKAGES
|
||||||
|
|
||||||
###################################################################
|
|
||||||
# SYMBOLIC LINKS
|
|
||||||
###################################################################
|
|
||||||
|
|
||||||
|
|
||||||
###################################################################
|
|
||||||
# SYMBOLIC LINKS
|
|
||||||
###################################################################
|
|
||||||
|
|
||||||
|
|
||||||
###################################################################
|
|
||||||
# SYMBOLIC LINKS
|
|
||||||
###################################################################
|
|
||||||
|
|
||||||
|
|
||||||
###################################################################
|
|
||||||
# SYMBOLIC LINKS
|
|
||||||
###################################################################
|
|
||||||
|
|
||||||
###################################################################
|
###################################################################
|
||||||
|
|
||||||
# Hyperland stuff
|
# Hyperland stuff
|
||||||
# uwsm needed for launching hypr on boot
|
# uwsm needed for launching hypr on boot
|
||||||
pacman -S uwsm hyprland xdg-desktop-portal-hyprland hyprpaper qt5-wayland
|
pacman -S uwsm hyprland xdg-desktop-portal-hyprland hyprpaper
|
||||||
|
|
||||||
# Basic essentials
|
# Basic essentials
|
||||||
pacman -S waybar dunst libnotify wofi pipewire brightnessctl man-db man-pages
|
pacman -S waybar dunst libnotify wofi pipewire brightnessctl man-db man-pages
|
||||||
@ -51,7 +36,7 @@ pacman -S yazi ffmpeg poppler fd p7zip
|
|||||||
|
|
||||||
# Other software
|
# Other software
|
||||||
# Use amdctl for undervolting
|
# Use amdctl for undervolting
|
||||||
pacman -S stress btop ripgrep bat neovim nano grim slurp dust fastfetch imv wl-clipboard amdctl
|
pacman -S btop ripgrep bat neovim nano grim slurp dust fastfetch imv wl-clipboard amdctl
|
||||||
|
|
||||||
# Bash prompt bar
|
# Bash prompt bar
|
||||||
pacman -S starship
|
pacman -S starship
|
||||||
@ -72,17 +57,6 @@ pacman -S networkmanager wpa_supplicant
|
|||||||
# Launch directly into hyprlock and skipping login
|
# Launch directly into hyprlock and skipping login
|
||||||
echo '[Service]\nExecStart=\nExecStart=-/sbin/agetty --noreset --noclear --autologin alex %I $TERM' | sudo tee /etc/systemd/system/getty@tty1.service.d/override.conf > /dev/null && sudo systemctl enable getty@tty1
|
echo '[Service]\nExecStart=\nExecStart=-/sbin/agetty --noreset --noclear --autologin alex %I $TERM' | sudo tee /etc/systemd/system/getty@tty1.service.d/override.conf > /dev/null && sudo systemctl enable getty@tty1
|
||||||
|
|
||||||
# Battery optimization
|
|
||||||
# https://github.com/AdnanHodzic/auto-cpufreq?tab=readme-ov-file#installing-auto-cpufreq
|
|
||||||
git clone https://github.com/AdnanHodzic/auto-cpufreq.git
|
|
||||||
cd auto-cpufreq && sudo ./auto-cpufreq-installer
|
|
||||||
sudo auto-cpufreq --install
|
|
||||||
sudo auto-cpufreq --update
|
|
||||||
sudo auto-cpufreq --stats
|
|
||||||
# https://wiki.archlinux.org/title/Framework_Laptop_13#Battery_control
|
|
||||||
yay -S fw-ectool-git
|
|
||||||
ectool chargecontrol normal 80 80
|
|
||||||
|
|
||||||
###################################################################
|
###################################################################
|
||||||
# MANUAL CONFIGURATION REQUIRED
|
# MANUAL CONFIGURATION REQUIRED
|
||||||
###################################################################
|
###################################################################
|
||||||
@ -93,7 +67,3 @@ ectool chargecontrol normal 80 80
|
|||||||
pacman -S cava bluez-utils bluez pipewire-pulse ttf-jetbrains-mono-nerd wireplumber
|
pacman -S cava bluez-utils bluez pipewire-pulse ttf-jetbrains-mono-nerd wireplumber
|
||||||
yay -S rofi-lbonn-wayland-git bluetui
|
yay -S rofi-lbonn-wayland-git bluetui
|
||||||
systemctl enable --now bluetooth.service
|
systemctl enable --now bluetooth.service
|
||||||
|
|
||||||
# Battery optimization:
|
|
||||||
sudo pacman -S tlp
|
|
||||||
|
|
||||||
|
@ -1,78 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Run as root
|
|
||||||
# Kitty tab bar: https://github.com/kovidgoyal/kitty/discussions/4447#discussioncomment-3240635
|
|
||||||
|
|
||||||
###################################################################
|
|
||||||
# SYMBOLIC LINKS
|
|
||||||
###################################################################
|
|
||||||
|
|
||||||
# Copy everything from .config
|
|
||||||
|
|
||||||
ln -s ~/dotfiles/wallpapers ~/wallpapers
|
|
||||||
ln -s ~/dotfiles/.fonts ~/.fonts
|
|
||||||
|
|
||||||
# Starship config
|
|
||||||
ln -s ~/dotfiles/.config/starship.toml ~/.config/starship.toml
|
|
||||||
ln -s ~/dotfiles/.config/starship.toml /root/.config/starship.toml
|
|
||||||
|
|
||||||
# Fix Electron Apps Wayland scaling issue:
|
|
||||||
# If app doesn't work, add "--no-sandbox" to app in /usr/share/applications/
|
|
||||||
ln -s ~/dotfiles/.conf/environment.d ~/.config/environment.d
|
|
||||||
|
|
||||||
###################################################################
|
|
||||||
# PACKAGES
|
|
||||||
###################################################################
|
|
||||||
|
|
||||||
# Hyperland stuff
|
|
||||||
# uwsm needed for launching hypr on boot
|
|
||||||
pacman -S uwsm hyprland xdg-desktop-portal-hyprland hyprpaper qt5-wayland
|
|
||||||
|
|
||||||
# Basic essentials
|
|
||||||
pacman -S waybar dunst libnotify wofi pipewire brightnessctl man-db man-pages
|
|
||||||
|
|
||||||
# Yazi dependencies (but also useful otherwise)
|
|
||||||
pacman -S yazi ffmpeg poppler fd p7zip
|
|
||||||
|
|
||||||
# Other software
|
|
||||||
# Use amdctl for undervolting
|
|
||||||
pacman -S btop ripgrep bat neovim nano grim slurp dust fastfetch imv wl-clipboard amdctl
|
|
||||||
|
|
||||||
# Bash prompt bar
|
|
||||||
pacman -S starship
|
|
||||||
|
|
||||||
# Additional Pacman utils like "checkupdates"
|
|
||||||
sudo pacman -S pacman-contrib
|
|
||||||
|
|
||||||
# Networking
|
|
||||||
# For connecting to eduroam install config with this script: https://cat.eduroam.org/
|
|
||||||
# wpa_supplicant is dependency of networkmanager that was not installed for some reason.
|
|
||||||
# Run networkmanager with "nmcli dev wifi connect 'ssid' password 'password'"
|
|
||||||
pacman -S networkmanager wpa_supplicant
|
|
||||||
|
|
||||||
###################################################################
|
|
||||||
# TINKERING
|
|
||||||
###################################################################
|
|
||||||
|
|
||||||
# Launch directly into hyprlock and skipping login
|
|
||||||
echo '[Service]\nExecStart=\nExecStart=-/sbin/agetty --noreset --noclear --autologin alex %I $TERM' | sudo tee /etc/systemd/system/getty@tty1.service.d/override.conf > /dev/null && sudo systemctl enable getty@tty1
|
|
||||||
|
|
||||||
# Battery optimization
|
|
||||||
git clone https://github.com/AdnanHodzic/auto-cpufreq.git
|
|
||||||
cd auto-cpufreq && sudo ./auto-cpufreq-installer
|
|
||||||
systemctl enable --now auto-cpufreq
|
|
||||||
|
|
||||||
###################################################################
|
|
||||||
# MANUAL CONFIGURATION REQUIRED
|
|
||||||
###################################################################
|
|
||||||
|
|
||||||
# Waybar: https://github.com/sejjy/mechabar/tree/classic
|
|
||||||
# Dependencies:
|
|
||||||
# wireplumber is Session/policy manager implementation for PipeWire
|
|
||||||
pacman -S cava bluez-utils bluez pipewire-pulse ttf-jetbrains-mono-nerd wireplumber
|
|
||||||
yay -S rofi-lbonn-wayland-git bluetui
|
|
||||||
systemctl enable --now bluetooth.service
|
|
||||||
|
|
||||||
# Battery optimization:
|
|
||||||
sudo pacman -S tlp
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user