repaired cursor

This commit is contained in:
afoucaultc 2026-07-08 09:40:28 +02:00
parent df94405cef
commit 42df7f684a
16 changed files with 162 additions and 108 deletions

View file

@ -1,72 +0,0 @@
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

@ -1,7 +0,0 @@
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

@ -27,10 +27,13 @@ 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 + K", hl.dsp.window.move({ direction = "up" }))
hl.bind("CTRL + SUPER + J", hl.dsp.window.move({ direction = "down" })) hl.bind("CTRL + SUPER + J", hl.dsp.window.move({ direction = "down" }))
-- move to monitor -- move to monitor
hl.bind("SUPER + A", hl.dsp.focus({ monitor = monitorA })) hl.bind("ALT + A", hl.dsp.focus({ monitor = monitorA }))
hl.bind("SUPER + B", hl.dsp.focus({ monitor = monitorB })) hl.bind("ALT + B", hl.dsp.focus({ monitor = monitorB }))
hl.bind("ALT + B", hl.dsp.focus({ monitor = monitorC }))
hl.bind("CTRL + SUPER + A", hl.dsp.window.move({ monitor = monitorA })) hl.bind("CTRL + SUPER + A", hl.dsp.window.move({ monitor = monitorA }))
hl.bind("CTRL + SUPER + B", hl.dsp.window.move({ monitor = monitorB })) hl.bind("CTRL + SUPER + B", hl.dsp.window.move({ monitor = monitorB }))
hl.bind("CTRL + SUPER + B", hl.dsp.window.move({ monitor = monitorC }))
-- change workspace -- change workspace
hl.bind("SUPER + L", hl.dsp.focus({ workspace = "r+1" })) hl.bind("SUPER + L", hl.dsp.focus({ workspace = "r+1" }))
hl.bind("SUPER + H", hl.dsp.focus({ workspace = "r-1" })) hl.bind("SUPER + H", hl.dsp.focus({ workspace = "r-1" }))

View file

@ -7,3 +7,7 @@ hl.env("NVD_BACKEND", "direct")
hl.env("ELECTRON_OZONE_PLATFORM_HINT", "auto") hl.env("ELECTRON_OZONE_PLATFORM_HINT", "auto")
hl.env("SCREENSHOT_DIR", "$home/Screenshots") hl.env("SCREENSHOT_DIR", "$home/Screenshots")
hl.env("GDK_SCALE", 1) hl.env("GDK_SCALE", 1)
hl.env("XCURSOR_THEME", "Bibata-Modern-Ice")
hl.env("XCURSOR_SIZE", 24)
hl.env("HYPRCURSOR_THEME", "Bibata-Modern-Ice")
hl.env("HYPRCURSOR_SIZE", 24)

View file

@ -1,6 +1,14 @@
hl.misc({ hl.config({
force_default_wallpaper = 0, misc = {
disable_hyprland_logo = true, force_default_wallpaper = 0,
disable_splash_rendering = true, disable_hyprland_logo = true,
vrr = 1, disable_splash_rendering = true,
vrr = 1,
},
})
hl.config({
cursor = {
enable_hyprcursor = false,
no_hardware_cursors = true,
},
}) })

View file

