All Projects → Axarva → Dotfiles 2.0

Axarva / Dotfiles 2.0

Licence: mit
XMonad™️. Widgets go brr.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Dotfiles 2.0

Dotfiles Windows
dotfiles for Windows, including Developer-minded system defaults. Built in PowerShell
Stars: ✭ 288 (-21.53%)
Mutual labels:  dotfiles
Ellipsis
◦◦◦ Ellipsis is a package manager for dotfiles.
Stars: ✭ 320 (-12.81%)
Mutual labels:  dotfiles
Dotfiles
files that define my GNU/Linux box.
Stars: ✭ 351 (-4.36%)
Mutual labels:  dotfiles
Dotly
🌚 Modular and easy to customize dotfiles framework
Stars: ✭ 301 (-17.98%)
Mutual labels:  dotfiles
Dotfiles
My OS X environment
Stars: ✭ 316 (-13.9%)
Mutual labels:  dotfiles
Lively
Stars: ✭ 5,721 (+1458.86%)
Mutual labels:  widgets
Dotfiles
My Dotfiles
Stars: ✭ 289 (-21.25%)
Mutual labels:  dotfiles
Zsh Quickstart Kit
Simple ZSH quickstart for using ZSH and zgen
Stars: ✭ 366 (-0.27%)
Mutual labels:  dotfiles
Flutterwidgetguide
A flutter appliction listing all the widgets covered in Flutter widget of the week playlist.
Stars: ✭ 316 (-13.9%)
Mutual labels:  widgets
Dotfiles
A collection of my personal dotfiles
Stars: ✭ 345 (-5.99%)
Mutual labels:  dotfiles
Cmv App
CMV - The Configurable Map Viewer - A community supported open source mapping framework built with the Esri JavaScript API and the Dojo Toolkit
Stars: ✭ 309 (-15.8%)
Mutual labels:  widgets
Flutter Widgets
This is a tutorial for all widgets in the flutter. It contain code, articles.
Stars: ✭ 315 (-14.17%)
Mutual labels:  widgets
Chezmoi
Manage your dotfiles across multiple diverse machines, securely.
Stars: ✭ 5,590 (+1423.16%)
Mutual labels:  dotfiles
Dotfiles
Configuration files I use on my main machine
Stars: ✭ 299 (-18.53%)
Mutual labels:  dotfiles
Dotfiles
And I say hey, what's going on?
Stars: ✭ 348 (-5.18%)
Mutual labels:  dotfiles
Orbtk
The Rust UI-Toolkit.
Stars: ✭ 3,460 (+842.78%)
Mutual labels:  widgets
Dotbare
Manage dotfiles and any git directories interactively with fzf
Stars: ✭ 327 (-10.9%)
Mutual labels:  dotfiles
Neumorphism
Try to Neumorphism in Android (Just experimental!! 🧪)
Stars: ✭ 365 (-0.54%)
Mutual labels:  widgets
Dotfiles
$HOME sweet ~/
Stars: ✭ 369 (+0.54%)
Mutual labels:  dotfiles
Cxjs
CxJS - Advanced JavaScript UI framework for admin and dashboard applications with ready to use grid, form and chart components.
Stars: ✭ 345 (-5.99%)
Mutual labels:  widgets

🚀✨ Widgets go brr! ✨🚀

Table of Contents

Starring:

