Compare commits
2 Commits
6ef9f31dee
...
4da704cb5d
| Author | SHA1 | Date |
|---|---|---|
|
|
4da704cb5d | |
|
|
f040cac729 |
|
|
@ -103,6 +103,20 @@ hl.window_rule({
|
|||
move = "(monitor_w/2 - window_w/2) (monitor_h/2 - window_h/2)",
|
||||
})
|
||||
|
||||
-- dialogs — float any dialog-like window at its natural (minimum) size, centred on
|
||||
-- the cursor: renaming dialogs, generic Save/Open/Confirm/Delete/Move/Copy/Replace/
|
||||
-- Properties/Preferences dialogs, and Firefox "Opening <file>" download prompts.
|
||||
-- Hyprland already auto-floats real in-process xdg/X11 dialogs; this catches the ones
|
||||
-- that tile because they carry no dialog hint, matched heuristically by title. No
|
||||
-- `size`, so the natural (minimum) size is kept and the cursor-centre offsets use the
|
||||
-- real window_w/h (see the filepicker note above re: move/size ordering).
|
||||
hl.window_rule({
|
||||
name = "dialog-float",
|
||||
match = { title = "^(Rename|Save|Opening |Open |Confirm|Delete|Move|Copy|Replace|Properties|Preferences).*" },
|
||||
float = true,
|
||||
move = "(cursor_x-(window_w/2)) (cursor_y-(window_h/2))",
|
||||
})
|
||||
|
||||
-- spotify floating
|
||||
hl.window_rule({
|
||||
name = "spotify-float",
|
||||
|
|
|
|||
|
|
@ -1,13 +1,15 @@
|
|||
# Default wallpaper credit
|
||||
|
||||
`background.jpg` — "New view of the Pillars of Creation — visible" (Eagle Nebula,
|
||||
M16), a 2014 Hubble Space Telescope re-observation.
|
||||
`background.jpg` — "Rings of Relativity" (GAL-CLUS-022058s), a Hubble Space
|
||||
Telescope image of one of the most complete Einstein rings ever observed: light
|
||||
from a distant background galaxy bent into a near-perfect ring by the gravity of
|
||||
an intervening galaxy cluster (gravitational lensing).
|
||||
|
||||
- Source: https://esahubble.org/images/heic1501a/
|
||||
- Credit: NASA, ESA/Hubble and the Hubble Heritage Team
|
||||
- Source: https://esahubble.org/images/potw2050a/
|
||||
- Credit: ESA/Hubble & NASA, S. Jha; Acknowledgement: L. Shatz
|
||||
- License: Creative Commons Attribution 4.0 International (CC BY 4.0)
|
||||
— https://esahubble.org/copyright/
|
||||
- Downloaded variant: `wallpaper_uhd` (3840×2160)
|
||||
- Downloaded variant: `large` (3547×2065)
|
||||
|
||||
ESA/Hubble images may be freely reproduced provided they are clearly and
|
||||
visibly credited. This file exists to carry that credit alongside the asset —
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 2.6 MiB After Width: | Height: | Size: 934 KiB |
|
|
@ -104,6 +104,20 @@ hl.window_rule({
|
|||
move = "(monitor_w/2 - window_w/2) (monitor_h/2 - window_h/2)",
|
||||
})
|
||||
|
||||
-- dialogs — float any dialog-like window at its natural (minimum) size, centred on
|
||||
-- the cursor: renaming dialogs, generic Save/Open/Confirm/Delete/Move/Copy/Replace/
|
||||
-- Properties/Preferences dialogs, and Firefox "Opening <file>" download prompts.
|
||||
-- Hyprland already auto-floats real in-process xdg/X11 dialogs; this catches the ones
|
||||
-- that tile because they carry no dialog hint, matched heuristically by title. No
|
||||
-- `size`, so the natural (minimum) size is kept and the cursor-centre offsets use the
|
||||
-- real window_w/h (see the filepicker note above re: move/size ordering).
|
||||
hl.window_rule({
|
||||
name = "dialog-float",
|
||||
match = { title = "^(Rename|Save|Opening |Open |Confirm|Delete|Move|Copy|Replace|Properties|Preferences).*" },
|
||||
float = true,
|
||||
move = "(cursor_x-(window_w/2)) (cursor_y-(window_h/2))",
|
||||
})
|
||||
|
||||
-- spotify floating
|
||||
hl.window_rule({
|
||||
name = "spotify-float",
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
# workspaces (all tied to the dropped shell stack)
|
||||
# - wofi-calc's Super+Alt+F bind now opens qalculate-gtk instead (already a
|
||||
# general-purpose package, not wofi-dependent)
|
||||
# - Default wallpaper is a real NASA/ESA Hubble image (Pillars of Creation,
|
||||
# - Default wallpaper is a real ESA/Hubble image ("Rings of Relativity",
|
||||
# CC BY 4.0 — desktopenvs/hyprdrive/wallpaper/, see its CREDITS.md) instead
|
||||
# of the personal Nextcloud-hosted background hyprlua.sh fetches
|
||||
#
|
||||
|
|
@ -256,7 +256,7 @@ cp ~/Dotfiles/colors.conf ~/.config/colors.conf
|
|||
log "Copying wallpaper and resources..."
|
||||
mkdir -p ~/Pictures
|
||||
|
||||
# Default wallpaper: NASA/ESA Hubble "Pillars of Creation" (CC BY 4.0 — see
|
||||
# Default wallpaper: ESA/Hubble "Rings of Relativity" (CC BY 4.0 — see
|
||||
# desktopenvs/hyprdrive/wallpaper/CREDITS.md). hyprpaper.conf and hyprlock-
|
||||
# backgrounds.conf both already default to ~/Pictures/background.jpg.
|
||||
cp ~/Dotfiles/desktopenvs/hyprdrive/wallpaper/background.jpg ~/Pictures/background.jpg
|
||||
|
|
|
|||
Loading…
Reference in New Issue