Merge branch 'main' into hypr-caelestia
This commit is contained in:
@@ -4,6 +4,7 @@ local command = require("modules.shell_commands")
|
||||
|
||||
-- Example binds, see https://wiki.hypr.land/Configuring/Binds/ for more
|
||||
hl.bind(var.mainMod .. " + RETURN", hl.dsp.exec_cmd(var.terminal), { description = "Open terminal (kitty)" })
|
||||
hl.bind(var.mainMod .. " + ALT + RETURN", hl.dsp.exec_cmd(var.terminal_tmux), { description = "Open terminal (kitty)" })
|
||||
hl.bind(var.mainMod .. " + Q", hl.dsp.window.close(), { description = "Close focused window" })
|
||||
hl.bind(
|
||||
var.mainMod .. " + ESCAPE",
|
||||
|
||||
@@ -9,12 +9,15 @@ local theme = dofile(os.getenv("HOME") .. "/.config/themes/current/theme.lua")
|
||||
-- local var_menu = "noctalia msg panel-toggle launcher"
|
||||
-- local var_screenshot_folder = "~/Bilder/Screenshots/"
|
||||
|
||||
local terminal = "kitty"
|
||||
|
||||
return {
|
||||
color_active_border = theme.border_active,
|
||||
color_inactive_border = theme.border_inactive,
|
||||
color_decoration_shadow = theme.shadow,
|
||||
mainMod = "SUPER",
|
||||
terminal = "kitty",
|
||||
terminal = terminal,
|
||||
terminal_tmux = terminal .. " -e tmux",
|
||||
fileManager = "dolphin",
|
||||
screenshot_folder = "~/Bilder/Screenshots/",
|
||||
}
|
||||
|
||||
@@ -62,7 +62,7 @@ hl.window_rule({
|
||||
match = {
|
||||
class = ".*(kitty|dolphin).*",
|
||||
},
|
||||
opacity = "0.80 0.70",
|
||||
opacity = "0.90 0.80",
|
||||
})
|
||||
-- Noctalia shell surfaces: blur bars/panels/dock/notifications and let
|
||||
-- Noctalia run its own animations (no Hyprland layer animation on top).
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
-- Generated by Noctalia
|
||||
|
||||
local primary = "rgb(cba6f7)"
|
||||
local surface = "rgb(1e1e2e)"
|
||||
local on_surface = "rgb(cdd6f4)"
|
||||
local secondary = "rgb(fab387)"
|
||||
local on_secondary = "rgb(11111b)"
|
||||
local error = "rgb(f38ba8)"
|
||||
local on_error = "rgb(11111b)"
|
||||
|
||||
local function apply_theme()
|
||||
hl.config({
|
||||
general = {
|
||||
col = {
|
||||
active_border = primary,
|
||||
inactive_border = surface,
|
||||
},
|
||||
},
|
||||
group = {
|
||||
col = {
|
||||
border_active = secondary,
|
||||
border_inactive = surface,
|
||||
border_locked_active = error,
|
||||
border_locked_inactive = surface,
|
||||
},
|
||||
|
||||
groupbar = {
|
||||
col = {
|
||||
active = secondary,
|
||||
inactive = surface,
|
||||
locked_active = error,
|
||||
locked_inactive = surface,
|
||||
},
|
||||
text_color = on_secondary,
|
||||
text_color_inactive = on_surface,
|
||||
text_color_locked_active = on_error,
|
||||
text_color_locked_inactive = on_surface,
|
||||
},
|
||||
},
|
||||
})
|
||||
end
|
||||
|
||||
return {
|
||||
colors = {
|
||||
primary = primary,
|
||||
surface = surface,
|
||||
on_surface = on_surface,
|
||||
secondary = secondary,
|
||||
on_secondary = on_secondary,
|
||||
error = error,
|
||||
on_error = on_error,
|
||||
},
|
||||
apply_theme = apply_theme
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
|
||||
set -eu # Exit immediately if a command exits with a non-zero status, and treat unset variables as an error.
|
||||
|
||||
CONF_SOURCE="$HOME/.config/hypr/env.conf.template"
|
||||
CONF_TARGET="$HOME/.config/hypr/env.conf"
|
||||
SH_SOURCE="$HOME/.config/hypr/env.sh.template"
|
||||
SH_TARGET="$HOME/.config/hypr/env.sh"
|
||||
|
||||
|
||||
if [ ! -f "$CONF_TARGET" ]; then
|
||||
cp "$CONF_SOURCE" "$CONF_TARGET"
|
||||
echo "Created $CONF_TARGET from template $CONF_SOURCE"
|
||||
fi
|
||||
|
||||
if [ ! -f "$SH_TARGET" ]; then
|
||||
cp "$SH_SOURCE" "$SH_TARGET"
|
||||
echo "Created $SH_TARGET from template $SH_SOURCE"
|
||||
fi
|
||||
Reference in New Issue
Block a user