GithubHelp home page GithubHelp logo

lukesmithxyz / voidrice Goto Github PK

View Code? Open in Web Editor NEW
4.2K 128.0 1.2K 3.78 MB

My dotfiles (deployed by LARBS)

License: GNU General Public License v3.0

Shell 92.72% Lua 0.21% Vim Script 5.50% JavaScript 1.58%

voidrice's Introduction

The Voidrice (Luke Smith https://lukesmith.xyz's dotfiles)

These are the dotfiles deployed by LARBS and as seen on my YouTube channel.

  • Very useful scripts are in ~/.local/bin/
  • Settings for:
    • vim/nvim (text editor)
    • zsh (shell)
    • lf (file manager)
    • mpd/ncmpcpp (music)
    • nsxiv (image/gif viewer)
    • mpv (video player)
    • other stuff like xdg default programs, inputrc and more, etc.
  • I try to minimize what's directly in ~ so:
    • All configs that can be in ~/.config/ are.
    • Some environmental variables have been set in ~/.zprofile to move configs into ~/.config/
  • Bookmarks in text files used by various scripts (like ~/.local/bin/shortcuts)
    • File bookmarks in ~/.config/shell/bm-files
    • Directory bookmarks in ~/.config/shell/bm-dirs

Usage

These dotfiles are intended to go with numerous suckless programs I use:

I also recommend trying out mutt-wizard, which additionally works with this setup. It gives you an easy-to-install terminal-based email client regardless of your email provider. It is integrated into these dotfiles as well.

Install these dotfiles and all dependencies

Use LARBS to autoinstall everything:

curl -LO larbs.xyz/larbs.sh

or clone the repo files directly to your home directory and install the dependencies.

Default Desktop Artwork

Thomas Thiemeyer's The Road to Samarkand (fb, insta, shop)

voidrice's People

Contributors

2084x avatar anntnzrb avatar appeasementpolitik avatar aymey avatar charlie39 avatar daja177 avatar davoodeh avatar decantr avatar dennisleexyz avatar futureisfoss avatar helionsmoker avatar i-c-u-p avatar i13e avatar jlaw avatar karioki avatar kronikpillow avatar lallesx avatar lucas-mior avatar lukerb52 avatar lukesmithxyz avatar luukvbaal avatar mhdzli avatar mokulus avatar narukeh avatar nerrufam avatar rickyjon avatar rinnarii avatar ssnailed avatar tomicp avatar vladdoster 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

voidrice's Issues

Mod+a is broken

Ok try again, lol. (mod+a) isnt working for me. I cant figure out what its supposed to be calling? what is the command dropdowncalc or math? They don't point to anything on your install.

Emoji and Status Bar Issues

LARBS will install ttf-emojione as the default emoji font. For people non-minimal installs (like Arcolinux), this will interact in strange ways with previously installed fonts, causing emojis on the status bar to become enormously large.

Ideal fix

  • Specify the emoji font in fonts.conf. I'm not familiar with fontconfig syntax, to be honest. I've tried some things found in internet searches but without success. Emojis seem to work a little different from other characters, so anyone who knows more about that, please feel free to give a solution. This is probably something really simple.

Temporary fixes

  • Users can replace ttf-emojione with ttf-emojione-color. This works, but ironically replaces the colored emoji with non-colored ones.
  • This also may be band-aided by fonts installed in a different order. I just shifted the LARBS install order so that ttf-emojione is installed last of all the fonts instead of the first. This can make a difference in what is determined as the default font, but I haven't tested it yet.

Status bar hiccup with error on startup

Occasionally on startup, the i3blocks status bar fails to launch and gives an error code. You can easily press Mod+F2 to refresh it thus getting the proper bar, but I'd like to keep the error from ever happening because I sometimes get an email confused about it.

The i3status modules are named ~/.scripts/i3*, I suspect at least one of them is causing this problem, but I haven't found out which. If anyone has a clue, feel free to say what it could be, but otherwise I'll keep this open until solved.

LARBS does not install R?

Hey dude found another issue. The dropdown for math (mod+a) does not work. I thaught this might be due to missing 'R' but typeing R in the terminal launches it fine. I will play around with it more and post my results here. I really need and use a popup calculator a lot on my old laptop.

Polybar [module/temperature] bugged?

Currently the temp reading never changes and only ever displays 28°C (at least on my end). I fixed it myself with the help of the sensors package to make it show my CPU temps in real-time instead.

I made a lot of changes to my polybar config, actually. I'm not sure how many changes I should submit in a PR though, but just submitting my fix for this one module is fine right? The problem with my fix is that it introduces another dependency for LARBS which I'd like to avoid if possible.

transset-df doesnt restore transparency back

Hey, I copied your script flashwindow from one of your videos.

To remember you, here its again:


#Flashes the active window.

#Requires transset-df and a composite manager, like xcompmgr.

transset-df --actual --min 0
sleep .1
transset-df --actual --max 1
sleep .1
transset-df --actual --min 0
sleep .1
transset-df --actual --max 1

I am using opacity-rule = [ "90:class_g = 'URxvt'" ]; in my compton.conf that sets a true transparency with opacity 0.9 to all my windows with the class urxvt. Using your script it restores the transparency just to 0.75 but not to 90 like I have configured in compton.conf I have tried around but I do not find a way to restore it. If a window has no opacity that it restores back to opacity 1 like expected.

Maybe you have run into the same issue and have found a solution.

I would be happy if you could share it.

Best
RS

Add alias for default AUR manager: `pa` for `packer`

Pacman has its own alias in the file .bashrc with some pretty sane parameters passed to it, and I think it goes without saying that packer should have its own as well.

I actually did not know LARBS included it, and I was going to install some other AUR manager like yaourt or yay until I came across and understood how the upgr command of LARBS worked.

Media Controls for Spotify

I keep trying to use my keyboard media controls for Spotify music but it doesn't do anything. This could be my keyboard or that Spotify just doesn't pay attention and needs a different command from the button.

If Spotify works for anybody else with keyboard media controls then please tell me, if not then I will try to get it to work.

Weird Caps Lock wrong expected behaviour

Caps Lock works as a Mod key, and I do not want that.
While I'm pressing it, it works as a Mod key and when I stop pressing it is when it actually works as an escape key.
I would like to know how can I make Caps Lock works just as Escape, and keep the Mod functionality for the Windows Key.
I've tried setxkbmap -layout gb -option caps:escape but still having the same problem. Went to my .i3/config file but don't know what to actually change in order to get the behaviour I want

What is texclear?

voidrice/.vimrc

Lines 115 to 116 in 074e54c

" Runs a script that cleans out tex build files whenever I close out of a .tex file.
autocmd VimLeave *.tex !texclear

Am I missing some program here?

which dropdowncalc?

You mention executing dropdowncalc in your i3 config, but it isn't anywhere to be found in this repo.

Typo in your install_deps.sh

This line here
tlmgr info collections | grep -o 'collection-[A-Za-z]*' | zargs tlmgr install
should be
tlmgr info collections | grep -o 'collection-[A-Za-z]*' | xargs tlmgr install
since zargs isn't a command in the *UNIX world

.asoudrc typo?

I am pretty sure the file .asoudrc is supposed to be named .asoundrc.
Thats the configuration file for the Alsamixer.

weird st behavior when the mod key is pressed

I don't know if this is intentional but when I press the mod key in st, the terminal is only able to go back and forth in the command history. The only way to get out of this "mode" is ctrl+c. This is really annoying IMO, is there any way to disable this?

Screen tearing?

I've noticed I've been having screen tearing recently. Anyone know quick fixes that eliminate it via the compton.conf or another setting? I don't know the info on graphical drivers/backends, so I'm curious if some knows the recommended settings.

I'm not sure why I'm getting tearing nowadays, as I had it suppressed before.

polybar help

idk how to work this config well, when i run polybar example i get

error: Failed to set background (reason: X resource "color0" not found (no fallback set))

Wallpaper change script

I put wal -c -i ~/Pictures/Wallpapers/ (that being the directory of my wallpapers) in wallchange.sh and made a cronjob using crontab -e that says */15 * * * * /home/damien/.scripts/wallchange.sh. I made the file executable and when I run it on its own it works and does everything I expect it to do, change the wallpaper and the colours. However, when the cronjob runs it only changes the colours and not the wallpaper.
Any ideas?

I don't know if this is a problem with larbs, but since it is using software from larbs I thought that it could be.

Why use tr for an alias?

alias tr="transmission-remote"

I am making some script and suddenly I came to a weird error that tr is actually aliased to transmission-remote, even though tr is a shell command.
I don't know what to replace it into, so its up to you Luke-senpai.

Keyboard backlight

Hey Luke, I was trying to use some of your i3 config goodness on my laptop.
Your Keyboard backlight configs have the same commands as the screen brightness controls
These are yours in the "Extra XF86 Keys" section

bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 15
bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 15

bindsym XF86KbdBrightnessDown exec --no-startup-id xbacklight -dec 15
bindsym XF86KbdBrightnessUp exec --no-startup-id xbacklight -inc 15

They basically control the "xbacklight" screen brightness on my Asus laptop

I couldn't find an easier way to solve this, so I used this python script and then mapped it to "XF86KbdBrightness" key in i3 config file

# Keyboard backlight controls
bindsym XF86KbdBrightnessDown	exec --no-startup-id python3.6 ~/.i3/kb-lights.py -
bindsym XF86KbdBrightnessUp exec --no-startup-id python3.6 ~/.i3/kb-lights.py +

which terminal font do you use?

Hi,
I like your terminal stuff, actually use terminals a lot too.

Which terminal font do you use currently and in your videos?

thanks

ps: can you make a video about compton and how to use it? I have started to use it since plain x tears your screen moving apps around sometimes, e.g. a terminal on a web browser.

No More Polybar Support

So I was perusing the dot files, and I noticed that the section to use Polybar has been removed. I there a way to edit the i3-config so I can have the option to use it back? I have tried adding the line that used Polybar back into the config, with no success. For reference, the line i refer to is:

# Launch Polybar where appropriate:
#exec_always --no-startup-id ~/.scripts/polybar_launch

i3Blocks not loading

Just installed from the LARBS, I started a system without realising LARBS existed and when I ran LARBS on it, it broke. So I just started from scratch again. Polybar is now gone, and there is no replacement showing.

README.md is lacking in comprehensiveness, needs FAQ for troubleshooting

I was originally going to post this as a comment in a LARBS issue, but I thought going off-topic there would derail the discussion and this repo is the more appropriate place. I think the robustness of LARBS as a whole can be slightly more polished in some areas, and it can be helped by making it even easier to install it properly. The more eyes we have for catching bugs, the more awesome-r we can make LARBS. :)

