{"id":25363649,"url":"https://github.com/tuxslack/screenshot","last_synced_at":"2025-04-09T04:20:08.138Z","repository":{"id":277237558,"uuid":"931775914","full_name":"tuxslack/screenshot","owner":"tuxslack","description":"O script pode usar ferramentas como maim ou scrot para capturar toda a tela e salvar a imagem em um diretório específico.","archived":false,"fork":false,"pushed_at":"2025-02-12T21:18:35.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-12T22:22:04.563Z","etag":null,"topics":["clipboard","flameshot","fluxbox","gnome-screenshot","i3wm","imagemagick","import","maim","notify-send","openbox","screenshot","scrot","xclip","xdotool","xfce4","xfce4-screenshooter"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/tuxslack.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-12T20:49:19.000Z","updated_at":"2025-02-12T21:34:25.000Z","dependencies_parsed_at":"2025-02-12T22:22:10.796Z","dependency_job_id":"612f285a-28de-4875-b309-1e08a73c3d6d","html_url":"https://github.com/tuxslack/screenshot","commit_stats":null,"previous_names":["tuxslack/screenshot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuxslack%2Fscreenshot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuxslack%2Fscreenshot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuxslack%2Fscreenshot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuxslack%2Fscreenshot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tuxslack","download_url":"https://codeload.github.com/tuxslack/screenshot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247975384,"owners_count":21026858,"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":["clipboard","flameshot","fluxbox","gnome-screenshot","i3wm","imagemagick","import","maim","notify-send","openbox","screenshot","scrot","xclip","xdotool","xfce4","xfce4-screenshooter"],"created_at":"2025-02-14T22:37:19.001Z","updated_at":"2025-04-09T04:20:08.117Z","avatar_url":"https://github.com/tuxslack.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"O script **screenshot.sh** automatiza a captura de screenshots (capturas de tela).\n\n\nEle envolve o uso de ferramentas como maim, scrot, flameshot, gnome-screenshot, entre outras, para capturar a \ntela. Oferece as opções de tirar capturas de tela de uma janela específica, selecionar uma área da tela ou \ncapturar a tela inteira.\n\n\n\nExemplos de funcionalidades que o screenshot.sh pode oferecer:\n\n**Captura de tela inteira:**\n\nO script pode usar ferramentas como maim ou scrot para capturar toda a tela e salvar a imagem em um diretório específico.\n\n**Captura de uma janela específica:**\n\nPode capturar a tela de uma janela ativa, como em maim --window $(xdotool getactivewindow) ou import -window $(xdotool getactivewindow).\n\n**Seleção de área:**\n\nPode permitir que o usuário selecione uma área da tela para captura, como em maim --select ou flameshot gui.\n\n**Cópia para a área de transferência:**\n\nPode usar xclip para copiar a captura de tela para a área de transferência, por exemplo, maim | xclip -selection clipboard -t image/png.\n\n**Notificações:**\n\nO script pode incluir notificações para informar ao usuário que a captura foi realizada com sucesso ou falhou.\n\n\n\n**Atribuindo a uma tecla no i3wm:** Para facilitar o uso, você pode adicionar um atalho de \nteclado no i3wm para chamar o script. No arquivo de configuração do i3 (~/.config/i3/config), \nadicione uma linha como esta:\n\n\n**Screenshots**\n\nbindsym Print       exec --no-startup-id /usr/local/bin/screenshot.sh            \u003cbr\u003e\nbindsym $mod+Print  exec --no-startup-id /usr/local/bin/screenshot.sh --select   \u003cbr\u003e\nbindsym Shift+Print exec --no-startup-id /usr/local/bin/screenshot.sh --window   \u003cbr\u003e \u003cbr\u003e\n\n\nEste programa é um software livre: você pode redistribuí-lo e/ou modificá-lo sob os termos da GNU General Public License conforme \npublicada pela Free Software Foundation, seja a versão 3 da Licença, ou (a seu critério) qualquer versão posterior.\n\nEste programa é distribuído na esperança de que seja útil, mas SEM NENHUMA GARANTIA; sem mesmo a garantia implícita de COMERCIALIZAÇÃO \nou ADEQUAÇÃO A UM PROPÓSITO ESPECÍFICO. Veja a GNU General Public License para mais detalhes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuxslack%2Fscreenshot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftuxslack%2Fscreenshot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuxslack%2Fscreenshot/lists"}