Commit graph

257 commits

Author SHA1 Message Date
Pig Monkey
ab04cfc8d5 only start git-annex if autostart file exists
The service will fail otherwise.
2016-04-02 14:19:11 -07:00
Pig Monkey
42050cfe83 do not verify pgp key for tor browser
This is lame, but on a fresh install the user will not have the key in
their keyring. We could add it, but doing that blindly seems even worse
than just skipping it. This way the user will at least get an error
whenever they try to upgrade the package, which will prompt them to
acquire and verify the key manually.
2016-04-02 13:42:17 -07:00
Pig Monkey
96bf3c69c5 update ad hosts 2016-04-02 13:35:18 -07:00
Pig Monkey
cf8e7269fd include root hints 2016-04-02 13:32:08 -07:00
Pig Monkey
b37ec44b46 add weechat firejail profile 2016-04-02 10:54:22 -07:00
Pig Monkey
5187c982aa automatically include firejail profiles 2016-04-02 10:28:48 -07:00
Pig Monkey
96a523aa54 add zathura firejail profile 2016-04-02 10:18:40 -07:00
Pig Monkey
61ff65254b use private-etc in mpv firejail profile 2016-04-02 10:18:12 -07:00
Pig Monkey
be9c3a479a add chromium firejail profile 2016-04-02 10:17:16 -07:00
Pig Monkey
162275436c update mpd firejail profile 2016-03-31 20:58:40 -07:00
Pig Monkey
ed0a08d049 blacklist spark program files 2016-03-31 20:53:59 -07:00
Pig Monkey
f2485a2781 simplify firejail profiles with our own generic profile 2016-03-31 20:42:23 -07:00
Pig Monkey
f5e6e6b373 jail ncmpcpp 2016-03-31 20:28:07 -07:00
Pig Monkey
b6bcff0265 jail mpd
Ansible doesn't seem to have a way to interact with systemd user
instances. All the prep is done, but the user still needs to manually
enable and start the mpd user service.

    $ systemd --user enable mpd.service
    $ systemd --user start mpd.service

Alternatively, the user could include mpd in their shell profile,
xinitrc, or just call it whenever they want it to run. We jail mpd in
/usr/local/bin, just like everything else.

    $ mpd
2016-03-31 20:17:39 -07:00
Pig Monkey
08442f2701 jail mpv 2016-03-31 18:17:32 -07:00
Pig Monkey
e046ad7253 remove unnecessary profile entry 2016-03-31 18:16:27 -07:00
Pig Monkey
a8d303b5a5 jail pianobar 2016-03-31 18:16:11 -07:00
Pig Monkey
dd7d5cf206 install cli53
I don't know if this is the best way to handle building go packages.
Basically the idea is to treat GOPATH like python virtualenvs. A
different one for each thing we install. I'm open to other ideas (or
just moving the root to someplace other than /usr/local/go).
2016-03-31 11:17:33 -07:00
Pig Monkey
d71a93d610 lock down calibre 2016-03-29 20:42:19 -07:00
Pig Monkey
fa4bf737fc add firejail rtorrent profile 2016-03-29 20:21:37 -07:00
Pig Monkey
206f9a0de0 include custom firejail profiles 2016-03-29 19:43:09 -07:00
Pig Monkey
f918691e1c jail libreoffice
Useful with firewarden and a profile like this:
6aef951a65/config/firejail/libreoffice.profile
2016-03-29 17:44:41 -07:00
Pig Monkey
106713f402 flatten browser role 2016-03-25 20:27:21 -07:00
Pig Monkey
6dd81939b2 add tor browser 2016-03-20 18:22:03 -07:00
Pig Monkey
6b1d61afbf jail calibre 2016-03-20 17:37:56 -07:00
Pig Monkey
b4c70afa3b always adjust screen brightness on lock 2016-03-20 13:16:54 -07:00
Peter Hogg
0e0ba1fa68 Merge pull request #24 from brett/lyrics
add beautifulsoup4 for beets lyrics plugins
2016-03-06 15:23:40 -08:00
Peter Hogg
e6e7445b70 Merge pull request #23 from jshuping/hashicorp
role for the hashicorp tool suite
2016-02-29 18:50:09 -08:00
Pig Monkey
c01e34150a replace pmount with udisk/udiskie
udiskie can integrate with pass for LUKS passphrases, ie:
c87c293a78/config/udiskie/config.yml (L5)
2016-02-29 17:56:01 -08:00
Brett Eisenberg
836a1e5cab add beautifulsoup4 for beets lyrics plugins 2016-02-29 08:47:40 -08:00
Pig Monkey
cbd2025ba7 add showme script for sat images
Mostly stolen from:
https://github.com/mapbox/mapbox-cli-py/blob/master/examples/static_maps.md