Anyhow even if the voidrice repo were to be purely designed for use with LARBS only, there are some people who are brainlets - they will copy and paste the dotfiles without thinking, and they probably will think the dotfiles suck because some of the components are broken.

Personally, these were the pitfalls that I encountered myself by blindly copying the dotfiles repo directly into my user home...

  • My user wasn't part of the wheel group, and so the shutdown/restart/others? scripts never ever executed properly. I didn't know that I had to visudo to solve this
  • There is no list of required dependencies/programs for the best user experience with the dotfiles. Some features of the system either worked with hiccups, or outright didn't work at all edit: wait, didn't read lul I somehow missed this so nvm

dmenumount and dmenuumount doesn't work.

Hi. I'm not again sure if anyone else is experiencing this issue but I do. I can't figure out what's wrong with that. When I execute that it does basically nothing. No terminal output, no dmenu window.

Small warning for using rxvt-unicode instead of st

Since I don't want st as my terminal emulator while this config contains config for urxvt, I tried that instead.
But the URL selection and font resizing doesn't work unless you install urxvt-perls and urxvt-resize-font-git (AUR), respectively.
This isn't a real issue by itself, but adding a "dependencies required" on the README.md or an option for installing urxvt in LARBS might be a good idea for new users just in case they face the same problem as mine.

