Skip to content

draconivis/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

dotfiles & setup instructions

linux

packages

the main packages i use everywhere are in packages. additional packages can be found in addonPackages.

setup

packages

to install the packages, run install_arch_packages.sh on an arch install.

the script accepts some options, these are:

  • b > base packages
  • g > gaming related packages
  • l > laptop related packages
  • w > work related packages
  • o > optional packages
  • p > printing packages

e.g to install the base and laptop packages, run

./install_arch_packages.sh -b -l

it will then install the packages (sudo password may be required)

dotfiles

to link the dotfiles, run link_dotfiles.sh.

NOTE: It requires you to have gum installed

it will create symlinks from this repo to .config and some other places.

additional info on the dotfiles can be found in their respective READMEs.

various software stuff / fixes / configs

keyboard

repetition settings
  • repeat delay: 175
  • repeat speed: 100
  • keyboard layout: eu (EurKey)

put this in /etc/X11/xorg.conf.d/00-keyboard.conf:

Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "eu"
        Option "AutoRepeat" "175 10"
EndSection

notice that in the AutoRepeat line i put 10 instead of 100 because the unit here is Hz, so lower number = more repitions, see here

caps remap

if you used my base packages, then interception-caps2esc is already installed, else install that.

edit /etc/interception/udevmon.yaml and add the JOB from the README

then start the daemon with sudo systemctl enable --now udevmon.service

firefox adjustments

don't exit when closing last tab

open about:config, search closeWindowWithLastTab and toggle to false

invert scroll direction + increased scroll height

if for some reason the DE/WM setting (~/.Xmodmap) doesn't apply, open about:config and search for mousewheel.default.delta_multiplier_y and set it to a negative number. negative for the scroll direction and the higher the number, the more lines you scroll.

system beep - autostart

to turn that annoying system beep off, you can:

  • run rmmod pcspkr
  • add blacklist pcspkr to /etc/modprobe.d/nobeep.conf
  • run xset b off
  • uncomment set bell none in /etc/inputrc

printing / scanning

install packages with setup.sh -p

for my hp printer, there are following things i installed for printing / scanning

  • hplip - drivers for hp printer
  • sane & xsane - access to the scanner & gui for it

the printer settings should detect the printer and it should be fairly easy to set up. if you open xsane, it should automatically detect the scanner, but you can also run hp-setup to set up the printer.

After i joined a Teamspeak channel, Spotify suddenly stopped playing and i couldn't get it back to work. Then i found out, that the cork-module is loaded by default, which mutes other applications based on roles (teamspeak was phone so it muted the others to prevent missing the phone call)

there's also GreenWithEnvy but it reqquires a more involved setup and didn't work for me

some things to fix the scarlet solo on liux (like disabling the usb power optimization)

UPD@20.04.23: i reinstalled endeavour and the interface is not turning off anymore...

in default package list

ristretto doesn't support webp by default, the package webp-pixbuf-loader adds that

mac

various software stuff / fixes / configs

keyboard setup

run

defaults write -g InitialKeyRepeat -int 10
defaults write -g KeyRepeat -int 1

and log out / in or restart to apply changes

website to test settings

shortcut to drag window

to enable dragging a window with a shortcut (just like on linux), run

defaults write -g NSWindowShouldDragOnGesture -bool true

to disable

defaults delete -g NSWindowShouldDragOnGesture

nvm install

To install node versions older than 16 on a m-chip mac, refer to the nvm readme: MacOS Troubleshooting -> Macs with Apple Silicon chips,

apps

some apps that aren't installed with brew:

git

some gitconfig that you'd probably want to use:

# if you use git-delta
[core]
    pager = delta

[interactive]
    diffFilter = delta --color-only

[delta]
    navigate = true    # use n and N to move between diff sections

[merge]
    conflictstyle = diff3

[diff]
    colorMoved = default

[push]
    autoSetupRemote = true

[init]
    defaultBranch = main

[rerere]
    enabled = true

alternatives

here are some alternatives to linux commands that may be better

displays computer resources; replaces htop

replaces cat; has nicer output, but prints line numbers, so not as good for content copying / piping

can replace default diff viewer; i use it for a better git diff

for viewing directories in a tree structure; instead of tree

for listing files. is using icons and has more color; instead of ls

for viewing directory sizes, instead of du

get a short 'cheatsheet' for commands

alternatively just use curl cheat.sh, like

curl cheat.sh/autorandr

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published