This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import i3 | |
def getCurrentScreen(): | |
workspace = [ws for ws in i3.get_workspaces() if ws['focused']][0] | |
screen_w =str(workspace['rect']['width']) | |
screen_h =str(workspace['rect']['height']) | |
print(screen_w, screen_h); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
i3-msg -t get_workspaces | jq -r 'map(select(.focused))[0].rect["width","height"]' | |
i3-msg -t get_workspaces | jq -r 'map(select(.focused))[0].output' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*background: #1e2132 | |
*foreground: #c6c8d1 | |
! black | |
*color0: #2a3158 | |
*color8: #444b71 | |
! red | |
*color1: #e27878 | |
*color9: #e2a478 | |
! green | |
*color2: #89b8c2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# ██ ██ ██ ██ ██ | |
# ░██ ░░ ░██ ░██ ░██ | |
# ██████ ██ ░██ █████ ██████ █████ ██████ ██████ █████ ██████ | |
# ░░░██░ ░██ ░██ ██░░░██ █████ ██░░░░ ██░░░██░░░██░ ░░░██░ ██░░░██░░██░░█ | |
# ░██ ░██ ░██░███████░░░░░ ░░█████ ░███████ ░██ ░██ ░███████ ░██ ░ | |
# ░██ ░██ ░██░██░░░░ ░░░░░██░██░░░░ ░██ ░██ ░██░░░░ ░██ | |
# ░░██ ░██ ███░░██████ ██████ ░░██████ ░░██ ░░██ ░░██████░███ | |
# ░░ ░░ ░░░ ░░░░░░ ░░░░░░ ░░░░░░ ░░ ░░ ░░░░░░ ░░░ | |
# Aids in setting stupid tiles as X11 background; tints and tiles; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
find ~/.config/OpenRCT2/Scenarios/ -iname "*sc6" -print0 | while IFS= read -r -d '' path; do | |
name=$(basename "$path") | |
$(openrct2 screenshot "$path" /tmp/Scenarios/"$name".png 1024 1024 0 50 3 0) | |
done |
OlderNewer