update nvim and hypr conf
This commit is contained in:
@@ -7,4 +7,5 @@ hl.on("hyprland.start", function()
|
||||
hl.exec_cmd("/usr/libexec/hyprpolkitagent")
|
||||
hl.exec_cmd("dunst")
|
||||
hl.exec_cmd("killall -q waybar; sleep .5 && env LC_TIME=de_DE.UTF-8 waybar")
|
||||
hl.exec_cmd("hypridle")
|
||||
end)
|
||||
|
||||
@@ -60,7 +60,9 @@ hl.config({
|
||||
},
|
||||
|
||||
cursor = {
|
||||
no_hardware_cursors = 1
|
||||
no_hardware_cursors = 1,
|
||||
no_warps = true,
|
||||
hide_on_key_press = true
|
||||
}
|
||||
})
|
||||
|
||||
@@ -114,9 +116,11 @@ hl.config({
|
||||
input = {
|
||||
kb_layout = "de",
|
||||
kb_variant = "nodeadkeys",
|
||||
|
||||
follow_mouse = 1,
|
||||
sensitivity = 0.2,
|
||||
force_no_accel = 1,
|
||||
sensitivity = 0,
|
||||
-- force_no_accel = 1,
|
||||
accel_profile = "flat",
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
@@ -43,17 +43,19 @@ hl.window_rule({
|
||||
title = "^(notificationtoasts_.*)$"
|
||||
},
|
||||
no_focus = true,
|
||||
no_initial_focus = true
|
||||
no_initial_focus = true,
|
||||
focus_on_activate = false,
|
||||
suppress_event = "activate activatefocus"
|
||||
})
|
||||
|
||||
hl.window_rule({
|
||||
name = "discord",
|
||||
match = {
|
||||
class = "discord"
|
||||
class = "[dD]iscord"
|
||||
},
|
||||
monitor = SECONDARY_DISPLAY,
|
||||
workspace = "6 silent",
|
||||
no_initial_focus = true,
|
||||
focus_on_activate = false,
|
||||
suppress_event = "activatefocus"
|
||||
suppress_event = "active activatefocus"
|
||||
})
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
IS_LOCKED=$(ps -e | grep hyprlock)
|
||||
|
||||
if [ -z "$IS_LOCKED" ]
|
||||
then
|
||||
hyprlock
|
||||
fi
|
||||
@@ -1,90 +1,117 @@
|
||||
# source = ~/.cache/wal/colors-hyprland.conf
|
||||
$font = Noto Sans
|
||||
|
||||
# BACKGROUND
|
||||
background {
|
||||
monitor = DP-4
|
||||
path = /home/zam/.config/wallpapers/wall0.png
|
||||
blur_passes = 3
|
||||
contrast = 0.8916
|
||||
brightness = 0.8172
|
||||
vibrancy = 0.1696
|
||||
vibrancy_darkness = 0.0
|
||||
}
|
||||
|
||||
background {
|
||||
monitor = DP-3
|
||||
path = /home/zam/.config/wallpapers/wall1.png
|
||||
blur_passes = 3
|
||||
contrast = 0.8916
|
||||
brightness = 0.8172
|
||||
vibrancy = 0.1696
|
||||
vibrancy_darkness = 0.0
|
||||
}
|
||||
|
||||
# GENERAL
|
||||
general {
|
||||
no_fade_in = false
|
||||
grace = 0
|
||||
disable_loading_bar = true
|
||||
hide_cursor = true
|
||||
hide_cursor = true
|
||||
}
|
||||
|
||||
# INPUT FIELD
|
||||
input-field {
|
||||
monitor = DP-4
|
||||
size = 250, 60
|
||||
outline_thickness = 2
|
||||
dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
|
||||
dots_spacing = 0.2 # Scale of dots' absolute size, 0.0 - 1.0
|
||||
dots_center = true
|
||||
outer_color = rgba(0, 0, 0, 0)
|
||||
inner_color = rgba(0, 0, 0, 0.5)
|
||||
font_color = rgb(200, 200, 200)
|
||||
fade_on_empty = false
|
||||
# font_family = JetBrains Mono Nerd Font Mono
|
||||
placeholder_text = <i><span foreground="##cdd6f4">Input Password...</span></i>
|
||||
hide_input = false
|
||||
position = 0, -120
|
||||
halign = center
|
||||
valign = center
|
||||
animations {
|
||||
enabled = true
|
||||
bezier = ease, 0.25, 0.1, 0.25, 1.0
|
||||
animation = fadeIn, 1, 4, ease
|
||||
animation = fadeOut, 1, 4, ease
|
||||
animation = inputFieldDots, 1, 2, ease
|
||||
}
|
||||
|
||||
# TIME
|
||||
background {
|
||||
monitor = DP-7
|
||||
path = screenshot
|
||||
blur_passes = 4
|
||||
contrast = 0.95
|
||||
brightness = 0.55
|
||||
vibrancy = 0.18
|
||||
vibrancy_darkness = 0.2
|
||||
}
|
||||
|
||||
background {
|
||||
monitor = DP-6
|
||||
path = screenshot
|
||||
blur_passes = 4
|
||||
contrast = 0.95
|
||||
brightness = 0.50
|
||||
vibrancy = 0.16
|
||||
vibrancy_darkness = 0.25
|
||||
}
|
||||
|
||||
# Main monitor: DP-7
|
||||
label {
|
||||
monitor = DP-4
|
||||
text = cmd[update:1000] date +"%-I:%M%p"
|
||||
# color = $foreground
|
||||
color = rgba(255, 255, 255, 0.6)
|
||||
font_size = 120
|
||||
font_family = JetBrains Mono Nerd Font Mono ExtraBold
|
||||
position = 0, -300
|
||||
monitor = DP-7
|
||||
text = $TIME
|
||||
color = rgba(245, 247, 250, 0.92)
|
||||
font_size = 96
|
||||
font_family = $font
|
||||
position = 0, -130
|
||||
halign = center
|
||||
valign = top
|
||||
}
|
||||
|
||||
# USER
|
||||
label {
|
||||
monitor = DP-4
|
||||
text = Hi there, Zam
|
||||
# color = $foreground
|
||||
color = rgba(255, 255, 255, 0.6)
|
||||
font_size = 25
|
||||
font_family = JetBrains Mono Nerd Font Mono
|
||||
position = 0, -40
|
||||
monitor = DP-7
|
||||
text = cmd[update:60000] date +"%A, %d %B"
|
||||
color = rgba(220, 225, 232, 0.78)
|
||||
font_size = 24
|
||||
font_family = $font
|
||||
position = 0, -295
|
||||
halign = center
|
||||
valign = top
|
||||
}
|
||||
|
||||
input-field {
|
||||
monitor = DP-7
|
||||
size = 420, 58
|
||||
outline_thickness = 2
|
||||
rounding = 14
|
||||
|
||||
outer_color = rgba(33ccffee) rgba(00ff99ee) 45deg
|
||||
check_color = rgba(00ff99ee) rgba(33ccffee) 45deg
|
||||
fail_color = rgba(ff6633ee) rgba(ff0066ee) 45deg
|
||||
|
||||
inner_color = rgba(12, 14, 18, 0.58)
|
||||
font_color = rgba(245, 247, 250, 0.90)
|
||||
font_family = $font
|
||||
|
||||
dots_size = 0.22
|
||||
dots_spacing = 0.24
|
||||
dots_center = true
|
||||
|
||||
fade_on_empty = false
|
||||
placeholder_text = <span foreground="##dce1e8">Password</span>
|
||||
fail_text = <span foreground="##ff8a8a">$PAMFAIL</span>
|
||||
|
||||
position = 0, -95
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
||||
# CURRENT SONG
|
||||
# label {
|
||||
# monitor = DP-3
|
||||
# text = cmd[update:1000] echo "$(~/Documents/Scripts/whatsong.sh)"
|
||||
# color = $foreground
|
||||
# #color = rgba(255, 255, 255, 0.6)
|
||||
# font_size = 18
|
||||
# font_family = JetBrainsMono, Font Awesome 6 Free Solid
|
||||
# position = 0, -50
|
||||
# halign = center
|
||||
# valign = bottom
|
||||
# }
|
||||
#
|
||||
label {
|
||||
monitor = DP-7
|
||||
text = $LAYOUT
|
||||
color = rgba(220, 225, 232, 0.55)
|
||||
font_size = 16
|
||||
font_family = $font
|
||||
position = -32, 28
|
||||
halign = right
|
||||
valign = bottom
|
||||
}
|
||||
|
||||
# Secondary rotated monitor: DP-6
|
||||
label {
|
||||
monitor = DP-6
|
||||
text = $TIME
|
||||
color = rgba(245, 247, 250, 0.74)
|
||||
font_size = 58
|
||||
font_family = $font
|
||||
position = 0, -80
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
||||
label {
|
||||
monitor = DP-6
|
||||
text = cmd[update:60000] date +"%d %b"
|
||||
color = rgba(220, 225, 232, 0.58)
|
||||
font_size = 22
|
||||
font_family = $font
|
||||
position = 0, -145
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
preload = ~/.config/wallpapers/wall0.jpg
|
||||
preload = ~/.config/wallpapers/wall1.jpg
|
||||
|
||||
wallpaper {
|
||||
monitor = DP-4
|
||||
path = ~/.config/wallpapers/wall0.jpg
|
||||
}
|
||||
|
||||
wallpaper {
|
||||
monitor = DP-3
|
||||
path = ~/.config/wallpapers/wall1.jpg
|
||||
}
|
||||
Reference in New Issue
Block a user