Compare commits

...

25 Commits

Author SHA1 Message Date
263b3d3c7a new env variables to handle qt apps and force wayland backend (this needs more testing along with the new env vairables) 2026-02-18 12:34:41 +01:00
693f6b8796 new rules to work with xorgs and xwayland apss better 2026-02-18 12:33:57 +01:00
5ef9e17c9b windowrule for unity base window and jetbrans base window and everything else floats 2026-02-18 12:30:55 +01:00
187bdd7333 removed env vars for incorrect use (probably) 2026-02-18 12:30:14 +01:00
d6225a5bd9 util-linux package for periodic ssd trim 2026-02-18 10:31:19 +01:00
f09c1864fe added unity windowrule 2026-02-16 21:46:22 +01:00
4d4674a438 set gdk scale to 2 2026-02-16 21:45:40 +01:00
f6f2ea2d53 removed comments 2026-02-16 21:45:17 +01:00
4c0aef01be added sakuravne as a floating window with float tag for future use 2026-02-13 16:18:59 +01:00
17064c72de adjusted window gaps and set numlock on by default 2026-02-13 15:13:04 +01:00
012d393903 added ghostty config and fixed a bug with rofi folder creation path 2026-02-11 12:59:06 +01:00
e21adce2d3 added maven and noto emoji font 2026-02-11 12:55:22 +01:00
aaf05158d5 updated gap sizes and changed back to ghostty 2026-02-11 12:51:29 +01:00
5413a35b43 Update configure.sh 2026-02-10 11:15:16 +01:00
41d0e6006e Update configure.sh 2026-02-09 19:24:05 +01:00
1da9976791 Update configure.sh 2026-02-09 18:50:34 +01:00
e29f45ec28 Update configure.sh 2026-02-09 18:49:30 +01:00
5da7ad983d trying out kitty, added new jellyfin window title to videoplayer tag 2026-02-08 17:38:09 +01:00
0019ab9f94 Update configure.sh 2026-01-06 12:58:02 +01:00
699e0ef7ff Update packages 2026-01-03 20:47:16 +01:00
ce34828f2b xbox controller fix 2025-12-31 16:32:11 +01:00
c98b4fdcca Update grub/grub.sh 2025-12-30 21:21:46 +01:00
283d584415 Update configure.sh 2025-12-30 21:21:23 +01:00
22ffe9b916 Update configure.sh 2025-12-30 20:08:06 +01:00
e290b927a3 reenabled automatic grub turn off script 2025-12-30 19:55:24 +01:00
5 changed files with 104 additions and 41 deletions

View File

@@ -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,14 +38,16 @@ 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
@@ -57,9 +59,8 @@ 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
@@ -80,11 +81,14 @@ 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 sddm-silent-theme rustdesk --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"
@@ -96,8 +100,15 @@ sudo echo " # Make sure these options are correct:
[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
View 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

View File

@@ -5,19 +5,18 @@ GRUB_FILE="/etc/default/grub"
# Ensure the file exists before proceeding
if [[ -f "$GRUB_FILE" ]]; then
echo "Updating GRUB timeout to 0..."
# 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

View File

@@ -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)$

View File

@@ -43,7 +43,7 @@ avr-gcc 15.1.0-1
avr-libc 2.3.0-1
avrdude 1:8.1-1
baobab 49.1-1
base 3-2
base 3-2
base-devel 1-2
bash 5.3.9-1
bear 3.1.6-10