Global environemnt for multiple machines. Simply run 00-install-env.zsh
as
the user you want to install the env for.
A config folder will be created in ~/.config/7shi
, and certain scripts can
be configured in there.
To set the wal theme: wal --theme green-on-black
To set the wal theme from an image: wal -i /path/to/image
Some of these files date back to 2006ish when I got introduced to Gentoo/kBSD,
and they've followed me on FreeBSD 6, OpenSolaris, OpenIndiana, Debian, and
Arch. Memories aside, this means some of these files date back to when I had
close to no idea how a *nix OS worked, and although I sometimes update the
components I use more often some are just... Bad. But hey, they work! And
somehow procrastinationd always starts up when I'm sorta in the mood to take
a look at certain files.
To be completely honest some files started off from what the person who
introduced me to the *nix world was using at the time.
TL;DR: I should probably feel ashamed and rewrite some of these files (most notably the ones within zsh folder), but it probably won't happen anytime soon.
Just areminder that PAM should be configured to unlock gnome-keyring-daemon keyrings on login:
/etc/pam.d/login
auth optional pam_gnome_keyring.so
session optional pam_gnome_keyring.so auto_start
Ditched ibus for fcitx5, as it isn't giving any headaches with hyprland.
pacman -S fcitx5-im fcitx5-mozc
Configuration to avoid a couple of tearing issues with picom when using a nvidia card:
Section "Device"
Identifier "nvidia"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "Coolbits" "28"
Option "RegistryDwords" "EnableBrightnessControl=1"
EndSection
Section "Screen"
Identifier "nvidia"
Option "metamodes" "nvidia-auto-select +0+0 {ForceFullCompositionPipeline=On}"
Option "AllowIndirectGLXProtocol" "off"
Option "TripleBuffer" "on"
EndSection
A few notes regarding what's needed to make Hyprland work.
The following packages are required to have a Hyprland setup:
grim
hypridle
hyprland
hyprlock
hyprpicker
hyprsunset
mpvpaper
rofi-wayland
slurp
wayland-protocols
wlr-randr
xdg-desktop-portal-hyprland
xorg-xwayland
On nvidia cards these are also needed:
libva-nvidia-driver
egl-wayland
nvidia-utils
As of this writing (2025-02-07) xdg-desktop-portal-hyprland
doesn't quite
support screensharing, so the AUR package is needed (which will also pull other
-git packages):
xdg-desktop-portal-hyprland-git
Due to a race condition, this has to be added in /etc/lightdm/Xsession
:
[...]
echo "X session wrapper complete, running session $@"
# Wayland hotfix:
if [[ ${XDG_SESSION_TYPE} == "wayland" ]]; then
echo "Sleeping for wayland"
sleep 1
echo "Woke up"
fi
exec $@
This has to be done via systemd editing /etc/systemd/logind.conf
:
[Login]
HandleLidSwitch=ignore
Ideally everything should work with the portal, but the following gist contains a lot of useful info: https://gist.github.com/brunoanc/2dea6ddf6974ba4e5d26c3139ffb7580
chrome://flags -> Search for ozone
-> set to Auto