diff options
Diffstat (limited to 'scroll')
-rw-r--r-- | scroll/config | 4 | ||||
-rw-r--r-- | scroll/scripts/scratchpad.lua | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/scroll/config b/scroll/config index 15c9f1d..29c8cab 100644 --- a/scroll/config +++ b/scroll/config @@ -47,8 +47,8 @@ exec hyprpaper # You can get the names of your outputs by running: scrollmsg -t get_outputs #output eDP-1 resolution 1920x1080 position 0 0 -#output HDMI-A-1 resolution 1920x1080 position 1920 0 -#output DP-2 resolution 1920x1080 position 0 0 +output HDMI-A-1 resolution 1920x1080 position 1920 0 +output DP-2 resolution 1920x1080 position 0 0 ### Idle configuration # diff --git a/scroll/scripts/scratchpad.lua b/scroll/scripts/scratchpad.lua index e581cc1..0afaa97 100644 --- a/scroll/scripts/scratchpad.lua +++ b/scroll/scripts/scratchpad.lua @@ -24,18 +24,18 @@ end command = command or "kitty" local function exists(id) - local is_in_array = false + local is_in_scratchpad = false local cons = scroll.scratchpad_get_containers() for _, con in ipairs(cons) do local views = scroll.container_get_views(con) for _, view in ipairs(views) do local app_id = scroll.view_get_app_id(view) if (app_id == id) then - is_in_array = true + is_in_scratchpad = true end end end - return is_in_array + return is_in_scratchpad end local function is_focused(id) |