mirror of
https://github.com/ksyasuda/dotfiles.git
synced 2025-12-05 02:53:38 -08:00
Compare commits
2 Commits
3fc0b32a9d
...
3628e70b72
| Author | SHA1 | Date | |
|---|---|---|---|
|
3628e70b72
|
|||
|
31cfb8dd1c
|
@@ -16,6 +16,7 @@
|
|||||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||||
# monitor=DP-1,2560x1440@144,0x0,1
|
# monitor=DP-1,2560x1440@144,0x0,1
|
||||||
# monitor=DP-3,2560x1440@144,2560x0,1
|
# monitor=DP-3,2560x1440@144,2560x0,1
|
||||||
|
# vrr 2 enables vrr if application is fullscreen
|
||||||
# vrr 3 enables vrr if application is fullscreen and video or game content
|
# vrr 3 enables vrr if application is fullscreen and video or game content
|
||||||
# monitor = DP-1, 3440x1440@240,0x0,1,vrr,3
|
# monitor = DP-1, 3440x1440@240,0x0,1,vrr,3
|
||||||
monitorv2 {
|
monitorv2 {
|
||||||
@@ -24,6 +25,18 @@ monitorv2 {
|
|||||||
position = 0x0
|
position = 0x0
|
||||||
scale = 1
|
scale = 1
|
||||||
vrr = 2
|
vrr = 2
|
||||||
|
cm = srgb
|
||||||
|
|
||||||
|
# Optional HDR settings
|
||||||
|
# cm = hdr
|
||||||
|
# bitdepth = 10
|
||||||
|
# sdr_min_luminance = 0.005
|
||||||
|
# sdr_max_luminance = 200
|
||||||
|
# min_luminance = 0
|
||||||
|
# max_luminance = 1000
|
||||||
|
# max_avg_luminance = 200
|
||||||
|
# sdrbrightness = 1.2
|
||||||
|
# sdrsaturation = 0.98
|
||||||
}
|
}
|
||||||
|
|
||||||
source = ~/.config/hypr/keybindings.conf
|
source = ~/.config/hypr/keybindings.conf
|
||||||
@@ -55,8 +68,8 @@ $notification_daemon = uwsm app -- swaync -c ~/.config/swaync/config.json
|
|||||||
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
||||||
# Or execute your favorite apps at launch like this:
|
# Or execute your favorite apps at launch like this:
|
||||||
|
|
||||||
exec-once = uwsm app -sb -- hyprpm update -nn
|
exec-once = uwsm app -sb -- hyprpm update -n
|
||||||
exec-once = uwsm app -sb -- hyprpm reload -nn
|
exec-once = uwsm app -sb -- hyprpm reload -n
|
||||||
exec-once = $notification_daemon
|
exec-once = $notification_daemon
|
||||||
exec-once = $terminal
|
exec-once = $terminal
|
||||||
exec-once = uwsm app -sb -S both -t scope -- hyprpm update -nn
|
exec-once = uwsm app -sb -S both -t scope -- hyprpm update -nn
|
||||||
@@ -266,6 +279,8 @@ windowrule = float on, match:class python, match:title Import
|
|||||||
windowrule = workspace 10 silent, match:class discord
|
windowrule = workspace 10 silent, match:class discord
|
||||||
windowrule = workspace 9 silent, match:class steam
|
windowrule = workspace 9 silent, match:class steam
|
||||||
windowrule = workspace 8 silent, match:class anki
|
windowrule = workspace 8 silent, match:class anki
|
||||||
|
windowrule = match:float 1, match:class discord, center on
|
||||||
|
windowrule = match:float 1, match:class steam, center on
|
||||||
windowrule = size 2118 1182, match:class anki
|
windowrule = size 2118 1182, match:class anki
|
||||||
# windowrule = opacity 0.88, match:class .* fullscreen:0
|
# windowrule = opacity 0.88, match:class .* fullscreen:0
|
||||||
windowrule = opacity 1.0 override, match:class mpv
|
windowrule = opacity 1.0 override, match:class mpv
|
||||||
@@ -280,7 +295,6 @@ windowrule = opacity 1.0 override, match:class anki
|
|||||||
windowrule = suppress_event maximize, match:class .*
|
windowrule = suppress_event maximize, match:class .*
|
||||||
# Fix some dragging issues with XWayland
|
# Fix some dragging issues with XWayland
|
||||||
windowrule = no_focus on,match:class ^$,match:title ^$,match:xwayland 1,match:float 1,match:fullscreen 0,match:pin 0
|
windowrule = no_focus on,match:class ^$,match:title ^$,match:xwayland 1,match:float 1,match:fullscreen 0,match:pin 0
|
||||||
windowrule = match:float 1, center on
|
|
||||||
|
|
||||||
# {{{ Screen sharing workaround: https://wiki.hyprland.org/Useful-Utilities/Screen-Sharing/#xwayland
|
# {{{ Screen sharing workaround: https://wiki.hyprland.org/Useful-Utilities/Screen-Sharing/#xwayland
|
||||||
windowrule = opacity 0.0 override, match:class ^(xwaylandvideobridge)$
|
windowrule = opacity 0.0 override, match:class ^(xwaylandvideobridge)$
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ get_docs_list() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
urls=("$(get_docs_list)")
|
mapfile -t urls < <(get_docs_list)
|
||||||
url="$(get_url "${urls[@]}")"
|
url="$(get_url "${urls[@]}")"
|
||||||
if [ -z "$url" ]; then
|
if [ -z "$url" ]; then
|
||||||
printf "No URL selected.\n"
|
printf "No URL selected.\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user