I don't know which will work better so its up to you.

.md to pandoc slides line in .vimrc

"autocmd BufWritePost *.md !pandoc <C-r>% -o <C-r>&<Backspace><Backspace>pdf && evince <C-r>%<Backspace><Backspace>pdf

Hey Luke,
I noticed that you have the above line commented out in your .vimrc. I think it's because for whatever reason it's not working (I tried using it, vanilla vim, zsh, xpdf and evince). If for whatever reason it's not working for you or anyone else, you can accomplish the same task by doing this:

autocmd BufWritePost *.md silent !pandoc % -t beamer -o %:t:r.pdf && xpdf %:t:r.pdf &

It'll accomplish the same thing if you choose to go with evince btw. I also think it looks a bit cleaner.

Happy notes-to-slides making everyone.

extract script can't handle files with spaces

The binding Shift+x on ranger works, but when it comes to an archive with a space, it will throw nothing. This means typing extract file\ with\ spaces.zip also won't work on a terminal.

Wallpaper and color scheme lag when starting i3

When booting into i3, I noticed the wallpaper and color scheme takes a couple seconds to pop up. I suspected it had something to do with how the i3 config was telling wal to reset the wallpaper and regenerate the color scheme every time i3 started.

Based on what I read on the pywal wiki, using the -R tag enables it to reuse the last active color scheme instead of resetting and regenerating every time.

