Gdots
The Graphical Interface that i Like to interact with. [Hyprland+Waybar+Much tools].
Install / Use
/learn @niksingh710/GdotsREADME
These are my dot files for Graphical Instance on my system.<br> I use Arch Linux as My main OS and Hyprland as my window manager.<br> The configuration is highly dependent on pywal i prefer a fork for 16-base colors pywal16 <br>
If you are Reading this, you are probably interested in my dotfiles.<br> 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"
}
<div align="center">
<table>
<tbody>
<td align="center">
</td> </tbody> </table> </div> </p><small>GTK: adw-gtk3 (gradience for colors) KDE/QT: Kvantum (pywal theme) <br> > [nwg-look-bin,qt6ct] </small><br>
-
Wal*: My most of the colors are generated from
pywal16i have added templates but if you want to look at a generated file for reference, You can find that atextra/walthis is in the same format as it will be generated inside~/.cache/wal. It has been generated using image below -
Stow : Stow is the tool i prefer to manage my dot files (i use
xstowto be exact but it shouldn't matter).stow ./dir -t <target dir>e.g
stow .config -t ~/.configWill create softlinks to all the dir inside repos
.configto~/.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 normalpywalwon't work here.wal -a 92 --cols16 darken --recursive -i ./path/to/wallpaper/or/dir -o after-wal<sub>You can check about
walcommand args by doingwal --help<sub>I want to grab your attention here for the
after-walscript.- after-wal : This will be executed after wal command is executed. <br>
The
walcommand will generate all the color schemes from the~/.config/wal/templates/dir and place them in~/.cache/wal.<br> It is the after wal command that places the color schemes in the right place and does the right thing.<br> e.g- It copies
colors-waybar.cssto~/.config/waybar/colors.css(this file is in .gitignore) - It copies kvantum theme with a name of
pywalalso takes care for dir creation. - It copies gradience theme with a name of
pywalalso takes care for dir creation. - It copies background image for firefox to
~/.mozilla/firefox/xxxx.default/chrome/<br> This is acheived by placing abgnamed file in themozilladir and then finding the file by usingfdcommand and placingwallpaper.pngto that dir - It generates a blurred version fo the wallpaper with name
~/.cache/wal-blurr.png
- It copies
After executing stow you will find this command in you
~/.local/bindir. - after-wal : This will be executed after wal command is executed. <br>
The
Prerequisites
[!Note] Tools that are required to get the config working.<br> You can prefer
-gitversion 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
| |
|
| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
Window opacty can be toggled using Super+Shift+O
<video autoplay loop width="720" src="https://github.com/niksingh710/gdots/assets/60490474/5d53a696-e7cb-470e-bc76-f302a078bf8a"></video>
<video autoplay loop width="720" src="https://github.com/niksingh710/gdots/assets/60490474/b2ed9c4e-e971-4983-84a5-742e88c38ad5"></video>
</details>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.
| |
|
| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
| <video height="1080" autoplay loop src="https://github.com/niksingh710/gdots/assets/60490474/7dbaf637-1ffd-4437-8eb2-489737ef6ee0">""</video> | Update Tooltip Preview |
| --------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
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 tabsCtrl-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.
<video width="720" autoplay loop src="https://github.com/niksingh710/gdots/assets/60490474/ade74632-e7b3-4706-82de-1c46e8dddec8"></video>
| |
|
| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
| |
|
| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
Shell
[!Note] Shell is seprate from this repository to keep it working on servers and other Os those are incompati
