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("/usr/libexec/hyprpolkitagent")
|
||||||
hl.exec_cmd("dunst")
|
hl.exec_cmd("dunst")
|
||||||
hl.exec_cmd("killall -q waybar; sleep .5 && env LC_TIME=de_DE.UTF-8 waybar")
|
hl.exec_cmd("killall -q waybar; sleep .5 && env LC_TIME=de_DE.UTF-8 waybar")
|
||||||
|
hl.exec_cmd("hypridle")
|
||||||
end)
|
end)
|
||||||
|
|||||||
@@ -60,7 +60,9 @@ hl.config({
|
|||||||
},
|
},
|
||||||
|
|
||||||
cursor = {
|
cursor = {
|
||||||
no_hardware_cursors = 1
|
no_hardware_cursors = 1,
|
||||||
|
no_warps = true,
|
||||||
|
hide_on_key_press = true
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
@@ -114,9 +116,11 @@ hl.config({
|
|||||||
input = {
|
input = {
|
||||||
kb_layout = "de",
|
kb_layout = "de",
|
||||||
kb_variant = "nodeadkeys",
|
kb_variant = "nodeadkeys",
|
||||||
|
|
||||||
follow_mouse = 1,
|
follow_mouse = 1,
|
||||||
sensitivity = 0.2,
|
sensitivity = 0,
|
||||||
force_no_accel = 1,
|
-- force_no_accel = 1,
|
||||||
|
accel_profile = "flat",
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -43,17 +43,19 @@ hl.window_rule({
|
|||||||
title = "^(notificationtoasts_.*)$"
|
title = "^(notificationtoasts_.*)$"
|
||||||
},
|
},
|
||||||
no_focus = true,
|
no_focus = true,
|
||||||
no_initial_focus = true
|
no_initial_focus = true,
|
||||||
|
focus_on_activate = false,
|
||||||
|
suppress_event = "activate activatefocus"
|
||||||
})
|
})
|
||||||
|
|
||||||
hl.window_rule({
|
hl.window_rule({
|
||||||
name = "discord",
|
name = "discord",
|
||||||
match = {
|
match = {
|
||||||
class = "discord"
|
class = "[dD]iscord"
|
||||||
},
|
},
|
||||||
monitor = SECONDARY_DISPLAY,
|
monitor = SECONDARY_DISPLAY,
|
||||||
workspace = "6 silent",
|
workspace = "6 silent",
|
||||||
no_initial_focus = true,
|
no_initial_focus = true,
|
||||||
focus_on_activate = false,
|
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 {
|
general {
|
||||||
no_fade_in = false
|
hide_cursor = true
|
||||||
grace = 0
|
|
||||||
disable_loading_bar = true
|
|
||||||
hide_cursor = true
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# INPUT FIELD
|
animations {
|
||||||
input-field {
|
enabled = true
|
||||||
monitor = DP-4
|
bezier = ease, 0.25, 0.1, 0.25, 1.0
|
||||||
size = 250, 60
|
animation = fadeIn, 1, 4, ease
|
||||||
outline_thickness = 2
|
animation = fadeOut, 1, 4, ease
|
||||||
dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
|
animation = inputFieldDots, 1, 2, ease
|
||||||
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
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# 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 {
|
label {
|
||||||
monitor = DP-4
|
monitor = DP-7
|
||||||
text = cmd[update:1000] date +"%-I:%M%p"
|
text = $TIME
|
||||||
# color = $foreground
|
color = rgba(245, 247, 250, 0.92)
|
||||||
color = rgba(255, 255, 255, 0.6)
|
font_size = 96
|
||||||
font_size = 120
|
font_family = $font
|
||||||
font_family = JetBrains Mono Nerd Font Mono ExtraBold
|
position = 0, -130
|
||||||
position = 0, -300
|
|
||||||
halign = center
|
halign = center
|
||||||
valign = top
|
valign = top
|
||||||
}
|
}
|
||||||
|
|
||||||
# USER
|
|
||||||
label {
|
label {
|
||||||
monitor = DP-4
|
monitor = DP-7
|
||||||
text = Hi there, Zam
|
text = cmd[update:60000] date +"%A, %d %B"
|
||||||
# color = $foreground
|
color = rgba(220, 225, 232, 0.78)
|
||||||
color = rgba(255, 255, 255, 0.6)
|
font_size = 24
|
||||||
font_size = 25
|
font_family = $font
|
||||||
font_family = JetBrains Mono Nerd Font Mono
|
position = 0, -295
|
||||||
position = 0, -40
|
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
|
halign = center
|
||||||
valign = center
|
valign = center
|
||||||
}
|
}
|
||||||
|
|
||||||
# CURRENT SONG
|
label {
|
||||||
# label {
|
monitor = DP-7
|
||||||
# monitor = DP-3
|
text = $LAYOUT
|
||||||
# text = cmd[update:1000] echo "$(~/Documents/Scripts/whatsong.sh)"
|
color = rgba(220, 225, 232, 0.55)
|
||||||
# color = $foreground
|
font_size = 16
|
||||||
# #color = rgba(255, 255, 255, 0.6)
|
font_family = $font
|
||||||
# font_size = 18
|
position = -32, 28
|
||||||
# font_family = JetBrainsMono, Font Awesome 6 Free Solid
|
halign = right
|
||||||
# position = 0, -50
|
valign = bottom
|
||||||
# halign = center
|
}
|
||||||
# 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
|
|
||||||
}
|
|
||||||
@@ -59,10 +59,10 @@ local function smart_move(direction, vim_cmd)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
vim.keymap.set('n', '<D-h>', smart_move("left", "h"), { noremap = true, silent = false, desc = "Move to left windows" });
|
vim.keymap.set({ 'n', 'i', 'v' }, '<D-h>', smart_move("left", "h"), { noremap = true, silent = false, desc = "Move to left windows" });
|
||||||
vim.keymap.set('n', '<D-l>', smart_move("right", "l"), { noremap = true, silent = false, desc = "Move to right windows" });
|
vim.keymap.set({ 'n', 'i', 'v' }, '<D-l>', smart_move("right", "l"), { noremap = true, silent = false, desc = "Move to right windows" });
|
||||||
vim.keymap.set('n', '<D-j>', smart_move("down", "j"), { noremap = true, silent = false, desc = "Move to down window" });
|
vim.keymap.set({ 'n', 'i', 'v' }, '<D-j>', smart_move("down", "j"), { noremap = true, silent = false, desc = "Move to down window" });
|
||||||
vim.keymap.set('n', '<D-k>', smart_move("up", "k"), { noremap = true, silent = false, desc = "Move to up window" });
|
vim.keymap.set({ 'n', 'i', 'v' }, '<D-k>', smart_move("up", "k"), { noremap = true, silent = false, desc = "Move to up window" });
|
||||||
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,21 @@ return
|
|||||||
lazy = false,
|
lazy = false,
|
||||||
config = function()
|
config = function()
|
||||||
require("catppuccin").setup({
|
require("catppuccin").setup({
|
||||||
transparent_background = true,
|
transparent_background = false,
|
||||||
|
|
||||||
|
custom_highlights = function(colors)
|
||||||
|
return {
|
||||||
|
Normal = { bg = colors.base },
|
||||||
|
NormalNC = { bg = colors.mantle },
|
||||||
|
|
||||||
|
WinSeparator = { fg = colors.surface1, bg = colors.mantle },
|
||||||
|
|
||||||
|
StatusLine = { fg = colors.text, bg = colors.surface0 },
|
||||||
|
StatusLineNC = { fg = colors.overlay0, bg = colors.mantle },
|
||||||
|
|
||||||
|
CursorLine = { bg = colors.surface0 },
|
||||||
|
}
|
||||||
|
end
|
||||||
})
|
})
|
||||||
|
|
||||||
vim.cmd.colorscheme "catppuccin"
|
vim.cmd.colorscheme "catppuccin"
|
||||||
|
|||||||
@@ -3,9 +3,9 @@ return {
|
|||||||
dependencies = { 'nvim-tree/nvim-web-devicons' },
|
dependencies = { 'nvim-tree/nvim-web-devicons' },
|
||||||
config = function()
|
config = function()
|
||||||
require('lualine').setup({
|
require('lualine').setup({
|
||||||
-- options = {
|
options = {
|
||||||
-- theme = 'catppuccin'
|
theme = 'catppuccin-mocha'
|
||||||
-- },
|
},
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,10 +7,10 @@ vim.opt.expandtab = true
|
|||||||
|
|
||||||
vim.opt.clipboard:append("unnamedplus")
|
vim.opt.clipboard:append("unnamedplus")
|
||||||
|
|
||||||
vim.cmd("highlight Normal guibg=none")
|
-- vim.cmd("highlight Normal guibg=none")
|
||||||
vim.cmd("highlight NonText guibg=none")
|
-- vim.cmd("highlight NonText guibg=none")
|
||||||
vim.cmd("highlight Normal ctermbg=none")
|
-- vim.cmd("highlight Normal ctermbg=none")
|
||||||
vim.cmd("highlight NonText ctermbg=none")
|
-- vim.cmd("highlight NonText ctermbg=none")
|
||||||
|
|
||||||
vim.o.winborder = 'rounded'
|
vim.o.winborder = 'rounded'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user