rebrand!: Antergos NeXT -> Euri Linux
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
# Maintainer: Michał <ash8820@proton.me>
|
||||
|
||||
pkgname=euri-hyprland-config
|
||||
pkgver=1.0
|
||||
pkgrel=2
|
||||
pkgdesc='Euri Linux Hyprland configuration — dark theme with waybar, rofi, dunst'
|
||||
arch=('any')
|
||||
url="https://github.com/Euri-Linux/euri-packages"
|
||||
license=('GPL3')
|
||||
depends=(
|
||||
'hyprland'
|
||||
'waybar'
|
||||
'rofi'
|
||||
'dunst'
|
||||
'swww'
|
||||
'kitty'
|
||||
'ttf-jetbrains-mono-nerd'
|
||||
'papirus-icon-theme'
|
||||
)
|
||||
optdepends=(
|
||||
'hyprlock: screen locker'
|
||||
'hypridle: idle management'
|
||||
'hyprpaper: wallpaper daemon'
|
||||
'grim: screenshot tool'
|
||||
'slurp: region selection'
|
||||
'pavucontrol: audio settings'
|
||||
'brightnessctl: brightness control'
|
||||
)
|
||||
source=("hyprland.lua" "hyprpaper.conf" "config.jsonc" "style.css" "config.rasi" "theme.rasi" "dunstrc")
|
||||
sha256sums=('SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP')
|
||||
|
||||
package() {
|
||||
local _skel="$pkgdir/etc/skel/.config"
|
||||
|
||||
install -dm755 "$_skel/hypr"
|
||||
install -dm755 "$_skel/waybar"
|
||||
install -dm755 "$_skel/rofi"
|
||||
install -dm755 "$_skel/dunst"
|
||||
|
||||
cp -a "hyprland.lua" "$_skel/hypr/hyprland.lua"
|
||||
cp -a "hyprpaper.conf" "$_skel/hypr/hyprpaper.conf"
|
||||
cp -a "config.jsonc" "$_skel/waybar/config.jsonc"
|
||||
cp -a "style.css" "$_skel/waybar/style.css"
|
||||
cp -a "config.rasi" "$_skel/rofi/config.rasi"
|
||||
cp -a "theme.rasi" "$_skel/rofi/theme.rasi"
|
||||
cp -a "dunstrc" "$_skel/dunst/dunstrc"
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
{
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"spacing": 12,
|
||||
"modules-left": ["custom/launcher", "hyprland/workspaces", "hyprland/window"],
|
||||
"modules-center": ["clock"],
|
||||
"modules-right": ["cpu", "memory", "pulseaudio", "network", "battery", "tray"],
|
||||
|
||||
"custom/launcher": {
|
||||
"format": "",
|
||||
"on-click": "rofi -show drun",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"hyprland/workspaces": {
|
||||
"disable-scroll": true,
|
||||
"all-outputs": true,
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"1": "1", "2": "2", "3": "3", "4": "4",
|
||||
"5": "5", "6": "6", "7": "7", "8": "8",
|
||||
"9": "9", "10": "0"
|
||||
}
|
||||
},
|
||||
|
||||
"hyprland/window": {
|
||||
"format": "{}",
|
||||
"max-length": 80
|
||||
},
|
||||
|
||||
"clock": {
|
||||
"format": "{:%H:%M}",
|
||||
"format-alt": "{:%a %b %d}",
|
||||
"tooltip-format": "{:%Y-%m-%d}",
|
||||
"interval": 30
|
||||
},
|
||||
|
||||
"cpu": {
|
||||
"interval": 5,
|
||||
"format": " {usage}%",
|
||||
"states": { "warning": 70, "critical": 90 }
|
||||
},
|
||||
|
||||
"memory": {
|
||||
"interval": 5,
|
||||
"format": " {percentage}%",
|
||||
"states": { "warning": 70, "critical": 90 }
|
||||
},
|
||||
|
||||
"pulseaudio": {
|
||||
"format": "{icon} {volume}%",
|
||||
"format-muted": " muted",
|
||||
"format-icons": { "default": ["", "", ""] },
|
||||
"on-click": "pavucontrol",
|
||||
"scroll-step": 5
|
||||
},
|
||||
|
||||
"network": {
|
||||
"format-wifi": " {essid}",
|
||||
"format-ethernet": " eth",
|
||||
"format-disconnected": " Off",
|
||||
"interval": 5
|
||||
},
|
||||
|
||||
"battery": {
|
||||
"format": "{icon} {capacity}%",
|
||||
"format-charging": " {capacity}%",
|
||||
"format-icons": ["", "", "", "", ""],
|
||||
"states": { "warning": 30, "critical": 15 }
|
||||
},
|
||||
|
||||
"tray": {
|
||||
"icon-size": 16,
|
||||
"spacing": 8
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
configuration {
|
||||
modi: [drun,run,window];
|
||||
font: "JetBrains Mono 12";
|
||||
show-icons: true;
|
||||
icon-theme: "Papirus";
|
||||
terminal: "kitty";
|
||||
location: 0;
|
||||
sidebar-mode: true;
|
||||
matching: "fuzzy";
|
||||
sorting-method: "fzf";
|
||||
display-drun: " Apps ";
|
||||
display-run: " Run ";
|
||||
display-window: " Windows ";
|
||||
}
|
||||
|
||||
@theme "~/.config/rofi/theme.rasi"
|
||||
@@ -0,0 +1,35 @@
|
||||
[global]
|
||||
font = JetBrains Mono Nerd Font 10
|
||||
follow = mouse
|
||||
width = 350
|
||||
height = 120
|
||||
offset = 10x48
|
||||
padding = 12
|
||||
horizontal_padding = 12
|
||||
frame_width = 2
|
||||
frame_color = "#4A9EFF"
|
||||
separator_color = frame
|
||||
sort = yes
|
||||
idle_threshold = 120
|
||||
markup = full
|
||||
alignment = left
|
||||
word_wrap = yes
|
||||
show_indicators = yes
|
||||
icon_path = /usr/share/icons/Papirus/16x16/status/
|
||||
corner_radius = 8
|
||||
timeout = 5
|
||||
|
||||
[urgency_low]
|
||||
background = "#20252B"
|
||||
foreground = "#E3E2E6"
|
||||
frame_color = "#676E7D"
|
||||
|
||||
[urgency_normal]
|
||||
background = "#20252B"
|
||||
foreground = "#E3E2E6"
|
||||
frame_color = "#4A9EFF"
|
||||
|
||||
[urgency_critical]
|
||||
background = "#20252B"
|
||||
foreground = "#FF5555"
|
||||
frame_color = "#FF5555"
|
||||
@@ -0,0 +1,157 @@
|
||||
-- Hyprland config — Euri Linux dark theme
|
||||
-- See https://wiki.hypr.land/Configuring/Start/
|
||||
|
||||
-- Monitor
|
||||
hl.monitor({
|
||||
output = "",
|
||||
mode = "preferred",
|
||||
position = "auto",
|
||||
scale = "auto",
|
||||
})
|
||||
|
||||
-- Autostart
|
||||
hl.on("hyprland.start", function()
|
||||
hl.exec_cmd("waybar")
|
||||
hl.exec_cmd("dunst")
|
||||
hl.exec_cmd("swww init")
|
||||
hl.exec_cmd("nm-applet")
|
||||
hl.exec_cmd("/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1")
|
||||
end)
|
||||
|
||||
-- Env
|
||||
hl.env("XCURSOR_SIZE", "24")
|
||||
hl.env("XDG_CURRENT_DESKTOP", "Hyprland")
|
||||
|
||||
-- General config
|
||||
hl.config({
|
||||
input = {
|
||||
kb_layout = "us",
|
||||
follow_mouse = 1,
|
||||
touchpad = {
|
||||
natural_scroll = false,
|
||||
},
|
||||
sensitivity = 0,
|
||||
},
|
||||
general = {
|
||||
gaps_in = 5,
|
||||
gaps_out = 10,
|
||||
border_size = 2,
|
||||
col = {
|
||||
active_border = "rgba(4a9effff)",
|
||||
inactive_border = "rgba(32373eff)",
|
||||
nogroup_border = "rgba(32373eff)",
|
||||
},
|
||||
layout = "dwindle",
|
||||
no_border_on_floating = false,
|
||||
},
|
||||
decoration = {
|
||||
rounding = 10,
|
||||
active_opacity = 1.0,
|
||||
inactive_opacity = 1.0,
|
||||
shadow = {
|
||||
enabled = true,
|
||||
range = 4,
|
||||
render_power = 3,
|
||||
color = "rgba(1a1e24ee)",
|
||||
},
|
||||
blur = {
|
||||
enabled = true,
|
||||
size = 3,
|
||||
passes = 1,
|
||||
},
|
||||
},
|
||||
animations = {
|
||||
enabled = true,
|
||||
},
|
||||
dwindle = {
|
||||
pseudotile = true,
|
||||
preserve_split = true,
|
||||
},
|
||||
master = {
|
||||
mfact = 0.55,
|
||||
new_status = "slave",
|
||||
},
|
||||
gestures = {
|
||||
workspace_swipe = true,
|
||||
},
|
||||
})
|
||||
|
||||
-- Curves
|
||||
hl.curve("myBezier", { type = "bezier", points = { {0.05, 0.9}, {0.1, 1.05} } })
|
||||
|
||||
-- Animations
|
||||
hl.animation({ leaf = "windows", enabled = true, speed = 7, bezier = "myBezier" })
|
||||
hl.animation({ leaf = "windowsOut", enabled = true, speed = 7, bezier = "default" })
|
||||
hl.animation({ leaf = "fade", enabled = true, speed = 7, bezier = "default" })
|
||||
hl.animation({ leaf = "workspaces", enabled = true, speed = 6, bezier = "default" })
|
||||
hl.animation({ leaf = "border", enabled = true, speed = 10, bezier = "default" })
|
||||
|
||||
-- Window rules
|
||||
hl.windowrule("float", "class:(pavucontrol)")
|
||||
hl.windowrule("float", "class:(blueman-manager)")
|
||||
hl.windowrule("float", "class:(qt5ct)")
|
||||
hl.windowrule("float", "class:(qt6ct)")
|
||||
hl.windowrule("float", "class:(imv)")
|
||||
hl.windowrule("float", "class:(mpv)")
|
||||
hl.windowrule("float", "title:(File Operation Progress)")
|
||||
hl.windowrule("float", "title:(Picture-in-Picture)")
|
||||
hl.windowrule("opacity 0.95 0.95", "class:(kitty)")
|
||||
|
||||
-- Keybinds
|
||||
local mainMod = "SUPER"
|
||||
|
||||
-- Terminal
|
||||
hl.bind(mainMod .. " + Return", hl.dsp.exec_cmd("kitty"))
|
||||
-- Kill active
|
||||
hl.bind(mainMod .. " + Q", hl.dsp.window.close())
|
||||
-- Exit
|
||||
hl.bind(mainMod .. " + M", hl.dsp.exit())
|
||||
-- Launcher
|
||||
hl.bind(mainMod .. " + E", hl.dsp.exec_cmd("rofi -show drun"))
|
||||
hl.bind(mainMod .. " + D", hl.dsp.exec_cmd("rofi -show run"))
|
||||
-- Window ops
|
||||
hl.bind(mainMod .. " + V", hl.dsp.window.float({ action = "toggle" }))
|
||||
hl.bind(mainMod .. " + P", hl.dsp.window.pseudo())
|
||||
hl.bind(mainMod .. " + J", hl.dsp.layout("togglesplit"))
|
||||
hl.bind(mainMod .. " + F", hl.dsp.window.fullscreen())
|
||||
|
||||
-- Focus movement (vim keys: h left, j down, k up, l right)
|
||||
hl.bind(mainMod .. " + H", hl.dsp.focus({ direction = "l" }))
|
||||
hl.bind(mainMod .. " + J", hl.dsp.focus({ direction = "d" }))
|
||||
hl.bind(mainMod .. " + K", hl.dsp.focus({ direction = "u" }))
|
||||
hl.bind(mainMod .. " + L", hl.dsp.focus({ direction = "r" }))
|
||||
|
||||
-- Move window
|
||||
hl.bind(mainMod .. " + SHIFT + H", hl.dsp.window.move({ direction = "l" }))
|
||||
hl.bind(mainMod .. " + SHIFT + J", hl.dsp.window.move({ direction = "d" }))
|
||||
hl.bind(mainMod .. " + SHIFT + K", hl.dsp.window.move({ direction = "u" }))
|
||||
hl.bind(mainMod .. " + SHIFT + L", hl.dsp.window.move({ direction = "r" }))
|
||||
|
||||
-- Workspaces
|
||||
for i = 1, 10 do
|
||||
local key = i % 10
|
||||
hl.bind(mainMod .. " + " .. key, hl.dsp.focus({ workspace = i }))
|
||||
hl.bind(mainMod .. " + SHIFT + " .. key, hl.dsp.window.move({ workspace = i }))
|
||||
end
|
||||
|
||||
-- Mouse binds (drag / resize)
|
||||
hl.bind(mainMod .. " + mouse:272", hl.dsp.window.drag(), { mouse = true })
|
||||
hl.bind(mainMod .. " + mouse:273", hl.dsp.window.resize(), { mouse = true })
|
||||
|
||||
-- Media keys
|
||||
hl.bind("XF86AudioRaiseVolume", hl.dsp.exec_cmd("wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+"), { locked = true, repeating = true })
|
||||
hl.bind("XF86AudioLowerVolume", hl.dsp.exec_cmd("wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"), { locked = true, repeating = true })
|
||||
hl.bind("XF86AudioMute", hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"), { locked = true, repeating = true })
|
||||
hl.bind("XF86AudioMicMute", hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"), { locked = true, repeating = true })
|
||||
hl.bind("XF86MonBrightnessUp", hl.dsp.exec_cmd("brightnessctl set +5%"), { locked = true, repeating = true })
|
||||
hl.bind("XF86MonBrightnessDown",hl.dsp.exec_cmd("brightnessctl set 5%-"), { locked = true, repeating = true })
|
||||
|
||||
-- Screenshots
|
||||
hl.bind("Print", hl.dsp.exec_cmd("grim -g \"$(slurp)\""))
|
||||
hl.bind("SHIFT + Print", hl.dsp.exec_cmd("grim"))
|
||||
|
||||
-- Clipboard screenshot
|
||||
hl.bind(mainMod .. " + SHIFT + S", hl.dsp.exec_cmd("grim -g \"$(slurp)\" - | wl-copy"))
|
||||
|
||||
-- Reload config
|
||||
hl.bind(mainMod .. " + SHIFT + C", hl.dsp.exec_cmd("hyprctl reload"))
|
||||
@@ -0,0 +1,2 @@
|
||||
preload = /usr/share/backgrounds/euri/euri-wallpaper.png
|
||||
wallpaper = ,/usr/share/backgrounds/euri/euri-wallpaper.png
|
||||
@@ -0,0 +1,99 @@
|
||||
@define-color bg #20252B;
|
||||
@define-color bg-alt #2A3038;
|
||||
@define-color fg #E3E2E6;
|
||||
@define-color blue #4A9EFF;
|
||||
@define-color cyan #00D4FF;
|
||||
@define-color green #50FA7B;
|
||||
@define-color orange #FFB86C;
|
||||
@define-color red #FF5555;
|
||||
|
||||
* {
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
min-height: 0;
|
||||
margin: 2px;
|
||||
padding: 0;
|
||||
font-family: "JetBrains Mono Nerd Font", sans-serif;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
#waybar {
|
||||
background: rgba(32, 37, 43, 0.85);
|
||||
color: @fg;
|
||||
padding: 4px 8px;
|
||||
}
|
||||
|
||||
#custom-launcher {
|
||||
font-size: 18px;
|
||||
padding: 0 10px;
|
||||
color: @blue;
|
||||
}
|
||||
|
||||
#workspaces {
|
||||
margin: 0 4px;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
border-radius: 8px;
|
||||
padding: 2px 8px;
|
||||
margin: 2px;
|
||||
background: transparent;
|
||||
color: @fg;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
background: @blue;
|
||||
color: @bg;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#workspaces button.urgent {
|
||||
background: @red;
|
||||
color: @fg;
|
||||
}
|
||||
|
||||
#clock,
|
||||
#cpu,
|
||||
#memory,
|
||||
#pulseaudio,
|
||||
#network,
|
||||
#battery,
|
||||
#tray {
|
||||
padding: 0 10px;
|
||||
margin: 2px 2px;
|
||||
border-radius: 6px;
|
||||
background: @bg-alt;
|
||||
}
|
||||
|
||||
#clock {
|
||||
color: @blue;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#cpu { color: @cyan; }
|
||||
#cpu.warning { color: @orange; }
|
||||
#cpu.critical { color: @red; }
|
||||
|
||||
#memory { color: @green; }
|
||||
#memory.warning { color: @orange; }
|
||||
#memory.critical { color: @red; }
|
||||
|
||||
#pulseaudio { color: @fg; }
|
||||
#pulseaudio.muted { color: @orange; }
|
||||
|
||||
#network { color: @cyan; }
|
||||
#network.disconnected { color: @red; }
|
||||
|
||||
#battery { color: @fg; }
|
||||
#battery.warning { color: @orange; }
|
||||
#battery.critical { color: @red; }
|
||||
#battery.charging { color: @green; }
|
||||
|
||||
#tray {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#window {
|
||||
padding: 0 8px;
|
||||
color: @fg;
|
||||
}
|
||||
@@ -0,0 +1,73 @@
|
||||
* {
|
||||
background: #20252B;
|
||||
background-alt: #2A3038;
|
||||
foreground: #E3E2E6;
|
||||
blue: #4A9EFF;
|
||||
urgent: #FF5555;
|
||||
|
||||
font: "JetBrains Mono 12";
|
||||
|
||||
bg: @background;
|
||||
fg: @foreground;
|
||||
ac: @blue;
|
||||
urgent-bg: @urgent;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
background-color: @bg;
|
||||
text-color: @fg;
|
||||
border: 2px;
|
||||
border-color: @ac;
|
||||
border-radius: 10;
|
||||
width: 600;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @bg;
|
||||
children: [inputbar, listview];
|
||||
}
|
||||
|
||||
inputbar {
|
||||
background-color: @bg;
|
||||
text-color: @fg;
|
||||
padding: 8;
|
||||
spacing: 8;
|
||||
children: [prompt, entry];
|
||||
}
|
||||
|
||||
prompt {
|
||||
text-color: @ac;
|
||||
}
|
||||
|
||||
entry {
|
||||
text-color: @fg;
|
||||
}
|
||||
|
||||
listview {
|
||||
background-color: @bg;
|
||||
padding: 8;
|
||||
lines: 8;
|
||||
columns: 2;
|
||||
spacing: 4;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @bg;
|
||||
text-color: @fg;
|
||||
padding: 6;
|
||||
border-radius: 6;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @background-alt;
|
||||
text-color: @ac;
|
||||
}
|
||||
|
||||
element-icon {
|
||||
size: 24;
|
||||
}
|
||||
|
||||
element-text {
|
||||
text-color: inherit;
|
||||
}
|
||||
Reference in New Issue
Block a user