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 bash | |
| # brew-install - install Homebrew to a custom prefix | |
| # copyright (c) 2021 Alex Rogers (https://github.com/linguisticmind) | |
| # | |
| # This program is free software: you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation, either version 3 of the License, or | |
| # (at your option) any later version. | |
| # |
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 bash | |
| # port-install - install MacPorts from a tarball to a custom prefix | |
| # copyright (c) 2021 Alex Rogers (https://github.com/linguisticmind) | |
| # | |
| # This program is free software: you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation, either version 3 of the License, or | |
| # (at your option) any later version. | |
| # |
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 bash | |
| function print_demo_msg { | |
| printf '\x1b[38;5;243;48;5;233m%s\x1b[49;39m\n' "$1" | |
| printf '%s\n' "$2" #| batcat -pl bash --color=always --theme='OneHalfDark' | |
| } | |
| version=0.1.0 | |
| getopt -T > /dev/null |
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
| -- Put this code in the 'Key bindings' section -- | |
| -- e.g. after the 'view next' shortcut | |
| -- Video: https://youtu.be/d9TszCt4NzM | |
| awful.key({ modkey, "Shift" }, "Left", | |
| function() | |
| local s = awful.screen.focused() | |
| if s.selected_tag == s.tags[1] then return end | |
| if client.focus then |
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
| :root { | |
| --theme-style: dark; | |
| --main-font-family: 'Source Code Pro', 'Source Han Mono'; | |
| --main-font-size: 1.2em; | |
| --tree-font-family: 'Source Code Pro', 'Source Han Mono'; | |
| --tree-font-size: normal; | |
| --detail-font-family: 'Source Code Pro', 'Source Han Mono'; |
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
| # This is a PulseAudio setup for streaming OBS Virtual Camera + PulseAudio over a video call | |
| # Video tutorial: https://youtu.be/GukhJv-4PPU | |
| .include /etc/pulse/default.pa | |
| .ifexists module-null-sink.so | |
| load-module module-null-sink sink_name=virtual_speaker_1 sink_properties='device.description="Virtual Speaker 1: Non-Streaming Apps"' | |
| load-module module-null-sink sink_name=virtual_speaker_2 sink_properties='device.description="Virtual Speaker 2: Streaming Apps"' | |
| load-module module-null-sink sink_name=virtual_speaker_3 sink_properties='device.description="Virtual Speaker 3: OBS Monitoring Device"' | |
| .endif |
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
| -- Put this code in the 'Keybindings' section, | |
| -- under 'Layout manipulation' -- | |
| -- e.g. after the 'focus the previous screen' shortcut | |
| -- Video tutorial: https://youtu.be/FfYWVOFUJJU | |
| awful.key({modkey, "Control", "Mod1"}, "j", | |
| function() | |
| awful.screen.focus_relative( 1) | |
| wibox.widget.systray():set_screen(awful.screen.focused()) |
NewerOlder