From 2dda9880d52c6f5e70fedde5058427321cca3ab9 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Fri, 24 Jan 2020 12:46:51 -0600 Subject: [PATCH] Squashed commit of the following: commit 74cc8fa92e890153855597467cb0cc6981acb5ba Author: Daniel Flanagan Date: Fri Jan 24 12:45:49 2020 -0600 MIC SCRIPT commit dbd88dde4bc4e03e57505983c0fb199d8625122d Author: Daniel Flanagan Date: Thu Jan 23 12:38:19 2020 -0600 Mic script, amd stuff, more fish fixes commit dadb7da642d1b7fbf27612c2e0f4b9aae457931a Author: Daniel Flanagan Date: Thu Jan 23 09:51:03 2020 -0600 Remove more generated fish stuff, more fixes commit b09a25cc17561ed4e97690dfd1decac3fc49e279 Author: Daniel Flanagan Date: Wed Jan 22 17:25:47 2020 -0600 More fixes to various things commit 58f662628019d56458a537e487bc5e630220a6ac Author: Daniel Flanagan Date: Wed Jan 22 08:34:12 2020 -0600 Updates commit 00e919f7f53f046fbd621dd92a30376020bd73ff Author: Daniel Flanagan Date: Mon Jan 20 14:28:45 2020 -0600 Fix notes and add vim pager commit 5100983350a9e9a30b0b87cc56897bbca521daa2 Author: Daniel Flanagan Date: Mon Jan 20 14:01:06 2020 -0600 More fixes and cleanup commit 85eab2155c7b884e5426790263e329df60c9c2dc Author: Daniel Flanagan Date: Mon Jan 20 13:09:31 2020 -0600 More notes commit da496b7f0c41b0cfaa888782ce3773f05096f868 Author: Daniel Flanagan Date: Mon Jan 20 12:43:55 2020 -0600 Maybe actually fix colors? commit 3c11353256bebd3e543b65373f5130ea19badf05 Author: Daniel Flanagan Date: Mon Jan 20 12:32:23 2020 -0600 Colors fixed? commit f2a5060e7dd7e77a10e6e75e25b3a178ee2c7c03 Author: Daniel Flanagan Date: Mon Jan 20 11:40:26 2020 -0600 Things commit f44d0d54799ebbf7a59fad032a83cfa0d7da645a Author: Daniel Flanagan Date: Mon Jan 20 10:54:09 2020 -0600 Kitty colors commit 5f0fa76a67db2e933faf6bcc158e89b14e778112 Author: Daniel Flanagan Date: Mon Jan 20 10:49:06 2020 -0600 More updates for fish migration commit 5b05be9fe7b353589f771dd3c09ec2be2803e1be Author: Daniel Flanagan Date: Mon Jan 20 09:14:08 2020 -0600 Nah commit fe0f1d8e32f990a43f510433a7cfc85c02fcfabc Merge: 52fe38f 205c12a Author: Daniel Flanagan Date: Mon Jan 20 09:13:09 2020 -0600 Merge branch 'dev' of ssh://git.lyte.dev:2222/lytedev/dotfiles into dev commit 52fe38f42a84b5afd6b00bf6e2afe6e93e25f77d Author: Daniel Flanagan Date: Mon Jan 20 09:12:52 2020 -0600 More fish fixes commit 205c12a0517fa09c711d2abdbc6ee2cc02f22ecd Author: Daniel Flanagan Date: Sat Jan 18 23:15:13 2020 -0600 WIP commit b73c4b26a4bcaedfa03e540035a57434972ce27a Author: Daniel Flanagan Date: Fri Jan 17 10:36:20 2020 -0600 Remove debug code, fix asdf references for fish commit d6ecaf88be5f6e56321d123a6651007048183d53 Merge: 2e6b90b 46793bb Author: Daniel Flanagan Date: Fri Jan 17 10:34:01 2020 -0600 Merge remote-tracking branch 'origin/lappy' into dev commit 2e6b90bed3d61dc53a055ab83c3ae885f4361140 Author: Daniel Flanagan Date: Fri Jan 17 10:26:00 2020 -0600 Pulsemixer > pavucontrol and some sway fixes commit 46793bb7353dc964191c67162c416bdd372a992d Author: Daniel Flanagan Date: Fri Jan 17 03:02:53 2020 -0600 Whew commit 26f32a0c6b5934fbbfe3dabd03e945957df4a0f6 Author: Daniel Flanagan Date: Thu Jan 16 17:01:59 2020 -0600 WIP fish configuration commit fb0389eea4124d2b3a1866aef846c42c389a69e3 Author: Daniel Flanagan Date: Thu Jan 16 13:30:35 2020 -0600 Fiiiish commit 2f1af8411adec6ae34d122dfb02b666ea3b4f097 Author: Daniel Flanagan Date: Thu Jan 16 13:28:23 2020 -0600 Stuff commit ba8ec1f5248f1c30c7ab69f73cd05ca223631712 Author: Daniel Flanagan Date: Thu Jan 9 19:02:31 2020 -0600 Fix some dock stuff, erlang with wx commit d80a823ce2723f9ab283ee92cda30644e00cd770 Merge: 36d58e0 5195a85 Author: Daniel Flanagan Date: Wed Jan 8 13:32:56 2020 -0600 Merge remote-tracking branch 'origin/lappy' into wip-refactor commit 36d58e037f830475af636cdbde0b6ffd2dc9ec30 Author: Daniel Flanagan Date: Wed Jan 8 10:59:45 2020 -0600 Testing signed commits commit 5195a855a6619cbe72af8c806bca5de8d30cecc5 Author: Daniel Flanagan Date: Tue Jan 7 19:38:43 2020 -0600 Bars commit 1acb330746b88b6e1a1660fd2dd3166829775b5a Author: Daniel Flanagan Date: Tue Jan 7 11:36:12 2020 -0600 SWAAAAAY commit f547e5ec2848c4963129d756d7388dbabd15f73c Merge: aa29acb b1709d1 Author: Daniel Flanagan Date: Tue Jan 7 10:59:24 2020 -0600 Merge remote-tracking branch 'origin/wip-refactor' into lappy commit b1709d1e94b13199184fb1c8b95fb6b7f7c96a2f Author: Daniel Flanagan Date: Tue Jan 7 10:59:22 2020 -0600 Stuff commit aa29acb364023a109d562fcdf0338477ec7aa213 Merge: 66cc873 2456dad Author: Daniel Flanagan Date: Tue Jan 7 10:58:29 2020 -0600 Merge remote-tracking branch 'origin/wip-refactor' into lappy commit 2456dad7def9c24442ba33b94dbe2ae0b2e0d267 Author: Daniel Flanagan Date: Mon Jan 6 11:15:30 2020 -0600 Zstd commit 66cc8734a82055d05b42ad63821ec35466b960ea Author: Daniel Flanagan Date: Tue Dec 31 21:48:49 2019 -0600 Fix sudo setup and use fancy email for git commit a05c02e1fb31a6c44d442ddda43ffb8ef5e74b9b Author: Daniel Flanagan Date: Tue Dec 31 17:03:22 2019 -0600 Fancy colors commit 026220fe2623fd4bcccbb8b5aeae003bfce1c53f Author: Daniel Flanagan Date: Tue Dec 31 16:55:45 2019 -0600 SMTP tools commit e2a854df650710ee7cf32f713d8edf0d198d23be Merge: 0d0e131 825d91b Author: Daniel Flanagan Date: Tue Dec 31 15:07:09 2019 -0600 Merge branch 'wip-refactor' into lappy commit 0d0e131714c756be933e158919908c19e0c35b2b Author: Daniel Flanagan Date: Tue Dec 31 14:26:44 2019 -0600 Stuff commit 825d91b46250c283ddc6f128d8857bbb4b31e8cf Author: Daniel Flanagan Date: Tue Dec 31 10:15:01 2019 -0600 Utility updates commit ae350894af674e454882197c11a312063b6df050 Author: Daniel Flanagan Date: Mon Dec 30 10:02:14 2019 -0600 Lul. commit ea5debe38cf18bd4ad1b02e756e6ae6acc9a214b Author: Daniel Flanagan Date: Mon Dec 16 17:21:44 2019 -0600 WIP chat system commit c40fe94b7027ba9a58786fe4683e3b076b551ccd Author: Daniel Flanagan Date: Mon Dec 16 09:57:21 2019 -0600 Add weechat config commit 76e8a68c34dcbce613255dc4e6c4a7e5b643ce53 Author: Daniel Flanagan Date: Mon Dec 16 09:51:21 2019 -0600 Preparing for weechat stuf commit 25aecdc139099c904d60b9c02b4adace7ea1acd8 Author: Daniel Flanagan Date: Fri Dec 13 11:32:15 2019 -0600 Goodies? commit 8d1e86feb4ebccec06233f8ea1f67b75d63cf222 Author: Daniel Flanagan Date: Thu Dec 12 13:31:18 2019 -0600 Logging for pipelines? commit b81bdf6abd767e4f071e78b8478c52eab4a75479 Author: Daniel Flanagan Date: Thu Dec 12 13:17:20 2019 -0600 errors break things? commit 6f7d80d761f0879e241c8d6ede24ad2199b674d1 Merge: 7659442 bc5ce9e Author: Daniel Flanagan Date: Thu Dec 12 13:04:52 2019 -0600 Merge branch 'master' of ssh://git.lyte.dev:2222/lytedev/dotfiles commit 76594427ff4b991b4695847d2c3d0d110932c0c5 Author: Daniel Flanagan Date: Thu Dec 12 13:00:03 2019 -0600 Pipelines! commit 972508e74de6e41fd2633b1405c032935f8d9a3c Author: Daniel Flanagan Date: Thu Dec 12 11:02:24 2019 -0600 WIP pipeline commit 898848669cfd5f26e9034295d7c5d3c2401fca09 Author: Daniel Flanagan Date: Fri Dec 6 10:08:42 2019 -0600 Archive commit 16895af7988aaf53b0dcbeb19c598f601ba2773c Author: Daniel Flanagan Date: Thu Dec 5 16:09:52 2019 -0600 Helpful bins commit 3a8eb5d475cba74985e89f4f779827b6e60c4755 Author: Daniel Flanagan Date: Mon Dec 2 09:31:28 2019 -0600 Move a lot of stuff around --- .gitignore | 17 +- Makefile | 3 +- {de => apps/de}/bspwm/config | 37 +- apps/de/bspwm/rc | 26 + de/bspwm/fehbg => apps/de/bspwm/wallpapers | 0 apps/de/bspwm/wmstart | 3 + {de => apps/de}/compton/compton.conf | 0 de/dunst/dunstrc => apps/de/dunst/rc | 0 {de => apps/de}/gtk/2rc | 2 +- {de => apps/de}/gtk/3settings.ini | 2 +- {de => apps/de}/libinput/gestures.conf | 0 {de => apps/de}/libinput/touchpad.conf | 1 + apps/de/mako/config | 4 + .../polybar-config => apps/de/polybar/config | 22 +- de/bar/mic.bash => apps/de/polybar/mic.sh | 10 +- de/bar/bar.bash => apps/de/polybar/run | 16 +- apps/de/sway/config | 131 ++++ de/sway/dm_entry => apps/de/sway/dm-entry | 0 de/sway/sway-init => apps/de/sway/init | 11 +- {de => apps/de}/sway/sway_config | 2 +- de/sxhkd/sxhkdrc => apps/de/sxhkd/rc | 31 +- apps/de/waybar/config | 158 ++++ apps/de/waybar/style.css | 188 +++++ apps/de/x/init | 15 + apps/de/x/loadresources | 23 + {de => apps/de}/x/modmap | 0 apps/de/x/profile | 23 + {de => apps/de}/x/resources | 18 +- apps/elixir/iex.exs | 13 + apps/git/config | 11 +- apps/htop/rc | 6 +- apps/kitty/kitty.conf | 55 +- apps/mutt/{muttrc => rc} | 0 apps/neofetch/config | 308 +------- apps/neovim/bindings.vim | 58 +- apps/neovim/commands.vim | 16 - apps/neovim/ftplugin/cs.vim | 4 - apps/neovim/ftplugin/elixir.vim | 47 +- apps/neovim/ftplugin/javascript.vim | 1 - apps/neovim/ftplugin/lua.vim | 1 + apps/neovim/ftplugin/moon.vim | 12 + apps/neovim/ftplugin/rust.vim | 1 - apps/neovim/ftplugin/typescript.vim | 2 - apps/neovim/ftplugin/vim.vim | 1 - apps/neovim/ftplugin/vue.vim | 1 - apps/neovim/init.vim | 52 +- apps/neovim/plugins.vim | 60 +- apps/neovim/settings.vim | 14 +- .../aliases => apps/shell/bash/aliases.bash | 22 +- {shell => apps/shell}/bash/autocompletions | 0 .../bash_profile => apps/shell/bash/profile | 4 +- {shell => apps/shell}/bash/prompt | 0 apps/shell/bash/rc | 70 ++ apps/shell/fish/.gitignore | 2 + apps/shell/fish/aliases.fish | 184 +++++ apps/shell/fish/colors.fish | 33 + apps/shell/fish/config.fish | 61 ++ apps/shell/fish/key-bindings.fish | 24 + apps/shell/fish/paths.fish | 45 ++ apps/shell/fish/prompt.fish | 44 ++ {shell => apps/shell}/inputrc | 0 shell/tmux/tmux.conf => apps/shell/tmux/conf | 58 +- {shell => apps/shell}/tmux/layouts/dev.tmux | 0 apps/shell/user-dirs | 8 + apps/tmpfiles/disable-lid-wakeup | 1 + apps/udev-rules/lowbat | 2 + .../udev-rules/usb-device-plugin | 0 apps/udev-rules/wifi-powersave | 1 + apps/weechat/.gitignore | 21 +- apps/weechat/alias.conf | 47 ++ apps/weechat/buflist.conf | 39 + apps/weechat/charset.conf | 18 + apps/weechat/exec.conf | 19 + apps/weechat/fifo.conf | 14 + apps/weechat/fset.conf | 95 +++ apps/weechat/irc.conf | 158 ++++ apps/weechat/logger.conf | 36 + apps/weechat/lua.conf | 14 + apps/weechat/perl.conf | 14 + apps/weechat/python.conf | 14 + apps/weechat/relay.conf | 55 ++ apps/weechat/script.conf | 56 ++ apps/weechat/spell.conf | 33 + apps/weechat/tcl.conf | 14 + apps/weechat/trigger.conf | 67 ++ apps/weechat/weechat.conf | 674 ++++++++++++++++++ apps/weechat/xfer.conf | 49 ++ bin/app-launcher | 9 +- bin/archive | 5 + bin/archive.moon | 5 + bin/archupdate | 3 + bin/clip | 5 + bin/clipstatus | 5 + bin/compress | 3 + bin/decompress | 3 + bin/dotfiles-make-env | 30 + bin/dotfiles-update | 5 + bin/email-via-mailgun-smtp | 73 ++ bin/ezln | 4 +- bin/fsw | 18 +- bin/gcwd | 9 +- bin/has_command | 3 + bin/image-viewer | 2 + bin/lib/ansi_graphics_codes.tsv | 45 ++ .../arch-linux/provisioning/0-adduser.bash | 0 .../arch-linux/provisioning/1-pacaur.bash | 0 .../arch-linux/provisioning/2-essentials.bash | 25 +- .../arch-linux/provisioning/3-extras.bash | 2 + bin/lib/arch-linux/provisioning/4-comms.bash | 14 + bin/lib/arch-linux/provisioning/amd.bash | 4 + .../lib}/arch-linux/provisioning/irc.bash | 0 .../lib}/arch-linux/provisioning/nvidia.bash | 0 .../arch-linux/provisioning/tmux-plugins.bash | 0 .../lib}/arch-linux/scripts/.gitkeep | 0 .../lib}/colors/generator/.gitignore | 0 .../lib}/colors/generator/gen.bash | 0 bin/lib/colors/generator/gen.moon | 20 + .../lib}/colors/generator/schemes/bright.yml | 0 bin/lib/colors/generator/schemes/donokai.moon | 22 + .../lib}/colors/generator/schemes/donokai.yml | 0 .../colors/generator/schemes/donokaiblack.yml | 0 .../colors/generator/schemes/holodized.yml | 0 bin/lib/colors/generator/templates/shell | 250 +++++++ bin/lib/colors/generator/templates/shell.moon | 255 +++++++ {scripts => bin/lib}/colors/set-theme.bash | 2 +- {scripts => bin/lib}/colors/shell | 0 {scripts => bin/lib}/colors/vconsole | 0 {scripts => bin/lib}/colors/vim | 10 - {scripts => bin/lib}/colors/xresources | 0 {scripts => bin/lib}/setup_helpers.bash | 6 +- bin/lib/sudo_setup | 32 + bin/linewise | 10 + bin/maybe_source_env_file | 4 + bin/n | 2 +- bin/nf | 4 +- bin/optimize-image-for-web | 18 + bin/paths | 31 + bin/pipeline | 67 ++ bin/pipelines/b64/transform | 4 + bin/pipelines/base64/transform | 4 + bin/pipelines/linewise/transform | 4 + bin/pipelines/test/transform | 4 + bin/pipelines/xxd/transform | 4 + bin/prelude | 19 + bin/script-opts | 3 + bin/scwd | 7 +- bin/setbg | 1 + bin/source_if_exists | 4 + bin/startbar | 4 +- bin/terminal-rendering-test | 21 + bin/tmux-save-buffer | 7 +- bin/tmuxswitcher | 2 +- bin/unarchive | 9 + bin/undock | 6 +- bin/upload | 29 +- bin/vimpager | 6 + bin/vman | 13 +- bin/workdock | 10 - de/bspwm/bspwmrc | 65 -- de/bspwm/wmstart | 6 - de/x/initrc | 46 -- de/x/loadresources | 56 -- de/x/profile | 57 -- env/desktop/bash | 4 + env/desktop/bspwm | 4 + env/desktop/config.fish | 13 + env/desktop/x/resources | 16 + env/laptop/bin/workdock | 16 + env/laptop/polybar | 9 + env/laptop/vim | 0 env/laptop/x/init | 0 env/laptop/x/lodpi-resources | 19 + env/laptop/x/resources | 10 + readme.md | 3 +- scripts/arch-linux/provisioning/amd.bash | 3 - setup => setup.bash | 101 ++- shell/bash/bashrc | 122 ---- shell/bash/paths | 34 - shell/user-dirs | 8 - sudo_setup | 24 - 180 files changed, 4020 insertions(+), 1164 deletions(-) rename {de => apps/de}/bspwm/config (55%) create mode 100755 apps/de/bspwm/rc rename de/bspwm/fehbg => apps/de/bspwm/wallpapers (100%) create mode 100755 apps/de/bspwm/wmstart rename {de => apps/de}/compton/compton.conf (100%) rename de/dunst/dunstrc => apps/de/dunst/rc (100%) rename {de => apps/de}/gtk/2rc (64%) rename {de => apps/de}/gtk/3settings.ini (77%) rename {de => apps/de}/libinput/gestures.conf (100%) rename {de => apps/de}/libinput/touchpad.conf (84%) create mode 100644 apps/de/mako/config rename de/bar/polybar-config => apps/de/polybar/config (97%) rename de/bar/mic.bash => apps/de/polybar/mic.sh (57%) rename de/bar/bar.bash => apps/de/polybar/run (85%) create mode 100644 apps/de/sway/config rename de/sway/dm_entry => apps/de/sway/dm-entry (100%) rename de/sway/sway-init => apps/de/sway/init (62%) rename {de => apps/de}/sway/sway_config (99%) rename de/sxhkd/sxhkdrc => apps/de/sxhkd/rc (91%) create mode 100644 apps/de/waybar/config create mode 100644 apps/de/waybar/style.css create mode 100644 apps/de/x/init create mode 100755 apps/de/x/loadresources rename {de => apps/de}/x/modmap (100%) create mode 100644 apps/de/x/profile rename {de => apps/de}/x/resources (66%) create mode 100644 apps/elixir/iex.exs rename apps/mutt/{muttrc => rc} (100%) create mode 100644 apps/neovim/ftplugin/lua.vim create mode 100644 apps/neovim/ftplugin/moon.vim rename shell/bash/aliases => apps/shell/bash/aliases.bash (89%) rename {shell => apps/shell}/bash/autocompletions (100%) rename shell/bash/bash_profile => apps/shell/bash/profile (57%) rename {shell => apps/shell}/bash/prompt (100%) create mode 100644 apps/shell/bash/rc create mode 100644 apps/shell/fish/.gitignore create mode 100755 apps/shell/fish/aliases.fish create mode 100755 apps/shell/fish/colors.fish create mode 100755 apps/shell/fish/config.fish create mode 100755 apps/shell/fish/key-bindings.fish create mode 100755 apps/shell/fish/paths.fish create mode 100755 apps/shell/fish/prompt.fish rename {shell => apps/shell}/inputrc (100%) rename shell/tmux/tmux.conf => apps/shell/tmux/conf (77%) rename {shell => apps/shell}/tmux/layouts/dev.tmux (100%) create mode 100644 apps/shell/user-dirs create mode 100644 apps/tmpfiles/disable-lid-wakeup create mode 100644 apps/udev-rules/lowbat rename de/udev-rules/90-usb-device-plugin.rules => apps/udev-rules/usb-device-plugin (100%) create mode 100644 apps/udev-rules/wifi-powersave create mode 100644 apps/weechat/alias.conf create mode 100644 apps/weechat/buflist.conf create mode 100644 apps/weechat/charset.conf create mode 100644 apps/weechat/exec.conf create mode 100644 apps/weechat/fifo.conf create mode 100644 apps/weechat/fset.conf create mode 100644 apps/weechat/irc.conf create mode 100644 apps/weechat/logger.conf create mode 100644 apps/weechat/lua.conf create mode 100644 apps/weechat/perl.conf create mode 100644 apps/weechat/python.conf create mode 100644 apps/weechat/relay.conf create mode 100644 apps/weechat/script.conf create mode 100644 apps/weechat/spell.conf create mode 100644 apps/weechat/tcl.conf create mode 100644 apps/weechat/trigger.conf create mode 100644 apps/weechat/weechat.conf create mode 100644 apps/weechat/xfer.conf create mode 100755 bin/archive create mode 100755 bin/archive.moon create mode 100755 bin/clip create mode 100755 bin/clipstatus create mode 100755 bin/compress create mode 100755 bin/decompress create mode 100755 bin/dotfiles-make-env create mode 100755 bin/dotfiles-update create mode 100755 bin/email-via-mailgun-smtp create mode 100755 bin/has_command create mode 100755 bin/image-viewer create mode 100644 bin/lib/ansi_graphics_codes.tsv rename {scripts => bin/lib}/arch-linux/provisioning/0-adduser.bash (100%) rename {scripts => bin/lib}/arch-linux/provisioning/1-pacaur.bash (100%) rename {scripts => bin/lib}/arch-linux/provisioning/2-essentials.bash (75%) rename {scripts => bin/lib}/arch-linux/provisioning/3-extras.bash (96%) create mode 100755 bin/lib/arch-linux/provisioning/4-comms.bash create mode 100755 bin/lib/arch-linux/provisioning/amd.bash rename {scripts => bin/lib}/arch-linux/provisioning/irc.bash (100%) rename {scripts => bin/lib}/arch-linux/provisioning/nvidia.bash (100%) rename {scripts => bin/lib}/arch-linux/provisioning/tmux-plugins.bash (100%) rename {scripts => bin/lib}/arch-linux/scripts/.gitkeep (100%) rename {scripts => bin/lib}/colors/generator/.gitignore (100%) rename {scripts => bin/lib}/colors/generator/gen.bash (100%) create mode 100755 bin/lib/colors/generator/gen.moon rename {scripts => bin/lib}/colors/generator/schemes/bright.yml (100%) create mode 100644 bin/lib/colors/generator/schemes/donokai.moon rename {scripts => bin/lib}/colors/generator/schemes/donokai.yml (100%) rename {scripts => bin/lib}/colors/generator/schemes/donokaiblack.yml (100%) rename {scripts => bin/lib}/colors/generator/schemes/holodized.yml (100%) create mode 100755 bin/lib/colors/generator/templates/shell create mode 100644 bin/lib/colors/generator/templates/shell.moon rename {scripts => bin/lib}/colors/set-theme.bash (83%) rename {scripts => bin/lib}/colors/shell (100%) rename {scripts => bin/lib}/colors/vconsole (100%) rename {scripts => bin/lib}/colors/vim (97%) rename {scripts => bin/lib}/colors/xresources (100%) rename {scripts => bin/lib}/setup_helpers.bash (95%) create mode 100755 bin/lib/sudo_setup create mode 100755 bin/linewise create mode 100755 bin/maybe_source_env_file create mode 100755 bin/optimize-image-for-web create mode 100755 bin/paths create mode 100755 bin/pipeline create mode 100755 bin/pipelines/b64/transform create mode 100755 bin/pipelines/base64/transform create mode 100755 bin/pipelines/linewise/transform create mode 100755 bin/pipelines/test/transform create mode 100755 bin/pipelines/xxd/transform create mode 100755 bin/prelude create mode 100755 bin/script-opts create mode 100755 bin/source_if_exists create mode 100755 bin/terminal-rendering-test create mode 100755 bin/unarchive create mode 100755 bin/vimpager delete mode 100755 bin/workdock delete mode 100755 de/bspwm/bspwmrc delete mode 100755 de/bspwm/wmstart delete mode 100644 de/x/initrc delete mode 100755 de/x/loadresources delete mode 100644 de/x/profile create mode 100755 env/desktop/bash create mode 100755 env/desktop/bspwm create mode 100755 env/desktop/config.fish create mode 100755 env/desktop/x/resources create mode 100755 env/laptop/bin/workdock create mode 100755 env/laptop/polybar create mode 100755 env/laptop/vim create mode 100755 env/laptop/x/init create mode 100755 env/laptop/x/lodpi-resources create mode 100755 env/laptop/x/resources delete mode 100755 scripts/arch-linux/provisioning/amd.bash rename setup => setup.bash (51%) delete mode 100644 shell/bash/bashrc delete mode 100644 shell/bash/paths delete mode 100644 shell/user-dirs delete mode 100755 sudo_setup diff --git a/.gitignore b/.gitignore index 02979f9..2333b4f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,18 @@ -colors/gen/vendor -colors/gen/tmp *.lock *.log *.pid *.tmp *.secret -/.repositories -/.env/ + +# TODO: should be unnecessary once color generation is homegrown +/colors/gen/vendor +/colors/gen/tmp + +# keep the pipelines but hide their results +/bin/pipelines/*/*/* + +# a place to keep secrets per-env +/env/*/.hidden + +# ... and a place to keep shared secrets +/env/.hidden diff --git a/Makefile b/Makefile index 0aa3c27..f2feca5 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,6 @@ MAKEFILE_PATH ?= $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST)))) -ALERT_AGREEMENT_FILE ?= "$(MAKEFILE_PATH)/.agreed-to-erasing-files.lock" default: install install: - ./setup + cd ${MAKEFILE_PATH} && ./setup.bash diff --git a/de/bspwm/config b/apps/de/bspwm/config similarity index 55% rename from de/bspwm/config rename to apps/de/bspwm/config index 27a9d34..8deecdc 100755 --- a/de/bspwm/config +++ b/apps/de/bspwm/config @@ -1,21 +1,17 @@ -#!/usr/bin/env bash +#!/usr/bin/env sh -BORDER_WIDTH=5 # change in bspwmrc -export WINDOW_GAP=25 -DESKTOPS=(dev web gfx env play chat misc mon out util) +export WINDOW_GAP=0 +NUM_DESKTOPS=10 +DESKTOPS=$(seq "$NUM_DESKTOPS") BSPWM_MONITORS=$(bspc query -M | tac) -MONITOR_COUNT=$(echo "${BSPWM_MONITORS}" | wc -w | awk '{ printf $1 }') -NUM_DESKTOPS=${#DESKTOPS[@]} +MONITOR_COUNT=$(<<< "$BSPWM_MONITORS" wc -w | awk '{ printf $1 }') PER_MONITOR=$((NUM_DESKTOPS / MONITOR_COUNT)) -REVERSE_DESKTOP_ORDERING=0 +REVERSE_DESKTOP_ORDERING=${REVERSE_DESKTOP_ORDERING:-0} -# allow a per-device config to override options -if [ -f "$EDFP/bspwm" ]; then - source "$EDFP/bspwm" -fi +. maybe_source_env_file bspwm -bspc config normal_border_color "$(xrdb -query | sed -ne 's/.*background:\s*//p')" +bspc config normal_border_color "$(xrdb -query | sed -ne 's/.*background:\s*//p')" bspc config focused_border_color "$(xrdb -query | sed -ne 's/.*color0\?4:\s*//p')" bspc config active_border_color "$(xrdb -query | sed -ne 's/.*color0\?4:\s*//p')" bspc config presel_feedback_color "$(xrdb -query | sed -ne 's/.*color0\?4:\s*//p')" @@ -26,34 +22,29 @@ bspc config gapless_monocle true bspc config pointer_modifier "mod4" bspc config remove_unplugged_monitors true bspc config remove_disabled_monitors true - -bspc config window_gap "$WINDOW_GAP" +bspc config window_gap "$WINDOW_GAP" bspc rule -a "*" split_dir=right i=1 -for mon in ${BSPWM_MONITORS}; do +for mon in $BSPWM_MONITORS; do max=$((i + PER_MONITOR - 1)) screens= for j in $(seq $i $max); do - ind=${DESKTOPS[$((j - 1))]} - screens="${screens}${ind} " + screens="${screens}${j} " done bspc monitor "$mon" -d $screens i=$((max + 1)) done -if [[ $REVERSE_DESKTOP_ORDERING -eq 1 ]]; then +if [ $REVERSE_DESKTOP_ORDERING -eq 1 ]; then prev_mon= for mon in ${BSPWM_MONITORS}; do - if [[ ! -z $prev_mon ]]; then + if [ ! -z $prev_mon ]; then bspc monitor "$mon" --swap "$prev_mon" fi prev_mon="$mon" done fi -# allow a per-device config to override options -if [ -f "$EDFP/bspwm-after" ]; then - source "$EDFP/bspwm-after" -fi +. maybe_source_env_file bspwm-after diff --git a/apps/de/bspwm/rc b/apps/de/bspwm/rc new file mode 100755 index 0000000..1aa721f --- /dev/null +++ b/apps/de/bspwm/rc @@ -0,0 +1,26 @@ +#!/usr/bin/env sh + +NO_COMPTON=1 +START_BAR=1 +BAR_COMMAND="startbar" + +BSPWM_STATE_FILE="$HOME/.bspwm_state" + +if [ -e "$BSPWM_STATE" ] ; then + bspc wm -l "$BSPWM_STATE" + rm "$BSPWM_STATE" +fi + +export BORDER_WIDTH=5 +. "$DOTFILES_PATH/apps/de/bspwm/config" + +[ -f "$DOTFILES_PATH/apps/de/x/loadresources" ] && "$DOTFILES_PATH/apps/de/x/loadresources" +[ -f "$HOME/.fehbg" ] && "$HOME/.fehbg" & +[ "$NO_COMPTON" -ne 1 ] && has_command compton && compton & +[ "$START_BAR" -eq 1 ] && has_command "${BAR_COMMAND}" && "${BAR_COMMAND}" & +has_command urxvtd && urxvtd & +has_command dunst && dunst & +has_command sxhkd && sxhkd -m -1 & +has_command unclutter && unclutter & + +bspc wm -o diff --git a/de/bspwm/fehbg b/apps/de/bspwm/wallpapers similarity index 100% rename from de/bspwm/fehbg rename to apps/de/bspwm/wallpapers diff --git a/apps/de/bspwm/wmstart b/apps/de/bspwm/wmstart new file mode 100755 index 0000000..5f68f09 --- /dev/null +++ b/apps/de/bspwm/wmstart @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +bspwm diff --git a/de/compton/compton.conf b/apps/de/compton/compton.conf similarity index 100% rename from de/compton/compton.conf rename to apps/de/compton/compton.conf diff --git a/de/dunst/dunstrc b/apps/de/dunst/rc similarity index 100% rename from de/dunst/dunstrc rename to apps/de/dunst/rc diff --git a/de/gtk/2rc b/apps/de/gtk/2rc similarity index 64% rename from de/gtk/2rc rename to apps/de/gtk/2rc index 0edf52b..64b31df 100644 --- a/de/gtk/2rc +++ b/apps/de/gtk/2rc @@ -1,3 +1,3 @@ gtk-icon-theme-name = "elementary" gtk-theme-name = "Arc-Dark" -gtk-font-name = "Iosevka 9" +gtk-font-name = "Iosevka Type 10" diff --git a/de/gtk/3settings.ini b/apps/de/gtk/3settings.ini similarity index 77% rename from de/gtk/3settings.ini rename to apps/de/gtk/3settings.ini index 010c652..ac5a291 100644 --- a/de/gtk/3settings.ini +++ b/apps/de/gtk/3settings.ini @@ -1,5 +1,5 @@ [Settings] gtk-icon-theme-name = elementary gtk-theme-name = Arc-Dark -gtk-font-name = Iosevka 9 +gtk-font-name = Iosevka Type 10 gtk-application-prefer-dark-theme = true diff --git a/de/libinput/gestures.conf b/apps/de/libinput/gestures.conf similarity index 100% rename from de/libinput/gestures.conf rename to apps/de/libinput/gestures.conf diff --git a/de/libinput/touchpad.conf b/apps/de/libinput/touchpad.conf similarity index 84% rename from de/libinput/touchpad.conf rename to apps/de/libinput/touchpad.conf index cc9c592..6c7b894 100644 --- a/de/libinput/touchpad.conf +++ b/apps/de/libinput/touchpad.conf @@ -5,4 +5,5 @@ Section "InputClass" MatchIsTouchpad "on" Option "Tapping" "on" Option "NaturalScrolling" "true" + Option "DisableWhileTyping" "false" EndSection diff --git a/apps/de/mako/config b/apps/de/mako/config new file mode 100644 index 0000000..f65e8a5 --- /dev/null +++ b/apps/de/mako/config @@ -0,0 +1,4 @@ +max-visible=5 +default-timeout=30000 +background-color=#111111 +border-color=#666666 diff --git a/de/bar/polybar-config b/apps/de/polybar/config similarity index 97% rename from de/bar/polybar-config rename to apps/de/polybar/config index 5c9fee2..0ece15a 100644 --- a/de/bar/polybar-config +++ b/apps/de/polybar/config @@ -102,16 +102,16 @@ format-mounted-prefix-foreground = ${colors.icon} ; ########################### ; [module/bspwm] -ws-icon-0 = dev; -ws-icon-1 = web; -ws-icon-2 = gfx; -ws-icon-3 = env; -ws-icon-4 = play; -ws-icon-5 = chat; -ws-icon-6 = out; -ws-icon-7 = mon; -ws-icon-8 = misc; -ws-icon-9 = util; +ws-icon-0 = 1; +ws-icon-1 = 2; +ws-icon-2 = 3; +ws-icon-3 = 4; +ws-icon-4 = 5; +ws-icon-5 = 6; +ws-icon-6 = 7; +ws-icon-7 = 8; +ws-icon-8 = 9; +ws-icon-9 = 10; ws-icon-default = ♟ ; misc icon:  @@ -387,7 +387,7 @@ margin-bottom = ${env:WINDOW_GAP:0} [module/microphone] type = custom/script -exec = $DOTFILES_PATH/de/bar/mic.bash +exec = $DOTFILES_PATH/apps/de/polybar/mic.sh tail = true format =