Giter Site home page Giter Site logo

kofuku's Introduction

Kofuku

Kofuku

Kofuku (bliss in Japanese) is a lightweight and minimalist Linux setup using Artix Linux. This setup uses BSPWM as the tiling window manager.

Love the content? Consider supporting me on these platforms:

Dependencies

  • bspwm
  • sxhkd
  • polybar
  • ibhagwan's fork of picom
  • rofi
  • spotify-client
  • spicetify Dribblish theme
  • URxvt
  • zsh
  • oh my zsh!
  • powerlevel10k
  • vim
  • lightdm
  • lightdm-webkit2-greeter
  • lightdm-webkit2-glorious theme
  • deadd-notification-center

Installation (Arch-based distros) WIP

NOTE: This guide uses ~/Downloads as the default path for cloning repos

Installation Steps (Ubuntu-based distros)(Tested on Pop! OS 20.04) WIP

NOTE: This guide uses ~/Downloads as the default path for cloning repos

  1. Update your repositories:

      sudo apt update
    
  2. Upgrade your system:

      sudo apt upgrade
    
  3. Install bspwm:

    Install required dependencies (vim included):

      sudo apt install build-essential git vim xcb libxcb-util0-dev libxcb-ewmh-dev libxcb-randr0-dev libxcb-icccm4-dev libxcb-keysyms1-dev libxcb-xinerama0-dev libasound2-dev libxcb-xtest0-dev libxcb-shape0-dev
    

    Clone the repository:

      cd ~/Downloads
      git clone https://github.com/baskerville/bspwm.git
    

    Compile and install bspwm:

      cd bspwm
      make
      sudo make install
    

    Copy bspwm configuration files:

      mkdir ~/.config/bspwm
      cp examples/bspwmrc ~/.config/bspwm
      chmod +x ~/.config/bspwm/bspwmrc
      cd ..
    

    OPTIONAL: Configure bspwmrc to your liking

      vim ~/.config/bspwm/bspwmrc
    
  4. Install sxhkd:

    Clone the repository:

      git clone https://github.com/baskerville/sxhkd.git
    

    Compile and install sxhkd:

      cd sxhkd
      make
      sudo make install
    

    Copy sxhkd configuration files:

      mkdir ~/.config/sxhkd
      cp ../bspwm/examples/sxhkdrc ~/.config/sxhkd
      cd ..
    

    OPTIONAL: Configure the keybind in sxhkdrc to your liking:

      vim ~/.config/sxhkd/sxhkdrc
    

    NOTE: Make sure the terminal emulator used in the config file is installed as the terminal will be the only way we can interact with bspwm upon startup after a fresh installation


  5. Install Polybar:

    Install required dependencies:

      sudo apt install cmake cmake-data pkg-config python3-sphinx libcairo2-dev libxcb1-dev libxcb-util0-dev libxcb-randr0-dev libxcb-composite0-dev python3-xcbgen xcb-proto libxcb-image0-dev libxcb-ewmh-dev libxcb-icccm4-dev libxcb-xkb-dev libxcb-xrm-dev libxcb-cursor-dev libasound2-dev libpulse-dev libjsoncpp-dev libmpdclient-dev libcurl4-openssl-dev libnl-genl-3-dev
    

    Clone the repository:

      git clone --recursive https://github.com/polybar/polybar
    

    Compile and install Polybar:

      cd polybar
      mkdir build
      cd build
      cmake ..
      make -j$(nproc)
      sudo make install
    
  6. Install Picom:

    Install required dependencies:

      sudo apt install meson 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 libpixman-1-dev libdbus-1-dev libconfig-dev libgl1-mesa-dev  libpcre2-dev  libevdev-dev uthash-dev libev-dev libx11-xcb-dev
    

    Clone the repository:

      git clone https://github.com/ibhagwan/picom.git
    

    Build (with Ninja):

      cd picom
      git submodule update --init --recursive
      meson --buildtype=release . build
      ninja -C build
    

    Install Picom:

      sudo ninja -C build install
      cd ..
    

    NOTE: Default installation path is /usr/local, use this to change the install prefix:

      meson configure -Dprefix=<path> build
    

  7. Install Rofi:

    Install required dependencies:

      sudo apt install bison flex libstartup-notification0-dev check autotools-dev libpango1.0-dev librsvg2-bin librsvg2-dev libcairo2-dev libglib2.0-dev libxkbcommon-dev libxkbcommon-x11-dev libjpeg-dev
    

    Get necessary releases:

      cd ~/Downloads
      wget https://github.com/davatorium/rofi/releases/download/1.5.4/rofi-1.5.4.tar.gz
      wget https://github.com/libcheck/check/releases/download/0.15.1/check-0.15.1.tar.gz
    

    Build check:

      cd check-0.15.1
      ./configure
      make
      make check
    

    Install check:

      sudo make install
      cd ..
    

    Build rofi:

      cd rofi
      mkdir build && cd build
      ../configure
      make
    

    Install rofi:

      sudo make install
    

    Enable and use rofi:

      vim ~/.config/sxhkd/sxhkdrc
    

    Change dmenu to:

      rofi -modi run,drun,window -show drun -show-icons -sidebar-mode 
    
  8. Install spotify:

      curl -sS https://download.spotify.com/debian/pubkey_0D811D58.gpg | sudo apt-key add - 
      echo "deb http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list
      sudo apt update && sudo apt install spotify-client
    
  9. Install spicetify:

    Install spicetify:

     curl -fsSL https://raw.githubusercontent.com/khanhas/spicetify-cli/master/install.sh | sh
     sudo chmod a+wr /usr/share/spotify
     sudo chmod a+wr /usr/share/spotify/Apps -R
    

    Launch Spotify using spicetify:

     spicetify
     spicetify backup apply enable-devtool
     spicetify update
    

    Theming:

     cd ~/Downloads
     git clone https://github.com/morpheusthewhite/spicetify-themes.git
     cd spicetify-themes
     cp -r * ~/spicetify-cli/Themes
     cd ~/spicetify-cli/Themes/Dribbblish/
     cp dribbblish.js ../../Extensions
     spicetify config extensions dribbblish.js
     spicetify config current_theme Dribbblish color_scheme nord-dark
     spicetify config inject_css 1 replace_colors 1 overwrite_assets 1
     spicetify apply
    
  10. Install alacritty:

    Install alacritty:

     sudo apt install alacritty
    

    Clone the repo:

     cd ~/Downloads
     git clone https://github.com/VaughnValle/blue-sky.git
    

    Apply alacritty theme:

     mkdir ~/.config/alacritty
     cp blue-sky/alacritty/alacritty.yml ~/.config/alacritty/
    

    NOTE: If you get the error: GLSL 3.30 is not supported error, do this:

     vim /usr/share/applications/com.alacritty.Alacritty.desktop
    

    and change Exec=alacritty to Exec=bash -c "LIBGL_ALWAYS_SOFTWARE=1 alacritty"


  11. Apply the desktop wallpaper:

     sudo apt install feh
     echo 'feh --bg-fill $HOME/Downloads/blue-sky/wallpapers/blue3.png' >> ~/.config/bspwm/bspwmrc
    
  12. Configure polybar:

     mkdir ~/.config/polybar
     cd ~/Downloads/blue-sky/polybar
     cp * -r ~/.config/polybar
     echo '~/.config/polybar/./launch.sh' >> ~/.config/bspwm/bspwmrc
     cd fonts
     sudo cp * /usr/share/fonts/truetype/
    
  13. Install Oh My ZSH!:

     sudo apt install zsh
     sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)
    
  14. Install Powerlevel10k:

     git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
    
  15. Theme vim:

     mkdir -p ~/.vim/colors
     cd ~/Downloads
     cp blue-sky/nord.vim ~/.vim/colors
     git clone https://github.com/vim-airline/vim-airline.git
     cd vim-airline
     cp * -r ~/.vim
     cd ~/Downloads
     git clone https://github.com/vim-airline/vim-airline-themes.git
     cd vim-airline-themes
     cp * -r ~/.vim
     echo 'colorscheme nord' >> ~/.vimrc
     echo 'let g:airline_theme='base16' >> ~/.vimrc
    
  16. Theme rofi:

     mkdir -p ~/.config/rofi/themes
     cp ~/Downloads/blue-sky/nord.rasi ~/.config/rofi/themes
     rofi-theme-selector #preview the "nord theme" with Enter and apply it with Alt+a
     
     # modify keybindings
     vim ~/.config/sxhkd/sxhkdrc
     # replace dmenu with rofi -show drun
    
  17. Install slim and slimlock:

    Installation slim and slimlock:

     sudo apt install slim libpam0g-dev libxrandr-dev libfreetype6-dev libimlib2-dev libxft-dev
     sudo dpkg-reconfigure gdm3 #select slim
    

    NOTE: If you get fatal error: ft2build.h: do:

     sudo vim /usr/include/X11/Xft/Xft.h
    

    Change line 39: to #include <freetype2/ft2build.h>" <truncated> and do:

     sudo cp /usr/include/freetype2/freetype /usr/include
    

    Then run:

     sudo make
     sudo make install
     cd ..
    

    Theming:

     cd ~/Downloads/blue-sky
     sudo cp slim.conf /etc && sudo cp slimlock.conf /etc
     sudo cp default /usr/share/slim/themes
    

