Skip to content

Latest commit

 

History

History
117 lines (99 loc) · 3 KB

README.md

File metadata and controls

117 lines (99 loc) · 3 KB

Amiriox's dotfiles

Included

Items with strikethrough lines indicate that these configurations are no longer in use,
but are still configurable

  • Zsh Theme amx: amx.zsh-theme
  • Hyprland: hypr/hyprland.conf
  • Hyprpaper: Swaybg instead
  • Neovim: nvim/*
  • Waybar: waybar/config, waybar/style.css
  • Rofi: rofi/config.rasi, rofi/themes/*
  • Kitty: kitty/kitty.conf
  • Mako: mako/config
  • i3wm: i3/config
  • Picom: picom/picom.conf
  • Polybar: polybar/*
  • Tofi: tofi/config
  • Neofetch: neofetch/*
  • Brightness: br.c
  • Keyboard Backlight: led.py
  • Other Tools: yazi, fzf...

Usage

  • Zsh Theme:
$ cp amx.zsh-theme ~/.oh-my-zsh/themes
$ vim ~/.zshrc # ZSH_THEME="amx"
  • Hyprland, Kitty, Waybar
$ cp -r hypr ~/.config/ # The directory is like "~/.config/hypr/hyprland.conf"
$ cp -r kitty ~/.config/ # ~/.config/kitty/kitty.conf
$ cp -r waybar ~/.config/ # ~/.config/waybar/config ~/.config/waybar/style.css
  • Neovim
$ # Also see in nvim/README.md
$ $ git clone --depth 1 https://github.com/wbthomason/packer.nvim\
 ~/.local/share/nvim/site/pack/packer/start/packer.nvim
$ nvim  # :PackerSync 
  • rofi
$ # Also see in rofi/README.md
$ mkdir -p ~/.local/share/rofi/themes
$ cp themes/rounded-common.rasi themes/rounded-nord-dark.rasi ~/.local/share/rofi/themes/
  • mako
$ cp -r mako ~/.config/ # ~/.config/mako/config
$ makoctl reload
$ notify-send 'Title' 'Text' -u normal
  • Brightness
$ # Also see in br.c
$ su
# gcc br.c -o br
# chown root br
# chmod u+s  br
# mv br /usr/local/bin/
# setcap cap_dac_override+ep /usr/local/bin/br
  • Backlight
$ pacman -S python-pyusb
$ vim /etc/udev/rules.d/10-alienfx.rules # create if not exist. add the following
SUBSYSTEM=="usb", ATTR{idVendor}=="0d62", ATTR{idProduct}=="ccbc", MODE:="666", GROUP="users"
$ udevadm control --reload-rules
$ udevadm trigger
$ mkdir Scripts # or anywhere
$ cp led.py ~/Scripts/led.py
$ # Modify led.py and hypr/hyprland.conf
  • i3wm, picom, tofi
$ cp -r i3 ~/.config/       # ~/.config/i3/config
$ cp -r picom ~/.config/    # ~/.config/picom/picom.conf
$ cp -r tofi ~/.config/     # ~/.config/tofi/config
  • polybar
$ # Also see in polybar/README.md
$ cp -r polybar ~/.config/
$ # Complicated to customize, honestly
  • neofetch
$ cp -r neofetch ~/.config/

Customize

Volume/Brightness/Backlight Settings in hypr/hyprland.conf. (search 'bind')

Necessary Note

  1. Package AUR/hyprland.git may cause the transparency effect of the terminal to fail in tile mode (Good in floating window mode).
    Solution: use extra/hyprland instead of AUR/hyprland.git
    Remember to replace AUR/hyprutils-git with extra/hyprutils as well!

  2. Package extra/rofi may experience a problem of retaining borders then the height of the candidate area is shortened in Wayland, and the animation effect is abnormal.
    Solution: use extra/rofi-wayland instead.