xdg spec part I

This commit is contained in:
2024-08-20 14:35:40 +02:00
parent ae6dda30c6
commit e81925cb24
30 changed files with 96 additions and 2440 deletions

View File

@@ -3,4 +3,3 @@
gsettings set org.gnome.desktop.interface gtk-theme Gruvbox-Yellow-Dark
gsettings set org.gnome.desktop.interface color-scheme prefer-dark
gsettings set org.gnome.desktop.interface icon-theme Papirus-Dark
gsettings set org.gnome.desktop.interface cursor-theme Simp1e-Gruvbox-Dark

View File

@@ -0,0 +1,4 @@
#!/bin/bash
gsettings set org.gnome.desktop.interface cursor-theme Simp1e-Gruvbox-Dark
hyprctl setcursor catppuccin-mocha-yellow 24

View File

@@ -2,4 +2,5 @@
echo '@import "layout.css"; @import "gruvbox-dark.css";' > $HOME/.config/waybar/style.css
killall -SIGUSR2 waybar &
killall -SIGUSR2 waybar
waybar &

View File

@@ -0,0 +1,6 @@
#!/usr/bin/env bash
# trigger a small, passive popup dialog to inform the user about darkman's activity
# reference https://wiki.archlinux.org/title/Desktop_notifications#Usage_in_programming
notify-send --app-name="darkman" --urgency=low --icon=weather-clear-night "switching to dark mode"

View File

@@ -0,0 +1,6 @@
#!/bin/bash
gsettings set org.gnome.desktop.interface gtk-theme Gruvbox-Yellow-Dark
gsettings set org.gnome.desktop.interface color-scheme prefer-dark
gsettings set org.gnome.desktop.interface icon-theme Papirus-Dark
gsettings set org.gnome.desktop.interface cursor-theme Simp1e-Gruvbox-Dark

View File

@@ -0,0 +1,5 @@
#!/bin/bash
echo 'include gruvbox.conf' > $HOME/.config/kitty/colors.conf
killall -SIGUSR1 kitty || true

View File

@@ -0,0 +1,3 @@
#!/bin/bash
echo -e '[General]\ntheme=gruvbox-kvantum' > ~/.config/Kvantum/kvantum.kvconfig

View File

@@ -0,0 +1,9 @@
#!/bin/sh
unlink $HOME/.config/mako/config
makoctl set-mode dark
ln -s $HOME/.config/mako/config-dark $HOME/.config/mako/config
makoctl reload

View File

@@ -0,0 +1,10 @@
#!/usr/bin/env bash
# This uses the neovim-remote python package to control other neovim instances.
# see: https://github.com/mhinz/neovim-remote
# Further, it is assumed that toggling the background in neovim is enough.
# Anything else should be handled by the set color scheme.
for server in $(nvr --serverlist); do
nvr --servername "$server" -cc 'set background=dark'
done

View File

@@ -0,0 +1,3 @@
#!/bin/bash
echo '@theme "/usr/share/rofi/themes/gruvbox-dark-soft.rasi"' > $HOME/.config/rofi/config.rasi

View File

@@ -0,0 +1,5 @@
#!/bin/bash
echo '@import "layout.css"; @import "gruvbox-dark.css";' > $HOME/.config/waybar/style.css
killall -SIGUSR2 waybar &

View File

@@ -3,4 +3,3 @@
gsettings set org.gnome.desktop.interface gtk-theme catppuccin-latte-sapphire-standard+default
gsettings set org.gnome.desktop.interface color-scheme prefer-light
gsettings set org.gnome.desktop.interface icon-theme Papirus-Light
gsettings set org.gnome.desktop.interface cursor-theme catppuccin-latte-light-cursors

View File

@@ -1,3 +0,0 @@
#!/bin/bash
hyprctl setcursor catppuccin-latte-light 24

View File

@@ -0,0 +1,4 @@
#!/bin/bash
gsettings set org.gnome.desktop.interface cursor-theme catppuccin-latte-light-cursors
hyprctl setcursor catppuccin-latte-light 24

View File

@@ -2,4 +2,5 @@
echo '@import "layout.css"; @import "catppuccin-latte.css";' > $HOME/.config/waybar/style.css
killall -SIGUSR2 waybar &
killall -SIGUSR2 waybar
waybar &

View File

@@ -2,7 +2,7 @@
#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes.
#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes"
color_theme = "/usr/share/btop/themes/gruvbox_dark.theme"
color_theme = "/usr/share/btop/themes/whiteout.theme"
#* If the theme set background should be shown, set to False if you want terminal background transparency.
theme_background = True

View File

@@ -6,7 +6,7 @@ if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]
fi
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTFILE=~/.local/state/zsh/histfile
HISTSIZE=10000000
SAVEHIST=10000000
setopt extendedglob
@@ -180,3 +180,7 @@ eval "$(zoxide init zsh)"
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.config/zsh/.p10k.zsh ]] || source ~/.config/zsh/.p10k.zsh
# . "$HOME/.cargo/env"
. "/home/mike/.local/share/cargo/env"