Skip to content

Repository files navigation

rice dotfiles

images/rice2.jpg

Table of Contents

Introduction

This rice was made by me, with much inspiration from others. All of them are linked in their respective categories where I took their inspiration from.

At the same time this README acts as a guide to install this rice yourself, or parts of it. I made the rice in Hyprland on Arch Linux, all tools are also linked in their respective categories.

If something doesn't work out of the box, it is probably because our setups differ slightly or you don't have certain tools installed. I am after all making this rice all by myself, and in the first place also only for myself.

If you do however think a problem may be fixed by changing my code, please do create an issue or a pull request.

Color scheme

Just for reference, these are the main colors used in the rice.

#f59a9a (main accent color)
#141216 (main background color)

extra accent colors:
#ff6666
#c76c6c
#993d3d

extra background colors:
#282432
#3c3642
#504858
#a090b0

other colors:
#64ffff
#79fc64
#ffff66
#5bb0ff
#ac82e9
#8f56e1
#fc7fff
#ffb266

A lot of these colors come from the retro-futuristic rice by diinky.

Installation guide

Full installation

If you want to install this rice, and keep updated with my edits, you can clone this repository as follows. This setup is from a guide from atlassian.

  1. Add the following line to your .bashrc or .zshrc file:
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME/.config/'

This way you can manage these dotfiles from anywhere.

  1. Now you can clone the repository as follows:
git clone --bare https://github.com/tobitdsm/rice $HOME/.cfg
  1. Execute the following commands to finish the git setup (you may have to restart your terminal to get access to the new config alias):
config checkout
config config --local status.showUntrackedFiles no

Now you can update your files anytime with

config pull

If anything fails, please refer to the atlassian guide. Do note that you need to set your --work-tree to $HOME/.config/ for this rice to work, as opposed to $HOME as shown in the guide.

You are now almost done, please read the guides for each app as there are some that require additional setup, and even categories that don't have files in this repo.

Partial installation

If you wish to only install the rice for some of the apps, you can download the git repo as a zip or clone it, and move the corresponding folder(s) into $HOME/.config/.

Please do read the guides for all relevant apps, as there are some that require additional setup, and even categories that don't have files in this repo.

App-by-app categories

In this section I will go over each app, and list where I drew my inspirations from, the tools I used to create any parts, and maybe some additional setup requirements.

BetterDiscord

Installation / AUR
The theme I created was made with bdeditor. I used the discord recolor theme by DevilBro as my base.

I wrote a simple startup script for bash, to use it just make a symbolic link like this:

ln -s ~/.config/BetterDiscord/betterdiscord ~/.local/bin/betterdiscord

Now you can launch discord by executing betterdiscord in the terminal.

The script will:

  • try to update betterdiscord
  • launch discord
  • reinstall betterdiscord
  • relaunch discord
  • close the terminal in which the script was running

You can also run betterdiscord update, which introduces a wait time after launching discord so it has time to update. This wait time can be skipped by pressing enter in the terminal.

Firefox

This part has no files in this repository, but i did create a theme for firefox color. You can find it here.

GTK

This part is split into two, because creating a gtk4 theme is a pain in the ass.

GTK3

To create my gtk3 theme, i used themix.
After you downloaded this theme, you need to create a symbolic link as follows:

ln -s ~/.config/gtk3-theme ~/.themes/tobitdsm-rice

If you are not interested in keeping the files updated, you can just put the contents of the gtk3-theme folder directly into ~/.themes/tobitdsm-rice. After that, you can apply the theme.
Make sure you also have the gtk-3.0 folder installed for this to work!

GTK4

As I said, creating a gtk4 theme is a pain in the ass. That's why I use Catppuccin Mocha (Maroon) as my gtk4 theme, along with the the papirus-folders icon pack.
Make sure you also have the gtk-4.0 folder installed for this to work!

GRUB

After you downloaded this theme, you just need to add it to your GRUB config. Edit your grub configuration file, usually /etc/default/grub, find the GRUB_THEME line, and set it to:

GRUB_THEME="/home/<user>/.config/grub/theme.txt"

Then, regenerate your grub config, e.g. by running:

sudo grub-mkconfig -o /boot/grub/grub.cfg

Hypr

As mentioned before, I use Hyprland as my wm/de. Alongside it, I use many hypr-ecosystem apps. I will shortly go over them.

Hyprland

