mirror of
https://codeberg.org/frosty/dotfiles.git
synced 2024-09-19 11:47:09 -04:00
add stuff
This commit is contained in:
parent
c452fcdc9f
commit
ddc15dc545
6
.Xresources
Normal file
6
.Xresources
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
Nsxiv.window.background: #111111
|
||||||
|
Nsxiv.window.foreground: #bbbbbb
|
||||||
|
Nsxiv.mark.foreground: #bbbbbb
|
||||||
|
Nsxiv.bar.background: #bbbbbb
|
||||||
|
Nsxiv.bar.foreground: #111111
|
||||||
|
Nsxiv.bar.font: monospace:pixelsize=12
|
3
.bash_profile
Normal file
3
.bash_profile
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/environment" ] && . "${XDG_CONFIG_HOME:-$HOME/.config}/shell/environment"
|
||||||
|
|
||||||
|
[ -f "$HOME/.bashrc" ] && . "$HOME/.bashrc"
|
14
.bashrc
Normal file
14
.bashrc
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
shopt -s autocd
|
||||||
|
shopt -s nocaseglob
|
||||||
|
shopt -s histverify
|
||||||
|
|
||||||
|
PS1='\[\033[34m\]\w $(if [ "$?" -eq 0 ]; then printf "\033[32m"; else printf "\033[31m"; fi)\$ \[\033[0m\]'
|
||||||
|
|
||||||
|
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliases" ] && . "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliases"
|
||||||
|
|
||||||
|
if [ -d "${XDG_CONFIG_HOME:-$HOME/.config}/shell/functions" ]; then
|
||||||
|
for func in "${XDG_CONFIG_HOME:-$HOME/.config}"/shell/functions/*; do
|
||||||
|
. "$func"
|
||||||
|
done
|
||||||
|
unset func
|
||||||
|
fi
|
12
.config/VSCodium/User/settings.json
Normal file
12
.config/VSCodium/User/settings.json
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
"workbench.sideBar.location": "right",
|
||||||
|
"workbench.activityBar.location": "top",
|
||||||
|
"workbench.layoutControl.enabled": false,
|
||||||
|
"window.commandCenter": false,
|
||||||
|
"window.menuBarVisibility": "toggle",
|
||||||
|
"workbench.startupEditor": "none",
|
||||||
|
"editor.minimap.enabled": false,
|
||||||
|
"workbench.editor.editorActionsLocation": "hidden",
|
||||||
|
"workbench.colorTheme": "Default Dark+",
|
||||||
|
"editor.fontSize": 13
|
||||||
|
}
|
8
.config/VSCodium/product.json
Normal file
8
.config/VSCodium/product.json
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"extensionsGallery": {
|
||||||
|
"serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery",
|
||||||
|
"itemUrl": "https://marketplace.visualstudio.com/items",
|
||||||
|
"cacheUrl": "https://vscode.blob.core.windows.ne/gallery/index",
|
||||||
|
"controlUrl": ""
|
||||||
|
}
|
||||||
|
}
|
48
.config/fastfetch/config.jsonc
Normal file
48
.config/fastfetch/config.jsonc
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
{
|
||||||
|
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
|
||||||
|
"logo": {
|
||||||
|
"type": "small",
|
||||||
|
"padding": {
|
||||||
|
"right": 2
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"display": {
|
||||||
|
"separator": "",
|
||||||
|
"keyWidth": 8
|
||||||
|
},
|
||||||
|
"modules": [
|
||||||
|
{
|
||||||
|
"type": "os",
|
||||||
|
"key": "os",
|
||||||
|
"format": "{2}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "host",
|
||||||
|
"key": "host",
|
||||||
|
"format": "{2}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "kernel",
|
||||||
|
"key": "kernel"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "uptime",
|
||||||
|
"key": "uptime"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "packages",
|
||||||
|
"key": "pkgs",
|
||||||
|
"format": "{1}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "shell",
|
||||||
|
"key": "shell",
|
||||||
|
"format": "{1}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "wm",
|
||||||
|
"key": "wm",
|
||||||
|
"format": "{1}"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
10
.config/fontconfig/fonts.conf
Normal file
10
.config/fontconfig/fonts.conf
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<alias>
|
||||||
|
<family>monospace</family>
|
||||||
|
<prefer>
|
||||||
|
<family>Noto Sans Mono</family>
|
||||||
|
</prefer>
|
||||||
|
</alias>
|
||||||
|
</fontconfig>
|
7
.config/git/config
Normal file
7
.config/git/config
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
[user]
|
||||||
|
name = frosty
|
||||||
|
email = passedgoandgot200@gmail.com
|
||||||
|
[init]
|
||||||
|
defaultBranch = master
|
||||||
|
|
||||||
|
# vim: ft=gitconfig
|
16
.config/gtk-2.0/gtkrc
Normal file
16
.config/gtk-2.0/gtkrc
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
gtk-theme-name="Adwaita-dark"
|
||||||
|
gtk-icon-theme-name="elementary"
|
||||||
|
gtk-font-name="Cantarell 11"
|
||||||
|
gtk-cursor-theme-name="elementary"
|
||||||
|
gtk-cursor-theme-size=0
|
||||||
|
gtk-toolbar-style=GTK_TOOLBAR_BOTH
|
||||||
|
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
||||||
|
gtk-button-images=1
|
||||||
|
gtk-menu-images=1
|
||||||
|
gtk-enable-event-sounds=0
|
||||||
|
gtk-enable-input-feedback-sounds=0
|
||||||
|
gtk-xft-antialias=1
|
||||||
|
gtk-xft-hinting=1
|
||||||
|
gtk-xft-hintstyle="hintfull"
|
||||||
|
|
||||||
|
# vim: ft=dosini
|
15
.config/gtk-3.0/settings.ini
Normal file
15
.config/gtk-3.0/settings.ini
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
[Settings]
|
||||||
|
gtk-theme-name=Adwaita-dark
|
||||||
|
gtk-icon-theme-name=elementary
|
||||||
|
gtk-font-name=Cantarell 11
|
||||||
|
gtk-cursor-theme-name=elementary
|
||||||
|
gtk-cursor-theme-size=0
|
||||||
|
gtk-toolbar-style=GTK_TOOLBAR_BOTH
|
||||||
|
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
||||||
|
gtk-button-images=1
|
||||||
|
gtk-menu-images=1
|
||||||
|
gtk-enable-event-sounds=0
|
||||||
|
gtk-enable-input-feedback-sounds=0
|
||||||
|
gtk-xft-antialias=1
|
||||||
|
gtk-xft-hinting=1
|
||||||
|
gtk-xft-hintstyle=hintfull
|
5
.config/mimeapps.list
Normal file
5
.config/mimeapps.list
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
[Default Applications]
|
||||||
|
x-scheme-handler/nxm=nxm-handler.desktop
|
||||||
|
image/jpeg=nsxiv.desktop
|
||||||
|
|
||||||
|
# vim: ft=dosini
|
9
.config/nsxiv/exec/key-handler
Executable file
9
.config/nsxiv/exec/key-handler
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
while read -r file; do
|
||||||
|
case "$1" in
|
||||||
|
w)
|
||||||
|
wallpaper write "$file"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
121
.config/picom/picom.conf
Normal file
121
.config/picom/picom.conf
Normal file
|
@ -0,0 +1,121 @@
|
||||||
|
#################################
|
||||||
|
# Shadows #
|
||||||
|
#################################
|
||||||
|
|
||||||
|
# Enabled client-side shadows on windows.
|
||||||
|
shadow = false
|
||||||
|
|
||||||
|
# The blur radius for shadows, in pixels.
|
||||||
|
shadow-radius = 10
|
||||||
|
|
||||||
|
# The opacity of shadows. (0.0 - 1.0)
|
||||||
|
shadow-opacity = 0.35
|
||||||
|
|
||||||
|
# The left offset for shadows, in pixels.
|
||||||
|
shadow-offset-x = -7
|
||||||
|
|
||||||
|
# The top offset for shadows, in pixels.
|
||||||
|
shadow-offset-y = -7
|
||||||
|
|
||||||
|
# Hex string color value of shadow.
|
||||||
|
shadow-color = "#030303"
|
||||||
|
|
||||||
|
# Specify a list of conditions of windows that should have no shadow.
|
||||||
|
shadow-exclude = [
|
||||||
|
"class_g = 'Tint2'",
|
||||||
|
"name = 'Notification'"
|
||||||
|
]
|
||||||
|
|
||||||
|
#################################
|
||||||
|
# Fading #
|
||||||
|
#################################
|
||||||
|
|
||||||
|
# Fade windows in/out when opening/closing and when opacity changes,
|
||||||
|
# unless no-fading-openclose is used.
|
||||||
|
fading = false
|
||||||
|
|
||||||
|
# Opacity change between steps while fading in. (0.01 - 1.0)
|
||||||
|
fade-in-step = 0.16
|
||||||
|
|
||||||
|
# Opacity change between steps while fading out. (0.01 - 1.0)
|
||||||
|
fade-out-step = 0.16
|
||||||
|
|
||||||
|
# Do not fade destroyed ARGB windows with WM frame. Workaround of bugs in Openbox, Fluxbox, etc.
|
||||||
|
no-fading-destroyed-argb = true
|
||||||
|
|
||||||
|
#################################
|
||||||
|
# Transparency / Opacity #
|
||||||
|
#################################
|
||||||
|
|
||||||
|
# Opacity of inactive windows. (0.1 - 1.0)
|
||||||
|
inactive-opacity = 1
|
||||||
|
|
||||||
|
# Opacity of window titlebars and borders. (0.1 - 1.0)
|
||||||
|
frame-opacity = 1
|
||||||
|
|
||||||
|
# Let inactive opacity set by -i override the '_NET_WM_WINDOW_OPACITY' values of windows.
|
||||||
|
inactive-opacity-override = false
|
||||||
|
|
||||||
|
# Default opacity for active windows. (0.0 - 1.0)
|
||||||
|
active-opacity = 1.0
|
||||||
|
|
||||||
|
# Dim inactive windows. (0.0 - 1.0)
|
||||||
|
inactive-dim = 0.05
|
||||||
|
|
||||||
|
# Specify a list of conditions of windows that should never be considered focused.
|
||||||
|
focus-exclude = [
|
||||||
|
"class_g = 'Cairo-clock'",
|
||||||
|
"name *= 'Picture-in-Picture'"
|
||||||
|
]
|
||||||
|
|
||||||
|
#################################
|
||||||
|
# Corners #
|
||||||
|
#################################
|
||||||
|
|
||||||
|
# Sets the radius of rounded window corners.
|
||||||
|
corner-radius = 0
|
||||||
|
|
||||||
|
#################################
|
||||||
|
# Background-Blurring #
|
||||||
|
#################################
|
||||||
|
|
||||||
|
# Parameters for background blurring, see the *BLUR* section for more information.
|
||||||
|
# blur-method = "dual_kawase"
|
||||||
|
# blur-size = 1
|
||||||
|
# blur-strength = 5
|
||||||
|
|
||||||
|
# Specify the blur convolution kernel.
|
||||||
|
# blur-kern = "3x3box"
|
||||||
|
|
||||||
|
# Exclude conditions for background blur.
|
||||||
|
# blur-background-exclude = [
|
||||||
|
# "window_type = 'dock'",
|
||||||
|
# "window_type = 'desktop'",
|
||||||
|
# "_GTK_FRAME_EXTENTS@"
|
||||||
|
# ]
|
||||||
|
|
||||||
|
#################################
|
||||||
|
# General Settings #
|
||||||
|
#################################
|
||||||
|
|
||||||
|
# Specify the backend to use: `xrender`, `glx`, `egl` or `xr_glx_hybrid`.
|
||||||
|
backend = "glx"
|
||||||
|
|
||||||
|
# Use higher precision during rendering, and apply dither when presenting the
|
||||||
|
# rendered screen. Reduces banding artifacts, but might cause performance
|
||||||
|
# degradation. Only works with OpenGL.
|
||||||
|
dithered-present = false
|
||||||
|
|
||||||
|
# Enable/disable VSync.
|
||||||
|
vsync = true
|
||||||
|
|
||||||
|
# Disable the use of damage information.
|
||||||
|
# This cause the whole screen to be redrawn every time, instead of the part of the screen
|
||||||
|
# has actually changed. Potentially degrades the performance, but might fix some artifacts.
|
||||||
|
use-damage = true
|
||||||
|
|
||||||
|
# Set the log level. Possible values are: "trace", "debug", "info", "warn", "error"
|
||||||
|
# in increasing level of importance. Case doesn't matter.
|
||||||
|
# If using the "TRACE" log level, it's better to log into a file
|
||||||
|
# using *--log-file*, since it can generate a huge stream of logs.
|
||||||
|
log-level = "warn"
|
23
.config/shell/aliases
Executable file
23
.config/shell/aliases
Executable file
|
@ -0,0 +1,23 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
alias sudo='doas'
|
||||||
|
alias vim='nvim'
|
||||||
|
alias code='codium'
|
||||||
|
alias fetch='fastfetch'
|
||||||
|
|
||||||
|
alias cp='cp -iv'
|
||||||
|
alias mv='mv -iv'
|
||||||
|
alias rm='rm -vI'
|
||||||
|
alias mkdir='mkdir -pv'
|
||||||
|
|
||||||
|
alias df='df -h'
|
||||||
|
alias free='free -h'
|
||||||
|
|
||||||
|
alias ll='ls -alF'
|
||||||
|
alias la='ls -A'
|
||||||
|
alias l='ls -CF'
|
||||||
|
|
||||||
|
alias ls='ls --color=auto'
|
||||||
|
alias grep='grep --color=auto'
|
||||||
|
alias cat='bat --style=plain'
|
||||||
|
alias xdg-ninja='xdg-ninja --skip-unsupported'
|
31
.config/shell/environment
Normal file
31
.config/shell/environment
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# XDG base directories
|
||||||
|
[ -z "$XDG_DATA_HOME" ] && export XDG_DATA_HOME="$HOME/.local/share"
|
||||||
|
[ -z "$XDG_CONFIG_HOME" ] && export XDG_CONFIG_HOME="$HOME/.config"
|
||||||
|
[ -z "$XDG_STATE_HOME" ] && export XDG_STATE_HOME="$HOME/.local/state"
|
||||||
|
[ -z "$XDG_CACHE_HOME" ] && export XDG_CACHE_HOME="$HOME/.cache"
|
||||||
|
|
||||||
|
# Local directories in $PATH
|
||||||
|
[ -d "$HOME/.local/bin" ] && export PATH="$PATH:$HOME/.local/bin"
|
||||||
|
[ -d "$HOME/.local/bin/runners" ] && export PATH="$PATH:$HOME/.local/bin/runners"
|
||||||
|
[ -d "$HOME/.local/bin/screenlayouts" ] && export PATH="$PATH:$HOME/.local/bin/screenlayouts"
|
||||||
|
[ -d "$HOME/.local/bin/statusbar" ] && export PATH="$PATH:$HOME/.local/bin/statusbar"
|
||||||
|
|
||||||
|
# Default programs
|
||||||
|
export TERMINAL="${TERMINAL:-st}"
|
||||||
|
export EDITOR="${EDITOR:-nvim}"
|
||||||
|
export VISUAL="${VISUAL:-codium}"
|
||||||
|
export BROWSER="${BROWSER:-firefox}"
|
||||||
|
|
||||||
|
# $HOME cleanup
|
||||||
|
export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc"
|
||||||
|
export GOPATH="$XDG_DATA_HOME/go"
|
||||||
|
export RUSTUP_HOME="$XDG_DATA_HOME/rustup"
|
||||||
|
export CARGO_HOME="$XDG_DATA_HOME/cargo"
|
||||||
|
export XCURSOR_PATH="/usr/share/icons:$XDG_DATA_HOME/icons"
|
||||||
|
export GNUPGHOME="$XDG_DATA_HOME/gnupg"
|
||||||
|
export NODE_REPL_HISTORY="$XDG_DATA_HOME/node_repl_history"
|
||||||
|
export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME/npm/npmrc"
|
||||||
|
export CUDA_CACHE_PATH="$XDG_CACHE_HOME/nv"
|
||||||
|
export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority"
|
7
.config/shell/functions/skinstall
Executable file
7
.config/shell/functions/skinstall
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
skinstall() {
|
||||||
|
rm config.h
|
||||||
|
make || return
|
||||||
|
doas make install
|
||||||
|
}
|
10
.config/user-dirs.dirs
Normal file
10
.config/user-dirs.dirs
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
XDG_DESKTOP_DIR="$HOME/"
|
||||||
|
XDG_DOCUMENTS_DIR="$HOME/documents"
|
||||||
|
XDG_DOWNLOAD_DIR="$HOME/downloads"
|
||||||
|
XDG_MUSIC_DIR="$HOME/music"
|
||||||
|
XDG_PICTURES_DIR="$HOME/pictures"
|
||||||
|
XDG_VIDEOS_DIR="$HOME/videos"
|
||||||
|
XDG_TEMPLATES_DIR="$HOME/templates"
|
||||||
|
XDG_PUBLICSHARE_DIR="$HOME/public"
|
||||||
|
|
||||||
|
# vim: ft=sh
|
20
.local/bin/proton-nv
Executable file
20
.local/bin/proton-nv
Executable file
|
@ -0,0 +1,20 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Wrapper around Valve's Proton to launch Fallout: New Vegas
|
||||||
|
|
||||||
|
set -u
|
||||||
|
|
||||||
|
APPID=22380
|
||||||
|
STEAM="/mnt/storage/Steam"
|
||||||
|
PROTON="$STEAM/steamapps/common/Proton - Experimental/files"
|
||||||
|
|
||||||
|
export WINEESYNC=1
|
||||||
|
export WINEFSYNC=1
|
||||||
|
export WINEARCH=win64
|
||||||
|
export WINEPREFIX="$STEAM/steamapps/compatdata/$APPID/pfx"
|
||||||
|
export WINESERVER="$PROTON/bin/wineserver"
|
||||||
|
export WINELOADER="$PROTON/bin/wine"
|
||||||
|
export WINEDLLPATH="$PROTON/lib/wine:$PROTON/lib64/wine"
|
||||||
|
export PATH="$PROTON/bin:$PATH"
|
||||||
|
|
||||||
|
exec "$@"
|
10
.local/bin/runners/run-i3lock
Executable file
10
.local/bin/runners/run-i3lock
Executable file
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
file_name=$(readlink -f "$XDG_DATA_HOME/wallpaper")
|
||||||
|
file_name=${file_name##*/}
|
||||||
|
|
||||||
|
destination=/tmp/lock_${file_name}
|
||||||
|
|
||||||
|
[ -f "$destination" ] || convert -quality 80 -resize 1920x1080 "$XDG_DATA_HOME/wallpaper" "$destination"
|
||||||
|
|
||||||
|
i3lock -i "$destination" -F
|
6
.local/bin/screenlayout
Executable file
6
.local/bin/screenlayout
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
choice="$HOME/.local/bin/screenlayouts/$(find "$HOME/.local/bin/screenlayouts" -type f -printf '%f\n' | sort | dmenu -p screenlayout)" || exit 0
|
||||||
|
|
||||||
|
ln -sf "$choice" "$XDG_DATA_HOME/screenlayout"
|
||||||
|
. "$XDG_DATA_HOME/screenlayout"
|
2
.local/bin/screenlayouts/sl-external
Executable file
2
.local/bin/screenlayouts/sl-external
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
xrandr --output eDP-1 --off --output DP-1 --off --output HDMI-1 --off --output HDMI-2 --primary --mode 1920x1080 --pos 0x0 --rotate normal
|
5
.local/bin/statusbar/sb-battery
Executable file
5
.local/bin/statusbar/sb-battery
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
read -r capacity < /sys/class/power_supply/BAT1/capacity
|
||||||
|
|
||||||
|
printf '[BAT %s%%]\n' "$capacity"
|
5
.local/bin/statusbar/sb-date
Executable file
5
.local/bin/statusbar/sb-date
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
_date=$(date '+%b %-d %Y %-I:%M %p')
|
||||||
|
|
||||||
|
printf '[%s]\n' "$_date"
|
5
.local/bin/statusbar/sb-memory
Executable file
5
.local/bin/statusbar/sb-memory
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
memory=$(free -h | awk '/Mem/ {printf "%s/%s\n", $3, $2}' | sed 's/Gi/G/g; s/Mi/M/g')
|
||||||
|
|
||||||
|
printf '[MEM %s]\n' "$memory"
|
21
.local/bin/statusbar/sb-volume
Executable file
21
.local/bin/statusbar/sb-volume
Executable file
|
@ -0,0 +1,21 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
volume=$(wpctl get-volume @DEFAULT_AUDIO_SINK@)
|
||||||
|
volume=${volume##Volume: }
|
||||||
|
volume=${volume%%.*}${volume##*.}
|
||||||
|
|
||||||
|
case "$volume" in
|
||||||
|
*MUTED*)
|
||||||
|
muted=1
|
||||||
|
volume=${volume%% \[MUTED\]}
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
volume=${volume#0}
|
||||||
|
volume=${volume#0}
|
||||||
|
|
||||||
|
if [ -z "$muted" ]; then
|
||||||
|
printf '[VOL %s%%]\n' "$volume"
|
||||||
|
else
|
||||||
|
printf '[VOL %s%% M]\n' "$volume"
|
||||||
|
fi
|
14
.local/bin/wallpaper
Executable file
14
.local/bin/wallpaper
Executable file
|
@ -0,0 +1,14 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
view)
|
||||||
|
find "$HOME/pictures/wallpapers" -type f -name '*.jpg' -o -name '*.jpeg' -o -name '*.png' | shuf | nsxiv -it
|
||||||
|
;;
|
||||||
|
write)
|
||||||
|
ln -sf "$2" "$XDG_DATA_HOME/wallpaper"
|
||||||
|
xwallpaper --zoom "$XDG_DATA_HOME/wallpaper"
|
||||||
|
;;
|
||||||
|
restore)
|
||||||
|
xwallpaper --zoom "$XDG_DATA_HOME/wallpaper"
|
||||||
|
;;
|
||||||
|
esac
|
5
.local/share/applications/browser.desktop
Executable file
5
.local/share/applications/browser.desktop
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Name=Browser
|
||||||
|
Exec=firefox %u
|
||||||
|
Icon=firefox
|
5
.local/share/applications/editor.desktop
Executable file
5
.local/share/applications/editor.desktop
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Name=Text Editor
|
||||||
|
Exec=codium %u
|
||||||
|
Icon=vscodium
|
5
.local/share/applications/file.desktop
Executable file
5
.local/share/applications/file.desktop
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Name=File Manager
|
||||||
|
Exec=thunar %u
|
||||||
|
Icon=org.xfce.thunar
|
6
.local/share/applications/nxm-handler.desktop
Executable file
6
.local/share/applications/nxm-handler.desktop
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Name=NXM Scheme Handler
|
||||||
|
Exec=newvegas wine /mnt/storage/Software/ModOrganizer2/nxmhandler.exe %u
|
||||||
|
StartupNotify=false
|
||||||
|
MimeType=x-scheme-handler/nxm
|
5
.local/share/applications/terminal.desktop
Executable file
5
.local/share/applications/terminal.desktop
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Name=Terminal
|
||||||
|
Exec=st %u
|
||||||
|
Icon=utilities-terminal
|
4
.local/share/icons/default/index.theme
Normal file
4
.local/share/icons/default/index.theme
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
[Icon Theme]
|
||||||
|
Name=Default
|
||||||
|
Comment=Default Cursor Theme
|
||||||
|
Inherits=elementary
|
3
.local/share/runit/sv/dunst/run
Executable file
3
.local/share/runit/sv/dunst/run
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
exec dunst 2>&1
|
3
.local/share/runit/sv/picom/run
Executable file
3
.local/share/runit/sv/picom/run
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
exec picom 2>&1
|
5
.local/share/runit/sv/pipewire-pulse/run
Executable file
5
.local/share/runit/sv/pipewire-pulse/run
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
sv check "$HOME/.runit/sv/wireplumber" >/dev/null || exit 1
|
||||||
|
|
||||||
|
exec pipewire-pulse 2>&1
|
3
.local/share/runit/sv/pipewire/run
Executable file
3
.local/share/runit/sv/pipewire/run
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
exec pipewire 2>&1
|
3
.local/share/runit/sv/sxhkd/run
Executable file
3
.local/share/runit/sv/sxhkd/run
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
exec sxhkd 2>&1
|
3
.local/share/runit/sv/udiskie/run
Executable file
3
.local/share/runit/sv/udiskie/run
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
exec udiskie
|
5
.local/share/runit/sv/wireplumber/run
Executable file
5
.local/share/runit/sv/wireplumber/run
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
sv check "$HOME/.runit/sv/pipewire" >/dev/null || exit 1
|
||||||
|
|
||||||
|
exec wireplumber 2>&1
|
1
.local/share/screenlayout
Symbolic link
1
.local/share/screenlayout
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/home/frosty/.local/bin/screenlayouts/sl-external
|
1
.local/share/wallpaper
Symbolic link
1
.local/share/wallpaper
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/home/frosty/pictures/wallpapers/1706124226302274.jpg
|
21
.xinitrc
Executable file
21
.xinitrc
Executable file
|
@ -0,0 +1,21 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
xrandr --dpi 96
|
||||||
|
# shellcheck disable=SC1091
|
||||||
|
. "$XDG_DATA_HOME/screenlayout"
|
||||||
|
xwallpaper --zoom "$XDG_DATA_HOME/wallpaper"
|
||||||
|
xrdb -merge "$HOME/.Xresources"
|
||||||
|
|
||||||
|
xinput set-prop "SOAI USB Gaming Mouse" "libinput Accel Profile Enabled" 0 1 0
|
||||||
|
xinput set-prop "SOAI USB Gaming Mouse" "libinput Accel Speed" 0
|
||||||
|
|
||||||
|
pipewire &
|
||||||
|
wireplumber &
|
||||||
|
pipewire-pulse &
|
||||||
|
udiskie &
|
||||||
|
dunst &
|
||||||
|
picom &
|
||||||
|
sxhkd &
|
||||||
|
dwmblocks &
|
||||||
|
|
||||||
|
exec dbus-launch dwm
|
3
.zprofile
Normal file
3
.zprofile
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/environment" ] && . "${XDG_CONFIG_HOME:-$HOME/.config}/shell/environment"
|
||||||
|
|
||||||
|
[ -f "$HOME/.bashrc" ] && . "$HOME/.bashrc"
|
24
.zshrc
Normal file
24
.zshrc
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
setopt autocd
|
||||||
|
setopt nocaseglob
|
||||||
|
setopt histverify
|
||||||
|
setopt correct
|
||||||
|
setopt histreduceblanks
|
||||||
|
|
||||||
|
PS1='%F{blue}%~ %(?.%F{green}.%F{red})%#%f '
|
||||||
|
|
||||||
|
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliases" ] && . "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliases"
|
||||||
|
|
||||||
|
if [ -d "${XDG_CONFIG_HOME:-$HOME/.config}/shell/functions" ]; then
|
||||||
|
for func in "${XDG_CONFIG_HOME:-$HOME/.config}"/shell/functions/*; do
|
||||||
|
. "$func"
|
||||||
|
done
|
||||||
|
unset func
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -d "${XDG_DATA_HOME:-$HOME/.local/share}/zsh/plugins" ]; then
|
||||||
|
for plug in "${XDG_DATA_HOME:-$HOME/.local/share}"/zsh/plugins/*/*.plugin.zsh; do
|
||||||
|
# shellcheck disable=SC1090
|
||||||
|
. "$plug"
|
||||||
|
done
|
||||||
|
unset plug
|
||||||
|
fi
|
Loading…
Reference in a new issue