{"id":20260820,"url":"https://github.com/CreativeCodeCat/xwingridselect","last_synced_at":"2025-05-07T14:30:28.195Z","repository":{"id":141108855,"uuid":"355315160","full_name":"CreativeCodeCat/xwingridselect","owner":"CreativeCodeCat","description":null,"archived":false,"fork":false,"pushed_at":"2022-01-19T08:58:31.000Z","size":226,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-03T22:57:16.961Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CreativeCodeCat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-04-06T20:01:54.000Z","updated_at":"2022-01-19T08:58:34.000Z","dependencies_parsed_at":"2023-10-04T08:30:12.372Z","dependency_job_id":null,"html_url":"https://github.com/CreativeCodeCat/xwingridselect","commit_stats":null,"previous_names":["hecodes2much/xwingridselect","creativecodecat/xwingridselect"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CreativeCodeCat%2Fxwingridselect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CreativeCodeCat%2Fxwingridselect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CreativeCodeCat%2Fxwingridselect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CreativeCodeCat%2Fxwingridselect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CreativeCodeCat","download_url":"https://codeload.github.com/CreativeCodeCat/xwingridselect/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252895458,"owners_count":21821163,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T11:22:29.558Z","updated_at":"2025-05-07T14:30:27.690Z","avatar_url":"https://github.com/CreativeCodeCat.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"XWinGridSelect\n==========\n\nX11 window switcher that draws windows list as a colorful grid\n------------------------------------------------------------\n\nInspired by [XMonad.Actions.GridSelect](http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Actions-GridSelect.html), but written in C + GTK+2, uses nice-looking colors and has some set of helpful features.\n\n![xwingridselect's screenshot](/contrib/images/1920x1080_xwingridselect.png \"Screenshot\")\n\nUse arrow keys (also `C-n`, `C-p`, `C-f`, `C-b` in default mode, `hjkl` in vim mode) or mouse to navigate through windows.\nStart typing to search for required window.\n\nConfig file is created automatically on a first program run and stored in `~/.config/xwingridselect/config`.\n\n### Usage:\n    Usage:\n      xwingridselect [OPTION...]  - show X11 windows as color grid\n\n    Help Options:\n      -h, --help                   Show help options\n      --help-all                   Show all help options\n      --help-gtk                   Show GTK+ Options\n\n    Application Options:\n      -r, --read-stdin             Read items from stdin (and print selected item to stdout)\n      -p, --permissive             Lets search entry text to be used as individual item.\n      -t, --format                 Read items from stdin in next format (comma separated):\n                                        \u003cdesktop_num\u003e, \u003cbox_color\u003e, \u003cicon\u003e, \u003clabel\u003e, \u003copt_name\u003e.\n                                   Icon can be path to png file or icon name from theme.\n                                   Any option, except \u003clabel\u003e can be skipped\n                                   \u003cicon\u003e should be a path to png file or icon name from theme\n                                   Any positive value of \u003cdesktop_num\u003e allowed.\n                                   \u003cbox_color\u003e should be in #nnnnnn format, otherwise it will be skipped.\n      -V, --vim-mode               Turn on vim-like navigation (hjkl, search on /)\n      -C, --no-colors              Turn off box colorizing\n      -I, --no-icons               Turn off showing icons\n      -D, --no-desktops            Turn off showing desktop number\n      -T, --no-titles              Turn off showing titles\n      -S, --screenshot             Get screenshot and set it as a background (for WMs that do not support XShape)\n      -P, --at-pointer             Place center of grid at pointer position.\n      -s, --selected=\u003cN\u003e           Select box number N at spawn. (default: 0)\n      -W, --box-width=\u003cint\u003e        Width of the boxes (default: 200)\n      -H, --box-height=\u003cint\u003e       Height of the boxes (default: 40)\n      -i, --icon-size=\u003cint\u003e        Size of window icons (default: 16)\n      -f, --font=\"font [size]\"     Which font to use for displaying widgets. (default: \"Sans 10\")\n      -o, --hue-offset=\u003cint\u003e       Set color hue offset (from 0 to 255)\n      -F, --color-file=\u003cfile\u003e      Pick colors from file\n      --display=DISPLAY            X display to use\n\n### Dependencies:\n\n* [EWMH compatible Window Manager](http://en.wikipedia.org/wiki/Extended_Window_Manager_Hints)\n* GTK+2\n* CMake\n\n\n### Installation:\n\n* ArchLinux: [AUR](https://aur.archlinux.org/packages/xwingridselect/)\n\nOther distributions/development:\n\n\tgit clone https://github.com/TheCynicalTeam/xwingridselect.git\n\tcd xwingridselect\n\tmkdir build\n\tcd build\n\tcmake ..\n\tmake\n\tsudo make install\n\n### Color file format:\n\n\t[colors]\n\t# Use xprop to determine window class\n\tWindowClass1 = #112233\n\tWindowClass2 = #445566\n\t# For other windows to use. You can omit that line and it will use standard colorizing scheme.\n\tfallback = #f1fa8c; #bd93f9; #ff5555; #6be5fd; #50fa7b; #E6DB74; #F83333; #ffb86c; #8BE9FD; #FF79C6;\n\n\n### Example shell script\n\n\tdeclare options=(\"thunar\n\txwingridselect\n\tgoogle-chrome-stable\n\tlxrandr\n\tdiscord\n\tcode\n\thexchat\n\tbitwarden\n\tquit\")\n\n\tchoice=$(echo -e \"${options[@]}\" | xwingridselect -r)\n\n\tif [ \"$choice\" = \"quit\" ];\n\tthen\n\t    echo \"Program terminated.\" \u0026\u0026 exit 1\n\telse\n\t    exec $choice\n\tfi\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCreativeCodeCat%2Fxwingridselect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FCreativeCodeCat%2Fxwingridselect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCreativeCodeCat%2Fxwingridselect/lists"}