GithubHelp home page GithubHelp logo

jithinsankar / dotfiles Goto Github PK

View Code? Open in Web Editor NEW

This project forked from owl4ce/dotfiles

1.0 0.0 0.0 41.54 MB

:house_with_garden: My house is now your home

License: GNU General Public License v3.0

Shell 15.59% Python 1.09% Scheme 9.85% Perl 9.07% CSS 64.11% Vim Script 0.30%

dotfiles's Introduction

: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

dotfiles's People

Contributors

owl4ce avatar

Stargazers

 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.