jithinsankar / dotfiles

:house_with_garden: My house is now your home

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

:octocat: Hi there! Thanks for visiting! Visits

thumbs.preview

This is my personal configuration for my favorite openbox window manager and some applications too.

I hope you understand everything here. πŸ˜‰

Here are some details about my setup:

  • WM : Openbox 🎨 4 changable themes/mode!
  • DM : SLiM 🌼 login themes Mac looks like!
  • Shell : Zsh 🐚 with oh my zsh framework!
  • Terminal : URxvt, Termite
  • Openbox Menu : Obmenu-generator
  • Panel : Tint2 🍧 material icon font!
  • Compositor : Picom
  • Notify Daemon : Dunst πŸƒ minimalism!
  • Application Launcher : Rofi πŸš€ apps & sidebar menu!
  • File Manager : Thunar πŸ”– customized sidebar & icon!
  • Text Editor : Geany, nano, vim

🎁 Changelogs

thumbs.reverse-urxvt-bw

πŸŽ‘ Setup

This is how to install this dotfiles for openbox automated setup.

Introduction of Linux Rice

Please read this and this.

Installation (dependencies)

Warning! The current application launcher is only for rofi prior to version 1.6.0 (1.5.4). Issue

Debian & Ubuntu (and all based distributions)
sudo apt install openbox obconf alsa-utils brightnessctl nitrogen dunst tint2 gsimplecal rofi lxappearance qt5ct qt5-style-plugins lxpolkit xautolock rxvt-unicode xclip scrot thunar thunar-archive-plugin thunar-media-tags-plugin thunar-volman ffmpegthumbnailer tumbler w3m w3m-img geany nano vim viewnior mpd mpc ncmpcpp mpv pavucontrol parcellite neofetch htop zsh imagemagick ffmpeg playerctl
oh-my-zsh & plugins
  • chsh -s /usr/bin/zsh # Change default shell to zsh for current user
  • sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
  • git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
  • git clone https://github.com/zsh-users/zsh-autosuggestions.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
  • zsh-completions
picom

I haven't tested it yet.

  • sudo apt install libxext-dev libxcb1-dev libxcb-damage0-dev libxcb-xfixes0-dev libxcb-shape0-dev libxcb-render-util0-dev libxcb-render0-dev libxcb-randr0-dev libxcb-composite0-dev libxcb-image0-dev libxcb-present-dev libxcb-xinerama0-dev libxcb-glx0-dev libpixman-1-dev libdbus-1-dev libconfig-dev libgl1-mesa-dev  libpcre2-dev  libevdev-dev uthash-dev libev-dev libx11-xcb-dev
  • git clone https://github.com/yshui/picom.git && cd picom/
  • git submodule update --init --recursive
  • meson --buildtype=release . build
  • ninja -C build
  • ninja -C build install
obmenu-generator

I haven't tested it yet.

  • sudo su
  • echo 'deb http://download.opensuse.org/repositories/home:/Head_on_a_Stick:/obmenu-generator/Debian_10/ /' > /etc/apt/sources.list.d/home:Head_on_a_Stick:obmenu-generator.list
  • wget -nv https://download.opensuse.org/repositories/home:Head_on_a_Stick:obmenu-generator/Debian_10/Release.key -O Release.key
  • apt-key add - < Release.key
  • apt update
  • apt install obmenu-generator libgtk2-perl
  • See Installation from Git


Arch Linux (and all based distributions)

Make sure your AUR Helper is yay.

yay -S openbox obconf alsa-utils brightnessctl nitrogen dunst tint2 gsimplecal rofi lxappearance qt5ct qt5-styleplugins lxsession xautolock rxvt-unicode-patched xclip scrot thunar thunar-archive-plugin thunar-media-tags-plugin thunar-volman ffmpegthumbnailer tumbler w3m geany nano vim viewnior mpd mpc ncmpcpp mpv pavucontrol parcellite neofetch htop picom obmenu-generator gtk2-perl zsh zsh-completions imagemagick ffmpeg playerctl
oh-my-zsh & plugins
  • chsh -s /usr/bin/zsh # Change default shell to zsh for current user
  • sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
  • git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
  • git clone https://github.com/zsh-users/zsh-autosuggestions.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

Optional: cava, gimp, improved nano syntax highlighting, networkmanager-dmenu, slim, spotify, termite, xfce4-power-manager, zathura.

Detailed environment

Please refer to wiki/Detailed-Environment.

Installation (dotfiles)

Most of the files

You can clone or download it as a zip. After that put all files in the dotfiles folder to user's home directory or ( ~ ).

  • git clone https://github.com/owl4ce/dotfiles.git
  • cd dotfiles/ && cp -r {.*,*} ~/
  • rm -r ~/{README.md,LICENSE,.git} # Delete unnecessary files