@ -4,7 +4,6 @@ hl.on("hyprland.start", function()
hl.exec_cmd("wl-paste --type image --watch cliphist store") hl.exec_cmd("wl-paste --type image --watch cliphist store")
hl.exec_cmd("systemctl --user start hyprpolkitagent") hl.exec_cmd("systemctl --user start hyprpolkitagent")
hl.exec_cmd("hyprctl setcursor Bibata-Modern-Ice 24") hl.exec_cmd("hyprctl setcursor Bibata-Modern-Ice 24")
hl.exec_cmd("./~/nixos-config/dotfiles/hypr/unlockbridge.sh")
-- hl.exec_cmd("noctalia-shell") -- hl.exec_cmd("noctalia-shell")
-- hl.exec_cmd("hyprpanel") -- hl.exec_cmd("hyprpanel")
-- hl.exec_cmd("hyprsunset") -- hl.exec_cmd("hyprsunset")

View file

@ -49,7 +49,7 @@ hl.config({
master = { master = {
new_status = "slave", new_status = "slave",
orientation = "left", orientation = "left",
mfact = "0.7", mfact = "0.6",
}, },
scrolling = { scrolling = {
fullscreen_on_one_column = true, fullscreen_on_one_column = true,

View file

@ -1,7 +1,8 @@
require("conf.variables") require("conf.variables")
require("conf.env")
require("conf.binding") require("conf.binding")
require("conf.env")
require("conf.input") require("conf.input")
require("conf.others")
require("conf.monitor") require("conf.monitor")
require("conf.startup") require("conf.startup")
require("conf.style") require("conf.style")

118
dotfiles/hypr/hyprlock.conf Normal file
View file

@ -0,0 +1,118 @@
source = ~/.config/hypr/variables.conf
# BACKGROUND
background {
monitor =
path = ~/nixos-config/dotfiles/hypr/wallpaper/nix-wallpaper.png
blur_passes = 2
contrast = 0.8916
brightness = 0.8172
zsh:1: command not found: q
vibrancy_darkness = 0.3
}
# GENERAL
general {
no_fade_in = false
grace = 0
disable_loading_bar = false
}
# 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 -e "$(LC_TIME=en_US.UTF-8 date +"%A, %B %d")"
color = rgba(216, 222, 233, 0.90)
font_size = 25
font_family = SF Pro Display Semibold
position = 0, 350
halign = center
valign = center
}
label {
monitor =
text = cmd[update:1000] echo "<span>$(date +"%I:%M")</span>"
color = rgba(216, 222, 233, 0.90)
font_size = 120
font_family = SF Pro Display Bold
position = 0, 230
halign = center
valign = center
}
# User info
label {
monitor =
text = $USER
color = rgba(216, 222, 233, 0.80)
outline_thickness = 2
dots_size = 0.2
dots_spacing = 0.2
dots_center = true
font_size = 18
font_family = SF Pro Display Bold
position = 0, -130
halign = center
valign = center
}
shape {
monitor =
size = 280, 55
color = rgba(255, 255, 255, .1)
rounding = -1
border_size = 0
border_color = rgba(253, 198, 135, 0)
rotate = 0
xray = false
position = 0, -130
halign = center
valign = center
}
# INPUT FIELD
input-field {
monitor =
size = 280, 55
outline_thickness = 2
dots_size = 0.2 # Password dot size (0.2-0.8)
dots_spacing = 0.2 # Spacing between dots (0.0-1.0)
dots_center = true # Center dots in field
outer_color = rgba(0, 0, 0, 0)
inner_color = rgba(255, 255, 255, 0.1)
font_color = rgb(200, 200, 200)
fade_on_empty = false
font_family = SF Pro Display Bold
placeholder_text = <i><span foreground="##ffffff99"> Enter Pass</span></i>
hide_input = false # Show/hide password dots
position = 0, -210
halign = center
valign = center
}
label {
monitor =
text = cmd[update:30000] echo "🔋 $(cat /sys/class/power_supply/BAT0/capacity)%"
color = rgba(255, 255, 255, 0.8)
font_size = 14
position = -50, 50
halign = right
valign = bottom
}
auth {
fingerprint:enabled=true
}

View file

@ -1,2 +0,0 @@
#!/usr/bin/env bash
protonmail-bridge --cli

Binary file not shown.

Before

Width:  |  Height:  |  Size: 74 KiB

View file

@ -5,7 +5,7 @@ Count=1
Notebook0Dialogs=ObjectProperties;FillStroke;Export;AlignDistribute;Text; Notebook0Dialogs=ObjectProperties;FillStroke;Export;AlignDistribute;Text;
Notebook0Height=921 Notebook0Height=921
Notebook0ActiveTab=2 Notebook0ActiveTab=2
ColumnWidth=633 ColumnWidth=560
NotebookCount=1 NotebookCount=1
BeforeCanvas=false BeforeCanvas=false

View file

@ -1,4 +1,3 @@
Comic Sans MS Comic Sans MS
Sans
Trebuchet MS Trebuchet MS
sans-serif Sans

View file

@ -317,7 +317,7 @@
id="lpetool" id="lpetool"
mode="drag" mode="drag"
style="fill:#ff0000;fill-opacity:1;fill-rule:nonzero;stroke:none;" style="fill:#ff0000;fill-opacity:1;fill-rule:nonzero;stroke:none;"
unit="mm" /> unit="px" />
<eventcontext <eventcontext
id="text" id="text"
usecurrent="1" usecurrent="1"
@ -325,7 +325,7 @@
font_sample="AaBbCcIiPpQq12369$€¢?.;/()" font_sample="AaBbCcIiPpQq12369$€¢?.;/()"
show_sample_in_list="1" show_sample_in_list="1"
use_svg2="1" use_svg2="1"
style="line-height:1.25;font-family:'DejaVu Serif';font-size:23.91717148px;text-orientation:auto;-inkscape-font-specification:'DejaVu Serif, Normal'" style="line-height:1.25;font-family:Sans;font-size:16px;text-orientation:auto;-inkscape-font-specification:'Sans, Normal'"
selcue="1" selcue="1"
align_mode="0" align_mode="0"
writing_mode="0" writing_mode="0"
@ -649,7 +649,7 @@
</group> </group>
<group <group
id="save_as" id="save_as"
default="org.inkscape.output.svg.inkscape" default="org.inkscape.output.pdf.cairorenderer"
append_extension="1" append_extension="1"
enable_preview="1" enable_preview="1"
path="/home/afoucaultc/workspace/cesi/report/figures" path="/home/afoucaultc/workspace/cesi/report/figures"
@ -1026,7 +1026,7 @@
<group <group
id="font" id="font"
unitType="2" unitType="2"
scaleLineHeightFromFontSIze="1" /> scaleLineHeightFromFontSIze="2" />
<group <group
id="boot" id="boot"
theme="custom" theme="custom"
@ -1109,7 +1109,7 @@
org.inkscape.input.svg.scale="auto" /> org.inkscape.input.svg.scale="auto" />
<group <group
id="desktop" id="desktop"
style="text-orientation:auto;-inkscape-font-specification:'Sans, Normal';font-family:Sans;stroke-linejoin:bevel;stroke-width:0.62740157;font-size:8px;fill:#bb9af7"> style="text-orientation:auto;-inkscape-font-specification:'Sans, Normal';font-family:Sans;stroke-linejoin:bevel;stroke-width:0.62740157;font-size:16px;fill:#000000">
<group <group
width="1912" width="1912"
height="1072" height="1072"

18
flake.lock generated
View file

@ -194,11 +194,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1783436070, "lastModified": 1783479733,
"narHash": "sha256-F80z1JoiJgZyTT5D+3siLOVzqmCEphLR7t0Ym/I2CLI=", "narHash": "sha256-d/JatqgG+Pmo+IuCTZfnrEAPWU3fdha48GQeXuFO+bE=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "f09af49406ffad37acb6538d3207189a1a1e0b7e", "rev": "cee3f0e7fec85d80c149c7afc29926747f7bd3c2",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -282,11 +282,11 @@
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
"lastModified": 1783354131, "lastModified": 1783449028,
"narHash": "sha256-u/55nD/fpx7RXpm+wGLs+JXN4/anmouGIh0oj6F8N4M=", "narHash": "sha256-X7T5MtKdw7daUN2r2v7zVLrN4OKowJ3hgm+rSPeESnw=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "Hyprland", "repo": "Hyprland",
"rev": "7046c0ff531661288ba5d672546144d6191d0f71", "rev": "6a8eb0490ce3ff3cbf9b00815f7a215e895d87e0",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -824,11 +824,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1783371882, "lastModified": 1783489920,
"narHash": "sha256-Z0ESbxSeHR5p3CD1LLVKttX2vaPPnjNfZbqCJlQgcF8=", "narHash": "sha256-sZediA0pfMCXm6nA6fvO1vEsWvybEvP5GCnaAPDcTq0=",
"owner": "0xc000022070", "owner": "0xc000022070",
"repo": "zen-browser-flake", "repo": "zen-browser-flake",
"rev": "9357f05e60643b057038ff3f89c87d4a1d08cae1", "rev": "3671c6eceee35fd06fd1f60b71eed968cc9d7449",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -45,6 +45,9 @@
grim grim
slurp # captures (grimblast côté script si besoin) slurp # captures (grimblast côté script si besoin)
mullvad-vpn # GUI Mullvad (le service est côté système) mullvad-vpn # GUI Mullvad (le service est côté système)
# themes
papirus-icon-theme
bibata-cursors
]; ];
programs.gpg.enable = true; programs.gpg.enable = true;
services.gpg-agent = { services.gpg-agent = {