[Build] Prepare for improved rendering capbilities

This commit is contained in:
Janis Hutz 2025-04-25 07:43:43 +02:00
parent 49446646f3
commit aba9e0f30a
38 changed files with 900 additions and 2802 deletions

View File

@ -4,6 +4,7 @@ const fs = require( 'fs' );
const path = require( 'path' );
const util = require( './util' );
const renderColourAsRGB = util.renderColourAsRGB;
const renderColourAsRGBA = util.renderColourAsRGBA;
const renderColourAsHex = util.renderColourAsHex;
const build = ( wallpaper, lockpaper, theme ) => {
@ -21,12 +22,14 @@ const build = ( wallpaper, lockpaper, theme ) => {
'colour-foreground-rgb': renderColourAsRGB( palette[ 0 ] ),
'colour-accent-hex': renderColourAsHex( palette[ 1 ] ),
'colour-accent-rgb': renderColourAsRGB( palette[ 1 ] ),
'colour-accent-rgba': renderColourAsRGBA( palette[ 1 ], 0.3 ),
'colour-accent-2-hex': renderColourAsHex( palette[ 2 ] ),
'colour-accent-2-rgb': renderColourAsRGB( palette[ 2 ] ),
'colour-accent-3-hex': renderColourAsHex( palette[ 3 ] ),
'colour-accent-3-rgb': renderColourAsRGB( palette[ 3 ] ),
'colour-background-hex': renderColourAsHex( colours.background[ theme ] ),
'colour-background-rgb': renderColourAsRGB( colours.background[ theme ] ),
'colour-background-rgba': renderColourAsRGBA( colours.background[ theme ], 0.5 ),
'colour-shadow-hex': renderColourAsHex( colours.shadow[ theme ] ),
'colour-shadow-rgb': renderColourAsRGB( colours.shadow[ theme ] ),
'colour-inavtive-hex': renderColourAsHex( colours.inactive[ theme ] ),
@ -57,7 +60,7 @@ const build = ( wallpaper, lockpaper, theme ) => {
// recursively index files from config directory -> Maybe add a file to each
// directory to indicate whether or not to index files in it?
const fileList = util.treeWalker( path.join( __dirname, '/../config/' ), '*', [ 'node_modules', '@girs', '.gitignore', '.git', 'flavours' ] );
const fileList = util.treeWalker( path.join( __dirname, '/../renderable/' ), '*', [ 'node_modules', '@girs', '.gitignore', '.git', 'flavours' ] );
// TODO: Copy missing files over directly
console.log( fileList );

View File

@ -38,8 +38,13 @@ const renderColourAsRGB = ( colour ) => {
return `rgb( ${ colour[ 0 ] }, ${ colour[ 1 ] }, ${ colour[ 2 ] } )`
}
const renderColourAsRGBA = ( colour, ambiance ) => {
return `rgb( ${ colour[ 0 ] }, ${ colour[ 1 ] }, ${ colour[ 2 ] }, ${ ambiance } )`
}
module.exports = {
treeWalker,
renderColourAsHex,
renderColourAsRGB
renderColourAsRGB,
renderColourAsRGBA
}

View File

@ -0,0 +1,137 @@
{
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
"logo": {
"padding": {
"top": 2,
"left": 1,
"right": 2,
},
},
"display": {
"separator": " ",
},
"modules": [
// Title
{
"type": "title",
"format": "{#1}╭───────────── {#}{user-name-colored}",
},
// System Information
{
"type": "custom",
"format": "{#1}│ {#}System Information",
},
{
"type": "os",
"key": "{#separator}│ {#keys}󰍹 OS",
},
{
"type": "kernel",
"key": "{#separator}│ {#keys}󰒋 Kernel",
},
{
"type": "uptime",
"key": "{#separator}│ {#keys}󰅐 Uptime",
},
{
"type": "packages",
"key": "{#separator}│ {#keys}󰏖 Packages",
"format": "{all}",
},
{
"type": "custom",
"format": "{#1}│",
},
// Desktop Environment
{
"type": "custom",
"format": "{#1}│ {#}Desktop Environment",
},
{
"type": "de",
"key": "{#separator}│ {#keys}󰧨 DE",
},
{
"type": "wm",
"key": "{#separator}│ {#keys}󱂬 WM",
},
{
"type": "wmtheme",
"key": "{#separator}│ {#keys}󰉼 Theme",
},
{
"type": "display",
"key": "{#separator}│ {#keys}󰹑 Resolution",
},
{
"type": "shell",
"key": "{#separator}│ {#keys}󰞷 Shell",
},
{
"type": "terminalfont",
"key": "{#separator}│ {#keys}󰛖 Font",
},
{
"type": "custom",
"format": "{#1}│",
},
// Hardware Information
{
"type": "custom",
"format": "{#1}│ {#}Hardware Information",
},
{
"type": "cpu",
"key": "{#separator}│ {#keys}󰻠 CPU",
},
{
"type": "gpu",
"key": "{#separator}│ {#keys}󰢮 GPU",
},
{
"type": "memory",
"key": "{#separator}│ {#keys}󰍛 Memory",
},
{
"type": "disk",
"key": "{#separator}│ {#keys}󰋊 Disk (/)",
"folders": "/",
},
{
"type": "custom",
"format": "{#1}│",
},
// Network
{
"type": "custom",
"format": "{#1}│ {#}Network",
},
{
"type": "wifi",
"key": "{#separator}│ {#keys}⮃ WiFi",
},
{
"type": "dns",
"key": "{#separator}│ {#keys}🖧 DNS",
},
{
"type": "localip",
"key": "{#separator}│ {#keys}⍰ IP",
},
{
"type": "custom",
"format": "{#1}│",
},
// Colors
{
"type": "colors",
"key": "{#separator}│",
"symbol": "circle",
},
// Footer
{
"type": "custom",
"format": "{#1}╰───────────────────────────────╯",
},
],
}

View File

@ -2,7 +2,8 @@ alias ls='ls -l --color'
alias ll='ls -la --color'
alias v='nvim'
alias c='clear'
alias bt='bashtop'
alias zs='zathura-sandbox'
alias bt='bluetui'
alias vicfg='cd ~/.config/nvim/ && nvim'
alias fm='thunar .'
alias gl='git ls-files --others --exclude-standard'
@ -11,14 +12,16 @@ alias gpu='git push'
alias gp='git pull'
alias gc='git commit -a -m'
alias ga='git add ./*'
alias cfh='nvim ~/.config/hypr/'
alias cfn='nvim ~/.config/nvim/'
alias cff='nvim ~/.config/fish/config.fish'
alias cfw='nvim ~/.config/waybar/'
alias cf='nvim ~/.config/'
alias cfh='nvim ~/projects/active/dotfiles/config/hypr/'
alias cfn='nvim ~/projects/active/nvim/'
alias cff='nvim ~/projects/active/dotfiles/config/fish/'
alias cfw='nvim ~/projects/archive/dotfiles-old/pc/configs/waybar/'
alias cfa='nvim ~/projects/active/dotfiles/config/ags/'
alias cf='nvim ~/projects/active/dotfiles/'
alias g='lazygit'
alias open-webui='sudo systemctl start docker && sudo docker start -i open-webui'
alias ai='ollama serve'
alias ff='fastfetch'
# Add scripts in ~/projects/active/dotfiles/general/scripts/ to path
fish_add_path -P ~/projects/active/dotfiles/scripts/
@ -32,7 +35,8 @@ function y
rm -f -- "$tmp"
end
[ -f /usr/share/autojump/autojump.fish ]; and source /usr/share/autojump/autojump.fish
zoxide init --cmd j fish | source
# [ -f /usr/share/autojump/autojump.fish ]; and source /usr/share/autojump/autojump.fish
if status is-interactive
function fish_prompt

View File

@ -1,34 +1,64 @@
#----------#
# KEYBINDS #
#----------#
# ────────────────────────────────────────────────────────────────────
# ╭────────────────────────────────────────────────╮
# │ KEYBINDS │
# ╰────────────────────────────────────────────────╯
# ────────────────────────────────────────────────────────────────────
$mainMod = SUPER
# These key-binds are non-specific, laptop config has a separate file that includes
# extra config for it specifically
bind = $mainMod, Q, killactive
bind = $mainMod SHIFT, Q, exit
# bind = $mainMod SHIFT, Q, exit
bind = $mainMod, Return, exec, kitty
bind = $mainMod, C, killactive,
# bind = $mainMod, E, exec, thunar
bind = $mainMod SHIFT, E, exec, thunar
bind = $mainMod, E, exec, kitty --hold fish -c "y"
bind = $mainMod, V, togglefloating,
bind = $mainMod, F, fullscreen,
# Launch commands
# ────────────────────────────────────────────────────────────────────
# ╭────────────────────────────────────────────────╮
# │ AGS │
# ╰────────────────────────────────────────────────╯
# ────────────────────────────────────────────────────────────────────
# ┌ ┐
# │ Notifications │
# └ ┘
bind = $mainMod, N, exec, astal -i notifier toggle
bind = $mainMod, C, exec, astal -i notifier clear-newest
bind = $mainMod SHIFT, C, exec, astal -i notifier clear
bind = $mainMod SHIFT, N, exec, astal -i notifier show
bind = $mainMod CTRL SHIFT, N, exec, astal -i notifier hide
# ────────────────────────────────────────────────────────────────────
# ╭────────────────────────────────────────────────╮
# │ General │
# ╰────────────────────────────────────────────────╯
# ────────────────────────────────────────────────────────────────────
# ┌ ┐
# │ Launch commands │
# └ ┘
bind = $mainMod SHIFT, L, exec, librewolf
bind = $mainMod SHIFT, D, exec, vesktop
bind = $mainMod SHIFT, V, exec, vscodium
bind = $mainMod SHIFT, T, exec, thunderbird
bind = $mainMod SHIFT, H, exec, heroic
bind = $mainMod SHIFT, I, exec, notify-send 'AirPlay video server starting...' && terminator -e "systemctl start avahi-daemon && sleep 5 && uxplay -n LinuxVideoPlay -nh"
bind = $mainMod SHIFT, A, exec, notify-send 'AirPlay server starting...' && terminator -T "hidden-terminator" -e "systemctl start avahi-daemon && shairport-sync -a LinuxPlay"
bind = $mainMod SHIFT, G, exec, notify-send 'Preparing system for gaming...' && corectrl
bind = $mainMod SHIFT, P, exec, notify-send 'Steam is launching...' && steam
bind = $mainMod SHIFT, R, exec, notify-send 'Launching in Remoteplay optimised session' && steam -pipewire
bind = $mainMod CTRL, K, exec, notify-send 'Insta-Kill activated' && hyprctl kill
bind = $mainMod SHIFT, Z, exec, zathura
bind = $mainMod SHIFT, I, exec, notify-send 'AirPlay video server starting...' --app-name="AirPlay Video" && terminator -e "systemctl start avahi-daemon && sleep 5 && uxplay -n LinuxVideoPlay -nh"
bind = $mainMod SHIFT, A, exec, notify-send 'AirPlay server starting...' --app-name="AirPlay Audio" && terminator -T "hidden-terminator" -e "systemctl start avahi-daemon && shairport-sync -a LinuxPlay"
bind = $mainMod SHIFT, G, exec, notify-send 'Preparing system for gaming...' --app-name="Util" && corectrl
bind = $mainMod SHIFT, P, exec, notify-send 'Steam is launching...' --app-name="Steam" && steam
bind = $mainMod SHIFT, R, exec, notify-send 'Launching in Remoteplay optimised session' --app-name="Steam" && steam -pipewire
bind = $mainMod CTRL, K, exec, notify-send 'Insta-Kill activated' --app-name="Hyprctl" && hyprctl kill
bind = $mainMod SHIFT, O, exec, terminator -e "~/projects/dotfiles/ai.sh"
# Screenshots
# ┌ ┐
# │ Screenshots │
# └ ┘
bind = $mainMod SHIFT, S, exec, grimblast --notify copy area
bind = $mainMod CTRL, S, exec, grimblast --notify copysave area
bind = $mainMod ALT, S, exec, grimblast --notify save area
@ -36,33 +66,46 @@ bind = , PRINT, exec, grimblast --notify copy screen
bind = CTRL, PRINT, exec, grimblast --notify copysave screen
bind = SHIFT, PRINT, exec, grimblast --notify save screen
# Rofi commands
# ┌ ┐
# │ Rofi commands │
# └ ┘
bind = $mainMod, Space, exec, killall rofi || rofi -show combi -modes combi -combi-modes "window,drun,run"
bind = $mainMod SHIFT, Space, exec, rofi -modi "Global Search":"~/.config/rofi/spotlight/rofi-spotlight.sh" -show "Global Search" -config ~/.config/rofi/spotlight/rofi.rasi
bind = $mainMod, P, exec, killall rofi || rofi -show p -modi p:rofi-power-menu -theme ~/.config/rofi/themes/power.rasi
# Logout commands
# ┌ ┐
# │ Logout commands │
# └ ┘
bind = $mainMod, escape, exec, wlogout
bind = $mainMod ALT CTRL, L, exec, hyprlock --immediate
#--------------#
# Layout binds #
#--------------#
# ────────────────────────────────────────────────────────────────────
# ╭────────────────────────────────────────────────╮
# │ Layout binds │
# ╰────────────────────────────────────────────────╯
# ────────────────────────────────────────────────────────────────────
# Move focus with mainMod + arrow keys
# ┌ ┐
# │ 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
# Same with vim-motions
# ┌ ┐
# │ Same with vim-motions │
# └ ┘
bind = $mainMod, h, movefocus, l
bind = $mainMod, l, movefocus, r
bind = $mainMod, j, movefocus, d
bind = $mainMod, k, movefocus, u
# Switch workspaces with mainMod + [0-9]
# ┌ ┐
# │ Switch workspaces with mainMod + [0-9] │
# └ ┘
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
@ -73,13 +116,16 @@ bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10
bind = $mainMod ALT, left, workspace, e-1
bind = $mainMod ALT, right, workspace, e+1
bind = $mainMod ALT, h, workspace, e-1
bind = $mainMod ALT, l, workspace, e+1
bind = $mainMod CTRL, left, workspace, e-1
bind = $mainMod CTRL, right, workspace, e+1
bind = $mainMod CTRL, h, workspace, e-1
bind = $mainMod CTRL, l, workspace, e+1
# Move active window to a workspace with mainMod + SHIFT + [0-9]
# ┌ ┐
# │ 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
@ -95,46 +141,72 @@ bind = $mainMod SHIFT, right, movetoworkspace, e+1
bind = $mainMod SHIFT, j, movetoworkspace, e-1
bind = $mainMod SHIFT, k, movetoworkspace, e+1
# Scroll through existing workspaces with mainMod + scroll
# ┌ ┐
# │ Scroll through existing workspaces with │
# │ mainMod + scroll │
# └ ┘
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1
# Tile window to a part of the screen
bind = $mainMod CTRL, left, movewindow, left
bind = $mainMod CTRL, right, movewindow, right
# move to next window / previous window with ALT + Tab / SHIFT + ALT + Tab
# ┌ ┐
# │ Tile window to a part of the screen │
# └ ┘
# bind = $mainMod CTRL, left, movewindow, left
# bind = $mainMod CTRL, right, movewindow, right
# ┌ ┐
# │ move to next window / previous window with │
# │ ALT + Tab / SHIFT + ALT + Tab │
# └ ┘
bind = ALT SHIFT, tab, cyclenext, prev
# bind = ALT, tab, cyclenext, next
# bind = ALT CTRL, tab, focusurgentorlast
bind = ALT, tab, focusurgentorlast
# Master layout commands
# ┌ ┐
# │ Master layout commands │
# └ ┘
bind = $mainMod CTRL, M, layoutmsg, swapwithmaster
bind = $mainMod SHIFT, A, layoutmsg, addmaster
bind = $mainMod SHIFT CTRL, right, layoutmsg, orientationnext
bind = $mainMod SHIFT CTRL, left, layoutmsg, orientationprev
# Move/resize windows with mainMod + LMB/RMB and dragging
# ┌ ┐
# │ Move/resize windows with mainMod + LMB/RMB │
# │ and dragging │
# └ ┘
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
# Freeze
# ┌ ┐
# │ Freeze │
# └ ┘
bind = $mainMod SHIFT, escape, exec, hyprfreeze -a
# Volume control
# ┌ ┐
# │ Volume control │
# └ ┘
bind = ,code:123, exec, pamixer -i 5
bind = ,code:122, exec, pamixer -d 5
bind = ,code:121, exec, pamixer -t
# Brightness-Control
bind = ,code:232, exec, light -U 5 && notify-send 'Display brightness decreased by 5%'
bind = ,code:233, exec, light -A 5 && notify-send 'Display brightness increased by 5%'
# ┌ ┐
# │ Brightness-Control │
# └ ┘
bind = ,code:232, exec, light -U 5 && notify-send 'Display brightness decreased by 5%' --app-name="Brightness"
bind = ,code:233, exec, light -A 5 && notify-send 'Display brightness increased by 5%' --app-name="Brightness"
# Monitor config binds
bind = $mainMod CTRL, D, exec, hyprctl keyword monitor HDMI-A-1, 1280x720@60, 1920x0, 1, mirror, DP-1 && notify-send 'Set FPV goggles to mirror main screen'
bind = $mainMod CTRL, E, exec, hyprctl keyword monitor HDMI-A-1, 1280x720@60, 3840x0, 1 && notify-send 'Set to expand FPV goggles'
# ┌ ┐
# │ Monitor config binds │
# └ ┘
bind = $mainMod CTRL, D, exec, hyprctl keyword monitor HDMI-A-1, 1280x720@60, 1920x0, 1, mirror, DP-1 && notify-send 'Set FPV goggles to mirror main screen' --app-name="Hyprctl"
bind = $mainMod CTRL, E, exec, hyprctl keyword monitor HDMI-A-1, 1280x720@60, 3840x0, 1 && notify-send 'Set to expand FPV goggles' --app-name="Hyprctl"

View File

@ -1,14 +0,0 @@
#---------#
# COLOURS #
#---------#
general {
col.active_border = {{ accent_colour_1 }} {{ accent_colour_2 }} {{ accent_colour_3 }} 45deg
col.inactive_border = {{ inactive_colour }}
}
decoration {
shadow {
color = {{ shadow_colour }}
}
}

View File

@ -1,12 +1,16 @@
#-----------------------#
# LAUNCHING OF PROGRAMS #
#-----------------------#
exec-once = dunst --startup_notification
# ────────────────────────────────────────────────────────────────────
# ╭────────────────────────────────────────────────╮
# │ LAUNCHING OF PROGRAMS │
# ╰────────────────────────────────────────────────╯
# ────────────────────────────────────────────────────────────────────
# exec-once = dunst --startup_notification
exec-once = ags run ~/projects/active/dotfiles/config/ags/notifications/
exec-once = ~/.config/hypr/xdg-portal-hyprland
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP XAUTHORITY DISPLAY
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec-once = waybar
# exec-once = waybar
exec-once = ags run ~/projects/active/dotfiles/config/astal --gtk4
exec-once = hypridle
exec-once = nm-applet
@ -18,9 +22,11 @@ env = QT_QPA_PLATFORM,wayland
env = QT_QPA_PLATFORM_THEME,qt6ct
env = OLLAMA_HOST,0.0.0.0
#-------#
# INPUT #
#-------#
# ────────────────────────────────────────────────────────────────────
# ╭────────────────────────────────────────────────╮
# │ INPUT │
# ╰────────────────────────────────────────────────╯
# ────────────────────────────────────────────────────────────────────
input {
kb_layout = ch
kb_options = caps:swapescape
@ -48,15 +54,19 @@ gestures {
}
#----------------#
# GENERAL CONFIG #
#----------------#
# ────────────────────────────────────────────────────────────────────
# ╭────────────────────────────────────────────────╮
# │ GENERAL CONFIG │
# ╰────────────────────────────────────────────────╯
# ────────────────────────────────────────────────────────────────────
general {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
gaps_in = 3
gaps_out = 10
border_size = 1
col.active_border = rgba(cc5c00ff) rgba(cc5c00ff) rgba(ff0000ff) 45deg
col.inactive_border = rgba(595959aa)
layout = master
no_border_on_floating = false
@ -70,6 +80,7 @@ decoration {
shadow {
enabled = true
range = 4
color = rgba(1a1a1aee)
}
blur {

View File

@ -1,108 +1,123 @@
#-----------------#
# WORKSPACE RULES #
#-----------------#
# ────────────────────────────────────────────────────────────────────
# ╭────────────────────────────────────────────────╮
# │ WORKSPACE RULES │
# ╰────────────────────────────────────────────────╯
# ────────────────────────────────────────────────────────────────────
# Display full sized (without gaps), if only window on screen
workspace = w[tv1], gapsout:0, gapsin:0
workspace = f[1], gapsout:0, gapsin:0
windowrulev2 = bordersize 0, floating:0, onworkspace:w[tv1]
windowrulev2 = rounding 0, floating:0, onworkspace:w[tv1]
windowrulev2 = bordersize 0, floating:0, onworkspace:f[1]
windowrulev2 = rounding 0, floating:0, onworkspace:f[1]
windowrule = bordersize 0, floating:0, onworkspace:w[tv1]
windowrule = rounding 0, floating:0, onworkspace:w[tv1]
windowrule = bordersize 0, floating:0, onworkspace:f[1]
windowrule = rounding 0, floating:0, onworkspace:f[1]
$mainMod = SUPER
#--------------#
# WINDOW RULES #
#--------------#
# ────────────────────────────────────────────────────────────────────
# ╭────────────────────────────────────────────────╮
# │ WINDOW RULES │
# ╰────────────────────────────────────────────────╯
# ────────────────────────────────────────────────────────────────────
windowrule = float, title:.*(rofi).*
windowrulev2 = animation popin, title:.*(rofi).*
windowrulev2 = center, title:(rofi)(.*)
windowrule = animation popin, title:.*(rofi).*
windowrule = center, title:(rofi)(.*)
windowrulev2 = move 1450 50, title:^(.*)(Power menu)$
windowrule = workspace 2, evince
windowrulev2 = workspace 2, title:.*(Okular).*
windowrulev2 = fullscreen, title:wlogout
windowrule = workspace 2, librewolf
windowrulev2 = workspace 2, title:LibreWolf
windowrulev2 = workspace 2, title:(.*)(Discord)(.*)
windowrulev2 = workspace 3, title:^(Steam)(.*)$
windowrulev2 = workspace 1, title:^(.*)(VSCodium)$
windowrulev2 = center, title:^(.*)(VSCodium)$
windowrule = workspace 3, minecraft-launcher
windowrule = tile, minecraft-launcher
windowrulev2 = fullscreen, title:^(.*)(Minecraft)(.*)$
windowrulev2 = workspace 3, title:^(.*)(Minecraft)(.*)$
windowrule = move 1450 50, title:^(.*)(Power menu)$
windowrule = workspace 2, class:evince
windowrule = workspace 2, title:.*(Okular).*
windowrule = workspace 2, class:org.pwmt.zathura
windowrule = fullscreen, title:wlogout
windowrule = workspace 2, class:librewolf
windowrule = workspace 2, title:LibreWolf
windowrule = workspace 2, title:(.*)(Discord)(.*)
windowrule = workspace 3, title:^(Steam)(.*)$
windowrule = workspace 1, title:^(.*)(VSCodium)$
windowrule = center, title:^(.*)(VSCodium)$
windowrule = workspace 3, class:minecraft-launcher
windowrule = tile, class:minecraft-launcher
windowrule = fullscreen, title:^(.*)(Minecraft)(.*)$
windowrule = workspace 3, title:^(.*)(Minecraft)(.*)$
windowrulev2 = workspace 1, title:^(.*)hidden-terminator*(.*)$
windowrulev2 = size 0 0, title:^(.*)hidden-terminator*(.*)$
windowrulev2 = move 0 0, title:^(.*)hidden-terminator*(.*)$
windowrulev2 = float, title:^(.*)hidden-terminator*(.*)$
windowrule = workspace 1, title:^(.*)hidden-terminator*(.*)$
windowrule = size 0 0, title:^(.*)hidden-terminator*(.*)$
windowrule = move 0 0, title:^(.*)hidden-terminator*(.*)$
windowrule = float, title:^(.*)hidden-terminator*(.*)$
# Set floating windows & position them centered
windowrule = float, file_progress
windowrule = center, file_progress
# ┌ ┐
# │ Set rule for yazi filepicker │
# └ ┘
windowrule = float, title:^(.*)termfilechooser*(.*)$
windowrule = size 1400 800, title:^(.*)termfilechooser*(.*)$
windowrule = center, title:^(.*)termfilechooser*(.*)$
windowrule = float, confirm
windowrule = center, confirm
# ┌ ┐
# │ Set floating windows & position them centered │
# └ ┘
windowrule = float, class:file_progress
windowrule = center, class:file_progress
windowrule = float, dialog
windowrule = center, dialog
windowrule = float, class:confirm
windowrule = center, class:confirm
windowrule = float, download
windowrule = center, download
windowrule = float, class:dialog
windowrule = center, class:dialog
windowrule = float, notification
windowrule = center, notification
windowrule = float, class:download
windowrule = center, class:download
windowrule = float, error
windowrule = center, error
windowrule = float, class:notification
windowrule = center, class:notification
windowrule = float, splash
windowrule = center, splash
windowrule = float, class:error
windowrule = center, class:error
windowrule = float, confirmreset
windowrule = center, confirmreset
windowrule = float, class:splash
windowrule = center, class:splash
windowrulev2 = float, title:Open File
windowrulev2 = center, title:Open File
windowrule = float, class:confirmreset
windowrule = center, class:confirmreset
windowrulev2 = float, title:branchdialog
windowrulev2 = center, title:branchdialog
windowrule = float, title:Open File
windowrule = center, title:Open File
windowrule = float, Lxappearance
windowrule = center, Lxappearance
windowrule = float, title:branchdialog
windowrule = center, title:branchdialog
windowrulev2 = float, title:^(Media viewer)$
windowrulev2 = center, title:^(Media viewer)$
windowrule = float, class:Lxappearance
windowrule = center, class:Lxappearance
windowrulev2 = float, title:^(Volume Control)$
windowrulev2 = center, title:^(Volume Control)$
windowrule = float, title:^(Media viewer)$
windowrule = center, title:^(Media viewer)$
windowrulev2 = float, title:^(Picture-in-Picture)$
windowrulev2 = center, title:^(Picture-in-Picture)$
windowrule = float, title:^(Volume Control)$
windowrule = center, title:^(Volume Control)$
windowrulev2 = float, title:^(File Operation Progress)$
windowrulev2 = center, title:^(File Operation Progress)$
windowrule = float, title:^(Picture-in-Picture)$
windowrule = center, title:^(Picture-in-Picture)$
windowrulev2 = float, title:^(Loading)(.*)$
windowrulev2 = center, title:^(Loading)(.*)$
windowrule = float, title:^(File Operation Progress)$
windowrule = center, title:^(File Operation Progress)$
windowrule = float, pavucontrol-qt
windowrule = center, pavucontrol-qt
windowrule = float, title:^(Loading)(.*)$
windowrule = center, title:^(Loading)(.*)$
windowrule = float, pavucontrol
windowrule = center, pavucontrol
windowrule = float, class:pavucontrol-qt
windowrule = center, class:pavucontrol-qt
windowrule = float, file-roller
windowrule = center, file-roller
windowrule = float, class:pavucontrol
windowrule = center, class:pavucontrol
windowrulev2 = idleinhibit focus, title:^(Rocket League)(.*)$
windowrulev2 = fullscreen, title:^(Steam Big Picture)$
windowrule = idleinhibit always, steam
windowrule = idleinhibit always, lutris
windowrule = idleinhibit focus, vlc
windowrule = idleinhibit focus, supertuxkart
windowrulev2 = idleinhibit fullscreen, title:^(.*)(Discord)(.*)$
windowrulev2 = idleinhibit fullscreen, title:^(.*)(~)(.*)$
windowrulev2 = idleinhibit focus, title:^(.*)(~)(.*)$
windowrulev2 = idleinhibit focus, title:^(.*)(LibreWolf)(.*)$
windowrule = float, class:file-roller
windowrule = center, class:file-roller
windowrule = idleinhibit focus, title:^(Rocket League)(.*)$
windowrule = fullscreen, title:^(Steam Big Picture)$
windowrule = idleinhibit always, class:steam
windowrule = idleinhibit always, class:lutris
windowrule = idleinhibit focus, class:vlc
windowrule = idleinhibit focus, class:supertuxkart
windowrule = idleinhibit fullscreen, title:^(.*)(Discord)(.*)$
windowrule = idleinhibit fullscreen, title:^(.*)(~)(.*)$
windowrule = idleinhibit focus, title:^(.*)(~)(.*)$
windowrule = idleinhibit focus, title:^(.*)(LibreWolf)(.*)$

View File

@ -11,9 +11,11 @@
#----------#
# MONITORS #
#----------#
# ────────────────────────────────────────────────────────────────────
# ╭────────────────────────────────────────────────╮
# │ MONITORS │
# ╰────────────────────────────────────────────────╯
# ────────────────────────────────────────────────────────────────────
# monitor=DP-1, preferred, 0x0, 1, vrr, 2
monitor=DP-1, 1920x1080@144, 0x0, 1, vrr, 2
@ -29,9 +31,10 @@ source=./hyprland/binds.conf
source=./hyprland/general.conf
source=./hyprland/windowrules.conf
#---------#
# DESKTOP #
#---------#
# ┌ ┐
# │ DESKTOP │
# └ ┘
workspace = 1, monitor:DP-1, default:1
workspace = 2, monitor:DP-2, default:1
workspace = 3, monitor:DP-1

View File

@ -0,0 +1,74 @@
#░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
#░ ░░░░ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░ ░░░░░░░░░░░░░░░░░░░░░░░░░░░ ░░░░░░░░░░░░ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ ░░░░░░░░░░░░░░
#▒ ▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒ ▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒
#▒ ▒▒▒▒ ▒ ▒▒▒ ▒ ▒ ▒▒▒ ▒ ▒ ▒▒▒▒ ▒▒▒▒▒ ▒ ▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒ ▒ ▒▒▒ ▒ ▒▒▒▒▒▒▒ ▒▒
#▓ ▓▓ ▓ ▓▓ ▓▓ ▓▓▓ ▓▓▓▓ ▓▓ ▓▓ ▓▓▓ ▓▓ ▓▓ ▓ ▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓ ▓▓ ▓▓▓ ▓▓ ▓▓▓ ▓▓▓▓ ▓ ▓▓
#▓ ▓▓▓▓ ▓▓▓▓ ▓▓▓ ▓▓▓ ▓▓ ▓▓▓▓ ▓ ▓▓▓ ▓▓▓ ▓▓ ▓ ▓▓▓ ▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓ ▓▓▓▓ ▓▓ ▓▓ ▓▓▓ ▓▓▓▓ ▓ ▓▓▓
#▓ ▓▓▓▓ ▓▓▓▓▓ ▓▓▓ ▓ ▓▓▓ ▓▓▓▓ ▓ ▓▓▓ ▓▓▓ ▓▓ ▓ ▓▓▓ ▓▓▓▓▓▓▓▓▓ ▓▓▓ ▓▓ ▓▓ ▓▓▓ ▓▓ ▓▓▓ ▓▓▓▓ ▓ ▓
#█ ████ ████ ████ ██████ ████ ███ █ █ ██ ██ █ ███████████ ██████ █████ ██ ███ ████ █████ █
#██████████████ █████ ██████████████████████████████████████████████████████████████████████████████████████████████████████ ██
# ────────────────────────────────────────────────────────────────────
# ╭────────────────────────────────────────────────╮
# │ MONITORS │
# ╰────────────────────────────────────────────────╯
# ────────────────────────────────────────────────────────────────────
monitor=eDP-1, 2880x1800@60, 0x0, 1.5
# monitor=,highres highrr, auto, 1
exec = swaybg -m fill -i /home/janis/Pictures/arch-bg.png
source=./hyprland/binds.conf
source=./hyprland/general.conf
source=./hyprland/windowrules.conf
# ┌ ┐
# │ LAPTOP │
# └ ┘
exec = hyprctl setcursor oreo_spark_blue_cursors 36
env = HYPRCURSOR_THEME, Oreo_spark_blue_cursor
env = X_CURSOR_THEME, Oreo_spark_blue_cursor
env = XCURSOR_SIZE,24
env = ELECTRON_ENABLE_HIGHDPI_SUPPORT, 1
env = XDG_SESSION_TYPE, wayland
env = QT_QPA_PLATFORM,wayland
# env = QT_QPA_PLATFORM_THEME,qt6ct
env = ELECTRON_OZONE_PLATFORM_HINT,wayland
env = GDK_SCALE,2
exec-once = hyprpm reload -nn
xwayland {
force_zero_scaling = true
}
# ── Volume control ──────────────────────────────────────────────────
bind = ,code:123, exec, pamixer -i 5
bind = ,code:122, exec, pamixer -d 5
bind = ,code:121, exec, pamixer -t
# ── Brightness-Control ──────────────────────────────────────────────
bind = ,code:232, exec, light -U 5 && notify-send 'Display brightness decreased by 5%'
bind = ,code:233, exec, light -A 5 && notify-send 'Display brightness increased by 5%'
# ── Monitor config binds ────────────────────────────────────────────
bind = $mainMod CTRL, D, exec, hyprctl keyword monitor HDMI-A-1, 1920x1080@60, 1920x0, 1, mirror, eDP-1 && notify-send 'Set to mirror internal display'
bind = $mainMod CTRL, E, exec, hyprctl keyword monitor HDMI-A-1, 1920x1080@60, 1920x0, 1 && notify-send 'Set to expand external display'
# ── Internal display controls ───────────────────────────────────────
bind = $mainMod ALT, E, exec, hyprctl keyword monitor eDP-1, 2880x1800@60, 0x0, 1.5 && cpupower-gui -b && notify-send 'Set to battery optimized settings'
bind = $mainMod ALT, P, exec, hyprctl keyword monitor eDP-1, 2880x1800@120, 0x0, 1.5 && cpupower-gui -p && notify-send 'Set to performance optimized settings'
# ── Vivado inversion ────────────────────────────────────────────────
windowrule = plugin:invertwindow, class:Vivado
windowrule = tile, title:(.*)Vivado(.*)

File diff suppressed because it is too large Load Diff

View File

@ -432,8 +432,7 @@ mouse_hide_wait 3.0
#: typing text. Disabled by default on macOS as getting it to work
#: robustly with the ever-changing sea of bugs that is Cocoa is too
#: much effort.
url_color #0087bd
# url_color #0087bd
url_style curly
#: The color and style for highlighting URLs on mouse-over. url_style
@ -2637,3 +2636,9 @@ show_hyperlink_targets yes
#: }}}
#: }}}
# BEGIN_KITTY_THEME
# Adwaita darker
include current-theme.conf
# END_KITTY_THEME

30
config/wlogout/layout Executable file
View File

@ -0,0 +1,30 @@
{
"label" : "lock",
"action" : "hyprlock",
"text" : "Lock",
"keybind" : "l"
}
{
"label" : "reboot",
"action" : "systemctl reboot",
"text" : "Reboot",
"keybind" : "r"
}
{
"label" : "shutdown",
"action" : "systemctl poweroff",
"text" : "Shutdown",
"keybind" : "s"
}
{
"label" : "logout",
"action" : "hyprctl dispatch exit 0",
"text" : "Logout",
"keybind" : "e"
}
{
"label" : "suspend",
"action" : "systemctl suspend",
"text" : "Suspend",
"keybind" : "u"
}

BIN
config/wlogout/lock-hover.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

BIN
config/wlogout/lock.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

BIN
config/wlogout/logout-hover.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

BIN
config/wlogout/logout.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

BIN
config/wlogout/power-hover.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
config/wlogout/power.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
config/wlogout/restart-hover.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

BIN
config/wlogout/restart.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

BIN
config/wlogout/sleep-hover.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

BIN
config/wlogout/sleep.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

View File

@ -2,9 +2,9 @@
prepend_keymap = [
# # undo trash
# { on = "u", run = "plugin restore", desc = "Restore last deleted files/folders" },
{ on = "u", run = "plugin restore", desc = "Restore last deleted files/folders" },
# # compress
# { on = "C", run = "plugin ouch --args=zip", desc = "Compress with ouch" },
{ on = "C", run = "plugin ouch tar.gz", desc = "Compress with ouch" },
# Goto
{ on = [ "g", "h" ], run = "cd ~", desc = "Go to ~" },
{ on = [ "g", "c", "c" ], run = "cd ~/.config", desc = "Go to ~/.config" },
@ -14,11 +14,11 @@ prepend_keymap = [
{ on = [ "g", "c", "w" ], run = "cd ~/.config/waybar", desc = "Go to waybar config" },
{ on = [ "g", "c", "n" ], run = "cd ~/.config/nvim", desc = "Go to NeoVim config" },
{ on = [ "g", "a" ], run = "cd ~/.cache", desc = "Go to ~/.cache" },
{ on = [ "g", "n" ], run = "cd ~/NextCloud/Documents/",desc = "Go to NextCloud Documents" },
{ on = [ "g", "e", "c" ], run = "cd ~/projects/active/eth-gitlab/eth-code-expert", desc = "Go to ETH-Code-Expert" },
{ on = [ "g", "e", "n" ], run = "cd ~/NextCloud/Documents/ETH/Semester2", desc = "Go to ETH Nextcloud" },
{ on = [ "g", "e", "p" ], run = "cd ~/projects/active/eth/semester2/", desc = "Go to ETH notes folder" },
{ on = [ "g", "e", "g" ], run = "cd ~/projects/active/eth-gitlab/pprog25-jahutz/", desc = "Go to ETH Gitlab folder" },
{ on = [ "g", "n" ], run = "cd ~/NextCloud/Documents/", desc = "Go to NextCloud Documents" },
{ on = [ "g", "e", "c" ], run = "cd ~/projects/active/eth-gitlab/eth-code-expert/Semester2/", desc = "Go to ETH-Code-Expert" },
{ on = [ "g", "e", "n" ], run = "cd ~/NextCloud/Documents/ETH/Semester2", desc = "Go to ETH Nextcloud" },
{ on = [ "g", "e", "p" ], run = "cd ~/projects/active/eth/semester2/", desc = "Go to ETH notes folder" },
{ on = [ "g", "e", "g" ], run = "cd ~/projects/active/eth-gitlab/pprog25-jahutz/", desc = "Go to ETH Gitlab folder" },
{ on = [ "g", "l", "b" ], run = "cd ~/.local/bin", desc = "Go to ~/.local/bin" },
{ on = [ "g", "l", "s" ], run = "cd ~/.local/share", desc = "Go to ~/.local/share" },
{ on = [ "g", "s", "h" ], run = "cd ~/.steam/steam/steamapps/common", desc = "Go to ~/.steam/steam/steamapps/common" },

12
config/yazi/package.toml Normal file
View File

@ -0,0 +1,12 @@
[[plugin.deps]]
use = "ndtoan96/ouch"
rev = "558188d"
hash = "2d0afef7b50747c543c4304004a72cec"
[[plugin.deps]]
use = "boydaihungst/restore"
rev = "5d22884"
hash = "8e6fc2d660f661c91e30b10dd1a251b8"
[flavor]
deps = []

10
config/yazi/yazi.toml Normal file
View File

@ -0,0 +1,10 @@
[plugin]
prepend_previewers = [
# Archive previewer
{ mime = "application/*zip", run = "ouch" },
{ mime = "application/x-tar", run = "ouch" },
{ mime = "application/x-bzip2", run = "ouch" },
{ mime = "application/x-7z-compressed", run = "ouch" },
{ mime = "application/x-rar", run = "ouch" },
{ mime = "application/x-xz", run = "ouch" },
]

3
config/zathura/zathurarc Normal file
View File

@ -0,0 +1,3 @@
set selection-clipboard clipboard
map D set "first-page-column 1:2"
map . nohlsearch

View File

@ -0,0 +1,4 @@
$fg-color: {{ colour-foreground-hex }};
$bg-color: {{ colour-background-hex }};
$accent-color: {{ colour-accent-hex }};
$accent-color-2: {{ colour-accent-2-hex }};

View File

@ -0,0 +1,16 @@
# ────────────────────────────────────────────────────────────────────
# ╭────────────────────────────────────────────────╮
# │ COLOURS │
# ╰────────────────────────────────────────────────╯
# ────────────────────────────────────────────────────────────────────
general {
col.active_border = {{ colour-accent-rgb }} {{ colour-accent-2-rgb }} {{ colour-accent-3-rgb }} 45deg
col.inactive_border = {{ colour-inactive-rgb }}
}
decoration {
shadow {
color = {{ shadow_colour }}
}
}

View File

@ -13,7 +13,9 @@ general {
grace = 15
}
# BACKGROUND
# ┌ ┐
# │ BACKGROUND │
# └ ┘
background {
monitor =
path = {{ lockpaper-path }} # Or screenshot
@ -21,7 +23,9 @@ background {
blur_passes = 1
}
# PASSWORD INPUT
# ┌ ┐
# │ PASSWORD INPUT │
# └ ┘
input-field {
monitor =
size = 300, 40
@ -29,7 +33,7 @@ input-field {
dots_size = 0.33 # Scale of input-field height, 0.2 - 0.8
dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0
dots_center = false
outer_color = {{ accent_colour_1 }}
outer_color = {{ colour-accent-rgb }}
inner_color = rgb(200, 200, 200)
font_color = rgb(10, 10, 10)
fade_on_empty = true

View File

View File

@ -0,0 +1,65 @@
/*
*
* WLOGOUT
*
*/
window {
font-family: monospace;
font-size: 14pt;
color: #ffffff; /* text */
background-color: {{ colour-background-rgba }};
}
button {
background-repeat: no-repeat;
background-position: center;
background-size: 25%;
border: none;
background-color: transparent;
margin: 5px;
transition: box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out;
}
button:hover {
background-color: rgba(0, 94, 31, 0.2);
}
button:focus {
background-color: {{ colour-accent-rgb }};
color: {{ colour-primary-rgb }};
}
#lock {
background-image: image(url("./lock.png"));
}
#lock:focus {
background-image: image(url("./lock-hover.png"));
}
#logout {
background-image: image(url("./logout.png"));
}
#logout:focus {
background-image: image(url("./logout-hover.png"));
}
#suspend {
background-image: image(url("./sleep.png"));
}
#suspend:focus {
background-image: image(url("./sleep-hover.png"));
}
#shutdown {
background-image: image(url("./power.png"));
}
#shutdown:focus {
background-image: image(url("./power-hover.png"));
}
#reboot {
background-image: image(url("./restart.png"));
}
#reboot:focus {
background-image: image(url("./restart-hover.png"));
}

1
setup
View File

@ -3,3 +3,4 @@
# Read platform to install on (only if no platform file present in ~/.config/)
read -p "Choose the configs to install, Laptop or Desktop (l/D): " platform
ya pack -i

16
system/environment Normal file
View File

@ -0,0 +1,16 @@
#
# This file is parsed by pam_env module
#
# Syntax: simple "KEY=VAL" pairs on separate lines
#
QT_QPA_PLATFORMTHEME=qt5ct
QT_STYLE_OVERRIDE=kvantum
GCM_CREDENTIAL_STORE=secretservice
VKD3D_CONFIG=dxr11,dxr
RADV_PERFTEST_RT=1
ANDROID_HOME=/home/janis/Android/Sdk
QT_QPA_PLATFORM=wayland
JELLYFIN_WEB_DIR=/usr/share/jellyfin-web
GTK_THEME=Material-Black-Blueberry
EDITOR=nvim

63
system/grub Normal file
View File

@ -0,0 +1,63 @@
# GRUB boot loader configuration
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet splash"
GRUB_CMDLINE_LINUX=""
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y
# Set to 'countdown' or 'hidden' to change timeout behavior,
# press ESC key to display menu.
GRUB_TIMEOUT_STYLE=menu
# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console
# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `videoinfo'
GRUB_GFXMODE=1920x1080
# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
#GRUB_COLOR_NORMAL="light-blue/black"
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/path/to/wallpaper"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
# Uncomment to make GRUB remember the last selection. This requires
# setting 'GRUB_DEFAULT=saved' above.
#GRUB_SAVEDEFAULT=true
# Uncomment to disable submenus in boot menu
#GRUB_DISABLE_SUBMENU=y
# Probing for other operating systems is disabled for security reasons. Read
# documentation on GRUB_DISABLE_OS_PROBER, if still want to enable this
# functionality install os-prober and uncomment to detect and include other
# operating systems.
GRUB_DISABLE_OS_PROBER=false
GRUB_THEME="/usr/share/grub/themes/monterey-grub-theme/theme.txt"

73
system/mkinitcpio.conf Normal file
View File

@ -0,0 +1,73 @@
# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run. Advanced users may wish to specify all system modules
# in this array. For instance:
# MODULES=(usbhid xhci_hcd)
MODULES=()
# BINARIES
# This setting includes any additional binaries a given user may
# wish into the CPIO image. This is run last, so it may be used to
# override the actual binaries included by a given hook
# BINARIES are dependency parsed, so you may safely ignore libraries
BINARIES=()
# FILES
# This setting is similar to BINARIES above, however, files are added
# as-is and are not parsed in any way. This is useful for config files.
FILES=()
# HOOKS
# This is the most important setting in this file. The HOOKS control the
# modules and scripts added to the image, and what happens at boot time.
# Order is important, and it is recommended that you do not change the
# order in which HOOKS are added. Run 'mkinitcpio -H <hook name>' for
# help on a given hook.
# 'base' is _required_ unless you know precisely what you are doing.
# 'udev' is _required_ in order to automatically load modules
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
# Examples:
## This setup specifies all modules in the MODULES setting above.
## No RAID, lvm2, or encrypted root is needed.
# HOOKS=(base)
#
## This setup will autodetect all modules for your system and should
## work as a sane default
# HOOKS=(base udev autodetect modconf block filesystems fsck)
#
## This setup will generate a 'full' image which supports most systems.
## No autodetection is done.
# HOOKS=(base udev modconf block filesystems fsck)
#
## This setup assembles a mdadm array with an encrypted root file system.
## Note: See 'mkinitcpio -H mdadm_udev' for more information on RAID devices.
# HOOKS=(base udev modconf keyboard keymap consolefont block mdadm_udev encrypt filesystems fsck)
#
## This setup loads an lvm2 volume group.
# HOOKS=(base udev modconf block lvm2 filesystems fsck)
#
## NOTE: If you have /usr on a separate partition, you MUST include the
# usr and fsck hooks.
HOOKS=(base udev autodetect modconf kms keyboard keymap consolefont block filesystems fsck plymouth)
# COMPRESSION
# Use this to compress the initramfs image. By default, zstd compression
# is used. Use 'cat' to create an uncompressed image.
#COMPRESSION="zstd"
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
#COMPRESSION="xz"
#COMPRESSION="lzop"
#COMPRESSION="lz4"
# COMPRESSION_OPTIONS
# Additional options for the compressor
#COMPRESSION_OPTIONS=()
# MODULES_DECOMPRESS
# Decompress kernel modules during initramfs creation.
# Enable to speedup boot process, disable to save RAM
# during early userspace. Switch (yes/no).
#MODULES_DECOMPRESS="yes"

100
system/pacman.conf Normal file
View File

@ -0,0 +1,100 @@
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives
#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
#GPGDir = /etc/pacman.d/gnupg/
#HookDir = /etc/pacman.d/hooks/
HoldPkg = pacman glibc
#XferCommand = /usr/bin/curl -L -C - -f -o %o %u
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
Architecture = auto
ILoveCandy
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options
#UseSyslog
Color
#NoProgressBar
CheckSpace
#VerbosePkgLists
ParallelDownloads = 5
# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required
# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.
#
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
# - URLs will have $repo replaced by the name of the current repo
# - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
# [repo-name]
# Server = ServerName
# Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#
# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.
#[testing]
#Include = /etc/pacman.d/mirrorlist
[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
#[extra-testing]
#Include = /etc/pacman.d/mirrorlist
# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.
#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist
[multilib]
Include = /etc/pacman.d/mirrorlist
[arch4edu]
Server = https://de.arch4edu.mirror.kescher.at/$arch
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs