Coder Social home page Coder Social logo

dotfiles's Introduction

Dotfiles

These are my dotfiles that I use on my i3wm setup, with rofi and polybar.

Desktop Picture

The central point of this setup is to always open certain applications in specific workspaces. For now, I use this division:

  • Workspace 1: Chrome Browser
  • Workspace 2: Development IDEs
  • Workspace 3: Terminals
  • Workspace 4: Secondary Terminals (currently no bindings to this workspace)
  • Workspace 5: File Browsers (Ranger and Dolphin)
  • Workspace 6: Virtualbox
  • Workspace 8: Spotify
  • Workspace 9: Slack

Getting started

You need to have at least these dependencies installed before using this config. I'm pretty sure there are many others that I have installed since my first boot, so I apologise if any dependency is missing from this list.

numlockx
terminator
arandr
xrandr
rofi
i3-lock-fancy
setxkbmap
feh
qalculate-gtk
pavucontrol
amixer
playerctl
maim
xclip
dunst
stow

There is a deps.sh that is a copy of what I had to install via AUR/official repos last time.

Edit the Makefile file to match your config path, and then run make stow to create the symlinks.

Note: stow will fail if the destination folders and files already exist. Make sure to copy or delete them before running make stow.

Further Configuration

Fonts

You might need these fonts to proper render some icons in the polybar:

VIM

The .vimrc config file needs to have the vim-plug installed.

Enable the services

So far, this config relies only on NetworkManager service. Make sure to install its package, enable and start its service via:

sudo systemctl enable NetworkManager.service
sudo systemctl start NetworkManager.service

Desktop Notifications

Some apps, such as Slack and Spotify, can crash if a desktop notification server is not running.

You can test if everything is ok by running in a shell notify-send 'Hello world!' 'This is an example notification.' --icon=dialog-information.

Ranger

To open Ranger in its workspace via rofi, we need to run it inside a terminator window named "ranger". Edit your /usr/share/applications/ranger.desktop Exec entry to terminator -T "ranger" -e "ranger" instead of only ranger.

Screen tearing on Nvidia-cards

In nvidia-settings -> X Server Display Configuration, set either Force Composition Pipeline or Force Full Composition Pipeline to true.

Multiple monitors setup

The script .config/i3/scripts/configure_monitors is run at every i3wm startup. It will set the monitors with a desired configuration by using xrandr. See the limitations of this script before using it.

  • Create a file ~/.monitor-setup with these contents, and adjust accordingly.
MONITOR_1_NAME=DP-0
MONITOR_1_RATE=144
MONITOR_2_NAME=HDMI-0
MONITOR_2_RIGHT_OF=DP-0
MONITOR_3_NAME=unset
MONITOR_3_LEFT_OF=unset

dotfiles's People

Contributors

rodrigomideac avatar

Stargazers

Murilo Todão avatar Shekychan 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.