Skip to content

The Graphical Interface that i Like to interact with. [Hyprland+Waybar+Much tools].

Notifications You must be signed in to change notification settings

niksingh710/gdots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image


These are my dot files for Graphical Instance on my system.
I use Arch Linux as My main OS and Hyprland as my window manager.
The configuration is highly dependent on pywal i prefer a fork for 16-base colors pywal16

GitHub repo size GitHub Org's stars GitHub forks GitHub last commit

General Read

If you are Reading this, you are probably interested in my dotfiles.
I have a few things to say before you start using them.

I use autologin via ~/.zprofile

# Ensures me getting auto logged in into Hyprland
check() {
command -v "$1" &>/dev/null
}

check center-align && {
echo "$USER" | center-align
}

check Hyprland && {
pgrep -x Hyprland &>/dev/null || Hyprland &>/dev/null
} || {
echo "Hyprland Not found will not launch it as GUI instance"
}

GTK: adw-gtk3 (gradience for colors) KDE/QT: Kvantum (pywal theme)
> [nwg-look-bin,qt6ct]

  • Wal*: My most of the colors are generated from pywal16 i have added templates but if you want to look at a generated file for reference, You can find that at extra/wal this is in the same format as it will be generated inside ~/.cache/wal. It has been generated using image below wall_secondary

  • Stow : Stow is the tool i prefer to manage my dot files (i use xstow to be exact but it shouldn't matter).

    stow ./dir -t <target dir>

    e.g

    stow .config -t ~/.config

    Will create softlinks to all the dir inside repos .config to ~/.config/

  • Pywal : As i have mentioned earlier i use a pywal fork. It provides a 16 base color scheme.

    pywal16 provides .lighten(val%) and .darken(val%) to lighten or darken the colors. I use them in my templates so normal pywal won't work here.

    wal -a 92 --cols16 darken --recursive -i ./path/to/wallpaper/or/dir -o after-wal

    You can check about wal command args by doing wal --help

    I want to grab your attention here for the after-wal script.

    • after-wal : This will be executed after wal command is executed.
      The wal command will generate all the color schemes from the ~/.config/wal/templates/ dir and place them in ~/.cache/wal.
      It is the after wal command that places the color schemes in the right place and does the right thing.
      e.g
      • It copies colors-waybar.css to ~/.config/waybar/colors.css (this file is in .gitignore)
      • It copies kvantum theme with a name of pywal also takes care for dir creation.
      • It copies gradience theme with a name of pywal also takes care for dir creation.
      • It copies background image for firefox to ~/.mozilla/firefox/xxxx.default/chrome/
        This is acheived by placing a bg named file in the mozilla dir and then finding the file by using fd command and placing wallpaper.png to that dir
      • It generates a blurred version fo the wallpaper with name ~/.cache/wal-blurr.png

    After executing stow you will find this command in you ~/.local/bin dir.

Prerequisites

Note

Tools that are required to get the config working.
You can prefer -git version of the packages if something is not working.

Required:
yay -S hyprland hyprlock hypridle hyprpicker xdg-desktop-portal-hyprland hyprshade \
  gradience waybar rofi-lbonn-wayland-git libnotify swaync \
  jq slurp grim grimblast-git hyprland-scratchpad-git xstow firefox firefox-pwa-bin \
  foot unzip unrar nwg-look-bin qt6ct kvantum zathura vimiv networkmanager bluez-utils \
  brightnessctl pipewire pipewire-pulse batify

Note

For hyrshade check out their documentation for -> hyprshade For batify check out their documentation for -> batify

Optional but Recommended
yay -S udiskie geoclue android-udev android-tools scrcpy networkmanager-dmenu-git kdeconnect mpv

Note

Mako can be used as all configuration regarding pywal and waybar DND is available in the config. Currently i am using swaync but i keep switching between mako and swaync.

Setup

git clone -b master --single-branch https://github.com/niksingh710/gdots.git ~/.gdots
cd ~/.gdots
xstow .config -t ~/.config
xstow bin -t ~/.local/bin

Previews

image

image image

Window opacty can be toggled using Super+Shift+O

More Previews

output.mp4

output.mp4

Waybar

Waybar uses many scripts those should be available in ~/.local/bin and waybar specific scripts are available in bin dir of waybar.

Waybar get's colors from a css file that get's copied there by after-wal

I have a keybind in my config that toggles it. Super+b -> killall -SIGUSR1 waybar

Waybar get's started by a script ~/.local/bin/bar.sh that switches it's output based on connected monitors.

image image
More Previews
output.mp4
Update Tooltip Preview image

Firefox

The Firefox theme i use is ShyFox. Checkout the documentation for the setup. I have the current state of my theme in my extra/chrome.shyfox dir. The theme is so nice that it has floating tabs url bar and much more. (Check further preview)

Keymaps i have setted up With my setup in my SideBerry and all of my extensions. e.g:

  • Alt-J,K : To switch in tabs
  • Ctrl-Shift-L : To toggle the floating of sidebery

And Many more. Shortcuts are to be made by personal preference but then also if you feel i should list them or you want my one those are higly likely to be like vim ping on issue.

image

More Previews

output.mp4

image image

image

Rofi
image image

Note

Shell is seprate from this repository to keep it working on servers and other Os those are incompatible with this kind of graphical configuration state.