add config from gitlab

This commit is contained in:
afoucaultc 2026-07-03 09:15:37 +02:00
commit e02f7f00f9
842 changed files with 297362 additions and 0 deletions

View file

@ -0,0 +1,4 @@
source = ~/.config/hypr/hyprland_config/variables.conf
source = ~/.config/hypr/hyprland_config/*

View file

@ -0,0 +1,72 @@
source = ~/.config/hypr/variables.conf
# BACKGROUND
background {
monitor =
color = #000000
blur_passes = 0
contrast = 1
brightness = 0.5
vibrancy = 0.2
vibrancy_darkness = 0.2
}
# GENERAL
general {
no_fade_in = true
no_fade_out = true
hide_cursor = false
grace = 0
disable_loading_bar = true
}
# INPUT FIELD
input-field {
monitor =
size = 250, 60
outline_thickness = 2
dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
dots_spacing = 0.35 # Scale of dots' absolute size, 0.0 - 1.0
dots_center = true
outer_color = rgba(1, 1, 1, 0)
inner_color = rgba(1, 1, 1, 0.2)
font_color = #000000
fade_on_empty = false
rounding = -1
check_color = rgb(204, 136, 34)
placeholder_text = <i><span foreground="##cdd6f4">Input Password...</span></i>
hide_input = false
position = 0, -200
halign = center
valign = center
}
# DATE
label {
monitor =
text = cmd[update:1000] echo "$(date +"%A, %B %d")"
color = rgba(255,255,255, 0.75)
font_size = 22
font_family = Luciole
position = 0, 100
halign = center
valign = center
}
# TIME
label {
monitor =
text = cmd[update:1000] echo "$(date +"%-I:%M")"
color = rgba(255,255,255, 0.75)
font_size = 95
font_family = Luciole
position = 0, 200
halign = center
valign = center
}
auth {
fingerprint:enabled=true
}

View file

@ -0,0 +1,11 @@
wallpaper {
monitor = eDP-1
path = /home/Antoine/.config/hypr/wallpaper/wallpaper_nightmode.jpg
fit_mode = cover
}
wallpaper {
monitor = HDMI-A-1
path = /home/Antoine/.config/hypr/wallpaper/vertical.jpg
fit_mode = cover
}
splash = false

View file

@ -0,0 +1,7 @@
background = rgba(1a1b26ff)
base = rgba(1a1b26ff)
text = rgba(c0caf5ff)
alternate_base = rgba(24283bff)
bright_text = rgba(16161eff)
accent = rgba(7aa2f7ff)
accent_secondary = rgba(bb9af7ff)

View file

@ -0,0 +1,57 @@
-- shutdown hyprland and lock
hl.bind(
"CTRL + ALT + M",
hl.dsp.exec_cmd("command -v hyprshutdown >/dev/null 2>&1 && hyprshutdown || hyprctl dispatch 'hl.dsp.exit()'"),
{ description = "hyprland shutdown" }
)
hl.bind("CTRL + ALT + L", hl.dsp.exec_cmd(lockscreen))
-- launchers
hl.bind("ALT + D", hl.dsp.exec_cmd(fileManager))
hl.bind("ALT + Q", hl.dsp.exec_cmd(terminal))
hl.bind("ALT + N", hl.dsp.exec_cmd("kitty -e nvim"))
hl.bind("ALT + W", hl.dsp.exec_cmd(app_launcher))
hl.bind("ALT + F", hl.dsp.exec_cmd(browser))
hl.bind("ALT + Z", hl.dsp.exec_cmd("zotero"))
-- window management
hl.bind("ALT + V", hl.dsp.window.float({ action = "toggle" }))
hl.bind("ALT + F4", hl.dsp.window.close())
-- move focus
hl.bind("ALT + L", hl.dsp.focus({ direction = "right" }))
hl.bind("ALT + H", hl.dsp.focus({ direction = "left" }))
hl.bind("ALT + J", hl.dsp.focus({ direction = "up" }))
hl.bind("ALT + K", hl.dsp.focus({ direction = "down" }))
-- move window
hl.bind("CTRL + SUPER + L", hl.dsp.window.move({ direction = "right" }))
hl.bind("CTRL + SUPER + H", hl.dsp.window.move({ direction = "left" }))
hl.bind("CTRL + SUPER + K", hl.dsp.window.move({ direction = "up" }))
hl.bind("CTRL + SUPER + J", hl.dsp.window.move({ direction = "down" }))
-- move to monitor
hl.bind("SUPER + A", hl.dsp.focus({ monitor = monitorA }))
hl.bind("SUPER + B", hl.dsp.focus({ monitor = monitorB }))
hl.bind("CTRL + SUPER + A", hl.dsp.window.move({ monitor = monitorA }))
hl.bind("CTRL + SUPER + B", hl.dsp.window.move({ monitor = monitorB }))
-- change workspace
hl.bind("SUPER + L", hl.dsp.focus({ workspace = "r+1" }))
hl.bind("SUPER + H", hl.dsp.focus({ workspace = "r-1" }))
hl.bind("SUPER + K", hl.dsp.window.move({ workspace = "r+1" }))
hl.bind("SUPER + J", hl.dsp.window.move({ workspace = "r-1" }))
-- screenshot
hl.bind(
"Print",
hl.dsp.exec_cmd(
[[mkdir -p ~/Screenshots && filename=~/Screenshots/"$(date +'%F-%T').png" && grim -g "$(slurp)" "$filename" && wl-copy < "$filename" && gwenview "$filename"]]
)
)
hl.bind("SUPER + V", hl.dsp.exec_cmd("cliphist list | rofi -dmenu -display-columns 2 | cliphist decode | wl-copy"))
-- mouse resize
hl.bind("ALT + mouse:272", hl.dsp.window.drag(), { mouse = true })
hl.bind("ALT + mouse:273", hl.dsp.window.resize(), { mouse = true })
-- brightness
hl.bind("XF86MonBrightnessUp", hl.dsp.exec_cmd("brightnessctl -e4 -n2 set 5%+"))
hl.bind("XF86MonBrightnessDown", hl.dsp.exec_cmd("brightnessctl -e4 -n2 set 5%-"))
hl.bind("XF86AudioRaiseVolume", hl.dsp.exec_cmd("wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+"))
hl.bind("XF86AudioLowerVolume", hl.dsp.exec_cmd("wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"))
hl.bind("XF86AudioMute", hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"))
hl.bind("XF86AudioMicMute", hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"))

View file

@ -0,0 +1,9 @@
-- environment variables
hl.env("LIBVA_DRIVER_NAME", "nvidia")
hl.env("__GLX_VENDOR_LIBRARY_NAME", "nvidia")
hl.env("XDG_CURRENT_DESKTOP", "Hyprland")
hl.env("XDG_SESSION_TYPE", "wayland")
hl.env("NVD_BACKEND", "direct")
hl.env("ELECTRON_OZONE_PLATFORM_HINT", "auto")
hl.env("SCREENSHOT_DIR", "$home/Screenshots")
hl.env("GDK_SCALE", 1)

View file

@ -0,0 +1,23 @@
hl.config({
input = {
kb_layout = "fr",
numlock_by_default = true,
accel_profile = "adaptive",
follow_mouse = 1,
sensitivity = -0.3,
touchpad = {
disable_while_typing = true,
scroll_factor = 1.2,
natural_scroll = false,
middle_button_emulation = false,
},
},
})
hl.device({
name = "elan1203:00-04f3:307a-touchpad",
enabled = false,
})

View file

@ -0,0 +1,13 @@
hl.monitor({
output = monitorA,
mode = "1920x1080@120.00200",
position = "0x0",
scale = "1",
})
hl.monitor({
output = monitorB,
mode = "1920x1080@60",
position = "1920x0",
scale = "1",
})

View file

@ -0,0 +1,6 @@
hl.misc({
force_default_wallpaper = 0,
disable_hyprland_logo = true,
disable_splash_rendering = true,
vrr = 1,
})

View file

@ -0,0 +1,13 @@
hl.on("hyprland.start", function()
hl.exec_cmd("hyprpaper")
hl.exec_cmd("wl-paste --type text --watch cliphist store")
hl.exec_cmd("wl-paste --type image --watch cliphist store")
hl.exec_cmd("systemctl --user start hyprpolkitagent")
hl.exec_cmd("hyprctl setcursor Bibata-Modern-Ice 24")
hl.exec_cmd("noctalia-shell")
-- hl.exec_cmd("hyprpanel")
-- hl.exec_cmd("hyprsunset")
-- hl.exec_cmd("xsettingsd")
-- hl.exec_cmd("nwg-look -a")
hl.exec_cmd("protonmail-bridge")
end)

View file

@ -0,0 +1,68 @@
hl.config({
general = {
gaps_in = 4,
gaps_out = 2,
border_size = 2,
col = {
active_border = { colors = { "rgba(7aa2f7ee)", "rgba(bb9af7ee)" }, angle = 45 },
inactive_border = "rgba(414868aa)",
},
resize_on_border = true,
hover_icon_on_border = true,
allow_tearing = true,
layout = "dwindle",
snap = {
enabled = true,
},
},
decoration = {
rounding = 5,
rounding_power = 10,
-- Change transparency of focused and unfocused windows
active_opacity = 1.0,
inactive_opacity = 1.0,
shadow = {
enabled = false,
range = 4,
render_power = 3,
color = 0xee1a1a1a,
},
blur = {
enabled = false,
size = 3,
passes = 1,
vibrancy = 0.1696,
},
},
animations = {
enabled = false,
},
})
-- tiling managers
hl.config({
dwindle = {
preserve_split = true,
},
master = {
new_status = "master",
orientation = "center",
mfact = "0.5",
},
scrolling = {
fullscreen_on_one_column = true,
column_width = 0.9,
direction = right,
},
})
-- others
hl.config({
misc = {
force_default_wallpaper = 0,
disable_hyprland_logo = true,
vrr = 0,
disable_splash_rendering = true,
},
})

View file

@ -0,0 +1,9 @@
terminal = "kitty"
fileManager = "dolphin"
menu = "wofi --show drun"
home = "/home/afoucaultc/"
lockscreen = "hyprlock"
browser = "zen-beta"
app_launcher = "~/.config/rofi/launchers/type-1/launcher.sh"
monitorA = "eDP-1"
monitorB = "HDMI-A-1"

View file

@ -0,0 +1,7 @@
hl.window_rule({
name = "opacity kitty",
match = {
class = "kitty",
},
opacity = "0.9",
})

View file

@ -0,0 +1,12 @@
local workspaces = {
{
id = 1,
layout = "scroll",
persistent = "true",
},
{
id = 2,
layout = "dwindle",
persistent = "true",
},
}

View file

@ -0,0 +1,15 @@
require("conf.variables")
require("conf.env")
require("conf.binding")
require("conf.input")
require("conf.monitor")
require("conf.startup")
require("conf.style")
require("conf.windowrules")
require("conf.workspace")
-- For Noctalia Color templates
require("noctalia")
-- This loads Noctalia-generated Hyprland colors.
dofile("/home/afoucaultc/.config/hypr/noctalia/noctalia-colors.lua")

View file

@ -0,0 +1,7 @@
background = rgba(010409ff)
base = rgba(010409ff)
text = rgba(c9d1d9ff)
alternate_base = rgba(161b22ff)
bright_text = rgba(010409ff)
accent = rgba(58a6ffff)
accent_secondary = rgba(bc8cffff)

View file

@ -0,0 +1,33 @@
-- Generated by Noctalia
local primary = "rgb(7a88cf)"
local surface = "rgb(1f2335)"
local secondary = "rgb(d7729f)"
local error = "rgb(f7768e)"
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,
},
},
},
})

View file

@ -0,0 +1,25 @@
$primary = rgb(58a6ff)
$surface = rgb(010409)
$secondary = rgb(bc8cff)
$error = rgb(f85149)
$tertiary = rgb(bc8cff)
$surface_lowest = rgb(05080e)
general {
col.active_border = $primary
col.inactive_border = $surface
}
group {
col.border_active = $secondary
col.border_inactive = $surface
col.border_locked_active = $error
col.border_locked_inactive = $surface
groupbar {
col.active = $secondary
col.inactive = $surface
col.locked_active = $error
col.locked_inactive = $surface
}
}

View file

@ -0,0 +1,35 @@
-- Colors template generated by Noctalia
-- Source command is:
-- dofile(os.getenv("HOME") .. "/.config/hypr/noctalia/noctalia-colors.lua")
local primary = "rgb(58a6ff)"
local surface = "rgb(010409)"
local secondary = "rgb(bc8cff)"
local error = "rgb(f85149)"
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,
},
},
},
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

View file

@ -0,0 +1,25 @@
Light mode :
Lumineux
#73020C
#D9C49C
#F2E2CE
#BF895A
#0D0000
Sombre
#73020C
#010D00
#F2E2CE
#BF895A
#260101
Dark mode :
#1C1D26
#222940
#2F4C73
#4681A6
#56ACBF
sombre
#1C1D26
#242426
#222940
#253659
#3A668C

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 MiB