Skip to content

Instantly share code, notes, and snippets.

@AgarimOSLinux
AgarimOSLinux / starship_tokyo.toml
Created May 15, 2025 22:06 — forked from latenitecoding/starship_tokyo.toml
A starship configuration with the tokyo night theme
format = """
[░▒▓](#a3aed2)\
[  ](bg:#a3aed2 fg:#090c0c)\
[](bg:#769ff0 fg:#a3aed2)\
$directory\
[](fg:#769ff0 bg:#394260)\
$git_branch\
$git_status\
[](fg:#394260 bg:#212736)\
$nodejs\
@AgarimOSLinux
AgarimOSLinux / zathu
Created February 27, 2024 21:32 — forked from michaelmrose/zathu
zathura config
# Zathura configuration file
# See man `man zathurarc'
# Open document in fit-width mode by default
set adjust-open "best-fit"
# One page per row by default
set pages-per-row 1
#stop at page boundries
1. Update all package system
sudo xbps-install -Suv
2. add non-free repo
sudo xbps-install -Rs void-repo-nonfree
3. Software & utilities
sudo xbps-install -Rs xdg-desktop-portal xdg-desktop-portal-gtk xdg-user-dirs xdg-user-dirs-gtk xdg-utils vlc pipewire libspa-bluetooth noto-fonts-cjk noto-fonts-emoji noto-fonts-ttf noto-fonts-ttf-extra libreoffice-writer libreoffice-calc libreoffice-impress rhythmbox neofetch ntfs-3g gimp inkscape lm_sensors wget udisks2 gvfs mtpfs gvfs-mtp gvfs-gphoto2 xtools WoeUSB xz unrar qt5-wayland nano ffmpeg Kooha handbrake inxi streamlink
4. Install chrome gnome, gnome menu For Gnome & extension
@AgarimOSLinux
AgarimOSLinux / xfce-i3-guide.md
Created November 23, 2023 23:42 — forked from fathulfahmy/xfce-i3-guide.md
A guide on how to setup XFCE with i3wm

How to XFCE with i3WM

Download

  1. Download XFCE Distribution
  2. Download i3 only (i3 status i3 lock dmenu is not needed)

⚠️ Do not installed preconfigured or distributed i3wm to avoid conflicts with XFCE settings
e.g.
do sudo dnf install i3 --setopt=install_weak_deps=False
dont "i3 desktop" or @i3-desktop-environment

@AgarimOSLinux
AgarimOSLinux / fzf_theme.sh
Created October 15, 2023 14:21 — forked from ctrlmaxdel/fzf_theme.sh
fzf nord color theme
# fzf colors with alacritty nord
export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS'
--color=fg:#e5e9f0,bg:#2E3440,hl:#81a1c1
--color=fg+:#e5e9f0,bg+:#2E3440,hl+:#81a1c1
--color=info:#eacb8a,prompt:#bf6069,pointer:#b48dac
--color=marker:#a3be8b,spinner:#b48dac,header:#a3be8b'

How to setup a minimal X11 environment on Debian GNU/Linux

  1. Install the following packages

    • xserver-xorg-core (server)
    • xserver-xorg-video-XXX (video driver, XXX depends on your hardware)
    • xserver-xorg-input-XXX (input device driver, XXX depends on your hardware. evdev works well for most cases)
    • x11-xserver-utils (xmodmap, xrandr)
    • x11-xkb-utils (setxkbmap)
  • x11-utils (xdpyinfo, xev, xkill, xprop, xwininfo)
@AgarimOSLinux
AgarimOSLinux / snd_pci_acp3x
Created May 12, 2023 07:50
16.546544] snd_pci_acp3x 0000:03:00.51: Invalid acp audio mode: 1
sudo gedit /etc/modprobe.d/blacklist.conf
blacklist snd_pci_acp3x
@AgarimOSLinux
AgarimOSLinux / openweather-city
Created May 11, 2023 20:59
cli Weather script using the API from openweathermap.com
#!/usr/bin/env bash
command -v jq >/dev/null 2>&1 || { echo >&2 "Program 'jq' required but it is not installed.
Aborting."; exit 1; }
command -v wget >/dev/null 2>&1 || { echo >&2 "Program 'wget' required but is not installed.
Aborting."; exit 1; }
# To use this script you need to create an API key here https://home.openweathermap.org
# You need to put your Open Weather APIKEY here:
APIKEY="keykey"
@AgarimOSLinux
AgarimOSLinux / wlan.md
Created May 11, 2023 05:52 — forked from okanon/wlan.md
AlpineLinux with wlan settings

AlpineLinux with wlan settings.

Install necessary drivers and software

First make sure your wireless drivers are loaded properly.
Install wpa_supplicant & dhcpcd.

apk add wpa_supplicant dhcpcd

Configuration

@AgarimOSLinux
AgarimOSLinux / zathurarc
Created May 10, 2023 18:50
Zathura config file #Dracula Theme
set window-title-basename "true"
set selection-clipboard "clipboard"
# Dracula color theme for Zathura
# Swaps Foreground for Background to get a light version if the user prefers
#
# Dracula color theme
#