From ce08b8b83be2a4f626c2b1a69b561e393e2bc29a Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Thu, 5 Jan 2023 15:16:10 -0600 Subject: [PATCH] need to figure out specific config for eww/mpv/hyprland --- eww/eww.yuck | 14 +++++++++++++- hypr/hyprland.conf | 7 +++++-- mpv/mpv.conf | 3 ++- 3 files changed, 20 insertions(+), 4 deletions(-) diff --git a/eww/eww.yuck b/eww/eww.yuck index ac945fb..db4f6c7 100644 --- a/eww/eww.yuck +++ b/eww/eww.yuck @@ -223,6 +223,16 @@ (label :text "")))) +(defwidget nextcloud_button [] + (box + :class "notif_button" + :space-evenly "false" + :orientation "h" + (button + :onclick "exec nextcloud" + (label + :text "")))) + (defwidget sep [] (box :class "module-2" @@ -240,6 +250,7 @@ :width "150")) + ;;define widget groups (defwidget left [] (box @@ -271,7 +282,8 @@ (mem) (bat) (sep) - (notif_button))) + (notif_button) + (nextcloud_button))) (defwidget bar_layout [] (centerbox diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 995e175..7a00c77 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -94,8 +94,10 @@ master { # for windows named/classed as abc and xyz windowrule=opaque,firefox windowrule=float,dolphin +windowrule=workspace 1,mpv # for kaladin windowrule=float,mpv -windowrule=size 90% 76%,mpv +# windowrule=size 90% 76%,mpv # for syl +windowrule=size 85% 85%,mpv # for kaladin windowrule=center,mpv windowrule=float,pulsemixer windowrule=workspace 1,firefox @@ -194,4 +196,5 @@ exec-once=hyprpaper exec-once=dunst exec-once=hyprctl dispatch --batch "splitratio 1; splitration -0.35" exec-once=dbus-update-activation-environment --systemd --all -exec-once=jellyfin-mpv-shim \ No newline at end of file +exec-once=jellyfin-mpv-shim +exec-once = hyprctl setcursor phinger-cursors-light \ No newline at end of file diff --git a/mpv/mpv.conf b/mpv/mpv.conf index 07c94e9..39671a0 100644 --- a/mpv/mpv.conf +++ b/mpv/mpv.conf @@ -2,7 +2,8 @@ osc=no vo=gpu af=scaletempo2 -autofit=2800x1800 +# autofit=2800x1800 +autofit=4000X2400 geometry=50%:50% # input-ipc-server="/tmp/mpvsocket" hwdec=auto