Thanks for dropping by!

kofuku's People

Contributors

vaughnvalle 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

kofuku's Issues

error Picom

twilightlink64@pop-os:$ cd picom
twilightlink64@pop-os:
/picom$ git submodule update --init --recursive
twilightlink64@pop-os:/picom$ meson --builtype=release . build
usage: meson [-h]
{setup,configure,dist,install,introspect,init,test,wrap,subprojects,help,rewrite}
...
meson: error: unrecognized arguments: --builtype=release
twilightlink64@pop-os:
/picom$ meson --buildtype=release . build
The Meson build system
Version: 0.53.2
Source dir: /home/twilightlink64/picom
Build dir: /home/twilightlink64/picom/build
Build type: native build
Project name: picom
Project version: 8
C compiler for the host machine: cc (gcc 9.3.0 "cc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0")
C linker for the host machine: cc ld.bfd 2.34
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program git found: YES (/usr/bin/git)
Has header "stdc-predef.h" : YES
Compiler for C supports arguments -Wall: YES
meson.build:63: WARNING: Consider using the built-in warning_level option instead of using "-Wall".
Compiler for C supports arguments -Wcast-function-type: YES
Compiler for C supports arguments -Wignored-qualifiers: YES
Compiler for C supports arguments -Wmissing-parameter-type: YES
Compiler for C supports arguments -Wnonnull: YES
Compiler for C supports arguments -Wshadow: YES
Compiler for C supports arguments -Wno-type-limits -Wtype-limits: YES
Compiler for C supports arguments -Wold-style-declaration: YES
Compiler for C supports arguments -Woverride-init: YES
Compiler for C supports arguments -Wsign-compare: YES
Compiler for C supports arguments -Wtype-limits: YES
Compiler for C supports arguments -Wuninitialized: YES
Compiler for C supports arguments -Wshift-negative-value: YES
Compiler for C supports arguments -Wunused-but-set-parameter: YES
Compiler for C supports arguments -Wunused-parameter: YES
Compiler for C supports arguments -Wimplicit-fallthrough: YES
Compiler for C supports arguments -Wno-unknown-warning-option -Wunknown-warning-option: NO
Compiler for C supports arguments -Wno-missing-braces -Wmissing-braces: YES
Compiler for C supports arguments -Wconversion: YES
Compiler for C supports arguments -Wempty-body: YES

