Compare commits
27 Commits
4dd0530dbc
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 263b3d3c7a | |||
| 693f6b8796 | |||
| 5ef9e17c9b | |||
| 187bdd7333 | |||
| d6225a5bd9 | |||
| f09c1864fe | |||
| 4d4674a438 | |||
| f6f2ea2d53 | |||
| 4c0aef01be | |||
| 17064c72de | |||
| 012d393903 | |||
| e21adce2d3 | |||
| aaf05158d5 | |||
| 5413a35b43 | |||
| 41d0e6006e | |||
| 1da9976791 | |||
| e29f45ec28 | |||
| 5da7ad983d | |||
| 0019ab9f94 | |||
| 699e0ef7ff | |||
| ce34828f2b | |||
| c98b4fdcca | |||
| 283d584415 | |||
| 22ffe9b916 | |||
| e290b927a3 | |||
| 8536c2ac5a | |||
| b1b5c0ae7c |
46
configure.sh
46
configure.sh
@@ -3,7 +3,7 @@ echo "$START_DIR"
|
||||
|
||||
echo "Installing basic drivers and utilities"
|
||||
sudo pacman -Sy
|
||||
sudo pacman -S mesa sof-firmware zsh curl linux-firmware-marvell gcc man-db lib32-mesa openssh reflector vulkan-radeon power-profiles-daemon cpupower lib32-pipewire pipewire-audio pipewire-pulse pavucontrol git base base-devel xdg-user-dirs --needed --noconfirm
|
||||
sudo pacman -S fakeroot debugedit mesa sof-firmware zsh curl linux-firmware-marvell gcc man-db openssh reflector vulkan-radeon power-profiles-daemon cpupower pipewire-audio pipewire-pulse pavucontrol git base base-devel xdg-user-dirs --needed --noconfirm
|
||||
|
||||
#create the user folders
|
||||
xdg-user-dirs-update
|
||||
@@ -38,26 +38,29 @@ sleep 2
|
||||
echo "Yay sync"
|
||||
yay -Sy
|
||||
|
||||
#echo "turning off grub timeout"
|
||||
#sudo grub/grub.sh
|
||||
sleep 3
|
||||
sudo nano /etc/default/grub
|
||||
sudo grub-mkconfig -o /boot/grub/grub.cfg
|
||||
echo "turning off grub timeout"
|
||||
chmod 777 $START_DIR/grub/grub.sh
|
||||
bash $START_DIR/grub/grub.sh
|
||||
|
||||
#sudo nano /etc/default/grub
|
||||
#sudo grub-mkconfig -o /boot/grub/grub.cfg
|
||||
|
||||
echo "Installing hyprland and stuff for wm"
|
||||
sudo pacman -S hyprland glow starship lua51 luarocks tmux hyprlock npm nodejs bluez bluez-utils btop docker docker-compose gradle gst-plugin-pipewire gvfs-smb htop hyprshot blueman network-manager-applet waybar yazi ffmpeg 7zip jq poppler fd ripgrep fzf zoxide resvg imagemagick ttf-jetbrains-mono-nerd ttf-jetbrains-mono ghostty swaync brightnessctl wireplumber xdg-desktop-portal-hyprland hyprpolkitagent qt5-wayland qt6-wayland hyprpaper xclip sddm rofi-wayland unzip make ripgrep fd neovim dotnet-runtime dotnet-sdk aspnet-runtime jdk-openjdk openjdk-doc libpulse mono nano nemo networkmanager-openvpn nmap opencv openssl openvpn pipewire pipewire-alsa pipewire-jack vlc vlc-plugins-all wget curl zram-generator --needed --noconfirm
|
||||
sudo pacman -S hyprland util-linux maven noto-fonts-emoji glow starship tree lazygit sdl3 sdl2 lua51 luarocks tmux hyprlock npm nodejs bluez bluez-utils btop docker docker-compose gradle gst-plugin-pipewire gvfs-smb htop hyprshot blueman network-manager-applet waybar yazi ffmpeg 7zip jq poppler fd ripgrep fzf zoxide resvg imagemagick ttf-jetbrains-mono-nerd ttf-jetbrains-mono ghostty swaync brightnessctl wireplumber xdg-desktop-portal-hyprland hyprpolkitagent qt5-wayland qt6-wayland hyprpaper xclip sddm rofi-wayland unzip make ripgrep fd neovim dotnet-runtime dotnet-sdk aspnet-runtime jdk-openjdk openjdk-doc libpulse mono nano nemo networkmanager-openvpn nmap opencv openssl openvpn pipewire pipewire-alsa pipewire-jack vlc vlc-plugins-all wget curl zram-generator --needed --noconfirm
|
||||
sudo pacman -S hyprcursor hyprgraphics hyprland hyprland-guiutils hyprland-qt-support hyprlang hyprlock hyprpaper hyprpolkitagent hyprpwcenter hyprqt6engine hyprqt6engine-debug hyprshot hyprtoolkit hyprutils hyprwayland-scanner hyprwire xdg-desktop-portal-hyprland --needed --noconfirm
|
||||
sudo pacman -S --needed --noconfirm baobab blender gnome-disk-utility gnome-text-editor libreoffice-fresh virtualbox virtualbox-guest-iso virtualbox-host-modules-arch bear clang gdb lazygit mariadb-clients mingw-w64-gcc openmpi podman python-pip raylib valgrind dos2unix rsync tree xboxdrv zip
|
||||
#yay -S xwaylandvideobridge --needed --noconfirm
|
||||
yay -S zen-browser-bin --needed --noconfirm
|
||||
yay -S visual-studio-bin unityhub --needed --noconfirm
|
||||
yay -S unityhub --needed --noconfirm
|
||||
|
||||
#.bashrc line for starship
|
||||
echo 'eval "$(starship init bash)"' >> $HOME/.bashrc
|
||||
|
||||
echo "Turining on sddm login manager"
|
||||
sudo systemctl enable sddm
|
||||
sudo systemctl enable fstrim.timer #ssd trim weekly
|
||||
|
||||
echo "Cloining kickstart nvim to nvim config location"
|
||||
git clone https://github.com/htamas1210/kickstart-modular.nvim.git "${XDG_CONFIG_HOME:-$HOME/.config}"/nvim
|
||||
|
||||
echo "Installing rust and go and bootdev cli"
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
||||
@@ -78,13 +81,34 @@ mkdir -p $HOME/.config/waybar/
|
||||
cp "$START_DIR"/waybar/* $HOME/.config/waybar -r
|
||||
|
||||
#rofi
|
||||
mkdir -p .config/rofi
|
||||
mkdir -p $HOME/.config/rofi
|
||||
cp "$START_DIR"/rofi/* $HOME/.config/rofi/ -r
|
||||
|
||||
mkdir -p $HOME/.config/ghostty
|
||||
cp "$START_DIR"/ghostty/* $HOME/.config/ghostty/
|
||||
|
||||
#apps
|
||||
yay -S jellifin-media-player youtube-dl-gui jetbrains-toolbox --needed --noconfirm
|
||||
yay -S jellyfin-media-player youtube-dl-gui jetbrains-toolbox sddm-silent-theme --needed --noconfirm
|
||||
yay -S --needed --noconfirm rpi-imager dirb wordlists
|
||||
|
||||
echo "Setting up sddm silent theme"
|
||||
sudo echo " # Make sure these options are correct:
|
||||
[General]
|
||||
InputMethod=qtvirtualkeyboard
|
||||
GreeterEnvironment=QML2_IMPORT_PATH=/usr/share/sddm/themes/silent/components/,QT_IM_MODULE=qtvirtualkeyboard
|
||||
|
||||
[Theme]
|
||||
Current=silent" > /etc/sddn.conf
|
||||
|
||||
#xbox controller fix
|
||||
echo 1 | sudo tee /sys/module/bluetooth/parameters/disable_ertm
|
||||
|
||||
sudo pacman -S steam nwg-displays calibre freecad obs-studio samba cmake feh --needed --noconfirm
|
||||
sudo pacman -S wine wine-gecko wine-mono winetricks --needed --noconfirm
|
||||
yay -S rustdesk --needed --noconfirm
|
||||
|
||||
echo "Cloining kickstart nvim to nvim config location"
|
||||
git clone http://rpiserver.ddns.net:3000/htamas1210/kickstart-modular.nvim.git "${XDG_CONFIG_HOME:-$HOME/.config}"/nvim
|
||||
|
||||
#echo "Installing Oh my zsh"
|
||||
#sudo pacman -S --needed --noconfirm zsh-autosuggestions zsh-syntax-highlighting
|
||||
|
||||
50
ghostty/config
Normal file
50
ghostty/config
Normal file
@@ -0,0 +1,50 @@
|
||||
# This is the configuration file for Ghostty.
|
||||
#
|
||||
# This template file has been automatically created at the following
|
||||
# path since Ghostty couldn't find any existing config files on your system:
|
||||
#
|
||||
# /home/tom/.config/ghostty/config
|
||||
#
|
||||
# The template does not set any default options, since Ghostty ships
|
||||
# with sensible defaults for all options. Users should only need to set
|
||||
# options that they want to change from the default.
|
||||
#
|
||||
# Run `ghostty +show-config --default --docs` to view a list of
|
||||
# all available config options and their default values.
|
||||
#
|
||||
# Additionally, each config option is also explained in detail
|
||||
# on Ghostty's website, at https://ghostty.org/docs/config.
|
||||
#
|
||||
# Ghostty can reload the configuration while running by using the menu
|
||||
# options or the bound key (default: Command + Shift + comma on macOS and
|
||||
# Control + Shift + comma on other platforms). Not all config options can be
|
||||
# reloaded while running; some only apply to new windows and others may require
|
||||
# a full restart to take effect.
|
||||
|
||||
# Config syntax crash course
|
||||
# ==========================
|
||||
# # The config file consists of simple key-value pairs,
|
||||
# # separated by equals signs.
|
||||
# font-family = Iosevka
|
||||
font-family = "JetBrainsMono Nerd"
|
||||
# window-padding-x = 2
|
||||
#
|
||||
# # Spacing around the equals sign does not matter.
|
||||
# # All of these are identical:
|
||||
# key=value
|
||||
# key= value
|
||||
# key =value
|
||||
# key = value
|
||||
#
|
||||
# # Any line beginning with a # is a comment. It's not possible to put
|
||||
# # a comment after a config option, since it would be interpreted as a
|
||||
# # part of the value. For example, this will have a value of "#123abc":
|
||||
background = #000000
|
||||
#
|
||||
# # Empty values are used to reset config keys to default.
|
||||
# key =
|
||||
#
|
||||
# # Some config options have unique syntaxes for their value,
|
||||
# # which is explained in the docs for that config option.
|
||||
# # Just for example:
|
||||
# resize-overlay-duration = 4s 200ms
|
||||
@@ -9,15 +9,14 @@ if [[ -f "$GRUB_FILE" ]]; then
|
||||
# Replace or add the GRUB_TIMEOUT line
|
||||
if grep -q "^GRUB_TIMEOUT=" "$GRUB_FILE"; then
|
||||
# Modify existing line
|
||||
sed -i 's/^GRUB_TIMEOUT=.*/GRUB_TIMEOUT=0/' "$GRUB_FILE"
|
||||
sudo sed -i 's/^GRUB_TIMEOUT=.*/GRUB_TIMEOUT=0/' "$GRUB_FILE"
|
||||
else
|
||||
# Add it if missing
|
||||
echo "GRUB_TIMEOUT=0" >> "$GRUB_FILE"
|
||||
fi
|
||||
|
||||
grub-mkconfig -o /boot/grub/grub.cfg
|
||||
|
||||
sudo grub-mkconfig -o /boot/grub/grub.cfg
|
||||
echo "GRUB timeout set to 0 and configuration updated."
|
||||
else
|
||||
echo "❌ $GRUB_FILE not found!"
|
||||
echo "$GRUB_FILE not found!"
|
||||
fi
|
||||
|
||||
@@ -1,32 +1,10 @@
|
||||
|
||||
# #######################################################################################
|
||||
# AUTOGENERATED HYPRLAND CONFIG.
|
||||
# EDIT THIS CONFIG ACCORDING TO THE WIKI INSTRUCTIONS.
|
||||
# #######################################################################################
|
||||
|
||||
autogenerated = 0 # remove this line to remove the warning
|
||||
|
||||
# This is an example Hyprland config file.
|
||||
# Refer to the wiki for more information.
|
||||
# https://wiki.hypr.land/Configuring/
|
||||
|
||||
# Please note not all available settings / options are set here.
|
||||
# For a full list, see the wiki
|
||||
|
||||
# You can split this configuration into multiple files
|
||||
# Create your files separately and then link them to this file like this:
|
||||
# source = ~/.config/hypr/myColors.conf
|
||||
|
||||
|
||||
################
|
||||
### MONITORS ###
|
||||
################
|
||||
|
||||
# See https://wiki.hypr.land/Configuring/Monitors/
|
||||
#monitor=,preferred,auto,auto
|
||||
#monitor=,preferred,auto,auto #still need to test if this works with second monitor
|
||||
source = ~/.config/hypr/monitors.conf
|
||||
source = ~/.config/hypr/workspaces.conf
|
||||
|
||||
xwayland {
|
||||
force_zero_scaling = true
|
||||
}
|
||||
@@ -47,6 +25,10 @@ $menu = rofi -show drun -p "Search> " | xargs -I{} search {}
|
||||
|
||||
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
||||
# Or execute your favorite apps at launch like this:
|
||||
exec-once = ~/.config/hypr/xdg-portal-hyprland
|
||||
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
exec-once = systemctl --user start hyprpolkitagen
|
||||
|
||||
exec-once = hyprpaper
|
||||
exec-once = sh $HOME/.config/hypr/set_wallpaper.sh
|
||||
@@ -55,6 +37,18 @@ exec-once = waybar
|
||||
exec-once = swayosd-server
|
||||
exec-once = librepods --start-minimized
|
||||
|
||||
env = XDG_CURRENT_DESKTOP,Hyprland
|
||||
env = XDG_SESSION_TYPE,wayland
|
||||
env = XDG_SESSION_DESKTOP,Hyprland
|
||||
env = SDL_VIDEODRIVER,wayland
|
||||
env = QT_AUTO_SCREEN_SCALE_FACTOR,1.5
|
||||
windowrule = match:xwayland true, no_initial_focus off
|
||||
# Tell QT applications to use the Wayland backend, and fall back to x11 if Wayland is unavailable
|
||||
env = QT_QPA_PLATFORM,wayland,xcb
|
||||
|
||||
# Disables window decorations on QT applications
|
||||
# env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
|
||||
|
||||
#############################
|
||||
### ENVIRONMENT VARIABLES ###
|
||||
#############################
|
||||
@@ -89,8 +83,8 @@ env = GDK_SCALE, 2
|
||||
|
||||
# https://wiki.hypr.land/Configuring/Variables/#general
|
||||
general {
|
||||
gaps_in = 2
|
||||
gaps_out = 5
|
||||
gaps_in = 1
|
||||
gaps_out = 4
|
||||
|
||||
border_size = 2
|
||||
|
||||
@@ -202,6 +196,7 @@ input {
|
||||
kb_model =
|
||||
kb_options = caps:swapescape
|
||||
kb_rules =
|
||||
numlock_by_default = true
|
||||
|
||||
follow_mouse = 1
|
||||
|
||||
@@ -319,8 +314,10 @@ windowrule = tag +games, match:class ^(steam_app_\d+)$
|
||||
windowrule = tag +games, match:class ^(gamescope)$
|
||||
windowrule = tag +gamestore, match:class ^([Ss]team)$
|
||||
windowrule = match:title Jellyfin Media Player, tag +videoplayer
|
||||
windowrule = match:title Jellyfin, tag +videoplayer
|
||||
windowrule = tag +screenrecord, match:class com.obsproject.Studio
|
||||
windowrule = tag +rustdesk, match:class rustdesk
|
||||
windowrule = tag +float, match:class SakuraVNE
|
||||
|
||||
windowrule = workspace 5, match:tag rustdesk
|
||||
windowrule = workspace 6, match:tag screenrecord*
|
||||
@@ -332,9 +329,15 @@ windowrule = workspace 9, match:tag videoplayer*
|
||||
windowrule = float on, match:title ^(Authentication Required)$
|
||||
windowrule = center on, match:title ^(Authentication Required)$
|
||||
windowrule = float on, match:class ^([Ss]team)$, match:title negative:^([Ss]team)$
|
||||
windowrule = float on, match:tag float
|
||||
|
||||
# Ignore maximize requests from apps. You'll probably like this.
|
||||
windowrule = suppress_event maximize, match:class .*
|
||||
|
||||
# Fix some dragging issues with XWayland
|
||||
windowrule = no_focus class:^$,match:title ^$,match:xwayland 1,float on,match:fullscreen 0,match:pin 0
|
||||
|
||||
windowrule = float on, match:class ^(Unity)$#, title:^(Unity)$
|
||||
windowrule = float off, match:title ^(Unity -).*$
|
||||
windowrule = float off, match:class ^(jetbrains-rider)$, match:initial_title ^$
|
||||
# windowrule = center on, match:class ^(Unity)$#, title:^(Unity)$
|
||||
|
||||
@@ -5,4 +5,6 @@ WALLPAPER_DIR="$HOME/Pictures/Wallpaper/"
|
||||
CURRENT_WALLPAPERS=$(hyprctl hyprpaper listloaded)
|
||||
|
||||
WALLPAPER=$(find "$WALLPAPER_DIR" -type f ! -name "$(basename "$CURRENT_WALLPAPER")" | grep -v .git | shuf -n 1)
|
||||
hyprctl hyprpaper reload ,"$WALLPAPER"
|
||||
echo $WALLPAPER
|
||||
hyprctl hyprpaper wallpaper "eDP-1, $WALLPAPER ,"
|
||||
hyprctl hyprpaper wallpaper "HDMI-A-1, $WALLPAPER ,"
|
||||
|
||||
Reference in New Issue
Block a user