Compare commits

..

3 Commits

3 changed files with 32 additions and 15 deletions

View File

@@ -1,7 +1,7 @@
# Start X at login # Start X at login
if status --is-login if status --is-login
if test -z "$DISPLAY" -a $XDG_VTNR = 2 if test -z "$DISPLAY" -a $XDG_VTNR = 2
exec hyprland exec start-hyprland
# pour activer le partage d'écran mais provoque des bugs. # pour activer le partage d'écran mais provoque des bugs.
#exec env XDG_CURRENT_DESKTOP=sway dbus-run-session sway #exec env XDG_CURRENT_DESKTOP=sway dbus-run-session sway
end end

View File

@@ -52,7 +52,6 @@ exec-once = nextcloud --background
exec-once = keepassxc exec-once = keepassxc
exec-once = sleep 2 && hyprpm reload exec-once = sleep 2 && hyprpm reload
############################# #############################
### ENVIRONMENT VARIABLES ### ### ENVIRONMENT VARIABLES ###
############################# #############################
@@ -388,11 +387,35 @@ submap=reset
# See https://wiki.hypr.land/Configuring/Window-Rules/ for more # See https://wiki.hypr.land/Configuring/Window-Rules/ for more
# See https://wiki.hypr.land/Configuring/Workspace-Rules/ for workspace rules # See https://wiki.hypr.land/Configuring/Workspace-Rules/ for workspace rules
# Example windowrule # Example windowrules that are useful
# windowrule = float,class:^(kitty)$,title:^(kitty)$
# Ignore maximize requests from apps. You'll probably like this. windowrule {
windowrule = suppressevent maximize, class:.* # Ignore maximize requests from all apps. You'll probably like this.
name = suppress-maximize-events
match:class = .*
suppress_event = maximize
}
windowrule {
# Fix some dragging issues with XWayland # Fix some dragging issues with XWayland
windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0 name = fix-xwayland-drags
match:class = ^$
match:title = ^$
match:xwayland = true
match:float = true
match:fullscreen = false
match:pin = false
no_focus = true
}
# Hyprland-run windowrule
windowrule {
name = move-hyprland-run
match:class = hyprland-run
move = 20 monitor_h-120
float = yes
}

View File

@@ -1,16 +1,10 @@
{ {
"font-familly": "FiraCode Nerd Font",
"height": 30, // Waybar height (to be removed for auto height) "height": 30, // Waybar height (to be removed for auto height)
"spacing": 1, // Gaps between modules (4px) "spacing": 1, // Gaps between modules (4px)
"modules-left": ["hyprland/workspaces"], "modules-left": ["hyprland/workspaces"],
"modules-center": ["clock"], "modules-center": ["clock"],
"modules-right": ["tray", "pulseaudio", "battery"], "modules-right": ["tray", "pulseaudio", "battery"],
"sway/scratchpad": {
"format": "{icon} {count}",
"show-empty": false,
"format-icons": ["", ""],
"tooltip": true,
"tooltip-format": "{app}: {title}"
},
"tray": { "tray": {
"icon-size": 16, "icon-size": 16,
"spacing": 4 "spacing": 4