Skip to content

0lswitcher/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

136 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Typing SVG

MultiPreview

My collection of dotfiles for different applications that I considered noteworthy.
No install scripts, just pure dotfiles.

Tip

If you're looking for bash scripts, take a look at my bash-scripts repository since I've moved them there.

If you're instead looking for NixOS configuration files, take a look at my nixfiles repository since I've moved them there.


Previews

NeoVim:

Neovim

Obsidian:

Obsidian

Kando (The Pie Menu):

Kando

Firefox (w/ Pywalfox Extension):

w/ Standard Hyprland Transparency Effects: Firefox/Pywalfox w/ Opaque Effect: (This can be used for all programs, see mouse binds) Firefox/Pywalfox Opaque

Glance (The Server Dashboard):

Glance

Ranger: (TUI File Manager):

Ranger

PCManFM-Qt: (GUI File Manager):

PCManFM-Qt


Keybindings

Note

Whenever you see mainMod below, keep in mind that for my keybindings, I swap my Alt and Windows key, and then I set my caps lock key to also function as a Windows key.

The setup might seem weird but it works great for me.

I swap the Alt and Windows key so that way it's easier to press my mainMod, because the actual location of the Windows key is a bit tight on the thumb.

The reason I swap the keys instead of just setting Alt as mainMod, is because Alt is an actually useful key that gets used every once in a while, and I didn't want to remove its functionality. The Windows key is the perfect replacement for mainMod since the actual key doesn't usually register to anything by default in linux distros.

Now for the caps lock being bound to the Windows key, this is done so I can have comfortable hand positions and expand my bind possibilities. For example, to toggle a window between floating and not, i use mainMod+space, and it's much easier to hit caps lock and space with my pinkie and thumb than it is to hit the Alt key and space.

Applications
Key Action
mainMod + A Foot (Terminal)
mainMod + E PCManFM-Qt (GUI File Manager)
mainMod + R Ranger (TUI File Manager)
mainMod + W Firefox Browser
mainMod + B Firefox Browser
mainMod + P Firefox Browser (Private)
mainMod + L Neovide (GUI for Neovim)
mainMod + V VSCodium (FOSS telemetry-free fork/alt of VSCode)
mainMod + Z Zed Editor (speedy text editor written in Rust)
Ctrl + Alt + Del Btop (system monitor a.k.a. task manager)
Ctrl + Space Kando (pie-menu everything* launcher)
mainMod + Q ULauncher (traditional application launcher)
Window Management

Modify window properties:

Key Action
mainMod + Space Toggle Floating & Center
mainMod + C Close Window
mainMod + S Split Window
mainMod + F Fullscreen
mainMod + Arrows Move Focus
Winkey + Arrows Move Window
mainMod + Shift + Arrows Resize Window
mainMod + Tab Cycle through windows and bring to top (alt tab from windows)

Workspace related binds:

Key Action
mainMod + 1-9 Change/Switch Workspace
mainMod + Shift + 1-9 Move active window to Workspace
mainMod + Shift + Left/Right Arrows Change/Switch Workspace
mainMod + Shift + Up/Down Arrows Move active window to Workspace
mainMod + X Toggle Special Workspace/Scratchpad
mainMod + Shift + X Move active window to Special Workspace/Scratchpad

Mouse-centric/based binds:

Key Action
mainMod + Drag LMB Move Window
mainMod + Drag RMB Resize Window
mainMod + Shift + Scroll Up Change Window Opacity (fully opaque at all times)
mainMod + Scroll Up Change Window Opacity (less transparent, still dynamic)
mainMod + Scroll Down Change Window Opacity (default)
Screenshots
Key Action
mainMod + Shift + S Screenshot (region)
ALT + Shift + S Screenshot (window)
CTRL + Shift + S Screenshot (screen)
Miscellaneous
Key Action
mainMod + Shift + W Toggle Waybar Visibility (top bar)
mainMod + M Toggle Waybar Visibility (bottom bar)
mainMod + D Show Desktop Shortcuts w/ PCManFM-Qt
mainMod + H Hide Desktop Shortcuts w/ PCManFM-Qt

See hypr/.config/hypr/hyprland.lua for a comprehensive list. It will recieve updates before this README does.


Installation


My dotfiles now use GNU Stow for management, so installation is easier than ever.

What is GNU Stow? According to the gnu.org site:
"GNU Stow is a symlink farm manager which takes distinct packages of software and/or data located in separate directories on the filesystem, and makes them appear to be installed in the same place."

To begin installation, first clone the repository to your $HOME directory:

$ git clone https://github.com/0lswitcher/dotfiles.git

Tip

You can optionally clone the repository to any other desired directory in your system, just make sure you know how to use stow with -t flag set to your $HOME directory.

Next, ensure you have stow installed in your systems package manager.
With stow installed, getting the dotfiles is as easy as removing or backing up any previous dots you want to change:
(I'll use hyprland for this example-)

Removal:

$ rm -r ~/.config/hypr

Or, alternatively;

Backup:

$ mv ~/.config/hypr ~/.config/hypr.bk

Then, navigating to the cloned repository directory and running:

$ stow <desired-dotfile-name>

That's it!

For example, if you want to use my hyprland dots, run:

$ stow hypr

Documentation


I've written multiple README's regarding different configs, so I highly encourage browsing deeper within the repository either through the links provided below, or by manually checking the file tree above.

Note

If you don't see the package or configuration linked below, it doesn't have a README yet. Feel free to open an issue in the repository online, and I'll prioritize that README next.

Package / Configuration README?
Bash Yes!
Btop Not yet..
Cava Not yet..
Fastfetch Yes!
Foot Not yet..
Hyprland Not yet..
Kando Not yet..
Laptop Specific Not yet..
Micro Not yet..
Neovim Not yet..
Ranger Not yet..
Spicetify Not yet..
Ulauncher Not yet..
Waybar Not yet..
------- Theming: ------
gtk-2.0 Not yet..
gtk-3.0 Not yet..
gtk-4.0 Not yet..
nwg-look Not yet..
qt5ct Not yet..
qt6ct Yes!

Caution

This is a WIP! If you're reading this message, there's still plenty to come, dotfile and documentation wise. If you're interested in seeing how things turn out, feel free to 'Watch' the repo via the menu on the right side. o7

Contributors

Languages