Skip to content
This repository has been archived by the owner on Sep 6, 2024. It is now read-only.

Commit

Permalink
feat(mazurek): sorry i did it again
Browse files Browse the repository at this point in the history
  • Loading branch information
sneexy-boi committed Mar 6, 2024
1 parent 3fd4901 commit 4a4358a
Show file tree
Hide file tree
Showing 9 changed files with 192 additions and 55 deletions.
59 changes: 59 additions & 0 deletions config/common/sneexy/mazurek/flatpaks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
type: default-flatpaks
notify: true
system:
install:
# internet
- org.mozilla.firefox
- org.mozilla.Thunderbird
- org.qbittorrent.qBittorrent
- io.gitlab.news_flash.NewsFlash
- org.nicotine_plus.Nicotine

# chat
- org.gajim.Gajim
- in.cinny.Cinny
- chat.revolt.RevoltDesktop
- org.signal.Signal
- dev.vencord.Vesktop

# gaming
- org.DolphinEmu.dolphin-emu
- io.github.dosbox-staging
- org.freedesktop.Platform.VulkanLayer.gamescope
- org.freedesktop.Platform.VulkanLayer.MangoHud//22.08
- org.prismlauncher.PrismLauncher
- net.davidotek.pupgui2
- org.libretro.RetroArch
- org.vinegarhq.Vinegar

# office
- org.libreoffice.LibreOffice
- md.obsidian.Obsidian

# utilities
- com.bitwarden.desktop
- com.usebottles.bottles
- fr.handbrake.ghb
- org.kde.okteta
- io.github.mpobaschnig.Vaults
- it.mijorus.smile

# system applications
- org.gnome.Loupe
- org.gnome.gedit
- org.gnome.clocks
- org.gnome.Calculator
- org.gnome.Evince
- io.github.amit9838.mousam
- org.gnome.Cheese
- org.kde.filelight
- io.github.nokse22.asciidraw
- io.github.wereturtle.ghostwriter
- io.github.cboxdoerfer.FSearch
- org.pipewire.Helvum
- org.gnome.DejaDup
- com.github.tchx84.Flatseal
- org.gustavoperedo.FontDownloader
- io.podman_desktop.PodmanDesktop
- app.drey.Dialect
- io.github.thetumultuousunicornofdarkness.cpu-x
6 changes: 5 additions & 1 deletion config/common/sneexy/mazurek/system.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ repos:
# wezterm
- https://copr.fedorainfracloud.org/coprs/wezfurlong/wezterm-nightly/repo/fedora-%OS_VERSION%/wezfurlong-wezterm-nightly-fedora-%OS_VERSION%.repo

# bibata cursors
- https://copr.fedorainfracloud.org/coprs/peterwu/rendezvous/repo/fedora-%OS_VERSION%/peterwu-rendezvous-fedora-%OS_VERSION%.repo

# rom properties
- https://copr.fedorainfracloud.org/coprs/kylegospo/rom-properties/repo/fedora-%OS_VERSION%/kylegospo-rom-properties-fedora-%OS_VERSION%.repo
install:
Expand Down Expand Up @@ -110,9 +113,10 @@ install:
- qt5-qtgraphicaleffects

# themes and GUI
- bibata-cursor-themes
- qt5ct
- qt6ct
- gnome-themes-extra
- gnome-icon-theme
- papirus-icon-theme
- plasma-breeze
- plasma-breeze
2 changes: 1 addition & 1 deletion config/common/sneexy/mazurek/user.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
type: rpm-ostree
repo:
install:
# basic applications
- waydroid
- mpv
remove:
Expand Down
133 changes: 87 additions & 46 deletions config/files/sneexy/mazurek/usr/etc/mazurek/hypr/hyprland.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@
# │Default hyprland config for mazurek images. │
# │https://github.com/sernik-tech/member-images/ │
# ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┤
# │This is the default, customized, Hyprland config file. │
# │Copy this to ~/.config/hyprland/hyprland.conf and edit it to your│
# │liking. (Assuming auto copying script didn't function.) │
# │ │
# │There is also a completely stock and untouched config located at │
# │/usr/share/hyprland/hyprland.conf.example if you prefer to edit │
# │from scratch. │
Expand All @@ -30,88 +26,133 @@ source = ~/.config/hypr/monitors.conf
source = ~/.config/hypr/startup.conf
source = ~/.config/hypr/windowrules.conf

