Update 19.08.2022

This commit is contained in:
Kristofers Solo 2022-08-19 20:52:59 +03:00
parent 2135ea48be
commit ced712f31f
11 changed files with 86 additions and 59 deletions

View File

@ -635,7 +635,7 @@ awful.rules.rules = {
}, },
{ {
rule_any = { rule_any = {
class = { "spotify", "Spotify" }, class = { "Spotify" },
}, },
properties = { screen = 1, tag = "9" }, properties = { screen = 1, tag = "9" },
}, },

View File

@ -289,7 +289,6 @@ Vagrantfile 
*.jpeg  *.jpeg 
*.mjpg  *.mjpg 
*.mjpeg  *.mjpeg 
*.gif 
*.bmp  *.bmp 
*.pbm  *.pbm 
*.pgm  *.pgm 
@ -302,56 +301,59 @@ Vagrantfile 
*.png  *.png 
*.svg  *.svg 
*.svgz  *.svgz 
*.mng 
*.pcx  *.pcx 
*.mov 
*.mpg 
*.mpeg 
*.m2v  *.m2v 
*.mkv 
*.webm 
*.ogm  *.ogm 
*.mp4 
*.m4v 
*.mp4v 
*.vob 
*.qt 
*.nuv  *.nuv 
*.wmv 
*.asf 
*.rm  *.rm 
*.rmvb  *.rmvb 
*.flc  *.flc 
*.avi 
*.fli  *.fli 
*.flv 
*.gl  *.gl 
*.dl  *.dl 
*.xcf  *.xcf 
*.xwd  *.xwd 
*.yuv 
*.cgm  *.cgm 
*.emf  *.emf 
*.ogv 
*.ogx  *.ogx 
# video formats
*.mkv 
*.asf 
*.yuv 
*.avi 
*.gif 
*.mpg 
*.mpeg 
*.qt 
*.mng 
*.ogv 
*.webm 
*.vob 
*.flv 
*.mov 
*.wmv 
*.mp4 
*.m4v 
*.mp4v 
# audio formats (extensions from dircolors defaults) # audio formats (extensions from dircolors defaults)
*.aac  *.aac
*.au  *.au
*.flac  *.flac
*.m4a  *.m4a
*.mid  *.mid
*.midi  *.midi
*.mka  *.mka
*.mp3  *.mp3
*.mpc  *.mpc
*.ogg  *.ogg
*.ra  *.ra
*.wav  *.wav
*.oga  *.oga
*.opus  *.opus
*.spx  *.spx
*.xspf  *.xspf
# other formats # other formats
*.pdf  *.pdf 

View File

@ -90,6 +90,7 @@ map e $nvim "$f"
# Movement # Movement
map gd cd ~/Downloads map gd cd ~/Downloads
map gD cd ~/Dropbox map gD cd ~/Dropbox
map gn cd ~/Nextcloud
map gp cd ~/Pictures map gp cd ~/Pictures
map gc cd ~/.config map gc cd ~/.config
map gr cd ~/repos map gr cd ~/repos

View File

@ -1,10 +1,17 @@
[Default Applications] [Default Applications]
application/pdf=pdf.desktop;
audio/mpeg=mpv.desktop;
inode/directory=spacefm.desktop
text/html=text.desktop; text/html=text.desktop;
text/py=text.desktop; text/py=text.desktop;
text/markdown=text.desktop;
text/plain=text.desktop; text/plain=text.desktop;
x-scheme-handler/http=librewolf.desktop;
x-scheme-handler/https=librewolf.desktop;
x-scheme-handler/about=librewolf.desktop;
x-scheme-handler/tg=userapp-Telegram Desktop-M1D2M1.desktop
x-scheme-handler/msteams=teams.desktop;
application/pdf=pdf.desktop;
image/x-canon-cr2=img.desktop; image/x-canon-cr2=img.desktop;
image/jpeg=img.desktop; image/jpeg=img.desktop;
image/jpg=img.desktop; image/jpg=img.desktop;
@ -12,7 +19,16 @@ image/png=img.desktop;
image/gif=img.desktop; image/gif=img.desktop;
image/heic=img.desktop image/heic=img.desktop
image/heif=img.desktop; image/heif=img.desktop;
image/webp=img.desktop;
image/svg+xml=org.inkscape.Inkscape.desktop;
video/ts=mpv.desktop; video/ts=mpv.desktop;
video/mp4=mpv.desktop; video/mp4=mpv.desktop;
video/mpeg=mpv.desktop; video/mpeg=mpv.desktop;
video/mpv=mpv.desktop; video/mpv=mpv.desktop;
audio/mpeg=mpv.desktop;
application/octet-stream=mpv.desktop
inode/directory=spacefm.desktop