Just in my few reboots, it seems to be loading i3 smoother.

i3lock turns off screen for 20 seconds only on the first time

# If still locked after 20 seconds, turn off screen.
sleep 20 && pgrep i3lock && xset dpms force off

The script only executes the lines above once.
Here's what I mean:

  1. Lock the screen
  2. Wait for 20 seconds
  3. Screen turns off
  4. Wake up the computer (i.e. moving the mouse, pressing a key, or etc)
  5. Screen turns on
  6. Have to wait 5 minutes (which is the default "screen timeout") before the screen turns off again

I expected it to actually run while i3lock is running until unlocked, but I'm a brainlet and doesn't know how to implement it.

Polybar fonts?

What fonts are required for the polybar configuration? I have siji-git, and ttf-unifont but it keeps saying there's unmatched characters (And I can even see the correct characters in my terminal)

[HELP] Transparency

Could you please explain to me how did you manage to get true transparency on your URxvt windows without using these 2 lines on your config :

URxvt.transparency: true
URxvt.shading: 35

Thx.

How do you get the scratchpad?

I don't get the scratchpad thing. For $mod+a you have mentioned scratchpad, and I don't have anything named that. Tried searching in aur but no luck.

Error in vim as normal user

I just installed your rice in a fresh Arch Linux system, and I'm struggling with some issues, like this one in vim, when opening fies as non root:
Error detected while processing /home/panadestein/.vimrc: line 218: E185: Cannot find color scheme 'wal'
Any suggestion?

no windows transparent why?

Hi, i install void linux and extract yous files... when i startx the windows not transparent, why? top panel not visible.. why?

thanks...

Make youtube-dl more robust at downloading playlists?

When you paste the URL of a playlist with a video that currently is playing in the webpage, I think youtube-dl only downloads said video instead of the entire playlist (which is 99% of the time the intended use case for people such as me). It works perfectly fine and as expected if you paste the direct URL to the playlist however, i.e. there's no video playing on the webpage.

This suggestion can be implemented via some regex magic maybe, or perhaps a new ytp alias which can handle this use case. I can do it myself if this issue gets the green light for approval.

[idea] make some command to update LARBS

hello, so I would like if I was able to just write lu(lARBS uPDATE) in the terminal and process will start (no auto-updates so it doesn't behave like micro$hit)

Mod+F1 is broken

Nothing happens when I hit Mod + F1 on a new install. I'm using Antergos.

terminal: 'rxvt-unicode': unknown terminal type.

Whenever I try to use "clear" command I get "'rxvt-unicode': unknown terminal type." I'm not sure how where the issue lies or how it can be remedied. Everything I've found online so far is talking about SSH giving this error.

Problems been fixed, I'm noob bait:
For anyone else who might run into this:
Just type in export TERM=xterm

sudoers-file is incorect

the new user and the old user can't exicude sudo
error:
| user is not inthe sudoers-file

by trying to cange the file the file is Emty

Some aliases are missing.

Hello. So I did a clean Arch install and then I installed LARBS. Apparently many aliases (or I believe those are aliases) are missing. I have all files in .scripts folder but apparently many misses are missing. For example, shutdown/reboot/exit prompt doesn't work by itself and I had to manually add that to my .bashrc file. Beside this, I think LARBS is great.

That's why most things don't work on my installation like on yours.

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.