eww
  • xmonad
  • eww 🤢
  • firefox 🦊
  • rofi 💈
  • tint2 (My fork alone is supported) 🍫
  • Inhibitors 👁️ (Inhibitors are cool stuff that prevent auto screen lock when you're watching a video or something)
  • Healthy stuff ❤️ (Yeah, you get notifications to fix your posture and take a break)
  • Insert more stuff here

Hello! Thank you for dropping by! 👋

These are my xmonad configurations, and they go brr! 🚀 (Let's stop that there).

If you're here, I suppose you want to be cloning this configuration, for which look at the Installation Section below. 👇

Even if you're not, just look through the gallery 📷:

Workflow 🖨️

Workflow GIF: (This is a short one, for more goodies look at the links below)

(Also, compression made it look kinda bad, but I think it shows what it needs to)

Workflow Video by SavvyNik aka @SavvyNik

Workflow Video by Guilherme Moreno aka @morenoled

Keybinds ✍️

These are the basic keybinds. Read through the xmonad/xmonad.hs file for more keybinds like increasing gaps and restoring gaps.

Keybind Function
Win + Shift + Enter Launch terminal (alacritty)
Win + Shift + C Close window
Win + O Open rofi menu
Win + Shift + Q Open rofi powermenu
Win + S Open sidebar
Win + Shift + S Close sidebar
Win + P Open dashboard
Win + Shift + P Close dashboard
Win + B Toggle the main bars
Win + Z Activate inhibitor (Stops autolocking)
Win + Shift + Z Dectivate inhibitor (Enables autolocking)
Win + Ctrl + G Toggle gaps (toggle to get screen space)
Win + J Navigate through windows
Win + K Navigate through windows
Win + Space Switch through layouts
Win + T Make a floating window tiled

Note: Toggling means to enable if inactive or to disable if active.

Note: Win refers to the Super key.

Installation 🤵‍

Alright, let's get to the main stuff.

If you feel like you don't want to read so much, here's a video, courtesy of @SavvyNik!

Nik's Installation Video for Arch Linux

Note: Whatever method you follow, if you want the weather and quote features to work as well, you need to modify your crontab as follows:
(To edit your crontab, crontab -e as a normal user.)

0,30 * * * * /home/{Your-username}/.config/eww/scripts/getweather
@reboot /home/{Your-username}/.config/eww/scripts/getquotes

And please follow these next few steps as well:

  • Add export PATH="$PATH:/home/{Your_User}/bin" to your ~/.zshrc file.
  • Edit the script in ~/.config/eww/scripts/getweather. Further steps are specified within that file.
  • Open tint2conf and edit the theme panellauncher.tint2rc. In there, head over to the Launcher tab and set the icon theme as candy-icons.
  • Get the Museo Sans 300 (ONLY THE 300 WEIGHT PLEASE, OTHERS LOOK WEIRD) font from Adobe itself or any other sources, put the .ttf or .otf file in your ~/.local/share/fonts
    • Run fc-cache -f after getting the font.
  • If the widgets don't work properly, go to the main repository and install eww as documented. Make sure the resulting binary is stored in ~/bin.
  • Issue xmonad --recompile after you complete all the steps, and relogin to xmonad.
  • For the profile picture to load, it needs to have the full path in eww.scss. Open the file, search for the string containing ~/.config(line number 329 to be exact) and edit it to point it to your image. Full path required. For example: /home/axarva/path/to/image.png.
  • Minor details: If you are on systemd, edit all the files related to powermenus to match the commands specific to systemd. For example:
loginctl suspend

And:

doas poweroff

Become:

systemctl suspend

And:

systemctl poweroff

Respectively.

Stuff to global-replace for systemd users

  • loginctl suspend with systemctl suspend
  • doas reboot with systemctl reboot
  • doas poweroff with systemctl poweroff

These references occur in the following files:

  • bin/powermenu.sh
  • eww*/scripts/shutdown.sh
  • eww*/scripts/reboot.sh
  • eww*/scripts/suspend.sh

doas references:

  • eww*/scripts/getvpnstat (You probably won't be using protonvpn, so you could just ignore this as well.)
  • eww*/scripts/shutdown.sh
  • eww*/scripts/reboot.sh

For Arch Linux and it's derivatives (make sure you have git installed): 🌇

Piece of good advice: Since you are on an Arch-based distro, it is likely you use systemd. In case you don't, go ahead and ignore this and skip to Going Ahead: Arch Edition.

In case you do, I recommend opening this repository in a text editor after you clone it, and global-replace the stuff specified in Stuff for sysd users. After that, go ahead with Going Ahead: Arch Edition.

Going Ahead: Arch Edition

Note: THIS MAKES BACKUPS TOO, SO YEAH. JUST DO IT. DO IT!

$ git clone https://github.com/Axarva/dotfiles-2.0.git
$ cd ./dotfiles-2.0
$ chmod +x ./install-on-arch.sh
$ ./install-on-arch.sh

That'll do the basic stuff. For a complete kang (kang means copying, don't mind my jargon), look at the list of dependencies below.

AND DON'T FORGET TO READ WHAT'S WRITTEN AT THE END OF THE MAIN INSTALLATION SECTION UP THERE. Further steps are specified there. (Yes. Absolutely needs to be shouty capitals.)

For Gentoo Linux users (And basically any other distro): 🚂

I'm sorry guys, I couldn't do it. I'm having a mental breakdown rn.

Piece of good advice: If you don't use systemd, go ahead and ignore this, and skip to Going ahead: Others Edition.

In case you do use systemd, I recommend opening this repository in a text editor after you clone it, and global-replace the stuff specified in Stuff for sysd users. After that, go ahead with Going ahead: Others Edition.

Going Ahead: Others Edition

You need to install the dependencies yourself, this script will add the fonts and the configs (AND BACK UP EXISTING ONES TOO, FOR GOD'S SAKE DON'T BE SO PARANOID):

$ git clone https://github.com/Axarva/dotfiles-2.0.git
$ cd ./dotfiles-2.0
$ chmod +x ./install-on-gentoo.sh
$ ./install-on-gentoo.sh

AND DON'T FORGET TO READ WHAT'S WRITTEN AT THE END OF THE MAIN INSTALLATION SECTION UP THERE. Further steps are specified there. (Yes. Absolutely needs to be shouty capitals.)

Dependencies 📊

Ahhhhh the other main stuff. Here you go, peeps. Make sure you have em all.

  • xmonad (OF COURSE, DUH)
  • eww (ElKowar's Wacky Widgets, binary included, but I encourage you to build it yourself and put the binary in your ~/bin). Link
  • firefox (Yup)
  • rofi version 1.6.0 (Configs originally come from @adi1090x, been edited by me).
  • tint2 (Please use this fork ONLY, or issues will occur. Binaries provided already.)
  • acpi
  • Museo Sans Font by Adobe (I think it needs some sort of acount, but get it) Or just search for it on the web and get it somewhere
  • Any Nerd Font, Iosevka recommended along with Hurmit. Nerd Fonts now included in folder. Link
  • playerctl
  • brightnessctl. Link
  • OpenRC (Wait a sec, yep, remember to edit the powermenu files if you use systemd)
  • candy-icons. Link
  • dunst
  • Spotify (for cover art, else edit the eww/scripts/getart script accordingly)
  • An OpenWeatherMap Account, (view eww/scripts/getweather script for more info)
  • feh
  • NetworkManager
  • zsh (THIS IS IMPORTANT)
  • alacritty
  • picom (fork of ibhagwan or jonaburg)
  • doas- wait, just replace doas occurences with sudo, or go macho and install doas
  • jq: Command line json parser (Needed for widgets)
  • maim and xclip for screenshots
  • mpv for low-battery sound playing (Not exactly necessary, you'll get the notification, but the sound depends on it.)
  • Might need to be updated, so please tell me

Troubleshooting 🔫

And here we are:

  1. If xmonad doesn't build make sure you have xmonad-contrib
  2. Bar looks weird: Try editing it a bit using ~/bin/tint2conf.
  3. Alacritty configs are faulty: I'm not sure about this one, works perfectly fine for me.
  4. Widgets positioning weird: I hardcoded them for a 1366x768 screen, will create others if I can
  5. Fonts: GET THOSE FONTS!
  6. MAKE SURE YOUR ~/bin DIRECTORY IS IN YOUR PATH, OR NOTHING WILL WORK! (Yes. Absolutely needs to be shouty capitals.)
  7. Anything else? Open up an issue.
  8. Workspace indicator bar lost colors: This has a very long explanation, but the fix is as follows:
    • Open up the ~/.config/tint2/workspaces.tint2rc file, and scroll down to the taskbar module at around line 120
    • Add this line in that block: taskbar_name_unoccupied_font_color = #ffd5cd 100
    • Save the file, and refresh the bar with hitting the keybind Win + B twice.
    • Remember not to edit that particular file with tint2conf, or you'll have to do this again!
  9. The workspace indicator bar issue has been solved through the binaries in my fork.

🌟 Good Luck and Cheers! 🌟

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].