mirror of
https://github.com/eRgo35/dots.git
synced 2026-02-04 11:46:11 +01:00
Compare commits
3 Commits
ae6dda30c6
...
6b71d20641
| Author | SHA1 | Date | |
|---|---|---|---|
| 6b71d20641 | |||
| 11a2622501 | |||
| e81925cb24 |
@@ -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
|
||||
|
||||
4
.config/blueblack/dark_mode/mouse.sh
Executable file
4
.config/blueblack/dark_mode/mouse.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
gsettings set org.gnome.desktop.interface cursor-theme Simp1e-Gruvbox-Dark
|
||||
hyprctl setcursor catppuccin-mocha-yellow 24
|
||||
@@ -2,4 +2,5 @@
|
||||
|
||||
echo '@import "layout.css"; @import "gruvbox-dark.css";' > $HOME/.config/waybar/style.css
|
||||
|
||||
killall -SIGUSR2 waybar &
|
||||
killall -SIGUSR2 waybar
|
||||
waybar &
|
||||
|
||||
6
.config/blueblack/gruvbox_dark/desktop-notification.sh
Executable file
6
.config/blueblack/gruvbox_dark/desktop-notification.sh
Executable 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"
|
||||
6
.config/blueblack/gruvbox_dark/gtk.sh
Executable file
6
.config/blueblack/gruvbox_dark/gtk.sh
Executable 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
|
||||
5
.config/blueblack/gruvbox_dark/kitty.sh
Executable file
5
.config/blueblack/gruvbox_dark/kitty.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo 'include gruvbox.conf' > $HOME/.config/kitty/colors.conf
|
||||
|
||||
killall -SIGUSR1 kitty || true
|
||||
3
.config/blueblack/gruvbox_dark/kvantum.sh
Executable file
3
.config/blueblack/gruvbox_dark/kvantum.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo -e '[General]\ntheme=gruvbox-kvantum' > ~/.config/Kvantum/kvantum.kvconfig
|
||||
9
.config/blueblack/gruvbox_dark/mako.sh
Executable file
9
.config/blueblack/gruvbox_dark/mako.sh
Executable 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
|
||||
10
.config/blueblack/gruvbox_dark/neovim.sh
Executable file
10
.config/blueblack/gruvbox_dark/neovim.sh
Executable 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
|
||||
3
.config/blueblack/gruvbox_dark/rofi.sh
Executable file
3
.config/blueblack/gruvbox_dark/rofi.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo '@theme "/usr/share/rofi/themes/gruvbox-dark-soft.rasi"' > $HOME/.config/rofi/config.rasi
|
||||
5
.config/blueblack/gruvbox_dark/waybar.sh
Executable file
5
.config/blueblack/gruvbox_dark/waybar.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo '@import "layout.css"; @import "gruvbox-dark.css";' > $HOME/.config/waybar/style.css
|
||||
|
||||
killall -SIGUSR2 waybar &
|
||||
@@ -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
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
hyprctl setcursor catppuccin-latte-light 24
|
||||
4
.config/blueblack/light_mode/mouse.sh
Executable file
4
.config/blueblack/light_mode/mouse.sh
Executable 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
|
||||
@@ -2,4 +2,5 @@
|
||||
|
||||
echo '@import "layout.css"; @import "catppuccin-latte.css";' > $HOME/.config/waybar/style.css
|
||||
|
||||
killall -SIGUSR2 waybar &
|
||||
killall -SIGUSR2 waybar
|
||||
waybar &
|
||||
|
||||
@@ -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
|
||||
|
||||
33
.config/mimeapps.list
Normal file
33
.config/mimeapps.list
Normal file
@@ -0,0 +1,33 @@
|
||||
[Added Associations]
|
||||
application/javascript=vim.desktop;
|
||||
application/vnd.rar=engrampa.desktop;
|
||||
image/jpeg=feh.desktop;
|
||||
image/png=feh.desktop;
|
||||
text/html=vim.desktop;
|
||||
application/pdf=okularApplication_pdf.desktop;
|
||||
|
||||
[Default Applications]
|
||||
application/pdf=xreader.desktop;
|
||||
application/vnd.rar=engrampa.desktop;
|
||||
application/x-compressed-*=engrampa.desktop;
|
||||
application/x-remmina=org.remmina.Remmina.desktop;
|
||||
application/x-wine-extension-ini=vim.desktop;
|
||||
application/x-yaml=vim.desktop;
|
||||
application/xhtml+xml=firefox.desktop;
|
||||
image/jpeg=feh.desktop;
|
||||
image/png=feh.desktop;
|
||||
image/svg+xml=feh.desktop;
|
||||
inode/directory=nemo.desktop;
|
||||
text/plain=vim.desktop;
|
||||
text/yaml=vim.desktop;
|
||||
video/mp4=mpv.desktop;
|
||||
video/mpeg=mpv.desktop;
|
||||
video/webm=mpv.desktop;
|
||||
x-scheme-handler/http=firefox.desktop;
|
||||
x-scheme-handler/https=firefox.desktop;
|
||||
x-scheme-handler/mpv=mpv-handler.desktop;
|
||||
x-scheme-handler/rdp=org.remmina.Remmina.desktop;
|
||||
x-scheme-handler/remmina=org.remmina.Remmina.desktop;
|
||||
x-scheme-handler/spice=org.remmina.Remmina.desktop;
|
||||
x-scheme-handler/terminal=kitty.desktop;
|
||||
x-scheme-handler/vnc=org.remmina.Remmina.desktop;
|
||||
Submodule .config/nvim updated: 63d7ca3808...b26397f49f
15
.config/user-dirs.dirs
Normal file
15
.config/user-dirs.dirs
Normal file
@@ -0,0 +1,15 @@
|
||||
# This file is written by xdg-user-dirs-update
|
||||
# If you want to change or add directories, just edit the line you're
|
||||
# interested in. All local changes will be retained on the next run.
|
||||
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
|
||||
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
|
||||
# absolute path. No other format is supported.
|
||||
#
|
||||
XDG_DESKTOP_DIR="$HOME/"
|
||||
XDG_DOWNLOAD_DIR="$HOME/downloads"
|
||||
XDG_TEMPLATES_DIR="$HOME/"
|
||||
XDG_PUBLICSHARE_DIR="$HOME/"
|
||||
XDG_DOCUMENTS_DIR="$HOME/documents"
|
||||
XDG_MUSIC_DIR="$HOME/"
|
||||
XDG_PICTURES_DIR="$HOME/pictures"
|
||||
XDG_VIDEOS_DIR="$HOME/"
|
||||
@@ -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"
|
||||
|
||||
2
.fehbg
2
.fehbg
@@ -1,2 +0,0 @@
|
||||
#!/bin/sh
|
||||
feh --no-fehbg --bg-fill '/home/mike/Wallpapers/pexels-apasaric-2339009.jpg'
|
||||
23
.gitconfig
23
.gitconfig
@@ -1,23 +0,0 @@
|
||||
[user]
|
||||
email = mike@c2yz.com
|
||||
name = Michał Czyż
|
||||
signingkey = 78D4829A477DAB25
|
||||
[commit]
|
||||
gpgsign = true
|
||||
[push]
|
||||
enabled = true
|
||||
[rerere]
|
||||
enabled = true
|
||||
[column]
|
||||
ui = auto
|
||||
[branch]
|
||||
sort = -committerdate
|
||||
[init]
|
||||
defaultBranch = main
|
||||
[credential]
|
||||
helper = /usr/lib/git-core/git-credential-libsecret
|
||||
[gpg]
|
||||
program = gpg
|
||||
[pull]
|
||||
revase = false
|
||||
rebase = false
|
||||
8
.gitmodules
vendored
8
.gitmodules
vendored
@@ -1,9 +1,9 @@
|
||||
[submodule ".config/dwm"]
|
||||
path = .config/dwm
|
||||
url = git@github.com:eRgo35/dwm.git
|
||||
[submodule "/home/mike/.config/nvim"]
|
||||
path = /home/mike/.config/nvim
|
||||
[submodule ".config/nvim"]
|
||||
path = .config/nvim
|
||||
url = git@github.com:eRgo35/neovim.git
|
||||
[submodule "/home/mike/.config/tmux/plugins/tpm"]
|
||||
path = /home/mike/.config/tmux/plugins/tpm
|
||||
[submodule ".config/tmux/plugins/tpm"]
|
||||
path = .config/tmux/plugins/tpm
|
||||
url = https://github.com/tmux-plugins/tpm
|
||||
|
||||
11
.local/share/applications/spotify.desktop
Normal file
11
.local/share/applications/spotify.desktop
Normal file
@@ -0,0 +1,11 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=Spotify
|
||||
GenericName=Music Player
|
||||
Icon=spotify-client
|
||||
TryExec=spotify
|
||||
Exec=spotify --enable-features=UseOzonePlatform --ozone-platform=wayland --uri=%U
|
||||
Terminal=false
|
||||
MimeType=x-scheme-handler/spotify;
|
||||
Categories=Audio;Music;Player;AudioVideo;
|
||||
StartupWMClass=spotify
|
||||
@@ -3,3 +3,5 @@
|
||||
#
|
||||
|
||||
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
||||
|
||||
. "$HOME/.cargo/env"
|
||||
@@ -9,3 +9,5 @@ alias ls='ls --color=auto'
|
||||
alias grep='grep --color=auto'
|
||||
PS1='[\u@\h \W]\$ '
|
||||
export GPG_TTY=$(tty)
|
||||
|
||||
. "$HOME/.cargo/env"
|
||||
92
.xinitrc
92
.xinitrc
@@ -1,92 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# screen layout for zion
|
||||
$HOME/.config/screenlayout/main.sh
|
||||
|
||||
# no bell
|
||||
xset -b
|
||||
|
||||
# theming
|
||||
export QT_QPA_PLATFORMTHEME=qt5ct
|
||||
export DESKTOP_SESSION=plasma
|
||||
export XDG_CURRENT_DESKTOP=dwm
|
||||
|
||||
# imf config (fcitx5)
|
||||
export GTK_IM_MODULE=fcitx
|
||||
export QT_IM_MODULE=fcitx
|
||||
export XMODIFIERS=@im=fcitx
|
||||
# export GLFW_IM_MODULE=ibus
|
||||
|
||||
# mouse cursor
|
||||
xsetroot -cursor_name left_ptr &
|
||||
|
||||
# compositor
|
||||
picom -b --vsync &
|
||||
|
||||
# fix java window issues
|
||||
export _JAVA_AWT_WM_NONREPARENTING=1 &
|
||||
|
||||
# keyboard layout
|
||||
setxkbmap pl &
|
||||
fcitx5 -d &
|
||||
|
||||
# local fonts in ~/.fonts
|
||||
xset +fp /usr/share/fonts/local &
|
||||
xset +fp /usr/share/fonts/misc &
|
||||
xset +fp ~/.fonts &
|
||||
xset fp rehash &
|
||||
fc-cache -fv &
|
||||
|
||||
# powersaving options
|
||||
xset +dpms
|
||||
xset dpms 900 1200 2700 &
|
||||
xset s on &
|
||||
xset s 900 &
|
||||
|
||||
# auth
|
||||
/usr/lib/mate-polkit/polkit-mate-authentication-agent-1 &
|
||||
gnome-keyring-daemon --start --components=secrets,pkcs11,ssh
|
||||
source /etc/X11/xinit/xinitrc.d/50-systemd-user.sh
|
||||
dbus-update-activation-environment --all
|
||||
|
||||
for L in 64 ''; do
|
||||
A=/usr/lib$L/seahorse/seahorse-ssh-askpass
|
||||
[[ -x $A ]] && export SSH_ASKPASS=$A && break
|
||||
done
|
||||
|
||||
# theming and colors
|
||||
bash $HOME/.fehbg &
|
||||
xrdb -merge ~/.Xresources
|
||||
|
||||
# screen lock
|
||||
# xss-lock -v -- betterlockscreen -l --time-format '%I:%M %p' &
|
||||
xidlehook \
|
||||
--not-when-fullscreen \
|
||||
--not-when-audio \
|
||||
--timer 900 \
|
||||
'betterlockscreen -l --time-format "%I:%M %p"' \
|
||||
'' \
|
||||
--timer 600 \
|
||||
'xset dpms off' \
|
||||
'' \
|
||||
--timer 1800 \
|
||||
'systemctl suspend' \
|
||||
'' &
|
||||
|
||||
# xdg desktop portal
|
||||
/usr/lib/xdg-desktop-portal-gtk &
|
||||
|
||||
# notification daemon
|
||||
dunst &
|
||||
|
||||
# screenshot daemon
|
||||
flameshot &
|
||||
|
||||
# keyboard rebind
|
||||
kanata -c ~/.config/kanata/config.kbd &
|
||||
|
||||
# dwm status bar
|
||||
bash $HOME/.config/dwm/bar.sh & disown
|
||||
|
||||
# dwm
|
||||
exec dwm
|
||||
45
.zshenv
45
.zshenv
@@ -1,5 +1,4 @@
|
||||
# export QT_STYLE_OVERRIDE="qt5ct";
|
||||
export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/gcr/ssh;
|
||||
|
||||
export DEC_PACKAGELIST="$HOME/packages"
|
||||
export WEBKIT_DISABLE_DMABUF_RENDERER=1
|
||||
@@ -17,34 +16,42 @@ export BROWSER='firefox';
|
||||
|
||||
export XDG_DATA_HOME="$HOME/.local/share"
|
||||
export XDG_CONFIG_HOME="$HOME/.config"
|
||||
export XDG_CACHE_HOME="$HOME/.cache"
|
||||
export XDG_STATE_HOME="$HOME/.local/state"
|
||||
|
||||
export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/gcr/ssh;
|
||||
|
||||
# ~/ clean-up:
|
||||
export HISTFILE="$XDG_STATE_HOME"/bash/history
|
||||
# export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority" # this line will break some DMs.
|
||||
# export GTK2_RC_FILES="$HOME/.config/gtk-2.0/gtkrc-2.0"
|
||||
export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority
|
||||
export GTK2_RC_FILES="$HOME/.config/gtk-2.0/gtkrc-2.0"
|
||||
# export NOTMUCH_CONFIG="$HOME/.config/notmuch-config"
|
||||
# export LESSHISTFILE="-"
|
||||
export LESSHISTFILE="-"
|
||||
export WGETRC="$HOME/.config/wget/wgetrc"
|
||||
export INPUTRC="$HOME/.config/inputrc"
|
||||
# export NPM_CONFIG_USERCONFIG=$XDG_CONFIG_HOME/npm/npmrc
|
||||
export NPM_CONFIG_USERCONFIG=$XDG_CONFIG_HOME/npm/npmrc
|
||||
export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java
|
||||
export ZDOTDIR="$HOME/.config/zsh"
|
||||
# export RUSTUP_HOME="$XDG_DATA_HOME"/rustup
|
||||
# export PASSWORD_STORE_DIR="$HOME/.local/share/password-store"
|
||||
# export GNUPGHOME="$XDG_DATA_HOME/gnupg"
|
||||
# export WINEPREFIX="$XDG_DATA_HOME/wineprefixes/default"
|
||||
# export DVDCSS_CACHE="$XDG_DATA_HOME"/dvdcss
|
||||
export XINITRC="$XDG_CONFIG_HOME"/X11/xinitrc
|
||||
export RUSTUP_HOME="$XDG_DATA_HOME"/rustup
|
||||
export PASSWORD_STORE_DIR="$HOME/.local/share/password-store"
|
||||
export GNUPGHOME="$XDG_DATA_HOME/gnupg"
|
||||
export WINEPREFIX="$XDG_DATA_HOME/wineprefixes/default"
|
||||
export DVDCSS_CACHE="$XDG_DATA_HOME"/dvdcss
|
||||
# export _Z_DATA="$XDG_DATA_HOME/z"
|
||||
# export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv
|
||||
# export CARGO_HOME="$XDG_DATA_HOME"/cargo
|
||||
export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv
|
||||
export CARGO_HOME="$XDG_DATA_HOME"/cargo
|
||||
export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java
|
||||
|
||||
# export XDG_DESKTOP_DIR="$HOME/docs/desktop"
|
||||
# export XDG_DOWNLOAD_DIR="$HOME/downloads"
|
||||
# export XDG_TEMPLATES_DIR="$HOME/docs/templates"
|
||||
# export XDG_PUBLICSHARE_DIR="$HOME/docs/public"
|
||||
# export XDG_DOCUMENTS_DIR="$HOME/docs"
|
||||
# export XDG_MUSIC_DIR="$HOME/music"
|
||||
# export XDG_PICTURES_DIR="$HOME/pics"
|
||||
# export XDG_VIDEOS_DIR="$HOME/videos"
|
||||
export XDG_DESKTOP_DIR="$HOME"
|
||||
export XDG_DOWNLOAD_DIR="$HOME/downloads"
|
||||
export XDG_TEMPLATES_DIR="$HOME"
|
||||
export XDG_PUBLICSHARE_DIR="$HOME"
|
||||
export XDG_DOCUMENTS_DIR="$HOME/documents"
|
||||
export XDG_MUSIC_DIR="$HOME/music"
|
||||
export XDG_PICTURES_DIR="$HOME/pictures"
|
||||
export XDG_VIDEOS_DIR="$HOME/videos"
|
||||
# Enable persistent REPL history for `node`.
|
||||
export NODE_REPL_HISTORY=~/.node_history;
|
||||
# Allow 32³ entries; the default is 1000.
|
||||
|
||||
Reference in New Issue
Block a user