From 148c8938e9cf68cd266c5f239e6365903d38d57e Mon Sep 17 00:00:00 2001 From: Megnas Date: Sun, 22 Feb 2026 17:06:41 +0100 Subject: [PATCH] feat: greetd plus minor patches and pkgs --- .config/hypr/hypridle.conf | 2 +- .config/hypr/hyprpaper.conf | 2 +- .config/waybar/config.jsonc | 16 +++------------- .config/waybar/style.css | 2 +- greetd/config.toml | 16 ++++++++++++++++ greetd/hyprland.conf | 6 ++++++ greetd/regreet.toml | 7 +++++++ install_pkg.sh | 4 ++++ pkglist_arch.txt | 15 +++++++++++++++ 9 files changed, 54 insertions(+), 16 deletions(-) create mode 100644 greetd/config.toml create mode 100644 greetd/hyprland.conf create mode 100644 greetd/regreet.toml create mode 100755 install_pkg.sh create mode 100644 pkglist_arch.txt diff --git a/.config/hypr/hypridle.conf b/.config/hypr/hypridle.conf index f15b068..f01d1c9 100644 --- a/.config/hypr/hypridle.conf +++ b/.config/hypr/hypridle.conf @@ -4,6 +4,6 @@ general { } listener { - timeout = 60 + timeout = 600 on-timeout = loginctl lock-session } diff --git a/.config/hypr/hyprpaper.conf b/.config/hypr/hyprpaper.conf index a531c13..8febf10 100644 --- a/.config/hypr/hyprpaper.conf +++ b/.config/hypr/hyprpaper.conf @@ -3,6 +3,6 @@ ipc = true wallpaper { monitor = - path = ~/Wallpapers/novosedly1.jpg + path = ~/Wallpapers/arch_linux_gray.png fit_mode = cover } diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc index 7e49a28..764ec30 100644 --- a/.config/waybar/config.jsonc +++ b/.config/waybar/config.jsonc @@ -83,24 +83,14 @@ "escape": true }, "hyprland/workspaces": { - "format": "{icon}: {windows}", + "format": "[{icon}] {windows}", + "show-special" : true, + "format-window-separator": " ", "workspace-taskbar": { - // Enable the workspace taskbar. Default: false "enable": true, - - // If true, the active/focused window will have an 'active' class. Could cause higher CPU usage due to more frequent redraws. Default: false "update-active-window": true, - - // Format of the windows in the taskbar. Default: "{icon}". Allowed variables: {icon}, {title} "format": "{icon}", - - // Icon size in pixels. Default: 16 "icon-size": 20, - - // Either the name of an installed icon theme or an array of themes (ordered by priority). If not set, the default icon theme is used. - "icon-theme": "some_icon_theme", - - // Orientation of the taskbar ("horizontal" or "vertical"). Default: "horizontal". "orientation": "horizontal" } }, diff --git a/.config/waybar/style.css b/.config/waybar/style.css index dab4f25..f33d36c 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -39,7 +39,7 @@ button:hover { padding: 4px 10px; margin: 4px 2px; border-radius: 6px; - min-width: 40px; + /* min-width: 40px; */ background-color: rgba(63, 63, 63, 0.6); color: #ffffff; } diff --git a/greetd/config.toml b/greetd/config.toml new file mode 100644 index 0000000..32bc261 --- /dev/null +++ b/greetd/config.toml @@ -0,0 +1,16 @@ +[terminal] +# The VT to run the greeter on. Can be "next", "current" or a number +# designating the VT. +vt = 2 + +# The default session, also known as the greeter. +[default_session] + +# `agreety` is the bundled agetty/login-lookalike. You can replace `/bin/sh` +# with whatever you want started, such as `sway`. +command = "start-hyprland -- -c /etc/greetd/hyprland.conf" + +# The user to run the command as. The privileges this user must have depends +# on the greeter. A graphical greeter may for example require the user to be +# in the `video` group. +user = "greeter" diff --git a/greetd/hyprland.conf b/greetd/hyprland.conf new file mode 100644 index 0000000..0a75173 --- /dev/null +++ b/greetd/hyprland.conf @@ -0,0 +1,6 @@ +exec-once = regreet; hyprctl dispatch exit +misc { + disable_hyprland_logo = true + disable_splash_rendering = true + disable_hyprland_guiutils_check = true +} diff --git a/greetd/regreet.toml b/greetd/regreet.toml new file mode 100644 index 0000000..2419c25 --- /dev/null +++ b/greetd/regreet.toml @@ -0,0 +1,7 @@ +[background] +path = "usr/share/backgrounds/greetd/arch_linux_gray.png" +fit = "Contain" + +[commands] +reboot = [ "systemctl", "reboot" ] +poweroff = [ "systemctl", "poweroff" ] diff --git a/install_pkg.sh b/install_pkg.sh new file mode 100755 index 0000000..3ca6225 --- /dev/null +++ b/install_pkg.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +sudo xargs -a ./pkglist_arch.txt pacman -S --needed + diff --git a/pkglist_arch.txt b/pkglist_arch.txt new file mode 100644 index 0000000..cc71fd1 --- /dev/null +++ b/pkglist_arch.txt @@ -0,0 +1,15 @@ +hyprland +hyprpaper +hyprlock +hypridle +swaync +uwsm +wofi +alacritty +waybar +thunar +copyq +greetd +greetd-regreet +pavucontrol +blueman