|Executing subproject test.h method meson
|
|Project name: test.h
|Project version: undefined
|C compiler for the host machine: cc (gcc 9.3.0 "cc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0")
|C linker for the host machine: cc ld.bfd 2.34
|Build targets in project: 0
|Subproject test.h finished.

Found pkg-config: /usr/bin/pkg-config (0.29.1)
Found CMake: /usr/bin/cmake (3.16.3)
Run-time dependency libev found: NO (tried pkgconfig and cmake)
Library ev found: YES
Library m found: YES
Run-time dependency x11 found: YES 1.6.9
Run-time dependency x11-xcb found: YES 1.6.9
Run-time dependency xcb-renderutil found: YES 0.3.9
Run-time dependency xcb-image found: YES 0.4.0
Run-time dependency xext found: YES 1.3.4
Run-time dependency pixman-1 found: YES 0.38.4
Run-time dependency xcb-render found: YES 1.14
Run-time dependency xcb-damage found: YES 1.14
Run-time dependency xcb-randr found: YES 1.14
Run-time dependency xcb-sync found: YES 1.14
Run-time dependency xcb-composite found: YES 1.14
Run-time dependency xcb-shape found: YES 1.14
Run-time dependency xcb-xinerama found: YES 1.14
Run-time dependency xcb-xfixes found: YES 1.14
Run-time dependency xcb-present found: YES 1.14
Run-time dependency xcb-glx found: NO (tried pkgconfig and cmake)

src/meson.build:31:1: ERROR: Dependency "xcb-glx" not found, tried pkgconfig and cmake

A full log can be found at /home/twilightlink64/picom/build/meson-logs/meson-log.txt
twilightlink64@pop-os:/picom$ ninja -C build
ninja: Entering directory build' ninja: error: loading 'build.ninja': No such file or directory twilightlink64@pop-os:~/picom$ sudo ninja -C build install ninja: Entering directory build'
ninja: error: loading 'build.ninja': No such file or directory
twilightlink64@pop-os:
/picom$

YouTube video tutorial

You've made one before, so....Thanks in advance.
(trying to install it myself, if it works I could even mail you video footage, all you have to do is be a narrator then, but I need wifi first to send video then tho).

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.