Put flip somewhere in your $PATH and chmod a+x it.
Copy fuck into ~/.bashrc.
| # Oona Räisänen 2013 | |
| # http://windytan.com | |
| # ssh-keygen -l -f ~/.ssh/id_rsa.pub | perl emoji.pl | |
| @emoji = qw( 🌀 🌂 🌅 🌈 🌙 🌞 🌟 🌠 🌰 🌱 🌲 🌳 🌴 🌵 🌷 🌸 | |
| 🌹 🌺 🌻 🌼 🌽 🌾 🌿 🍀 🍁 🍂 🍃 🍄 🍅 🍆 🍇 🍈 | |
| 🍉 🍊 🍋 🍌 🍍 🍎 🍏 🍐 🍑 🍒 🍓 🍔 🍕 🍖 🍗 🍘 | |
| 🍜 🍝 🍞 🍟 🍠 🍡 🍢 🍣 🍤 🍥 🍦 🍧 🍨 🍩 🍪 🍫 | |
| 🍬 🍭 🍮 🍯 🍰 🍱 🍲 🍳 🍴 🍵 🍶 🍷 🍸 🍹 🍺 🍻 |
| #!/usr/bin/env python | |
| import i3 | |
| outputs = i3.get_outputs() | |
| workspaces = i3.get_workspaces() | |
| # figure out what is on, and what is currently on your screen. | |
| workspace = list(filter(lambda s: s['focused']==True, workspaces)) | |
| output = list(filter(lambda s: s['active']==True, outputs)) |
| * { | |
| font-size: 12pt; | |
| font-family: monospace; | |
| font-weight: normal; | |
| font-style: normal; | |
| text-decoration: none; | |
| color: black; | |
| cursor: default; | |
| } |
| /* | |
| Requires jsdom and request. | |
| Grabs serienplakat.de to check for free posters | |
| */ | |
| var dom = require('jsdom'); | |
| var request = require('request'); | |
| var mainURL = 'http://serienplakat.de'; | |
| var detailURL = mainURL + '/backend/_ajax.php'; | |
| var scripts = ['http://code.jquery.com/jquery.js']; |