Giter Site home page Giter Site logo

seanbreckenridge / dotfiles Goto Github PK

View Code? Open in Web Editor NEW
40.0 2.0 0.0 3.52 MB

my dotfiles/scripts; cross-platform (linux (arch), macos, android (termux), windows (WSL))

Home Page: https://sean.fish/d/?dark

Shell 60.99% Python 12.94% Ruby 0.74% Lua 20.45% Jinja 2.46% Vim Snippet 0.33% Makefile 0.33% CSS 0.78% Scheme 0.98%
dotfiles zsh rofi ranger macos i3-gaps tmux yadm arch termux

dotfiles's Introduction

dotfiles

I have a separate repository (seanb-utils) I sync scripts up to with checks for dependencies to make them easier to install. That includes some cross-platform scripts which handle prompting for input/sending notifications etc. -- this repository is more application configuration files and personal scripts

This was originally linux-only, but over the months and years I've added a compatibility layer of sorts; A global ON_OS variable which uses on_machine to figure out which machine/operating system I'm on. (linux_arch, mac, android (termux) or windows (WSL)) is set on X server/terminal launch. The bootstrap scripts in .config/yadm dispatch against that to install different packages

In general:

I use syncthing to sync my files/data across my computers.

On Arch/X11:

On Arch/Hyprland:

On Mac:

  • Uses skhd as a hot-key daemon to run applications (e.g. cmd + opt + enter launches terminal)
  • alfred as a application launcher

On Android (using Termux):

Not a ton of application-specific setup yet, handles setting up zsh, installs all my packages using apt; see android_bootstrap

On Windows (in WSL):

Similar to Termux, does an apt-based install. Installs a bunch of languages/programs manually if since the versions on apt are ancient. Should install yadm manually, using:

sh <(curl -sSL http://git.io/sinister) -u 'https://github.com/TheLocehiliosan/yadm/raw/master/yadm'


For a summary of tools I use often, see here.

Install

# on mac, run `xcode-select --install`
yadm clone https://gitlab.com/seanbreckenridge/dotfiles
# restart the computer so that ~/.profile and zsh is setup properly
# so OS detection can be done to install the correct packages
yadm bootstrap

LICENSE

Unless where specified, this is all licensed under MIT:

MIT License

Copyright (c) 2019 Sean Breckenridge

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

dotfiles's People

Contributors

seanbreckenridge avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dotfiles's Issues

tmuxp for daemon events on macos

instead of fiddling with macos-specific daemon processes, just use a tmuxp config file to launch background processes otherwise handled by i3 on linux

switch from alacritty to kitty

not super opinionated about either, but ueberzug (for ranger previews) hasnt been working in alacritty for months now, and works fine in kitty

split ON_OS into its own repo?

feel like it clutters stuff here -- could create something else which has

ON_OS
ON_OS_PROC

Could do something like this https://pastebin.com/J66Lj6wf

could also then shell out like on_os mac in if checks, which allows this to handle errors/warn that that variable isnt set/sourced properly

to do

  • actually use i3-gaps (gaps)
  • zsh theme?
  • complicated PS1?
  • rofi shortcuts/styling (or maybe switch to something else?)
  • antigen/prezto?
  • additional vimrc configuration
  • ranger/lf
  • i3blocks
  • grub styling
  • lightdm styling
  • backups
  • lock screen/lock screen styling
  • dark mode default apps/CLI everything
  • look up which daemons to autostart
  • mpd? music player?
  • subscribe to arch RSS for broken package updates
  • create a description of what I'm using on the README

As reference for a more "complete" dotfiles repos:

https://github.com/maximbaz/dotfiles

https://github.com/jayywolff/dotfiles

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.