# chars:
# ╭ ╮ ╯ ╰
# ─ │ ┄ ┆
# ├ ┤ ┬ ┴ ┼

# This custom configuration is, by default, slimmed down. Look at the wiki to figure out
# whats missing or just look at the original configuration.
# ╭─────────────────────────╮
# │ _ __ │
# │ (_)__ ___ __ __/ /_ │
# │ / / _ \/ _ \/ // / __/ │
# │ /_/_//_/ .__/\_,_/\__/ │
# │ /_/ │
# │ Input │
# ╰─────────────────────────╯

# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {

follow_mouse = 1

touchpad {
natural_scroll = false
disable_while_typing = true
tap-to-click = true
}

sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
sensitivity = 0
}

general {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
# ╭──────────────────────────────────╮
# │ __ │
# │ ___ ____ ___ ___ _______ _/ / │
# │ / _ `/ -_) _ \/ -_) __/ _ `/ / │
# │ \_, /\__/_//_/\__/_/ \_,_/_/ │
# │ /___/ │
# │ General │
# ╰──────────────────────────────────╯

gaps_in = 5
gaps_out = 20
general {
gaps_in = 3
gaps_out = 5
border_size = 2
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
col.inactive_border = rgba(595959aa)

col.active_border = rgb(a6e3a1)
col.inactive_border = rgb(181825)
layout = dwindle

# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
allow_tearing = false
}

decoration {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
# ╭─────────────────────────────────────────────╮
# │ __ __ _ │
# │ ___/ /__ _______ _______ _/ /_(_)__ ___ │
# │ / _ / -_) __/ _ \/ __/ _ `/ __/ / _ \/ _ \ │
# │ \_,_/\__/\__/\___/_/ \_,_/\__/_/\___/_//_/ │
# │ Decorations 💅 │
# ╰─────────────────────────────────────────────╯

decoration {
rounding = 10

blur {
enabled = true
size = 3
passes = 1
size = 4
passes = 3

vibrancy = 0.1696
ignore_opacity = true
new_optimizations = true
}

drop_shadow = true
shadow_range = 4
shadow_render_power = 3
col.shadow = rgba(1a1a1aee)
shadow_range = 8
shadow_render_power = 6
shadow_offset = 2 2
col.shadow = rgba(11111bee)
}

# ╭─────────────────────────────────────────────╮
# │ _ __ _ │
# │ ___ ____ (_)_ _ ___ _/ /_(_)__ ___ ___ │
# │ / _ `/ _ \/ / ' \/ _ `/ __/ / _ \/ _ \(_-< │
# │ \_,_/_//_/_/_/_/_/\_,_/\__/_/\___/_//_/___/ │
# │ Animations │
# ╰─────────────────────────────────────────────╯

animations {
enabled = true

# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more

bezier = myBezier, 0.05, 0.9, 0.1, 1.05
bezier = expoout, 0.16, 1, 0.3, 1
bezier = overshot, 0.05, 0.9, 0.1, 1.1

animation = windows, 1, 7, myBezier
animation = windowsOut, 1, 7, default, popin 80%
animation = border, 1, 10, default
animation = windows, 1, 4, overshot, slide
animation = windowsOut, 1, 4, expoout, slide
animation = border, 1, 5, expoout
animation = borderangle, 1, 8, default
animation = fade, 1, 7, default
animation = workspaces, 1, 6, default
animation = fade, 1, 5, expoout
animation = workspaces, 1, 4, overshot, slide
}

# ╭─────────────────────────────────────╮
# │ __ │
# │ ___ ____ ___ / /___ _________ ___ │
# │ / _ `/ -_|_-</ __/ // / __/ -_|_-< │
# │ \_, /\__/___/\__/\_,_/_/ \__/___/ │
# │ /___/ │
# │ Gestures │
# ╰─────────────────────────────────────╯

gestures {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
workspace_swipe = false
workspace_swipe = true
workspace_swipe_fingers = 3
}

# ╭─────────────────────╮
# │ _ │
# │ __ _ (_)__ ____ │
# │ / ' \/ (_-</ __/ │
# │ /_/_/_/_/___/\__(_) │
# │ Misc. │
# ╰─────────────────────╯

misc {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
vfr = true
force_default_wallpaper = -1
}

# Example per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
# ╭───────────────────────────╮
# │ __ _ │
# │ ___/ /__ _ __(_)______ │
# │ / _ / -_) |/ / / __/ -_) │
# │ \_,_/\__/|___/_/\__/\__/ │
# │ Devices │
# ╰───────────────────────────╯

device {
name = epic-mouse-v1
sensitivity = -0.5
name = fill-me-out
accel_profile = flat
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,46 @@ fi
# We'll make sure the directories exist first.
mkdir -p $HOME/.config/hypr
mkdir -p $HOME/.config/waybar
mkdir -p $HOME/.config/ags
mkdir -p $HOME/.local/bin

# We'll copy the files to the local user's directories.
cp -r /etc/mazurek/hypr/* $HOME/.config/hypr
cp -r /etc/mazurek/waybar/* $HOME/.config/waybar
cp /etc/mazurek/focus-mode.sh $HOME/.local/bin/focus-mode.sh
cp /etc/mazurek/restart-portal-wlr.sh $HOME/.local/bin/restart-portal-wlr.sh
cp /etc/mazurek/swww-random.sh $HOME/.local/bin/swww-random.sh
# We'll copy the files to the local user's directories, if they exist.

if [ -f $HOME/.config/hypr/hyprland.conf ]; then
echo "Hyprland config exists. Skipping..."
else
cp -r /etc/mazurek/hypr/* $HOME/.config/hypr
fi

if [ -f $HOME/.config/waybar/config ]; then
echo "Waybar config exists. Skipping..."
else
cp -r /etc/mazurek/waybar/* $HOME/.config/waybar
fi

if [ -f $HOME/.config/ags ]; then
echo "AGS config exists. Skipping..."
else
cp -r /etc/mazurek/ags/* $HOME/.config/ags
fi

if [ -f $HOME/.local/bin/hypr-focus-mode.sh ]; then
echo "Scripts exists. Skipping..."
else
cp /etc/mazurek/hypr-focus-mode.sh $HOME/.local/bin/hypr-focus-mode.sh
fi

if [ -f $HOME/.local/bin/restart-portal-wlr.sh ]; then
echo "Scripts exists. Skipping..."
else
cp /etc/mazurek/restart-portal-wlr.sh $HOME/.local/bin/restart-portal-wlr.sh
fi

if [ -f $HOME/.local/bin/swww-random.sh ]; then
echo "Scripts exists. Skipping..."
else
cp /etc/mazurek/swww-random.sh $HOME/.local/bin/swww-random.sh
fi

# Ensure the files are executable.
chmod +x $HOME/.local/bin/focus-mode.sh
Expand Down
2 changes: 1 addition & 1 deletion config/recipes/sneexy/mazurek.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ modules:
- mazurek-user-post.service

# installs default repositories and flatpak packages
- from-file: common/sneexy/flatpaks.yml
- from-file: common/sneexy/mazurek/flatpaks.yml

# configure what to pull in from ublue-os/bling
- from-file: common/sneexy/bling.yml
Expand Down
1 change: 1 addition & 0 deletions config/scripts/system-mazurek.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/solopasha-hyprland-fedora-$(rp
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/tofik-nwg-shell-fedora-$(rpm -E %fedora).repo
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/home:manuelschneid3r.repo
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/wezfurlong-wezterm-nightly-fedora-$(rpm -E %fedora).repo
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/peterwu-rendezvous-fedora-$(rpm -E %fedora).repo
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/kylegospo-rom-properties-fedora-$(rpm -E %fedora).repo
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-bazzite.repo
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-bazzite-multilib.repo

0 comments on commit 4a4358a

Please sign in to comment.