diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index e9cd7e4..cd4130e 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -1,10 +1,12 @@ - ################ ### MONITORS ### ################ # See https://wiki.hyprland.org/Configuring/Monitors/ -monitor=,preferred,auto,auto + +monitor = desc:Ancor Communications Inc ASUS PB298 D7LMTF059917, preferred, 0x0, auto +monitor = desc:Iiyama North America PL2492H 11511037C7430, preferred, 2560x0, auto +monitor = , preferred, auto, auto # fallback ################### @@ -404,3 +406,15 @@ windowrulev2 = float, class:thunar, title:File Operation Progress # Resize floating windows windowrule = size >50% >70%, org.pulseaudio.pavucontrol + +# Put workspaces on specific monitors +workspace = 1, monitor:desc:Ancor Communications Inc ASUS PB298 D7LMTF059917, persistent:true, default:true +workspace = 2, monitor:desc:Ancor Communications Inc ASUS PB298 D7LMTF059917, persistent:true +workspace = 3, monitor:desc:Ancor Communications Inc ASUS PB298 D7LMTF059917, persistent:true +workspace = 4, monitor:desc:Ancor Communications Inc ASUS PB298 D7LMTF059917, persistent:true +workspace = 5, monitor:desc:Ancor Communications Inc ASUS PB298 D7LMTF059917, persistent:true +workspace = 6, monitor:desc:Ancor Communications Inc ASUS PB298 D7LMTF059917, persistent:true +workspace = 7, monitor:desc:Ancor Communications Inc ASUS PB298 D7LMTF059917, persistent:true +workspace = 8, monitor:desc:Ancor Communications Inc ASUS PB298 D7LMTF059917, persistent:true +workspace = 9, monitor:desc:Iiyama North America PL2492H 11511037C7430, persistent:true, default:true +workspace = 10, monitor:desc:Iiyama North America PL2492H 11511037C7430, persistent:true diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc index b76654a..6da2a92 100644 --- a/.config/waybar/config.jsonc +++ b/.config/waybar/config.jsonc @@ -27,7 +27,7 @@ "disable-scroll": false, "on-scroll-up": "hyprctl dispatch workspace -1", "on-scroll-down": "hyprctl dispatch workspace +1", - "all-outputs": true, + "all-outputs": false, "warp-on-scroll": false, "format": "{icon}", "format-icons": { @@ -40,14 +40,10 @@ "7": "七", "8": "八", "9": "九", - "0": "十", + "10": "十", "urgent": "", "focused": "", "default": "" - // "persistent-workspaces": { - // "*": 5, // 5 workspaces by default on every monitor - // "HDMI-A-1": 3 // but only three on HDMI-A-1 - // } } }, "custom/btc": { diff --git a/.local/bin/play b/.local/bin/play index ae9f7c6..5422331 100755 --- a/.local/bin/play +++ b/.local/bin/play @@ -237,7 +237,12 @@ if [ $qualityOption -eq 1 ]; then fi # Set url to clipboard if none provided +# >>> session=xorg clip="$(xclip -selection clipboard -out)" +# <<< +# >>> session=wayland +# clip="$(wl-paste)" +# <<< if [ "$#" -eq 0 ]; then eval set -- "$clip" fi @@ -257,7 +262,12 @@ elif [ $queueOption -eq 1 ]; then queue "$*" else if [ "$*" = "" ]; then + # >>> session=xorg play "$(xclip -o)" + # <<< + # >>> session=wayland + # play "$(wl-paste)" + # <<< else for url in "$@"; do play "$url"