Skip to content

Commit

Permalink
chore: config in arch
Browse files Browse the repository at this point in the history
  • Loading branch information
labasubagia committed Nov 17, 2024
1 parent 4aa7443 commit 820ad69
Show file tree
Hide file tree
Showing 40 changed files with 4,249 additions and 0 deletions.
36 changes: 36 additions & 0 deletions stow/.config/alacritty/alacritty.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
[general]
import = [
"./catppuccin-mocha.toml"
]

[keyboard]
bindings = [
# { key = "Backspace", mods = "Control", chars = "\u0017" }, # delete a word
]

[env]
TERM = "xterm-256color"
EDITOR = "nvim"

[window.padding]
x = 5
y = 5

[font]
size = 9

[font.bold]
family = "Agave Nerd Font Mono"
style = "Bold"

[font.bold_italic]
family = ""
style = "Agave Nerd Font Mono"

[font.italic]
family = "Agave Nerd Font Mono"
style = "Italic"

[font.normal]
family = "Agave Nerd Font Mono"
style = "Regular"
65 changes: 65 additions & 0 deletions stow/.config/alacritty/catppuccin-mocha.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
[colors.primary]
background = "#1e1e2e"
foreground = "#cdd6f4"
dim_foreground = "#7f849c"
bright_foreground = "#cdd6f4"

[colors.cursor]
text = "#1e1e2e"
cursor = "#f5e0dc"

[colors.vi_mode_cursor]
text = "#1e1e2e"
cursor = "#b4befe"

[colors.search.matches]
foreground = "#1e1e2e"
background = "#a6adc8"

[colors.search.focused_match]
foreground = "#1e1e2e"
background = "#a6e3a1"

[colors.footer_bar]
foreground = "#1e1e2e"
background = "#a6adc8"

[colors.hints.start]
foreground = "#1e1e2e"
background = "#f9e2af"

[colors.hints.end]
foreground = "#1e1e2e"
background = "#a6adc8"

[colors.selection]
text = "#1e1e2e"
background = "#f5e0dc"

[colors.normal]
black = "#45475a"
red = "#f38ba8"
green = "#a6e3a1"
yellow = "#f9e2af"
blue = "#89b4fa"
magenta = "#f5c2e7"
cyan = "#94e2d5"
white = "#bac2de"

[colors.bright]
black = "#585b70"
red = "#f38ba8"
green = "#a6e3a1"
yellow = "#f9e2af"
blue = "#89b4fa"
magenta = "#f5c2e7"
cyan = "#94e2d5"
white = "#a6adc8"

[[colors.indexed_colors]]
index = 16
color = "#fab387"

[[colors.indexed_colors]]
index = 17
color = "#f5e0dc"
Binary file added stow/.config/backgrounds/purple-wallpaper.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions stow/.config/dunst/brightness_notify.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

# Get the current brightness percentage
BRIGHTNESS=$(brightnessctl g) # Gets the current brightness level
MAX_BRIGHTNESS=$(brightnessctl m) # Gets the maximum brightness level
BRIGHTNESS_PERCENT=$(( BRIGHTNESS * 100 / MAX_BRIGHTNESS ))

# Send the notification with a progress bar using Dunst
dunstify -r 1000 -u low -h int:value:"$BRIGHTNESS_PERCENT" "Brightness ${BRIGHTNESS_PERCENT}%"

21 changes: 21 additions & 0 deletions stow/.config/dunst/dunstrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[global]
frame_color = "#89b4fa"
separator_color= frame
frame_width = 2
font = Roboto 11
transparency = 20
origin = top-right
offset = 20x20

[urgency_low]
background = "#1e1e2e"
foreground = "#cdd6f4"

[urgency_normal]
background = "#1e1e2e"
foreground = "#cdd6f4"

[urgency_critical]
background = "#1e1e2e"
foreground = "#cdd6f4"
frame_color = "#fab387"
13 changes: 13 additions & 0 deletions stow/.config/dunst/volume_notify.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

# Get the current volume level
VOLUME=$(amixer get Master | grep -oP '\[\d+%\]' | head -1 | tr -d '[]%')
MUTE_STATUS=$(amixer get Master | grep -o '\[on\]')

# If muted, set volume to 0
if [ -z "$MUTE_STATUS" ]; then
VOLUME=0
fi

# Send the notification with a progress bar using Dunst
dunstify -r 1000 -u low -h int:value:"$VOLUME" "Volume ${VOLUME}%"
Loading

0 comments on commit 820ad69

Please sign in to comment.