Icons
  • cd ~/.icons/
  • tar -Jxvf Papirus-Custom.tar.xz && tar -Jxvf Papirus-Dark-Custom.tar.xz
  • sudo cp -r {Papirus-Custom,Papirus-Dark-Custom} /usr/share/icons/
  • rm -r ~/.icons/{Papirus-Custom,Papirus-Dark-Custom,*.tar.xz} # Delete unnecessary files

For refresh font cache do

fc-cache -rv

The Others folder contains slim themes. SLiM themes read this.

User configuration

  • Google-chrome / Chromium (tip)

    google-chrome.thumbnail

    Settings: chrome://settings/

    • Themes: Use GTK+
    • Use system title bar and borders

    New Tab

    Tabliss - Widgets Font

  • Spotify - Spicetify Theme (tip)

    horizon.thumbnail

    Dribbblish - Horizon

  • Battery Indicator
    Because on the tint2 panel I turned off the battery status. Alternatively, install xfce4-power-manager and turn it on ~/.config/openbox/autostart then enable system tray icon in xfce4-power-manager-settings.

  • Dunst Action: Default Web Browser (middle click)
    ~/.config/dunst/dunstrc-left
    ~/.config/dunst/dunstrc-right
    ~/.config/dunst/dunstrc-dark-left
    ~/.config/dunst/dunstrc-dark-right

    ...
    
    browser = google-chrome-stable
    
    ...
  • Screenshots (now, select/draw, timer)
    ~/.scripts/shot-now
    ~/.scripts/shot-seldraw
    ~/.scripts/shot-timer

    ...
    
    savedir=~/Pictures
    bordercolor="#ffffff"
    sec="5"
    
    ...
  • Root Privileges (SUID)

    • poweroff
    • reboot
    • brightnessctl
    • others if needed
    sudo chmod u+s /usr/{bin,sbin}/{poweroff,reboot,brightnessctl}

    For brightnessctl I recommend adding users to the group video.

  • Default Lockscreen
    ~/.config/openbox/lockscreen

  • Tray
    ~/.config/openbox/tray

  • URxvt Icon
    ~/.Xresources

    ...
    
    URxvt.iconFile:                   /home/username/.icons/gladient/term.png
    
    ...
  • Tint2 Network Status (interface)
    ~/.config/tint2/executor/network

    ...
    
    intwifi="wlan0"
    intether="eth0"
    
    ...
  • Neofetch Image (w3m)
    ~/.config/neofetch/config.conf

    ...
    
    # Image Source
    #
    # Which image or ascii file to display.
    #
    # Default:  'auto'
    # Values:   'auto', 'ascii', 'wallpaper', '/path/to/img', '/path/to/ascii', '/path/to/dir/'
    #           'command output (neofetch --ascii "$(fortune | cowsay -W 30)")'
    # Flag:     --source
    #
    # NOTE: 'auto' will pick the best image source for whatever image backend is used.
    #       In ascii mode, distro ascii art will be used and in an image mode, your
    #       wallpaper will be used.
    image_source="auto"
    #image_source="${HOME}/.config/neofetch/arch.png"
    #image_source="${HOME}/.config/neofetch/artix.png"
    #image_source="${HOME}/.config/neofetch/bedrock.png"
    #image_source="${HOME}/.config/neofetch/gentoo.png"
    #image_source="${HOME}/.config/neofetch/ob.png"
    #image_source="${HOME}/.config/neofetch/ubuntu.png"
    #image_source="${HOME}/.config/neofetch/void.png"
    
    ...
  • MPD Music Directory
    ~/.mpd/mpd.conf

    ...
    
    music_directory     "~/Music/"
    
    ...
  • Ncmpcpp Music Directory
    ~/.ncmpcpp/config
    ~/.ncmpcpp/albumart
    ~/.ncmpcpp/albumart-only
    ~/.ncmpcpp/albumart-viz

    ...
    
    mpd_music_dir = "~/Music/"
    
    ...

How to use ncmpcpp albumart?
It's easy, put album|cover|folder|artwork|front.jp?g|png|gif|bmp into folder with song album. Recommended image size is 500px ( 1:1 ) or more. See keybinds

πŸ“ Notes

Color Scheme

owl4ce.color-scheme

πŸ’Œ

Please don't underrate, I've configured them all since April 2020 and have been stuDYING them since October 2019. Awesome open-source. If you support it, star it or make a PR. Or if there is a problem with configuration you can make an issue here.

Thank you!

Stargazers over time

β™₯️ Credits / Thanks

About

:house_with_garden: My house is now your home

License:GNU General Public License v3.0


Languages

Language:CSS 64.1%Language:Shell 15.6%Language:Scheme 9.8%Language:Perl 9.1%Language:Python 1.1%Language:Vim Script 0.3%