From 3dc5c8cef1a0c62d64d26b90a6f5ec6e38083f5a Mon Sep 17 00:00:00 2001 From: Shaked Gold <66266012+ShakedGold@users.noreply.github.com> Date: Mon, 12 Jun 2023 13:07:37 +0300 Subject: [PATCH 1/2] Update README.md --- README.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/README.md b/README.md index 7148331..3c253b6 100644 --- a/README.md +++ b/README.md @@ -1 +1,32 @@ # hyprmsn +A "Mission Control" like in macos for Hyprland + +# Explanation +### ```daemon.sh``` +this file is supposed to be running at all times and its purpose is to screenshot the focused window everytime you switch to a different window +video example: + + +### ```clients.sh``` +This is a temporary file to use rofi for the UI but my plan is to switch this to eww to be able to display the images and control the appearance. +the file works by calling ```hyprctl clients``` and grabbing the title for each one, after that it will loop through and find the corresponding screenshot to display, then it will display the rofi menu and wait for a selection to be made, after the chosen window is selected, I get the window ID/Adress and use that with: +``` +hyprctl dispatch focuswindow address:0x$window_id > /dev/null +``` +to switch to the window + +# Mission +My goal right now is to use eww to display the window switcher, I need to create a widget and programmatically use that widget for each window that is available (to get the windows I use ```htyprctl clients```). +Also I suck at scss/css in general so I need a bit of help! +If you would like to help me that would be awesome, the most important thing right now is dynamically generating the eww widget with the corresponding number of windows open. + +# Dependencies +* Hyprland +* ```grim``` + +# Getting Started +To test the program you will need to do the following: +1. create a directory in "~/.config/" called "hyprmsn" +2. move the script folder there +3. run ./daemon.sh (explenation above) +4. (optional) run ./clients.sh From 436fb8f6e156536b9ac3c8039ccf1271d93da457 Mon Sep 17 00:00:00 2001 From: Shaked Gold <66266012+ShakedGold@users.noreply.github.com> Date: Mon, 12 Jun 2023 13:08:33 +0300 Subject: [PATCH 2/2] Update README.md --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 3c253b6..28695d8 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,7 @@ A "Mission Control" like in macos for Hyprland # Explanation ### ```daemon.sh``` this file is supposed to be running at all times and its purpose is to screenshot the focused window everytime you switch to a different window -video example: - +[Video Example](https://imgur.com/a/ExP51Ms) ### ```clients.sh``` This is a temporary file to use rofi for the UI but my plan is to switch this to eww to be able to display the images and control the appearance.