Compare commits
3 Commits
16b266ca1c
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 9fb0f6c781 | |||
| 221369e398 | |||
| 8d22813645 |
110
hyprlock.conf
Normal file
110
hyprlock.conf
Normal file
@@ -0,0 +1,110 @@
|
|||||||
|
source = $HOME/.config/hypr/hyprlock/mocha.conf
|
||||||
|
|
||||||
|
$accent = $mauve
|
||||||
|
$accentAlpha = $mauveAlpha
|
||||||
|
$font = JetBrainsMono Nerd Font
|
||||||
|
|
||||||
|
# GENERAL
|
||||||
|
general {
|
||||||
|
hide_cursor = true
|
||||||
|
}
|
||||||
|
|
||||||
|
# BACKGROUND
|
||||||
|
background {
|
||||||
|
monitor =
|
||||||
|
path = screenshot
|
||||||
|
blur_passes = 3
|
||||||
|
color = rgba(0, 0, 0, 0)
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# LAYOUT
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = Layout: $LAYOUT
|
||||||
|
color = $text
|
||||||
|
font_size = 25
|
||||||
|
font_family = $font
|
||||||
|
position = 30, -30
|
||||||
|
halign = left
|
||||||
|
valign = top
|
||||||
|
}
|
||||||
|
|
||||||
|
# TIME
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = $TIME
|
||||||
|
color = $text
|
||||||
|
font_size = 90
|
||||||
|
font_family = $font
|
||||||
|
position = -30, 0
|
||||||
|
halign = right
|
||||||
|
valign = top
|
||||||
|
}
|
||||||
|
|
||||||
|
# DATE
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = cmd[update:43200000] date +"%A, %d %B %Y"
|
||||||
|
color = $text
|
||||||
|
font_size = 25
|
||||||
|
font_family = $font
|
||||||
|
position = -30, -150
|
||||||
|
halign = right
|
||||||
|
valign = top
|
||||||
|
}
|
||||||
|
|
||||||
|
# FINGERPRINT
|
||||||
|
{
|
||||||
|
monitor = "";
|
||||||
|
text = "$FPRINTPROMPT";
|
||||||
|
color = "$text";
|
||||||
|
font_size = 14;
|
||||||
|
font_family = $font;
|
||||||
|
position = "0, -107";
|
||||||
|
halign = "center";
|
||||||
|
valign = "center";
|
||||||
|
}
|
||||||
|
|
||||||
|
image {
|
||||||
|
path = $HOME/.config/hypr/hyprlock/cat.png
|
||||||
|
size = 240
|
||||||
|
border_color = transparent
|
||||||
|
rounding = 0
|
||||||
|
position = 0, 7px
|
||||||
|
}
|
||||||
|
|
||||||
|
# USER AVATAR
|
||||||
|
image {
|
||||||
|
monitor =
|
||||||
|
path = $HOME/.face
|
||||||
|
size = 100
|
||||||
|
border_color = $accent
|
||||||
|
position = 0, 75
|
||||||
|
halign = center
|
||||||
|
valign = center
|
||||||
|
}
|
||||||
|
|
||||||
|
# INPUT FIELD
|
||||||
|
input-field {
|
||||||
|
monitor =
|
||||||
|
size = 300, 60
|
||||||
|
outline_thickness = 4
|
||||||
|
dots_size = 0.2
|
||||||
|
dots_spacing = 0.2
|
||||||
|
dots_center = true
|
||||||
|
outer_color = $accent
|
||||||
|
inner_color = $surface0
|
||||||
|
font_color = $text
|
||||||
|
fade_on_empty = false
|
||||||
|
placeholder_text = <span foreground="##$textAlpha"><i> Logged in as </i><span foreground="##$accentAlpha">$USER</span></span>
|
||||||
|
hide_input = false
|
||||||
|
check_color = $accent
|
||||||
|
fail_color = $red
|
||||||
|
fail_text = <i>$FAIL <b>($ATTEMPTS)</b></i>
|
||||||
|
capslock_color = $yellow
|
||||||
|
position = 0, -47
|
||||||
|
halign = center
|
||||||
|
valign = center
|
||||||
|
}
|
||||||
|
|
||||||
BIN
hyprlock/cat.png
Normal file
BIN
hyprlock/cat.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.5 KiB |
79
hyprlock/mocha.conf
Normal file
79
hyprlock/mocha.conf
Normal file
@@ -0,0 +1,79 @@
|
|||||||
|
|
||||||
|
$rosewater = rgb(f5e0dc)
|
||||||
|
$rosewaterAlpha = f5e0dc
|
||||||
|
|
||||||
|
$flamingo = rgb(f2cdcd)
|
||||||
|
$flamingoAlpha = f2cdcd
|
||||||
|
|
||||||
|
$pink = rgb(f5c2e7)
|
||||||
|
$pinkAlpha = f5c2e7
|
||||||
|
|
||||||
|
$mauve = rgb(cba6f7)
|
||||||
|
$mauveAlpha = cba6f7
|
||||||
|
|
||||||
|
$red = rgb(f38ba8)
|
||||||
|
$redAlpha = f38ba8
|
||||||
|
|
||||||
|
$maroon = rgb(eba0ac)
|
||||||
|
$maroonAlpha = eba0ac
|
||||||
|
|
||||||
|
$peach = rgb(fab387)
|
||||||
|
$peachAlpha = fab387
|
||||||
|
|
||||||
|
$yellow = rgb(f9e2af)
|
||||||
|
$yellowAlpha = f9e2af
|
||||||
|
|
||||||
|
$green = rgb(a6e3a1)
|
||||||
|
$greenAlpha = a6e3a1
|
||||||
|
|
||||||
|
$teal = rgb(94e2d5)
|
||||||
|
$tealAlpha = 94e2d5
|
||||||
|
|
||||||
|
$sky = rgb(89dceb)
|
||||||
|
$skyAlpha = 89dceb
|
||||||
|
|
||||||
|
$sapphire = rgb(74c7ec)
|
||||||
|
$sapphireAlpha = 74c7ec
|
||||||
|
|
||||||
|
$blue = rgb(89b4fa)
|
||||||
|
$blueAlpha = 89b4fa
|
||||||
|
|
||||||
|
$lavender = rgb(b4befe)
|
||||||
|
$lavenderAlpha = b4befe
|
||||||
|
|
||||||
|
$text = rgb(cdd6f4)
|
||||||
|
$textAlpha = cdd6f4
|
||||||
|
|
||||||
|
$subtext1 = rgb(bac2de)
|
||||||
|
$subtext1Alpha = bac2de
|
||||||
|
|
||||||
|
$subtext0 = rgb(a6adc8)
|
||||||
|
$subtext0Alpha = a6adc8
|
||||||
|
|
||||||
|
$overlay2 = rgb(9399b2)
|
||||||
|
$overlay2Alpha = 9399b2
|
||||||
|
|
||||||
|
$overlay1 = rgb(7f849c)
|
||||||
|
$overlay1Alpha = 7f849c
|
||||||
|
|
||||||
|
$overlay0 = rgb(6c7086)
|
||||||
|
$overlay0Alpha = 6c7086
|
||||||
|
|
||||||
|
$surface2 = rgb(585b70)
|
||||||
|
$surface2Alpha = 585b70
|
||||||
|
|
||||||
|
$surface1 = rgb(45475a)
|
||||||
|
$surface1Alpha = 45475a
|
||||||
|
|
||||||
|
$surface0 = rgb(313244)
|
||||||
|
$surface0Alpha = 313244
|
||||||
|
|
||||||
|
$base = rgb(1e1e2e)
|
||||||
|
$baseAlpha = 1e1e2eee
|
||||||
|
|
||||||
|
$mantle = rgb(181825)
|
||||||
|
$mantleAlpha = 181825
|
||||||
|
|
||||||
|
$crust = rgb(11111b)
|
||||||
|
$crustAlpha = 11111b
|
||||||
|
|
||||||
@@ -13,7 +13,7 @@ if Hostname == "mobile02" then
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- Delete windows
|
-- Delete windows
|
||||||
hl.bind(mainMod .. " + backspace", hl.dsp.window.close())
|
hl.bind(mainMod .. "backspace", hl.dsp.window.close())
|
||||||
|
|
||||||
-- If otter is open, focus it, if not make a new window
|
-- If otter is open, focus it, if not make a new window
|
||||||
hl.bind(mainMod .. "d", function()
|
hl.bind(mainMod .. "d", function()
|
||||||
@@ -29,6 +29,7 @@ local globalAppBinds = {
|
|||||||
{ key = { "RETURN" }, dispatch = "kitty" },
|
{ key = { "RETURN" }, dispatch = "kitty" },
|
||||||
{ key = { "f", "o" }, dispatch = "firefox" },
|
{ key = { "f", "o" }, dispatch = "firefox" },
|
||||||
{ key = { "s" }, dispatch = "nemo" },
|
{ key = { "s" }, dispatch = "nemo" },
|
||||||
|
{ key = { "a", "e" }, dispatch = "wlogout -b 5" },
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, bind in ipairs(globalAppBinds) do
|
for _, bind in ipairs(globalAppBinds) do
|
||||||
@@ -51,8 +52,6 @@ for index, bind in ipairs(keyboardSplit) do
|
|||||||
hl.bind(mainMod .. "SHIFT + " .. bind, hl.dsp.window.move({ workspace = index, follow = false }))
|
hl.bind(mainMod .. "SHIFT + " .. bind, hl.dsp.window.move({ workspace = index, follow = false }))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
-- Music workspace
|
-- Music workspace
|
||||||
hl.bind(mainMod .. "m", hl.dsp.workspace.toggle_special("music"))
|
hl.bind(mainMod .. "m", hl.dsp.workspace.toggle_special("music"))
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,9 @@ elseif Hostname == "mobile02" then
|
|||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
table.insert(appList, localAppList)
|
for _, command in ipairs(localAppList) do
|
||||||
|
table.insert(appList, command)
|
||||||
|
end
|
||||||
|
|
||||||
-- For everything in the applist run it on startup
|
-- For everything in the applist run it on startup
|
||||||
hl.on("hyprland.start", function()
|
hl.on("hyprland.start", function()
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
-- Size for otter launcher
|
-- Size for otter launcher
|
||||||
|
local otterSize = { 410, 220 }
|
||||||
|
if Hostname == "mobile02" then
|
||||||
|
otterSize = { 420, 220 }
|
||||||
|
end
|
||||||
hl.window_rule({
|
hl.window_rule({
|
||||||
name = "otter-launcher",
|
name = "otter-launcher",
|
||||||
match = {
|
match = {
|
||||||
@@ -6,7 +10,7 @@ hl.window_rule({
|
|||||||
},
|
},
|
||||||
float = true,
|
float = true,
|
||||||
animation = "popin 80%",
|
animation = "popin 80%",
|
||||||
size = { 410, 220 },
|
size = otterSize,
|
||||||
opaque = true,
|
opaque = true,
|
||||||
})
|
})
|
||||||
|
|
||||||
@@ -94,3 +98,32 @@ hl.window_rule({
|
|||||||
|
|
||||||
no_focus = true,
|
no_focus = true,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- Wlogout blur and stuff
|
||||||
|
hl.layer_rule({
|
||||||
|
name = "wlogout blur",
|
||||||
|
match = {
|
||||||
|
namespace = "logout_dialog",
|
||||||
|
},
|
||||||
|
blur = true,
|
||||||
|
})
|
||||||
|
|
||||||
|
-- Notifications
|
||||||
|
hl.layer_rule({
|
||||||
|
name = "notification blur",
|
||||||
|
match = {
|
||||||
|
namespace = "notifications",
|
||||||
|
},
|
||||||
|
blur = true,
|
||||||
|
ignore_alpha = 0,
|
||||||
|
})
|
||||||
|
|
||||||
|
-- Waybar blur
|
||||||
|
hl.layer_rule({
|
||||||
|
name = "waybar blur",
|
||||||
|
match = {
|
||||||
|
namespace = "waybar",
|
||||||
|
},
|
||||||
|
blur = true,
|
||||||
|
ignore_alpha = 0,
|
||||||
|
})
|
||||||
|
|||||||
@@ -38,9 +38,6 @@ for _, bezier in ipairs(beziers) do
|
|||||||
end
|
end
|
||||||
|
|
||||||
local animations = {
|
local animations = {
|
||||||
-- Default animation
|
|
||||||
{ leaf = "global", speed = 5, spring = "mediumSpring" },
|
|
||||||
|
|
||||||
-- Window animations
|
-- Window animations
|
||||||
{ leaf = "windows", speed = 2, spring = "mediumSpring", style = "slide right" },
|
{ leaf = "windows", speed = 2, spring = "mediumSpring", style = "slide right" },
|
||||||
{ leaf = "windowsOut", speed = 2, bezier = "heavyOvershoot", style = "popin 30%" },
|
{ leaf = "windowsOut", speed = 2, bezier = "heavyOvershoot", style = "popin 30%" },
|
||||||
|
|||||||
Reference in New Issue
Block a user