Giter Site home page Giter Site logo

amiroslaw / sauron Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 5.09 MB

The snapshots of my dotfiles. The most essential configurations for programs and scripts.

License: MIT License

Shell 4.08% Lua 6.71% Python 62.66% Vim Snippet 2.82% Vim Script 19.09% CSS 3.97% JavaScript 0.62% HTML 0.04% M4 0.01%

sauron's Introduction

Sauron

One ring to rule them all, one ring to bind them, one ring to lead them to their doom.

— Gandalf

The snapshots of my dotfiles. This repository contains only the most essential configurations for programs and scripts. My goal is to make an ergonomic environment - mostly, I try to avoid using a mouse and automate the most commonly used actions. I like to follow the principles outlined in Unix philosophy.

Scripts

The majority of my scripts are based on Lua(jit) with functional programming library Moses. At the boot of the system I load utility functions from init.lua.

./
├── clipster.lua
├── lua/
│   ├── init.lua
│   ├── moses.list
│   └── moses.lua
├── mpvc
├── mpv.lua
├── note.lua
├── pomodoro.lua
├── sauron.sh
├── scratchpad.sh
├── screenshot.lua
├── search.lua
├── todo.lua
└── url.lua

Multimedia

Programs like Qutebrowser, Newsboat, and YTFZF have key bindings for two scripts that are responsible for managing multimedia - url.lua, mpv.lua. Scripts can be run from the terminal or using SXHKD (hotkey daemon). One of the functionalities is to save URLs in an m3u playlist and handle it from the Rofi menu.

Task management

I try to use the Pomodoro technique and GTD (Getting Things Done). TimeWarrior is a time tracker that can be easily integrated with Task Warrior. Tasks can be managed using a TUI application: taskwarrior-tui. For Pomodoro, I built a script called pomodoro.lua that allows me to run tasks from Rofi and display a clock on the polybar.

File hierarchy

For managing my dots I use stow, but by aware that I sync configuration between my desktop and laptop, so some directories have to be created manually and after that you can make aliases. In this case, the root folder can’t be an alias.

./
├── bspwm/
├── fzf/
├── mpv/
├── newsboat/
├── nvim/
├── polybar/
├── pqiv/
├── qutebrowser/
├── rofi/
├── scripts/
├── sxhkd/
├── task/
├── timewarrior/
├── vifm/
├── wezterm/
└── ytfzf/

sauron's People

Contributors

amiroslaw avatar

Watchers

 avatar

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.