In i3, float the window for maximum awesome.

    for_window [title="^showme$"] floating enable

Set your $MAPBOX_ACCESS_TOKEN in your shell. Then:

    $ showme seattle
    $ showme "1600 pennsylvania ave nw 20006" 18
2016-02-26 17:51:59 -08:00
Pig Monkey
13e8222d8f add mapbox-cli
With a free API token you can do all kinds of cool stuff:
https://github.com/mapbox/mapbox-cli-py/#usage
2016-02-26 17:44:11 -08:00
Pig Monkey
78a51525af notify the specified user on low battery 2016-02-20 13:19:17 -08:00
John Shuping
97f7d1ebd4 role for the hashicorp tool suite 2016-02-19 12:35:03 -05:00
Peter Hogg
155ed05681 Merge pull request #22 from jshuping/jq
jq: how I inspect json on the cmdline
2016-02-19 08:48:18 -08:00
John Shuping
6d9168952d jq: how I inspect json on the cmdline 2016-02-19 09:48:50 -05:00
Pig Monkey
87f1b9a2c2 add postgresql to readme 2016-02-18 14:00:33 -08:00
Pig Monkey
9cf3c330c0 prevent disk writes when idle
https://wiki.archlinux.org/index.php/PostgreSQL#Prevent_disk_writes_when_idle
2016-02-18 12:19:53 -08:00
Pig Monkey
b8e3c407ae disable synchronous commits
http://www.postgresql.org/docs/current/static/runtime-config-wal.html#GUC-SYNCHRONOUS-COMMIT
2016-02-18 12:15:37 -08:00
Pig Monkey
ea522fcb77 install postgresql 2016-02-17 17:43:47 -08:00
Peter Hogg
363d9ea1ad Merge pull request #21 from jshuping/ais
homemade AIS receiver with OpenCPN
2016-02-17 09:00:22 -08:00
Pig Monkey
67d7423449 add volume adjustment script
This seems kind of lame but solves two problems.

One of my USB audio devices only shows up with a Speaker channel, so I
can't just use my keyboard shortcut to adjust Master all the time.
Trying to adjust channels that don't exist doesn't hurt anything, so I
might as well just adjust all 3 outputs that I potentially care about.

Sometimes I'll end up with Capture off and Mic unmuted or vice versa.
Toggling them both together means they're always in the same state,
making it easier to figure out what is going on.
2016-02-17 08:53:10 -08:00
John Shuping
9c620f9499 remove unnecessary tags 2016-02-17 11:16:58 -05:00
Pig Monkey
3ff8ffbc10 avoid log rotation recursion of doom 2016-02-16 21:42:32 -08:00
Pig Monkey
617a71b1df swap python-keyring backend 2016-02-16 21:42:25 -08:00
Pig Monkey
8a807a336c make dbus available to mailsync service
This may be needed if imap/smtp passwords are stored in gnome-keyring or
somesuch.
2016-02-16 21:41:27 -08:00
Pig Monkey
50e5c72d74 set user uid
I'm assuming this won't break anything because most users will already
be 1000. Existing users whose primary accounts have a different UID
should set the var appropriately.
2016-02-16 21:40:28 -08:00
John Shuping
7db2a0b026 homemade AIS receiver with OpenCPN
(see
https://www.reddit.com/r/RTLSDR/comments/1mcikt/for_the_nautical_set_rtlsdr_with_grais_and_opencpn/)
2016-02-16 21:16:05 -05:00
Pig Monkey
5c9f6902f0 use a timer to poll for battery state
Existing users should remove the old udev rules.

    # rm /etc/udev/rules.d/99-lowbat.rules

notify-send doesn't work since the script is being called as root, but
that is fixable. This at least gets the low battery notification via
wall and suspension at critical levels working consistently, unlike the
unreliable udev approach.
2016-02-14 17:02:43 -08:00
Peter Hogg
a03f170dc1 Merge pull request #16 from jshuping/radio_progs
add basic ham radio stuff. Fixes #7
2016-02-12 12:55:50 -08:00