Update and debug hyprland due to new version

This commit is contained in:
2026-01-09 05:52:10 +01:00
parent 493f1bc25e
commit f9bfcbac85
7 changed files with 24 additions and 20 deletions

18
flake.lock generated
View File

@@ -38,11 +38,11 @@
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1766014764, "lastModified": 1767313136,
"narHash": "sha256-+73VffE5GP5fvbib6Hs1Su6LehG+9UV1Kzs90T2gBLA=", "narHash": "sha256-16KkgfdYqjaeRGBaYsNrhPRRENs0qzkQVUooNHtoy2w=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "2b0d2b456e4e8452cf1c16d00118d145f31160f9", "rev": "ac62194c3917d5f474c1a844b6fd6da2db95077d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -54,11 +54,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1766070988, "lastModified": 1767767207,
"narHash": "sha256-G/WVghka6c4bAzMhTwT2vjLccg/awmHkdKSd2JrycLc=", "narHash": "sha256-Mj3d3PfwltLmukFal5i3fFt27L6NiKXdBezC1EBuZs4=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "c6245e83d836d0433170a16eb185cefe0572f8b8", "rev": "5912c1772a44e31bf1c63c0390b90501e5026886",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -84,11 +84,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1766289575, "lastModified": 1767826491,
"narHash": "sha256-BOKCwOQQIP4p9z8DasT5r+qjri3x7sPCOq+FTjY8Z+o=", "narHash": "sha256-WSBENPotD2MIhZwolL6GC9npqgaS5fkM7j07V2i/Ur8=",
"owner": "Mic92", "owner": "Mic92",
"repo": "sops-nix", "repo": "sops-nix",
"rev": "9836912e37aef546029e48c8749834735a6b9dad", "rev": "ea3adcb6d2a000d9a69d0e23cad1f2cacb3a9fbe",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -90,7 +90,7 @@ in
pkgs.gcc pkgs.gcc
pkgs.gnumake pkgs.gnumake
pkgs.nixd pkgs.nixd
pkgs.nixfmt-rfc-style pkgs.nixfmt
pkgs.ansible pkgs.ansible
pkgs.python313 pkgs.python313
]; ];

View File

@@ -13,3 +13,5 @@ workspace = 5, monitor:HDMI-A-2
workspace = 6, monitor:HDMI-A-2 workspace = 6, monitor:HDMI-A-2
workspace = 7, monitor:HDMI-A-2 workspace = 7, monitor:HDMI-A-2
workspace = 8, monitor:HDMI-A-2 workspace = 8, monitor:HDMI-A-2
exec-once = nextcloud

View File

@@ -21,7 +21,6 @@ $terminal = kitty
exec-once = hyprpaper exec-once = hyprpaper
exec-once = waybar exec-once = waybar
exec-once = nextcloud
############################# #############################
### ENVIRONMENT VARIABLES ### ### ENVIRONMENT VARIABLES ###
@@ -165,8 +164,8 @@ master {
# https://wiki.hyprland.org/Configuring/Variables/#misc # https://wiki.hyprland.org/Configuring/Variables/#misc
misc { misc {
force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers force_default_wallpaper = 1 # Set to 0 or 1 to disable the anime mascot wallpapers
disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :( disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :(
} }
@@ -309,15 +308,14 @@ bindl = , XF86AudioPrev, exec, playerctl previous
# windowrule = float,class:^(kitty)$,title:^(kitty)$ # windowrule = float,class:^(kitty)$,title:^(kitty)$
# Ignore maximize requests from apps. You'll probably like this. # Ignore maximize requests from apps. You'll probably like this.
windowrule = suppressevent maximize, class:.* # windowrule = suppressevent maximize, class:.*
# Fix some dragging issues with XWayland # Fix some dragging issues with XWayland
windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0 # windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
# Supprimer la transparence pour des applications spécifiques # Supprimer la transparence pour des applications spécifiques
windowrulev2 = opacity 1.0 override,class:firefox windowrulev2 = opacity 1.0 override,class:firefox
windowrulev2 = opacity 1.0 override,class:^(chromium)$ windowrulev2 = opacity 1.0 override,class:^(chromium)$
windowrulev2 = opacity 1.0 override,class:^(mpv)$ windowrulev2 = opacity 1.0 override,class:^(mpv)$
windowrulev2 = opacity 1.0 override,class:^(mpv)$
windowrulev2 = fullscreen,class:^(mpv)$ windowrulev2 = fullscreen,class:^(mpv)$

View File

@@ -1,2 +1,7 @@
preload = ~/Downloads/wallpaper.jpeg wallpaper {
wallpaper = , ~/Downloads/wallpaper.jpeg monitor =
path = ~/Downloads/wallpaper.jpeg
fit_mode = cover
}
splash = false

View File

@@ -23,7 +23,7 @@
[[ "$TERM" == "xterm-kitty" ]] && export TERM="xterm-256color" [[ "$TERM" == "xterm-kitty" ]] && export TERM="xterm-256color"
[[ -f ${pkgs.nitch}/bin/nitch ]] && nitch [[ -f ${pkgs.nitch}/bin/nitch ]] && nitch
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
hyprland --config /etc/xdg/hypr/hyprland.conf start-hyprland -- --config /etc/xdg/hypr/hyprland.conf
fi fi
''; '';
}; };

View File

@@ -132,5 +132,4 @@
environment.systemPackages = [ environment.systemPackages = [
pkgs.tor-browser pkgs.tor-browser
]; ];
} }