View File

@ -433,6 +433,7 @@ opacity-rule = [
"95:class_g = 'Ripcord'", "95:class_g = 'Ripcord'",
"95:class_g = 'discord'", "95:class_g = 'discord'",
"95:class_g = 'TelegramDesktop'", "95:class_g = 'TelegramDesktop'",
"90:class_g = 'kdeconnect.app'",
] ]

View File

@ -35,6 +35,8 @@ alias \
gc="git commit" \ gc="git commit" \
gP="git push" \ gP="git push" \
gp="git pull" \ gp="git pull" \
gs="git status" \
gd="git diff" \
e="$EDITOR" \ e="$EDITOR" \
v="$EDITOR" \ v="$EDITOR" \
battery="acpi" \ battery="acpi" \

View File

@ -1,14 +1,17 @@
#!/bin/zsh
typeset -U PATH path typeset -U PATH path
# Disable files # Disable files
export LESSHISTFILE=- export LESSHISTFILE=-
export $(dbus-launch)
# Default Apps # Default Apps
export EDITOR="nvim" export EDITOR="nvim"
export VISUAL="nvim" export VISUAL="nvim"
export READER="zathura" export READER="zathura"
export TERMINAL="alacritty" export TERMINAL="alacritty"
export BROWSER="firefox" export BROWSER="librewolf"
export VIDEO="mpv" export VIDEO="mpv"
export IMAGE="nsxiv" export IMAGE="nsxiv"
export WM="awesome" export WM="awesome"

View File

@ -1,8 +1,11 @@
/usr/bin/pipewire & #!/bin/sh
/usr/bin/pipewire-pulse &
/usr/bin/wireplumber & autostart="pipewire pipewire-pulse wireplumber flameshot"
/usr/bin/numlockx on &
/usr/bin/flameshot & for program in $autostart; do
/usr/bin/corectrl & pidof -s "$program" || "$program" &
done >/dev/null 2>&1
numlockx on &
exec dbus-launch --sh-syntax --exit-with-session awesome exec dbus-launch --sh-syntax --exit-with-session awesome

View File

@ -2,24 +2,24 @@
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/zsh/startup" ] && source "${XDG_CONFIG_HOME:-$HOME/.config}/zsh/startup" [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/zsh/startup" ] && source "${XDG_CONFIG_HOME:-$HOME/.config}/zsh/startup"
# Options # Options
# setopt correct # Auto correct mistakes setopt extendedglob # Extended globaling. Allows using regular expressions with * setopt correct # Auto correct mistakes setopt extendedglob # Extended globaling. Allows using regular expressions with *
setopt nocaseglob # Case insensative globbing setopt nocaseglob # Case insensative globbing
setopt numericglobsort # Sort filenames numeracally when it makse sense setopt numericglobsort # Sort filenames numeracally when it makse sense
setopt nobeep # No beep setopt nobeep # No beep
setopt appendhistory # Immediately append history instead of overwriting setopt appendhistory # Immediately append history instead of overwriting
setopt histignorealldups # If a new command is a duplicate, remove older one setopt histignorealldups # If a new command is a duplicate, remove older one
setopt autocd # If only directory path is entered, cd there setopt autocd # If only directory path is entered, cd there
setopt inc_append_history # Save commands are addded to the history immediately setopt inc_append_history # Save commands are addded to the history immediately
setopt histignorespace # Don't save commands that start with space setopt histignorespace # Don't save commands that start with space
autoload -U select-word-style autoload -U select-word-style
# Themeing # Themeing
autoload -U colors && colors autoload -U colors && colors
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' # Case sensetive TAB completions zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' # Case sensetive TAB completions
zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}" # Colored completion (different colors fr dirs/files/etc) zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}" # Colored completion (different colors fr dirs/files/etc)
zstyle ':completion:*' rehash true # Automaticly find new executables in path zstyle ':completion:*' rehash true # Automaticly find new executables in path
# Speed up completions # Speed up completions
zstyle ':completion:*' accept-exact '*(N)' zstyle ':completion:*' accept-exact '*(N)'
zstyle ':completion:*' use-cache on zstyle ':completion:*' use-cache on

1
.gitignore vendored
View File

@ -1 +0,0 @@
.luarc.json

View File

@ -1 +1 @@
.config/zsh/.zshenv .config/shell/env