Skip to content

zefr0x's public dotfiles

License

Notifications You must be signed in to change notification settings

zefr0x/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zefr0x's public dotfiles

Managed with Toml Bombadil

Those software and config files represent my Personalized Desktop Environment.

ScreenShot

Usage

  1. Install Toml Bombadil.
  2. Clone this repo to .dotfiles:
git clone https://github.com/zefr0x/dotfiles.git .dotfiles
  1. Link bombadil:
bombadil install .dotfiles
  1. Edit vars.toml

  2. To use the desktop environment do:

bombadil link -p DE_hyprland

Arch linux Installation

You need yay to install AUR packages.

To generate the package installing commands run the install_packages.py script.

Dependencies And Instructions

GUI Applications

Desktop Environment

Wayland

Enable things:

sudo systemctl enable greetd.service
systemctl --user enable hypridle.service
systemctl --user enable waybar.service
systemctl --user enable swaync.service

You need to config greetd by editing /etc/greetd/config.toml to be

[terminal]
vt = 1

[default_session]
command = "tuigreet --remember --remember-user-session --user-menu --time"
user = "greeter"

To integrate gnome-keyring add those lines to /etc/pam.d/greetd and /etc/pam.d/login

auth       optional     pam_gnome_keyring.so
session    optional     pam_gnome_keyring.so auto_start

and add this line to /etc/pam.d/passwd

password	optional	pam_gnome_keyring.so

Edit the UseIn value in /usr/share/xdg-desktop-portal/portals/gtk.portal and /usr/share/xdg-desktop-portal/portals/gnome-keyring.portal to include Niri and Hyprland:

UseIn=gnome;Niri;Hyprland

[!Note] You will need to do this everytime you update those two XDG portals.

Create a ~/Pictures directiory for screenshots.

Fonts

Themes

Icons

UI

Prefer dark theme for GTK-4:

gsettings set org.gnome.desktop.interface color-scheme prefer-dark

Flatpak allowed files:

  • xdg-config/gtk-4.0:ro
  • xdg-config/gtk-3.0:ro
  • xdg-config/kdeglobals:ro

Flatpak variables:

  • XDG_CURRENT_DESKTOP=KDE
  • QT_STYLE_OVERRIDE=Breeze

CLI/TUI Applications/Tools

CLI/TUI Utilities

Configure doas by editing /etc/doas.conf:

permit setenv :wheel

[!Note] The configuration file must end with a newline.

Now you can uninstall sudo:

doas pacman -Rnsdd sudo

Since the br shell function is custom, after restarting the shell, run that:

br --set-install-state refused

Shell

Text Editors

Programming Languages Tools/Compilers/Interpreters/etc...

Rust

After installing it you need to run:

rustup default stable

rustup component add rust-analyzer

C/C++

Python

Go

JavaScript/TypeScript

[!Note] It includes most the tools needed for JS/TS.

LaTeX

Lua

Java

Other