Installation / Arch package
Within hyprland.lua, a lot of the other apps are started. Make sure to comment out the ones you don't want to use to prevent errors.

Hyprpaper

Installation / Arch package
To prevent copyright issues, my wallpaper is not in this repository. It is the album cover of Sleep Token's latest album, Even In Arcadia. If you don't know them, please check them out.
Apart from their music being a big inspiration for me, this album cover was the main inspiration for this rice, as it was already my wallpaper when I started making it.

Worship.

Hypridle

Installation / Arch package
There is not much to say here. You can tweak the timeouts if you don't like them.

If you don't have a keyboard backlight, you can remove this section to improve performance and prevent errors.

# turn off keyboard backlight, comment out this section if you dont have a keyboard backlight.
listener { 
    timeout = 30                                                # 30sec
    on-timeout = brightnessctl -sd asus::kbd_backlight set 0    # turn off keyboard backlight.
    on-resume = brightnessctl -rd asus::kbd_backlight           # turn on keyboard backlight.
}

See the wiki on how to get the identifier for your keyboard backlight.

Hypridle requires Hyprlock (or at least in my setup), so I do recommend installing them both.

Hyprlock

Installation / Arch package
Again not much to say here, aside from the fact that it expects a profile picture at ~/Pictures/me.jpg.

Ironbar

Installation / AUR
Extra dependencies:

* {
    font-family: JetBrains Mono NF;
    ...
}

My configuration was heavily inspired by the wayfire rice by bluebyt.

I start ironbar at startup through Hyprland (see hypr/hyprland.lua). Note the reload 5 seconds after launching, this is to fix a weird startup issue where the cava element would be frozen.

Side notes:

  • One of the elements on the bar displays the number of days I have been using arch. You can edit ironbar/scripts/arch to show your own day count, or remove the $arch element from ironbar/config.corn altogether.
  • One of the elements on the bar displays the number of available updates using pacman and yay through a cronjob. The job outputs this to a file located in ironbar/scripts/updates. The command is shown below, I recommend changing ~ to /home/your_username just to be safe.
@hourly /bin/bash -c 'echo -n "󰓦 " > "~/.config/ironbar/scripts/updates"; (/usr/bin/checkupdates; /usr/bin/yay -Qu) | wc -l >> "~/.config/ironbar/scripts/updates"'

kitty

Installation / Arch package
Because this is the default terminal emulator shipped with Hyprland, and because it is very customizable, I just stuck with it.
Because this configuration is mainly colors, the biggest inspiration was again the retro-futuristic rice by diinki.

Neofetch

Installation / AUR
Again, not much to say here. Just note that the config uses a custom ascii logo stored in logo.asc, which I made a scaled-up version of the default arch linux logo. You can edit this if you want.

Quickshell

Installation / AUR
Extra dependencies:

This configuration is based on caelestia by soramane.

I start quickshell at startup through Hyprland (see hypr/hyprland.lua). Note the delay of 5 seconds after launching, this is to fix a weird startup issue where cava would not work.

The launch script is written for fish instead of bash, so you will probably need to install it.

Side note: I configured it in a way so quickshell only displays on my main monitor. If you want it on all monitors you have to edit this section of quickshell/modules/drawers/Drawers.qml:

model: [Quickshell.screens[0]] // show only on main monitor
    // if you want to display on all monitors use this instead:
    // model: Quickshell.screens

Spicetify

Installation / AUR
Again, not much to say here, this should work out of the box.

Side note: I disabled the "now playing" sidepane-view because I don't like it. If you want to re-enable it, just remove this part:

.XOawmCGZcQx4cesyNfVO {
	display: none !important;
}

VS Code

To get access to this theme inside of vscode, you should create a symbolic link like this:

ln -s ~/.config/vscode-theme ~/.vscode/extensions/tobitdsm-rice

You can then enable the theme by going into your vscode settings and searching for tobitdsm rice theme among the dark themes.

This theme was created using Theme Studio for VS Code, with some edits made inside vscode itself afterwards, because some identifiers seemed to be a little bit outdated.

Wofi

Installation / Arch package
This configuration was again inspired by the retro-futuristic rice by diinki.

Outro

Thank you for taking the time to read the guide. As I mentioned before, if you have any issues that you believe I can fix, don't hesitate to create an issue or pull request.

Inspirations

About

dotfiles for my arch + hyprland rice

Topics

Resources

Stars

7 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages