Compare commits
126 Commits
3c9047226b
...
local-podm
Author | SHA1 | Date | |
---|---|---|---|
fcf019fddf | |||
eabd27c3c8 | |||
7809d24cd4 | |||
a784d1de70 | |||
61bb77e05b | |||
1fdc24f550 | |||
5781fd017b | |||
8edcd4ff05 | |||
55fe8e21b5 | |||
47fad27d7b | |||
73a6d27e0e | |||
92ea9c9af2 | |||
1181d5accb | |||
6259ab886e | |||
5fbb9383f9 | |||
0ba2ad78f5 | |||
4f61fb3e33 | |||
52becf4ef4 | |||
39611efb18 | |||
d0e1214f23 | |||
fa931b6f1f | |||
07adaa0438 | |||
46a54506f2 | |||
fd295b21e9 | |||
c2df7707ee | |||
be74a20a4b | |||
d44297ebaf | |||
bfab543dc3 | |||
2795869465 | |||
777bcbdb24 | |||
ffc809061b | |||
45ea42457c | |||
7107645dc9 | |||
b72f3ec79f | |||
2ec348e81f | |||
841270554c | |||
d75fdb0608 | |||
537dc3835f | |||
b471730686 | |||
a4ccb540c8 | |||
f76c13d103 | |||
c168988e13 | |||
27bbd783df | |||
0a0a3c820c | |||
f30442534f | |||
68045125e4 | |||
bfc6bb9d06 | |||
123e11860d | |||
0e42248ac5 | |||
5a2e033805 | |||
cf132260df | |||
5a4123097e | |||
9e0dc3216f | |||
f8ee64c130 | |||
e986b0395f | |||
ff0cb59c44 | |||
7a10a11e0f | |||
38c06add07 | |||
2c63bb8642 | |||
2791d04cda | |||
64fe2b0554 | |||
c3c41fa9b3 | |||
5028f8b3c5 | |||
7d816a0b11 | |||
5b932f8a19 | |||
f9e324a7d4 | |||
676ec3afed | |||
430b6ac49b | |||
85d3cd307b | |||
91f6388777 | |||
853ccb3dd7 | |||
fac1440766 | |||
c7391ae3c5 | |||
05d3748888 | |||
991a89c4a6 | |||
fd135e43d2 | |||
de1d73fef6 | |||
4dab1c4267 | |||
8741a1162f | |||
f18216707f | |||
b94e8e44b2 | |||
a64f4ce9ff | |||
cc5c721016 | |||
60da4a5c19 | |||
5539c02f05 | |||
987d93b2d1 | |||
15ed5250c7 | |||
c1d7044fc9 | |||
fc879401b0 | |||
94ac33a612 | |||
ce69f99a2b | |||
1e1d8072b1 | |||
62e3617ac7 | |||
ec7bfa6999 | |||
0614b7221f | |||
b3d22fec37 | |||
a9fead39d2 | |||
81c30d3201 | |||
25e041b939 | |||
4d08e4f254 | |||
f2455f618e | |||
c5427dca4a | |||
2840ed5841 | |||
687b992686 | |||
1e625b66a5 | |||
9728e8d2f3 | |||
099d5bd9d7 | |||
5394bf9671 | |||
f708d3ab84 | |||
9c93c80ce3 | |||
3432b5ffae | |||
e5dd484ce7 | |||
6ef8e3a452 | |||
a7b7f63792 | |||
937327b92e | |||
912e8da0c8 | |||
3169904919 | |||
29eff45604 | |||
7c68cc7b65 | |||
46ff9d254c | |||
be384c3e28 | |||
66757cf6e0 | |||
4fa79e1eed | |||
67ca43db57 | |||
2e3a2afe74 | |||
28860af56f |
30
.github/workflows/build-nvidia.yml
vendored
Normal file
30
.github/workflows/build-nvidia.yml
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
name: bluebuild-nvidia
|
||||
on:
|
||||
workflow_dispatch: # allow manually triggering builds
|
||||
jobs:
|
||||
bluebuild:
|
||||
name: Build Custom Image
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
id-token: write
|
||||
strategy:
|
||||
fail-fast: false # stop GH from cancelling all matrix builds if one fails
|
||||
matrix:
|
||||
recipe:
|
||||
# !! Add your recipes here
|
||||
- recipe_nvidia.yml
|
||||
steps:
|
||||
# the build is fully handled by the reusable github action
|
||||
- name: Build Custom Image
|
||||
uses: blue-build/github-action@v1.8
|
||||
with:
|
||||
recipe: ${{ matrix.recipe }}
|
||||
cosign_private_key: ${{ secrets.SIGNING_SECRET }}
|
||||
registry: 'git.hydrosaber.com'
|
||||
registry_token: ${{ secrets.PACKAGE_BUILDER_TOKEN }}
|
||||
pr_event_number: ${{ github.event.number }}
|
||||
|
||||
# enabled by default, disable if your image is small and you want faster builds
|
||||
maximize_build_space: true
|
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
@@ -2,20 +2,19 @@ name: bluebuild
|
||||
on:
|
||||
schedule:
|
||||
- cron:
|
||||
"00 06 * * *" # build at 06:00 UTC every day
|
||||
"00 06 * * *" # build at 06:00 UTC every Monday
|
||||
# (20 minutes after last ublue images start building)
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths-ignore: # don't rebuild if only documentation has changed
|
||||
- "**.md"
|
||||
|
||||
- ".github/workflows/build-nvidia.yml"
|
||||
- "files/scripts/nvidia/**"
|
||||
- "recipes/components/nvidia-module.yml"
|
||||
- "recipes/recipe_nvidia.yml"
|
||||
pull_request:
|
||||
workflow_dispatch: # allow manually triggering builds
|
||||
concurrency:
|
||||
# only run one build at a time
|
||||
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
jobs:
|
||||
bluebuild:
|
||||
name: Build Custom Image
|
||||
@@ -31,6 +30,7 @@ jobs:
|
||||
# !! Add your recipes here
|
||||
- recipe.yml
|
||||
steps:
|
||||
|
||||
# the build is fully handled by the reusable github action
|
||||
- name: Build Custom Image
|
||||
uses: blue-build/github-action@v1.8
|
||||
@@ -43,3 +43,4 @@ jobs:
|
||||
|
||||
# enabled by default, disable if your image is small and you want faster builds
|
||||
maximize_build_space: true
|
||||
rechunk: true
|
||||
|
8
files/dnf/codium.repo
Normal file
8
files/dnf/codium.repo
Normal file
@@ -0,0 +1,8 @@
|
||||
[gitlab.com_paulcarroty_vscodium_repo]
|
||||
name=download.vscodium.com
|
||||
baseurl=https://download.vscodium.com/rpms/
|
||||
enabled=1
|
||||
gpgcheck=1
|
||||
repo_gpgcheck=1
|
||||
gpgkey=https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/-/raw/master/pub.gpg
|
||||
metadata_expire=1h
|
@@ -0,0 +1,4 @@
|
||||
[org.gnome.desktop.interface]
|
||||
gtk-theme='Adwaita-dark'
|
||||
color-scheme='prefer-dark'
|
||||
icon-theme='Papirus'
|
40
files/scripts/addimageinfo.sh
Normal file
40
files/scripts/addimageinfo.sh
Normal file
@@ -0,0 +1,40 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Tell build process to exit if there are any errors.
|
||||
set -oue pipefail
|
||||
|
||||
# This file includes code from Universal Blue which is licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS"
|
||||
# BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language
|
||||
# governing permissions and limitations under the License.
|
||||
|
||||
IMAGE_PRETTY_NAME="hydro-os"
|
||||
IMAGE_LIKE="fedora"
|
||||
HOME_URL="https://git.hydrosaber.com/eriq12/hydro-os"
|
||||
DOCUMENTATION_URL="https://git.hydrosaber.com/eriq12/hydro-os"
|
||||
SUPPORT_URL="https://git.hydrosaber.com/eriq12/hydro-os/issues"
|
||||
BUG_SUPPORT_URL="https://git.hydrosaber.com/eriq12/hydro-os/issues"
|
||||
|
||||
if grep -q "VARIANT_ID" /usr/lib/os-release; then
|
||||
sed -i "s/^VARIANT_ID=.*/VARIANT_ID=$IMAGE_NAME/" /usr/lib/os-release
|
||||
else
|
||||
echo "VARIANT_ID=$IMAGE_NAME" >> /usr/lib/os-release
|
||||
fi
|
||||
sed -i "s/^PRETTY_NAME=.*/PRETTY_NAME=\"${IMAGE_PRETTY_NAME} (powered by Fedora Atomic)\"/" /usr/lib/os-release
|
||||
sed -i "s/^NAME=.*/NAME=\"$IMAGE_PRETTY_NAME\"/" /usr/lib/os-release
|
||||
sed -i "s|^HOME_URL=.*|HOME_URL=\"$HOME_URL\"|" /usr/lib/os-release
|
||||
sed -i "s|^DOCUMENTATION_URL=.*|DOCUMENTATION_URL=\"$DOCUMENTATION_URL\"|" /usr/lib/os-release
|
||||
sed -i "s|^SUPPORT_URL=.*|SUPPORT_URL=\"$SUPPORT_URL\"|" /usr/lib/os-release
|
||||
sed -i "s|^BUG_REPORT_URL=.*|BUG_REPORT_URL=\"$BUG_SUPPORT_URL\"|" /usr/lib/os-release
|
||||
sed -i "s|^CPE_NAME=\"cpe:/o:fedoraproject:fedora|CPE_NAME=\"cpe:/o:wayblue:${IMAGE_PRETTY_NAME,}|" /usr/lib/os-release
|
||||
sed -i "s/^DEFAULT_HOSTNAME=.*/DEFAULT_HOSTNAME=\"${IMAGE_PRETTY_NAME,}\"/" /usr/lib/os-release
|
||||
sed -i "s/^ID=fedora/ID=\"${IMAGE_LIKE,}\"\nID_LIKE=\"${IMAGE_PRETTY_NAME,}\"/" /usr/lib/os-release
|
||||
sed -i "/^REDHAT_BUGZILLA_PRODUCT=/d; /^REDHAT_BUGZILLA_PRODUCT_VERSION=/d; /^REDHAT_SUPPORT_PRODUCT=/d; /^REDHAT_SUPPORT_PRODUCT_VERSION=/d" /usr/lib/os-release
|
||||
|
||||
# Fix issues caused by ID no longer being fedora
|
||||
sed -i "s/^EFIDIR=.*/EFIDIR=\"fedora\"/" /usr/sbin/grub2-switch-to-blscfg
|
@@ -1,10 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Tell build process to exit if there are any errors.
|
||||
set -oue pipefail
|
||||
|
||||
systemctl enable rpm-ostreed-automatic.timer
|
||||
systemctl enable podman-auto-update.timer
|
||||
systemctl --global enable podman-auto-update.timer
|
||||
systemctl --global enable flatpak-user-update.timer
|
||||
systemctl enable flatpak-system-update.timer
|
27
files/scripts/installdkmsmodules.sh
Normal file
27
files/scripts/installdkmsmodules.sh
Normal file
@@ -0,0 +1,27 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Tell build process to exit if there are any errors.
|
||||
set -oue pipefail
|
||||
|
||||
echo "INFO: grab kernel module"
|
||||
KERNEL_VER=$(ls /lib/modules | head -n 1)
|
||||
echo $KERNEL_VER
|
||||
|
||||
echo "INFO: list all modules"
|
||||
ls /usr/src
|
||||
|
||||
echo "INFO: grab xpad modules"
|
||||
XPAD_MODULE_VER=$(ls /usr/src | grep xpadneo | sed 's/-/\//')
|
||||
echo $XPAD_MODULE_VER
|
||||
|
||||
echo "INFO: grab open razer modules"
|
||||
RAZER_MODULE_VER=$(ls /usr/src | grep razer | sed -E 's/(.*)-/\1\//')
|
||||
echo $RAZER_MODULE_VER
|
||||
|
||||
echo "INFO: build and install xpadneo"
|
||||
sudo dkms build -m $XPAD_MODULE_VER -k $KERNEL_VER
|
||||
sudo dkms install -m $XPAD_MODULE_VER -k $KERNEL_VER
|
||||
|
||||
echo "INFO: build and install openrazer"
|
||||
sudo dkms build -m $RAZER_MODULE_VER -k $KERNEL_VER
|
||||
sudo dkms install -m $RAZER_MODULE_VER -k $KERNEL_VER
|
6
files/scripts/installohmyzsh.sh
Normal file
6
files/scripts/installohmyzsh.sh
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Tell build process to exit if there are any errors.
|
||||
set -oue pipefail
|
||||
|
||||
git clone https://github.com/ohmyzsh/ohmyzsh.git /usr/share/ohmyzsh
|
@@ -1,25 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Tell build process to exit if there are any errors.
|
||||
set -oue pipefail
|
||||
|
||||
curl -Lo /etc/yum.repos.d/negativo17-fedora-multimedia.repo https://negativo17.org/repos/fedora-multimedia.repo
|
||||
sed -i '0,/enabled=1/{s/enabled=1/enabled=1\npriority=90/}' /etc/yum.repos.d/negativo17-fedora-multimedia.repo
|
||||
|
||||
rpm-ostree override replace \
|
||||
--experimental \
|
||||
--from repo='fedora-multimedia' \
|
||||
libheif \
|
||||
libva \
|
||||
libva-intel-media-driver \
|
||||
mesa-dri-drivers \
|
||||
mesa-filesystem \
|
||||
mesa-libEGL \
|
||||
mesa-libGL \
|
||||
mesa-libgbm \
|
||||
mesa-libxatracker \
|
||||
mesa-va-drivers \
|
||||
mesa-vulkan-drivers \
|
||||
gstreamer1-plugin-libav \
|
||||
gstreamer1-plugin-vaapi \
|
||||
rar
|
10
files/scripts/setupchezmoiskel.sh
Normal file
10
files/scripts/setupchezmoiskel.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Tell build process to exit if there are any errors.
|
||||
set -oue pipefail
|
||||
|
||||
git clone https://git.hydrosaber.com/eriq12/dotfiles /etc/skel/.local/share/chezmoi
|
||||
|
||||
cp /etc/skel/.local/share/chezmoi/dot_bashrc /etc/skel/.bashrc
|
||||
cp /etc/skel/.local/share/chezmoi/dot_zshrc /etc/skel/.zshrc
|
||||
cp -r /etc/skel/.local/share/chezmoi/dot_config /etc/skel/.config
|
8
files/system/etc/default/useradd
Normal file
8
files/system/etc/default/useradd
Normal file
@@ -0,0 +1,8 @@
|
||||
# useradd defaults file
|
||||
GROUP=100
|
||||
HOME=/home
|
||||
INACTIVE=-1
|
||||
EXPIRE=
|
||||
SHELL=/bin/zsh
|
||||
SKEL=/etc/skel
|
||||
CREATE_MAIL_SPOOL=yes
|
2
files/system/etc/environment.d/theme.conf
Normal file
2
files/system/etc/environment.d/theme.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
QT_QPA_PLATFORMTHEME=qt6ct
|
||||
QT_QUICK_CONTROLS_STYLE=org.hyprland.style
|
4
files/system/etc/firewalld/services/grayjay.xml
Normal file
4
files/system/etc/firewalld/services/grayjay.xml
Normal file
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<service>
|
||||
<port port="12315" protocol="tcp"/>
|
||||
</service>
|
5
files/system/etc/firewalld/services/localsend.xml
Normal file
5
files/system/etc/firewalld/services/localsend.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<service>
|
||||
<port port="53317" protocol="tcp"/>
|
||||
<port port="53317" protocol="udp"/>
|
||||
</service>
|
1
files/system/etc/modules-load.d/asus-sensor.conf
Normal file
1
files/system/etc/modules-load.d/asus-sensor.conf
Normal file
@@ -0,0 +1 @@
|
||||
nct6775
|
1
files/system/etc/modules-load.d/ntsync.conf
Normal file
1
files/system/etc/modules-load.d/ntsync.conf
Normal file
@@ -0,0 +1 @@
|
||||
ntsync
|
26
files/system/etc/pipewire/105-add-discord-name.conf
Normal file
26
files/system/etc/pipewire/105-add-discord-name.conf
Normal file
@@ -0,0 +1,26 @@
|
||||
# ~/.config/pipewire/pipewire.conf.d/104-group-game-audio-to-node.conf
|
||||
|
||||
node.rules = [
|
||||
{
|
||||
matches = [
|
||||
{
|
||||
application.process.binary = "equibop.bin"
|
||||
}
|
||||
{
|
||||
pipewire.access.portal.app_id = "io.github.equicord.equibop"
|
||||
}
|
||||
{
|
||||
pipewire.access.portal.app_id = "com.discordapp.Discord"
|
||||
}
|
||||
{
|
||||
pipewire.access.portal.app_id = "com.discordapp.DiscordCanary"
|
||||
}
|
||||
]
|
||||
actions = {
|
||||
update-props = {
|
||||
application.name = "Discord"
|
||||
node.name = "Discord"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
17
files/system/etc/pipewire/109-add-freetube-name.conf
Normal file
17
files/system/etc/pipewire/109-add-freetube-name.conf
Normal file
@@ -0,0 +1,17 @@
|
||||
# ~/.config/pipewire/pipewire.conf.d/104-group-game-audio-to-node.conf
|
||||
|
||||
node.rules = [
|
||||
{
|
||||
matches = [
|
||||
{
|
||||
pipewire.access.portal.app_id = "io.github.equicord.equibop"
|
||||
}
|
||||
]
|
||||
actions = {
|
||||
update-props = {
|
||||
application.name = "Freetube"
|
||||
node.name = "Freetube"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
@@ -0,0 +1,4 @@
|
||||
# monitors.conf
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||
monitor=,preferred,auto,auto
|
@@ -1,59 +0,0 @@
|
||||
{
|
||||
"scalingPriority": "gdk",
|
||||
"theme.bar.floating": true,
|
||||
"bar.autoHide": "never",
|
||||
"bar.layouts": {
|
||||
"*": {
|
||||
"left": [
|
||||
"cpu",
|
||||
"ram",
|
||||
"workspaces",
|
||||
"windowtitle"
|
||||
],
|
||||
"middle": [
|
||||
"media"
|
||||
],
|
||||
"right": [
|
||||
"volume",
|
||||
"network",
|
||||
"bluetooth",
|
||||
"systray",
|
||||
"notifications",
|
||||
"clock",
|
||||
"dashboard"
|
||||
]
|
||||
}
|
||||
},
|
||||
"theme.notification.enableShadow": false,
|
||||
"theme.bar.border.location": "none",
|
||||
"theme.bar.border_radius": "0.75em",
|
||||
"theme.bar.outer_spacing": ".25em",
|
||||
"theme.bar.buttons.radius": "0.75em",
|
||||
"theme.bar.menus.monochrome": false,
|
||||
"theme.bar.menus.opacity": 100,
|
||||
"theme.bar.buttons.y_margins": "0.1em",
|
||||
"theme.bar.buttons.enableBorders": true,
|
||||
"theme.bar.transparent": true,
|
||||
"theme.bar.enableShadow": false,
|
||||
"menus.clock.time.hideSeconds": false,
|
||||
"menus.dashboard.shortcuts.left.shortcut1.icon": "",
|
||||
"menus.dashboard.shortcuts.left.shortcut1.command": "uwsm app -- one.ablaze.floorp.desktop",
|
||||
"menus.dashboard.shortcuts.left.shortcut1.tooltip": "Floorp",
|
||||
"menus.dashboard.shortcuts.enabled": true,
|
||||
"menus.dashboard.stats.enable_gpu": false,
|
||||
"menus.clock.weather.enabled": false,
|
||||
"bar.workspaces.show_icons": false,
|
||||
"bar.workspaces.show_numbered": true,
|
||||
"theme.bar.buttons.windowtitle.enableBorder": false,
|
||||
"bar.windowtitle.custom_title": true,
|
||||
"bar.windowtitle.truncation": true,
|
||||
"bar.notifications.show_total": true,
|
||||
"bar.notifications.hideCountWhenZero": true,
|
||||
"bar.launcher.icon": "",
|
||||
"bar.launcher.autoDetectIcon": false,
|
||||
"menus.dashboard.shortcuts.left.shortcut3.command": "uwsm app -- com.discordapp.Discord",
|
||||
"menus.dashboard.shortcuts.left.shortcut2.icon": "",
|
||||
"menus.dashboard.shortcuts.left.shortcut2.command": "uwsm app --net.cozic.joplin_desktop",
|
||||
"menus.dashboard.shortcuts.left.shortcut2.tooltip": "Joplin",
|
||||
"menus.dashboard.shortcuts.left.shortcut4.command": "rofi -show drun -run-command \"uwsm app -- {cmd}\""
|
||||
}
|
@@ -1 +0,0 @@
|
||||
{}
|
@@ -1,4 +0,0 @@
|
||||
#!/usr/bin/env lua
|
||||
require("options")
|
||||
require("keymaps")
|
||||
require("config.lazy")
|
@@ -1,47 +0,0 @@
|
||||
-- Bootstrap lazy.nvim
|
||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||
if not (vim.uv or vim.loop).fs_stat(lazypath) then
|
||||
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
|
||||
local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
|
||||
if vim.v.shell_error ~= 0 then
|
||||
vim.api.nvim_echo({
|
||||
{ "Failed to clone lazy.nvim:\n", "ErrorMsg" },
|
||||
{ out, "WarningMsg" },
|
||||
{ "\nPress any key to exit..." },
|
||||
}, true, {})
|
||||
vim.fn.getchar()
|
||||
os.exit(1)
|
||||
end
|
||||
end
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
|
||||
-- Make sure to setup `mapleader` and `maplocalleader` before
|
||||
-- loading lazy.nvim so that mappings are correct.
|
||||
-- This is also a good place to setup other settings (vim.opt)
|
||||
vim.g.mapleader = " "
|
||||
vim.g.maplocalleader = "\\"
|
||||
|
||||
-- Setup lazy.nvim
|
||||
require("lazy").setup({
|
||||
spec = {
|
||||
{ "LazyVim/LazyVim", import = "lazyvim.plugins"},
|
||||
-- import your plugins
|
||||
{ import = "plugins" },
|
||||
},
|
||||
-- automatically check for plugin updates
|
||||
checker = {
|
||||
enabled = true,
|
||||
notify = false,
|
||||
},
|
||||
performance = {
|
||||
rtp = {
|
||||
disabled_plugins = {
|
||||
"gzip",
|
||||
"tarPlugin",
|
||||
"tohtml",
|
||||
"tutor",
|
||||
"zipPlugin",
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
@@ -1,31 +0,0 @@
|
||||
-- define comon options
|
||||
local opts = {
|
||||
noremap = true, -- non-recursive
|
||||
silent = true, -- do not show message
|
||||
}
|
||||
|
||||
-----------------
|
||||
-- Normal mode --
|
||||
-----------------
|
||||
|
||||
-- check `:h vim.map.set()` to get better idea of what this does
|
||||
-- Better window navigation
|
||||
vim.keymap.set('n', '<C-h>', '<C-w>h', opts)
|
||||
vim.keymap.set('n', '<C-j>', '<C-w>j', opts)
|
||||
vim.keymap.set('n', '<C-k>', '<C-w>k', opts)
|
||||
vim.keymap.set('n', '<C-l>', '<C-w>l', opts)
|
||||
|
||||
-- Resize with arrows
|
||||
-- delta: 2 lines
|
||||
vim.keymap.set('n', '<C-Up>', ':resize -2<CR>', opts)
|
||||
vim.keymap.set('n', '<C-Down>', ':resize +2<CR>', opts)
|
||||
vim.keymap.set('n', '<C-Left>', ':vertical resize -2<CR>', opts)
|
||||
vim.keymap.set('n', '<C-Right>', ':vertical resize +2<CR>', opts)
|
||||
|
||||
-----------------
|
||||
-- Visual mode --
|
||||
-----------------
|
||||
|
||||
-- start visual mode with same area as previous area and same mode
|
||||
vim.keymap.set('v', '<', '<gv', opts)
|
||||
vim.keymap.set('v', '>', '>gv', opts)
|
@@ -1,25 +0,0 @@
|
||||
-- use `:h <option>` to figure out meaning
|
||||
vim.opt.clipboard = "unnamedplus" -- use system keyboard
|
||||
vim.opt.completeopt = { "menu", "noinsert", "noselect" }
|
||||
vim.opt.mouse = "a" -- supposedly to allow the mouse to be used in nvim
|
||||
|
||||
-- Tab settings
|
||||
vim.opt.tabstop = 4 -- set number of visual spaces per \t (Tab)
|
||||
vim.opt.softtabstop = 4 -- set number of space in tab when editing
|
||||
vim.opt.shiftwidth = 4 -- insert 4 spaces on a tab
|
||||
vim.opt.expandtab = false -- for python apparently, treat tabs as spaces
|
||||
|
||||
-- UI config
|
||||
vim.opt.number = true -- show the absolute number
|
||||
vim.opt.relativenumber = true -- to add numbers to each line on the left side (line numbers?)
|
||||
vim.opt.cursorline = true -- highlights the line where the cursor is
|
||||
vim.opt.splitbelow = true -- sets new splits to be opened below
|
||||
vim.opt.splitright = true -- sets new splits to be opened to the right
|
||||
vim.opt.termguicolors = true -- enables 24-bit RGB color in Terminal UI
|
||||
-- vim.opt.showmode = false -- removes the --INSERT-- like UI at the bottom
|
||||
|
||||
-- Search settings
|
||||
vim.opt.incsearch = true -- search as characters are entered
|
||||
--vim.opt.hlsearch = false -- do not highlight matches
|
||||
vim.opt.ignorecase = true -- ignore cases by default
|
||||
vim.opt.smartcase = true -- when capitalized, be case sensitive
|
@@ -1,17 +0,0 @@
|
||||
return {
|
||||
"folke/tokyonight.nvim",
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
opts = {
|
||||
style = "night",
|
||||
on_highlights = function(h1)
|
||||
h1.LineNrAbove = {
|
||||
fg = "#6ab8ff",
|
||||
}
|
||||
h1.LineNrBelow = {
|
||||
fg = "#ff6188"
|
||||
}
|
||||
end,
|
||||
on_colors = function() end,
|
||||
},
|
||||
}
|
@@ -1,12 +0,0 @@
|
||||
return {
|
||||
{
|
||||
"nvim-neo-tree/neo-tree.nvim",
|
||||
branch = "v3.x",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
|
||||
"MunifTanjim/nui.nvim",
|
||||
-- {"3rd/image.nvim", opts = {}}, -- Optional image support in preview window: See `# Preview Mode` for more information
|
||||
},
|
||||
},
|
||||
}
|
@@ -1,14 +0,0 @@
|
||||
return {
|
||||
{
|
||||
{
|
||||
"akinsho/bufferline.nvim",
|
||||
version = "*",
|
||||
dependencies = "nvim-tree/nvim-web-devicons",
|
||||
opts = {
|
||||
options = {
|
||||
mode = "tabs",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
@@ -1,18 +0,0 @@
|
||||
local plugin = {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
build = function()
|
||||
require("nvim-treesitter.install").update({ with_sync = true })()
|
||||
end,
|
||||
config = function()
|
||||
local configs = require("nvim-treesitter.configs")
|
||||
|
||||
configs.setup({
|
||||
ensure_installed = { "c", "lua", "vim", "vimdoc", "query", "elixir", "heex", "javascript", "html" },
|
||||
sync_install = false,
|
||||
highlight = { enable = true },
|
||||
indent = { enable = true },
|
||||
})
|
||||
end,
|
||||
}
|
||||
|
||||
return { plugin }
|
16
files/system/etc/xdg/autostart/kitty.desktop
Normal file
16
files/system/etc/xdg/autostart/kitty.desktop
Normal file
@@ -0,0 +1,16 @@
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Type=Application
|
||||
Name=kitty
|
||||
GenericName=Terminal emulator
|
||||
Comment=Fast, feature-rich, GPU based terminal
|
||||
TryExec=kitty
|
||||
StartupNotify=true
|
||||
Exec=/usr/bin/hyprctl dispatch exec [workspace special:terminal silent] /usr/bin/kitty
|
||||
Icon=kitty
|
||||
Categories=System;TerminalEmulator;
|
||||
X-TerminalArgExec=--
|
||||
X-TerminalArgTitle=--title
|
||||
X-TerminalArgAppId=--class
|
||||
X-TerminalArgDir=--working-directory
|
||||
X-TerminalArgHold=--hold
|
27
files/system/usr/share/applications/codium.desktop
Normal file
27
files/system/usr/share/applications/codium.desktop
Normal file
@@ -0,0 +1,27 @@
|
||||
[Desktop Entry]
|
||||
Name=VSCodium
|
||||
Comment=Code Editing. Redefined.
|
||||
GenericName=Text Editor
|
||||
Exec=/usr/share/codium/codium --ozone-platform=wayland %F
|
||||
Icon=vscodium
|
||||
Type=Application
|
||||
StartupNotify=false
|
||||
StartupWMClass=VSCodium
|
||||
Categories=TextEditor;Development;IDE;
|
||||
MimeType=text/plain;inode/directory;application/x-codium-workspace;
|
||||
Actions=new-empty-window;
|
||||
Keywords=vscodium;codium;vscode;
|
||||
|
||||
[Desktop Action new-empty-window]
|
||||
Name=New Empty Window
|
||||
Name[de]=Neues leeres Fenster
|
||||
Name[es]=Nueva ventana vacía
|
||||
Name[fr]=Nouvelle fenêtre vide
|
||||
Name[it]=Nuova finestra vuota
|
||||
Name[ja]=新しい空のウィンドウ
|
||||
Name[ko]=새 빈 창
|
||||
Name[ru]=Новое пустое окно
|
||||
Name[zh_CN]=新建空窗口
|
||||
Name[zh_TW]=開新空視窗
|
||||
Exec=/usr/share/codium/codium --new-window %F
|
||||
Icon=vscodium
|
BIN
files/system/usr/share/hydro-os/DefaultBackground.png
Normal file
BIN
files/system/usr/share/hydro-os/DefaultBackground.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 171 KiB |
@@ -1,149 +0,0 @@
|
||||
# hyprland.conf
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||
monitor=,preferred,auto,auto
|
||||
|
||||
# Sources
|
||||
source = /usr/share/hypr-hydro-os/hyprland.conf.d/env_vars.conf
|
||||
source = /usr/share/hypr-hydro-os/hyprland.conf.d/game_workspace.conf
|
||||
source = /usr/share/hypr-hydro-os/hyprland.conf.d/discord_workspace.conf
|
||||
source = /usr/share/hypr-hydro-os/hyprland.conf.d/terminal.conf
|
||||
source = /usr/share/hypr-hydro-os/hyprland.conf.d/keybinds.conf
|
||||
source = /usr/share/hypr-hydro-os/hyprland.conf.d/browser.conf
|
||||
source = /usr/share/hypr-hydro-os/hyprland.conf.d/keybinds.conf.d/arrow_move_window.conf
|
||||
source = /usr/share/hypr-hydro-os/hyprland.conf.d/keybinds.conf.d/workspace_binds.conf
|
||||
source = /usr/share/hypr-hydro-os/hyprland.conf.d/keybinds.conf.d/media_binds.conf
|
||||
source = /usr/share/hypr-hydro-os/hyprland.conf.d/misc_apps.conf
|
||||
source = /usr/share/hypr-hydro-os/hyprland.conf.d/devices.conf
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
|
||||
# workspaces
|
||||
workspace = 1, persistent:true, default:true
|
||||
workspace = 2
|
||||
workspace = 3
|
||||
workspace = 4
|
||||
workspace = 5, persistent:true, border:false, rounding:false
|
||||
workspace = 6
|
||||
workspace = 7
|
||||
workspace = 8
|
||||
workspace = 9
|
||||
workspace = 10
|
||||
workspace = special:magic
|
||||
|
||||
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
||||
input {
|
||||
kb_layout = us
|
||||
kb_variant =
|
||||
kb_model =
|
||||
kb_options =
|
||||
kb_rules =
|
||||
|
||||
follow_mouse = 1
|
||||
|
||||
touchpad {
|
||||
natural_scroll = no
|
||||
}
|
||||
|
||||
sensitivity = 0 # -1.0 to 1.0, 0 means no modification.
|
||||
}
|
||||
|
||||
general {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
gaps_in = 5
|
||||
gaps_out = 10
|
||||
border_size = 2
|
||||
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
|
||||
col.inactive_border = rgba(595959aa)
|
||||
|
||||
layout = dwindle
|
||||
|
||||
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
|
||||
allow_tearing = false
|
||||
}
|
||||
|
||||
#xwayland {
|
||||
# force_zero_scaling = true
|
||||
#}
|
||||
|
||||
decoration {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
blur {
|
||||
enabled = true
|
||||
size = 3
|
||||
passes = 1
|
||||
}
|
||||
|
||||
shadow {
|
||||
enabled = yes
|
||||
range = 4
|
||||
render_power = 3
|
||||
color = rgba(1a1a1aee)
|
||||
}
|
||||
|
||||
rounding = 15
|
||||
}
|
||||
|
||||
animations {
|
||||
enabled = yes
|
||||
|
||||
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
|
||||
|
||||
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
||||
|
||||
animation = windows, 1, 7, myBezier
|
||||
animation = windowsOut, 1, 7, default, popin 80%
|
||||
animation = border, 1, 10, default
|
||||
animation = borderangle, 1, 8, default
|
||||
animation = fade, 1, 7, default
|
||||
animation = workspaces, 1, 6, default
|
||||
animation = specialWorkspace, 1, 3, default, slidefadevert -50%
|
||||
}
|
||||
|
||||
dwindle {
|
||||
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
||||
pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||
preserve_split = yes # you probably want this
|
||||
}
|
||||
|
||||
master {
|
||||
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
||||
new_status = slave
|
||||
}
|
||||
|
||||
gestures {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
workspace_swipe = off
|
||||
}
|
||||
|
||||
misc {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers
|
||||
disable_splash_rendering = true
|
||||
}
|
||||
|
||||
# Example per-device config
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
|
||||
device {
|
||||
name = epic-mouse-v1
|
||||
sensitivity = -0.5
|
||||
}
|
||||
|
||||
debug {
|
||||
disable_logs = false
|
||||
}
|
||||
|
||||
experimental {
|
||||
#hdr = true
|
||||
#xx_color_management_v4 = true
|
||||
}
|
||||
|
||||
# Example windowrule v1
|
||||
# windowrule = float, ^(kitty)$
|
||||
# Example windowrule v2
|
||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||
windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
|
||||
#windowrulev2 = workspace special, class:(scratchy)
|
@@ -1,11 +0,0 @@
|
||||
# browser.conf
|
||||
|
||||
# floorp
|
||||
$browser = uwsm app -- one.ablaze.floorp.desktop
|
||||
$mainMod = SUPER
|
||||
|
||||
## autostart
|
||||
exec-once = [workspace 1 silent] $browser
|
||||
|
||||
## keybind
|
||||
bind = $mainMod, F, exec, $browser
|
@@ -1,26 +0,0 @@
|
||||
# discord_workspace.conf
|
||||
|
||||
$discord = uwsm app -- com.discordapp.Discord.desktop
|
||||
|
||||
$discord_class = class:^(vesktop)$|^(discord)$|^(com.discord.app.Discord)$|^(WebCord)$|^(equibop)$
|
||||
|
||||
# workspace
|
||||
workspace = special:discord
|
||||
|
||||
# window rule
|
||||
windowrule = workspace special:discord silent, $discord_class
|
||||
#windowrule = workspace special:discord silent, class:^(discord)$
|
||||
#windowrule = opacity 0.9 0.9, $discord_class
|
||||
windowrule = allowsinput on, $discord_class
|
||||
|
||||
# key binds
|
||||
$mainMod = SUPER
|
||||
#bind = $mainMod, D, focuswindow, vesktop
|
||||
bind = $mainMod, D, togglespecialworkspace, discord
|
||||
bind = $mainMod SHIFT, D, movetoworkspace, special:discord
|
||||
|
||||
# discord overlay
|
||||
#exec-once = discover-overlay
|
||||
|
||||
# launch discord
|
||||
exec-once = $discord
|
@@ -1,31 +0,0 @@
|
||||
# env_vars.conf
|
||||
|
||||
# hyprcursor
|
||||
env = HYPRCURSOR_THEME,Bibata-Modern-Classic
|
||||
env = HYPRCURSOR_SIZE,24
|
||||
|
||||
# Some default env vars.
|
||||
env = XCURSOR_THEME,Bibata-Modern-Classic
|
||||
env = XCURSOR_SIZE,24
|
||||
# Toolkit Backend Vars
|
||||
env = CLUTTER_BACKEND,wayland
|
||||
# QT Variables
|
||||
env = QT_QPA_PLATFORMTHEME,kde
|
||||
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
|
||||
env = QT_QPA_PLATFORM,wayland
|
||||
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
|
||||
# XDG specs vars
|
||||
env = XDG_CURRENT_DESKTOP,Hyprland
|
||||
env = XDG_SESSION_TYPE,wayland
|
||||
env = XDG_SESSION_DESKTOP,Hyprland
|
||||
# set gtk-theme
|
||||
env = QT_QUICK_CONTROLS_STYLE,org.kde.desktop
|
||||
|
||||
# copy some environments into systemctl
|
||||
exec = /usr/bin/systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP QT_QPA_PLATFORMTHEME
|
||||
|
||||
# set default editor
|
||||
env = EDITOR,/usr/bin/nvim
|
||||
|
||||
# for hdr games
|
||||
env = DXVK_HDR,1
|
@@ -1,41 +0,0 @@
|
||||
# game_workspace.conf
|
||||
|
||||
# workspace number
|
||||
$game-workspace-number = 5
|
||||
|
||||
exec-once = uwsm app -- steam.desktop
|
||||
|
||||
# window rules
|
||||
windowrule = workspace 9 silent, title:^(Steam)$
|
||||
|
||||
# key binds
|
||||
$mainMod = SUPER
|
||||
bind = $mainMod, G, focuswindow, class:^(gamescope|steam)
|
||||
|
||||
# To put the window rules for the game workspace
|
||||
|
||||
# steam apps
|
||||
windowrule = workspace $game-workspace-number silent, class:^steam_app_\d+$
|
||||
|
||||
# gamescope
|
||||
windowrule = fullscreen, class:^(gamescope)$
|
||||
windowrule = workspace $game-workspace-number silent, class:^(gamescope)$
|
||||
|
||||
# Minecraft
|
||||
windowrule = workspace $game-workspace-number, class:^Minecraft.*
|
||||
|
||||
# factorio
|
||||
windowrule = workspace $game-workspace-number, class:^(factorio)$
|
||||
|
||||
# RetroArch flatpak
|
||||
windowrule = workspace $game-workspace-number, class:^(org.libretro.RetroArch)$
|
||||
|
||||
# dolphin emulator
|
||||
windowrule = workspace $game-workspace-number, class:^(dolphin-emu)$
|
||||
|
||||
# Slay the Spire
|
||||
windowrule = workspace $game-workspace-number, class:^(Slay the Spire)$
|
||||
|
||||
# Terraria
|
||||
windowrule = workspace $game-workspace-number, class:^(dotnet)$
|
||||
windowrule = fullscreen, class:^(dotnet)$
|
@@ -1,36 +0,0 @@
|
||||
# key_binds.conf
|
||||
|
||||
# Set programs that you use
|
||||
$fileManager = uwsm app -- org.kde.dolphin.desktop
|
||||
$menu = uwsm app -- $(wofi --show drun --define=drun-print_desktop_file=true)
|
||||
#$menu = ags request -i launcher show
|
||||
$screenshot = hyprshot -m region --clipboard-only
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
$mainMod = SUPER
|
||||
|
||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||
bind = $mainMod SHIFT, C, killactive,
|
||||
bind = $mainMod, E, exec, $fileManager
|
||||
bind = $mainMod, V, togglefloating,
|
||||
bind = $mainMod, R, exec, $menu
|
||||
bind = $mainMod, P, pseudo, # dwindle
|
||||
bind = $mainMod, J, togglesplit, # dwindle
|
||||
bind = $mainMod SHIFT, F, fullscreen
|
||||
|
||||
# screenshots and screen recorder aylur dot files
|
||||
bind = $mainMod SHIFT, Print, exec, $screenshot
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
bind = $mainMod, left, movefocus, l
|
||||
bind = $mainMod, right, movefocus, r
|
||||
bind = $mainMod, up, movefocus, u
|
||||
bind = $mainMod, down, movefocus, d
|
||||
|
||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||
bindm = $mainMod SHIFT, mouse:272, movewindow
|
||||
bindm = $mainMod SHIFT, mouse:273, resizewindow
|
||||
|
||||
# global hotkeys
|
||||
# discord mute
|
||||
bind = CTRL SHIFT, M, pass, initialclass:^(discord)$
|
@@ -1,7 +0,0 @@
|
||||
# arrow_move_window.conf
|
||||
|
||||
# Move window with mainMod + Shift + arrow kyes
|
||||
bind = $mainMod SHIFT, left, movewindow, l
|
||||
bind = $mainMod SHIFT, right, movewindow, r
|
||||
bind = $mainMod SHIFT, up, movewindow, u
|
||||
bind = $mainMod SHIFT, down, movewindow, d
|
@@ -1,16 +0,0 @@
|
||||
# media_binds.conf
|
||||
$mainMod = SUPER
|
||||
|
||||
# media play-pause toggle
|
||||
bind = , XF86AudioPlay, exec, playerctl play-pause
|
||||
|
||||
# media volume up/down
|
||||
bind = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%-
|
||||
bind = , XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 1%+
|
||||
|
||||
# media volume up/down
|
||||
bind = $mainMod, XF86AudioLowerVolume, exec, playerctl position 5-
|
||||
bind = $mainMod, XF86AudioRaiseVolume, exec, playerctl position 5+
|
||||
|
||||
# media pause
|
||||
bind = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
@@ -1,34 +0,0 @@
|
||||
# workspace_binds.conf
|
||||
$mainMod = SUPER
|
||||
|
||||
# Switch workspaces with mainMod + [0-9]
|
||||
bind = $mainMod, 1, workspace, 1
|
||||
bind = $mainMod, 2, workspace, 2
|
||||
bind = $mainMod, 3, workspace, 3
|
||||
bind = $mainMod, 4, workspace, 4
|
||||
bind = $mainMod, 5, workspace, 5
|
||||
bind = $mainMod, 6, workspace, 6
|
||||
bind = $mainMod, 7, workspace, 7
|
||||
bind = $mainMod, 8, workspace, 8
|
||||
bind = $mainMod, 9, workspace, 9
|
||||
bind = $mainMod, 0, workspace, 10
|
||||
|
||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
||||
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
||||
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
||||
bind = $mainMod SHIFT, 4, movetoworkspace, 4
|
||||
bind = $mainMod SHIFT, 5, movetoworkspace, 5
|
||||
bind = $mainMod SHIFT, 6, movetoworkspace, 6
|
||||
bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
||||
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
||||
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
||||
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
||||
|
||||
# Example special workspace (scratchpad)
|
||||
bind = $mainMod, S, togglespecialworkspace, magic
|
||||
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
|
||||
|
||||
# Scroll through existing workspaces with mainMod + scroll
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
bind = $mainMod, mouse_up, workspace, e-1
|
@@ -1,13 +0,0 @@
|
||||
# terminal.conf
|
||||
$terminal = uwsm app -- kitty.desktop
|
||||
|
||||
# workspace
|
||||
workspace = special:terminal
|
||||
|
||||
# launch a terminal
|
||||
exec-once = [workspace special:terminal silent] $terminal
|
||||
|
||||
# key binds
|
||||
$mainMod = SUPER
|
||||
bind = $mainMod, T, togglespecialworkspace, terminal
|
||||
bind = $mainMod SHIFT, T, movetoworkspace, special:terminal
|
@@ -1,7 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Name=Hyprland Hydro-os (uwsm managed)
|
||||
Comment=An intelligent dynamic tiling Wayland compositor, with Hydro-os configuration.
|
||||
Exec=uwsm start -- hyprland-hydro-os.desktop
|
||||
Type=Application
|
||||
DesktopNames=Hyprland
|
||||
Keywords=tiling;wayland;compositor;
|
@@ -1,7 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Name=Hyprland Hydro-os
|
||||
Comment=An intelligent dynamic tiling Wayland compositor, with Hydro-os configuration.
|
||||
Exec=Hyprland --config /usr/share/hypr-hydro-os/hyprland.conf
|
||||
Type=Application
|
||||
DesktopNames=Hyprland
|
||||
Keywords=tiling;wayland;compositor;
|
8
files/systemd/system/bootc-fetch-updates.service
Normal file
8
files/systemd/system/bootc-fetch-updates.service
Normal file
@@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=Download bootc updates
|
||||
Documentation=man:bootc(8)
|
||||
ConditionPathExists=/run/ostree-booted
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/bootc update --quiet
|
12
files/systemd/system/bootc-fetch-updates.timer
Normal file
12
files/systemd/system/bootc-fetch-updates.timer
Normal file
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Download bootc updates
|
||||
Documentation=man:bootc(8)
|
||||
ConditionPathExists=/run/ostree-booted
|
||||
|
||||
[Timer]
|
||||
OnBootSec=15min
|
||||
OnUnitInactiveSec=8h
|
||||
RandomizedDelaySec=2h
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
5
files/systemd/system/flatpak-system-update.service
Normal file
5
files/systemd/system/flatpak-system-update.service
Normal file
@@ -0,0 +1,5 @@
|
||||
[Unit]
|
||||
Description=Update flatpaks
|
||||
|
||||
[Service]
|
||||
ExecStart=flatpak update --noninteractive
|
9
files/systemd/system/flatpak-system-update.timer
Normal file
9
files/systemd/system/flatpak-system-update.timer
Normal file
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Update flatpak
|
||||
|
||||
[Timer]
|
||||
OnBootSec=15min
|
||||
OnCalendar=daily
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
@@ -1,18 +0,0 @@
|
||||
# Taken from Wayblue's repo, https://github.com/wayblueorg/wayblue
|
||||
# This is to resolve issue on boot for sddm login
|
||||
# Creates an SDDM user before SDDM runs.
|
||||
# See:
|
||||
# - https://github.com/ublue-os/cinnamon/blob/bf44562ddbed670cdd0d03a45ea08bdb8a6e96a7/system_files/usr/lib/systemd/system/ublue-lightdm-workaround.service#L4
|
||||
# - https://github.com/ublue-os/main/issues/224#issuecomment-1987851271
|
||||
|
||||
[Unit]
|
||||
Description=Create SDDM user on system boot
|
||||
Before=sddm.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/etc/sddm/sddm-useradd
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
5
files/systemd/user/flatpak-user-update.service
Normal file
5
files/systemd/user/flatpak-user-update.service
Normal file
@@ -0,0 +1,5 @@
|
||||
[Unit]
|
||||
Description=Update flatpaks
|
||||
|
||||
[Service]
|
||||
ExecStart=flatpak update --noninteractive
|
9
files/systemd/user/flatpak-user-update.timer
Normal file
9
files/systemd/user/flatpak-user-update.timer
Normal file
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Update flatpak
|
||||
|
||||
[Timer]
|
||||
OnBootSec=15min
|
||||
OnCalendar=daily
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
15
files/systemd/user/swww.service
Normal file
15
files/systemd/user/swww.service
Normal file
@@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=Background service
|
||||
# order startup after WM
|
||||
After=graphical-session.target
|
||||
|
||||
[Service]
|
||||
Type=exec
|
||||
# Repurpose XDG Autostart filtering
|
||||
ExecCondition=/lib/systemd/systemd-xdg-autostart-condition "wlroots:sway:Wayfire:labwc:Hyprland" ""
|
||||
ExecStart=/usr/bin/swww-daemon
|
||||
Restart=on-failure
|
||||
Slice=app-graphical.slice
|
||||
|
||||
[Install]
|
||||
WantedBy=graphical-session.target
|
@@ -1,92 +0,0 @@
|
||||
modules:
|
||||
- type: containerfile
|
||||
snippets:
|
||||
- RUN rpm-ostree install just powerstat
|
||||
- COPY --from=ghcr.io/ublue-os/config:latest /rpms/ublue-os-udev-rules.noarch.rpm /
|
||||
- COPY --from=ghcr.io/ublue-os/config:latest /rpms/ublue-os-update-services.noarch.rpm /
|
||||
- COPY --from=ghcr.io/ublue-os/config:latest /rpms/ublue-os-signing.noarch.rpm /
|
||||
- COPY --from=ghcr.io/ublue-os/config:latest /rpms/ublue-os-luks.noarch.rpm /
|
||||
- COPY --from=ghcr.io/ublue-os/config:latest /rpms/ublue-os-just.noarch.rpm /
|
||||
- RUN rpm -ivh /ublue-os-udev-rules.noarch.rpm
|
||||
- RUN rpm -ivh /ublue-os-update-services.noarch.rpm
|
||||
- RUN rpm -ivh /ublue-os-signing.noarch.rpm
|
||||
- RUN rpm -ivh /ublue-os-luks.noarch.rpm
|
||||
- RUN rpm -ivh /ublue-os-just.noarch.rpm
|
||||
|
||||
- type: script
|
||||
scripts:
|
||||
- enableautoupdates.sh # using systemd did not work, so using this script instead
|
||||
|
||||
- type: dnf
|
||||
repos:
|
||||
copr:
|
||||
- erikreider/SwayNotificationCenter
|
||||
install:
|
||||
packages:
|
||||
# environment
|
||||
# fuzzy finder
|
||||
- fzf
|
||||
# power profiles like
|
||||
- tuned-ppd
|
||||
# xwayland
|
||||
- xorg-x11-server-Xwayland
|
||||
# headset control
|
||||
- headsetcontrol
|
||||
# media related
|
||||
- mediainfo
|
||||
- playerctl
|
||||
- alsa-firmware
|
||||
# nofitications
|
||||
- SwayNotificationCenter
|
||||
# text editor
|
||||
- neovim
|
||||
# tools for evocation
|
||||
- just
|
||||
# zip utilities
|
||||
- p7zip
|
||||
# qt libraries
|
||||
- qt5-qtwayland
|
||||
- qt6-qtwayland
|
||||
# emoji fonts
|
||||
- google-noto-emoji-fonts
|
||||
# vulkan
|
||||
- vulkan-tools
|
||||
- vulkan-validation-layers
|
||||
|
||||
# polkit
|
||||
- polkit
|
||||
|
||||
# sound
|
||||
- wireplumber
|
||||
- pipewire
|
||||
- pamixer
|
||||
- pulseaudio-utils
|
||||
|
||||
# networking
|
||||
- bluez
|
||||
- bluez-tools
|
||||
- firewall-config
|
||||
|
||||
# file manager
|
||||
- nautilus
|
||||
- file-roller
|
||||
- file-roller-nautilus
|
||||
- nextcloud-client
|
||||
- nextcloud-client-nautilus
|
||||
|
||||
# theme and GUI
|
||||
- fontawesome-fonts-all
|
||||
- gnome-themes-extra
|
||||
- gnome-icon-theme
|
||||
- paper-icon-theme
|
||||
- breeze-icon-theme
|
||||
- papirus-icon-theme
|
||||
|
||||
# software
|
||||
- gnome-software
|
||||
- gnome-software-rpm-ostree
|
||||
|
||||
- type: script
|
||||
scripts:
|
||||
- installproprietarypackages.sh
|
||||
|
7
recipes/components/chezmoi-module.yml
Normal file
7
recipes/components/chezmoi-module.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
modules:
|
||||
- type: chezmoi
|
||||
repository: "https://git.hydrosaber.com/eriq12/dotfiles"
|
||||
|
||||
- type: script
|
||||
scripts:
|
||||
- setupchezmoiskel.sh
|
@@ -1,9 +1,19 @@
|
||||
modules:
|
||||
- type: default-flatpaks
|
||||
notify: true
|
||||
system:
|
||||
install:
|
||||
- one.ablaze.floorp
|
||||
user:
|
||||
install:
|
||||
- com.discordapp.Discord
|
||||
configurations:
|
||||
- scope: user
|
||||
repo:
|
||||
title: Flathub (user)
|
||||
install:
|
||||
- one.ablaze.floorp
|
||||
- io.github.equicord.equibop
|
||||
- scope: system
|
||||
repo:
|
||||
title: Flathub
|
||||
notify: true
|
||||
install:
|
||||
- com.github.tchx84.Flatseal
|
||||
- io.missioncenter.MissionCenter
|
||||
- io.github.flattool.Ignition
|
||||
- net.davidotek.pupgui2
|
||||
- org.gnome.Loupe
|
8
recipes/components/dnf-module.yml
Normal file
8
recipes/components/dnf-module.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
modules:
|
||||
- from-file: dnf/multimedia.yml
|
||||
- from-file: dnf/sddm.yml
|
||||
- from-file: dnf/hyprland.yml
|
||||
- from-file: dnf/environment.yml
|
||||
- from-file: dnf/applications.yml
|
||||
- from-file: dnf/themes.yml
|
||||
- from-file: dnf/drivers.yml
|
4
recipes/components/gschema-module.yml
Normal file
4
recipes/components/gschema-module.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
modules:
|
||||
- type: gschema-overrides
|
||||
include:
|
||||
- zz1-hydro-os-theming.gschema.override
|
@@ -6,10 +6,11 @@ modules:
|
||||
- RUN rpm-ostree install /tmp/rpms/ublue-os/ublue-os-nvidia*.rpm
|
||||
- RUN sed -i '0,/enabled=0/{s/enabled=0/enabled=1/}' /etc/yum.repos.d/nvidia-container-toolkit.repo
|
||||
- RUN sed -i '0,/enabled=0/{s/enabled=0/enabled=1\npriority=90/}' /etc/yum.repos.d/negativo17-fedora-nvidia.repo
|
||||
- RUN rpm-ostree install /tmp/rpms/kmods/kmod-nvidia*.rpm libnvidia-fbc libva-nvidia-driver nvidia-driver nvidia-driver-cuda nvidia-modprobe nvidia-persistenced nvidia-settings nvidia-container-toolkit
|
||||
- RUN rpm-ostree install /tmp/rpms/kmods/kmod-nvidia*.rpm libnvidia-fbc libva-nvidia-driver nvidia-driver nvidia-modprobe nvidia-persistenced nvidia-settings nvidia-container-toolkit
|
||||
|
||||
- type: script
|
||||
scripts:
|
||||
- nvidia/installtoolkitpolicy.sh
|
||||
- nvidia/removeunusedrepos.sh
|
||||
- nvidia/setearlyloading.sh
|
||||
- nvidia/setdrmvariables.sh
|
||||
- nvidia/setdrmvariables.sh
|
5
recipes/components/script-module.yml
Normal file
5
recipes/components/script-module.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
modules:
|
||||
- type: script
|
||||
scripts:
|
||||
- addimageinfo.sh
|
||||
- installohmyzsh.sh
|
@@ -1,20 +0,0 @@
|
||||
modules:
|
||||
- type: dnf
|
||||
install:
|
||||
packages:
|
||||
- sddm
|
||||
- sddm-themes
|
||||
- qt5-qtgraphicaleffects
|
||||
- qt5-qtquickcontrols2
|
||||
- qt5-qtsvg
|
||||
- kwallet
|
||||
- pam-kwallet
|
||||
|
||||
- type: script
|
||||
scripts:
|
||||
- setsddmtheming.sh
|
||||
|
||||
- type: systemd
|
||||
system:
|
||||
enabled:
|
||||
- sddm-boot-patch.service
|
@@ -1,16 +0,0 @@
|
||||
modules:
|
||||
- type: dnf
|
||||
repos:
|
||||
nonfree: rpmfusion
|
||||
install:
|
||||
packages:
|
||||
- steam
|
||||
# for game mode and big picture mode
|
||||
- gamescope
|
||||
# for performance view
|
||||
- mangohud
|
||||
|
||||
- type: default-flatpaks
|
||||
system:
|
||||
install:
|
||||
- net.davidotek.pupgui2
|
12
recipes/components/systemd-module.yml
Normal file
12
recipes/components/systemd-module.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
modules:
|
||||
- type: systemd
|
||||
system:
|
||||
enabled:
|
||||
- bootc-fetch-updates.timer
|
||||
- flatpak-system-update.timer
|
||||
user:
|
||||
enabled:
|
||||
- flatpak-user-update.timer
|
||||
- swww.service
|
||||
- hyprpanel.service
|
||||
- hyprpolkitagent.service
|
71
recipes/dnf/applications.yml
Normal file
71
recipes/dnf/applications.yml
Normal file
@@ -0,0 +1,71 @@
|
||||
modules:
|
||||
- type: dnf
|
||||
repos:
|
||||
nonfree: rpmfusion
|
||||
files:
|
||||
- codium.repo
|
||||
- https://openrazer.github.io/hardware:razer.repo
|
||||
copr:
|
||||
- mavit/discover-overlay
|
||||
keys:
|
||||
- https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/-/raw/master/pub.gpg
|
||||
install:
|
||||
packages:
|
||||
# applications
|
||||
# fuzzy finder
|
||||
- fzf
|
||||
|
||||
# dmenu runner
|
||||
- fuzzel
|
||||
|
||||
# file manager
|
||||
- nautilus
|
||||
- file-roller
|
||||
- file-roller-nautilus
|
||||
|
||||
- ffmpegthumbnailer
|
||||
|
||||
# text editor
|
||||
- neovim
|
||||
- codium
|
||||
|
||||
# software store
|
||||
- gnome-software
|
||||
|
||||
# disk management
|
||||
- gnome-disk-utility
|
||||
|
||||
# kdeconnect
|
||||
- kde-connect
|
||||
|
||||
# discord overlay
|
||||
- discover-overlay
|
||||
|
||||
# settings apps
|
||||
# qt
|
||||
- qt5ct
|
||||
- qt6ct
|
||||
|
||||
# gtk
|
||||
- nwg-look
|
||||
|
||||
# zsh
|
||||
- zsh
|
||||
# zoxide for z stuff
|
||||
- zoxide
|
||||
|
||||
# steam
|
||||
- steam
|
||||
# for game mode and big picture mode
|
||||
- gamescope
|
||||
# for performance view
|
||||
- mangohud
|
||||
|
||||
# simple editing softare
|
||||
- avidemux
|
||||
|
||||
remove:
|
||||
packages:
|
||||
# remove firefox
|
||||
- firefox
|
||||
- firefox-langpacks
|
17
recipes/dnf/drivers.yml
Normal file
17
recipes/dnf/drivers.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
modules:
|
||||
- type: dnf
|
||||
repos:
|
||||
files:
|
||||
- https://negativo17.org/repos/fedora-steam.repo
|
||||
- https://openrazer.github.io/hardware:razer.repo
|
||||
install:
|
||||
packages:
|
||||
- dkms
|
||||
- openrazer-meta
|
||||
- repo: fedora-steam
|
||||
packages:
|
||||
- dkms-xpadneo
|
||||
|
||||
- type: script
|
||||
scripts:
|
||||
- installdkmsmodules.sh
|
47
recipes/dnf/environment.yml
Normal file
47
recipes/dnf/environment.yml
Normal file
@@ -0,0 +1,47 @@
|
||||
modules:
|
||||
- type: dnf
|
||||
repos:
|
||||
files:
|
||||
- codium.repo
|
||||
copr:
|
||||
- ublue-os/packages
|
||||
install:
|
||||
packages:
|
||||
# ublue udev rules and signing
|
||||
- ublue-os-udev-rules
|
||||
- ublue-os-signing
|
||||
|
||||
# environment
|
||||
# xwayland
|
||||
- xorg-x11-server-Xwayland
|
||||
# headset control
|
||||
- headsetcontrol
|
||||
# media related
|
||||
- mediainfo
|
||||
- playerctl
|
||||
- alsa-firmware
|
||||
# zip utilities
|
||||
- p7zip
|
||||
# qt libraries
|
||||
- qt5-qtwayland
|
||||
- qt6-qtwayland
|
||||
# vulkan
|
||||
- vulkan-tools
|
||||
- vulkan-validation-layers
|
||||
# xdg-desktop-portals
|
||||
- xdg-desktop-portal
|
||||
- xdg-desktop-portal-gtk
|
||||
- xdg-desktop-portal-gnome
|
||||
|
||||
# polkit
|
||||
- polkit
|
||||
|
||||
# sound
|
||||
- wireplumber
|
||||
- pipewire
|
||||
- headsetcontrol
|
||||
|
||||
# networking
|
||||
- bluez
|
||||
- bluez-tools
|
||||
- firewall-config
|
@@ -5,13 +5,11 @@ modules:
|
||||
- solopasha/hyprland
|
||||
install:
|
||||
packages:
|
||||
- aquamarine
|
||||
- hyprland-git
|
||||
- hyprpanel
|
||||
- hyprpolkitagent
|
||||
- hyprshot
|
||||
|
||||
- type: systemd
|
||||
user:
|
||||
enabled:
|
||||
- hyprpanel.service
|
||||
- hyprpolkitagent.service
|
||||
- hyprland-qt-support
|
||||
- hyprland-qtutils
|
||||
- xdg-desktop-portal-hyprland
|
38
recipes/dnf/multimedia.yml
Normal file
38
recipes/dnf/multimedia.yml
Normal file
@@ -0,0 +1,38 @@
|
||||
modules:
|
||||
- type: dnf
|
||||
repos:
|
||||
nonfree: rpmfusion
|
||||
install:
|
||||
packages:
|
||||
# other multimedia
|
||||
- gstreamer1-plugin-libav
|
||||
- gstreamer1-plugins-bad-free-extras
|
||||
- gstreamer1-plugins-bad-freeworld
|
||||
- gstreamer1-plugins-ugly
|
||||
- gstreamer1-vaapi
|
||||
|
||||
remove:
|
||||
packages:
|
||||
# old codecs
|
||||
- fdk-aac-free
|
||||
- libavcodec-free
|
||||
- libavdevice-free
|
||||
- libavfilter-free
|
||||
- libavformat-free
|
||||
- libavutil-free
|
||||
- libpostproc-free
|
||||
- libswresample-free
|
||||
- libswscale-free
|
||||
- ffmpeg-free
|
||||
|
||||
replace:
|
||||
- from-repo: rpmfusion-free-updates
|
||||
packages:
|
||||
- old: mesa-va-drivers
|
||||
new: mesa-va-drivers-freeworld
|
||||
|
||||
- type: dnf
|
||||
install:
|
||||
packages:
|
||||
- ffmpeg
|
||||
- mesa-vdpau-drivers-freeworld
|
15
recipes/dnf/sddm.yml
Normal file
15
recipes/dnf/sddm.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
modules:
|
||||
- type: dnf
|
||||
install:
|
||||
packages:
|
||||
# sddm
|
||||
- sddm
|
||||
- sddm-themes
|
||||
- qt5-qtgraphicaleffects
|
||||
- qt5-qtquickcontrols2
|
||||
- qt5-qtsvg
|
||||
|
||||
# password keeper
|
||||
- kf6-kwallet
|
||||
- kwalletmanager
|
||||
- pam-kwallet
|
16
recipes/dnf/themes.yml
Normal file
16
recipes/dnf/themes.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
modules:
|
||||
- type: dnf
|
||||
repos:
|
||||
copr:
|
||||
- peterwu/rendezvous
|
||||
install:
|
||||
packages:
|
||||
# Themes and fonts
|
||||
# emoji fonts
|
||||
- google-noto-emoji-fonts
|
||||
|
||||
# theme and GUI
|
||||
- fontawesome-fonts-all
|
||||
- gnome-themes-extra
|
||||
- papirus-icon-theme
|
||||
- bibata-cursor-themes
|
@@ -12,13 +12,12 @@ image-version: 42 # latest is also supported if you want new updates ASAP
|
||||
# module configuration, executed in order
|
||||
# you can include multiple instances of the same module
|
||||
modules:
|
||||
- from-file: components/sddm-module.yml
|
||||
- from-file: components/base-module.yml
|
||||
- from-file: components/nvidia-module.yml
|
||||
- from-file: components/dnf-module.yml
|
||||
- from-file: components/script-module.yml
|
||||
- from-file: components/sys-files-module.yml
|
||||
- from-file: components/hyprland-module.yml
|
||||
- from-file: components/steam-module.yml
|
||||
- from-file: components/systemd-module.yml
|
||||
- from-file: components/default-flatpak.yml
|
||||
- from-file: components/chezmoi-module.yml
|
||||
|
||||
- type: signing # this sets up the proper policy & signing files for signed images to work fully
|
||||
- type: signing
|
||||
|
||||
|
25
recipes/recipe_nvidia.yml
Normal file
25
recipes/recipe_nvidia.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
# yaml-language-server: $schema=https://schema.blue-build.org/recipe-v1.json
|
||||
# image will be published to ghcr.io/<user>/<name>
|
||||
name: hydro-os-nvidia
|
||||
# description will be included in the image's metadata
|
||||
description: This is my personal OS image.
|
||||
|
||||
# the base image to build on top of (FROM) and the version tag to use
|
||||
base-image: quay.io/fedora-ostree-desktops/base-atomic
|
||||
image-version: 42 # latest is also supported if you want new updates ASAP
|
||||
|
||||
# module configuration, executed in order
|
||||
# you can include multiple instances of the same module
|
||||
modules:
|
||||
- from-file: components/dnf-module.yml
|
||||
- from-file: components/script-module.yml
|
||||
- from-file: components/sys-files-module.yml
|
||||
- from-file: components/systemd-module.yml
|
||||
- from-file: components/nvidia-module.yml
|
||||
- from-file: components/default-flatpak.yml
|
||||
- from-file: components/chezmoi-module.yml
|
||||
- type: initramfs
|
||||
|
||||
- type: signing
|
||||
|
Reference in New Issue
Block a user