changes
This commit is contained in:
@@ -0,0 +1,63 @@
|
||||
# GUI
|
||||
export QT_QPA_PLATFORMTHEME=qt6ct
|
||||
export QT_AUTO_SCREEN_SCALE_FACTOR=0
|
||||
export QT_SCALE_FACTOR=1
|
||||
export QT_SCREEN_SCALE_FACTORS=1
|
||||
export GDK_DPI_SCALE=0.9
|
||||
export GDK_SCALE=0.9
|
||||
export SAL_USE_VCLPLUGIN=gtk3
|
||||
|
||||
# Application
|
||||
export EDITOR="lvim"
|
||||
export SUDO_EDITOR="lvim"
|
||||
export TERMINAL="weztrem"
|
||||
export VIDEO="mpv"
|
||||
export BROWSER="brave"
|
||||
export FZF_DEFAULT_COMMAND='fd --type f --hidden --exclude .git'
|
||||
export ANSIBLE_CONFIG=~/.ansible/ansible.cfg
|
||||
export STARSHIP_CONFIG=~/.config/starship/starship.toml
|
||||
export RANGER_LOAD_DEFAULT_RC=false
|
||||
# Disable files
|
||||
export LESSHISTFILE=-
|
||||
|
||||
# Other XDG paths
|
||||
export XDG_DATA_HOME=${XDG_DATA_HOME:="$HOME/.local/share"}
|
||||
export XDG_CACHE_HOME=${XDG_CACHE_HOME:="$HOME/.cache"}
|
||||
export XDG_CONFIG_HOME=${XDG_CONFIG_HOME:="$HOME/.config"}
|
||||
export XDG_STATE_HOME=${XDG_STATE_HOME:="$HOME/.local/state"}
|
||||
|
||||
## Fixing Paths
|
||||
#Theme
|
||||
export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
|
||||
|
||||
#Zsh
|
||||
export ZDOTDIR="$XDG_CACHE_HOME/zsh/"
|
||||
|
||||
# Go
|
||||
export GOPATH="$XDG_DATA_HOME"/go
|
||||
#export npm_config_prefix="$HOME"/.npm
|
||||
|
||||
# Npm
|
||||
export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME"/npm/npmrc
|
||||
|
||||
# Cargo
|
||||
export CARGO_HOME="$XDG_DATA_HOME"/cargo
|
||||
|
||||
# Gnupg
|
||||
export GNUPGHOME="$XDG_DATA_HOME"/gnupg
|
||||
|
||||
# Calc
|
||||
export CALCHISTFILE="$XDG_CACHE_HOME"/calc_history
|
||||
|
||||
# Wine
|
||||
export WINEPREFIX="$XDG_DATA_HOME"/wine
|
||||
|
||||
# Rust
|
||||
export RUSTUP_HOME="$XDG_DATA_HOME"/rustup
|
||||
|
||||
# Taskwarrior
|
||||
export TASKRC=$XDG_CONFIG_HOME/task/taskrc
|
||||
export TASKDATA=$XDG_CONFIG_HOME/task
|
||||
|
||||
# Cheatsheet
|
||||
export CHEAT_USE_FZF=true
|
||||
@@ -0,0 +1,351 @@
|
||||
zmodload zsh/zprof
|
||||
# run systeminfo
|
||||
fastfetch
|
||||
|
||||
########### EXPORT PATH ########################
|
||||
# Export additional .local/bin PATH
|
||||
# export PATH=/home/lokman/.local/bin:$PATH
|
||||
# If you come from bash you might have to change your $PATH.
|
||||
export PATH=$HOME/.config/npm/bin:$HOME/.local/bin:/usr/local/bin:$HOME/.local/share/bin:$PATH
|
||||
|
||||
# automatically load bash and zsh completion functions
|
||||
# Source auto completeion
|
||||
autoload -Uz compinit -d "$XDG_CACHE_HOME/zsh/zcompdump_"$ZSH_VERSION""
|
||||
if [[ -n "$XDG_CACHE_HOME/zsh/zcompdump_"$ZSH_VERSION"" ]]; then
|
||||
compinit
|
||||
else
|
||||
compinit -C;
|
||||
fi;
|
||||
autoload -U +X bashcompinit
|
||||
|
||||
# Set new path for zcompdump
|
||||
compinit -d "$XDG_CACHE_HOME/zsh/zcompdump_"$ZSH_VERSION""
|
||||
|
||||
# include hidden files
|
||||
zmodload zsh/complist
|
||||
_comp_options+=(globdots)
|
||||
|
||||
# Enable colors and change prompt:
|
||||
autoload -U colors && colors
|
||||
|
||||
########### Source Files ########################
|
||||
source $XDG_CONFIG_HOME/zsh/plugins/autopair.zsh
|
||||
source $XDG_CONFIG_HOME/zsh/plugins/you-should-use.zsh
|
||||
source $XDG_CONFIG_HOME/zsh/plugins/cheat.zsh
|
||||
source $XDG_CONFIG_HOME/zsh/plugins/glow-completion.zsh
|
||||
source $XDG_CONFIG_HOME/zsh/.zsh_aliases
|
||||
# source .config/zsh/plugins/zsh-vi-mode.zsh
|
||||
source /usr/share/fzf/key-bindings.zsh
|
||||
source /usr/share/fzf/completion.zsh
|
||||
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh # Load zsh-syntax-highlighting
|
||||
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh ## Suggest aliases for commands
|
||||
|
||||
# History config; Path exported in zshenv
|
||||
HISTSIZE=15000
|
||||
SAVEHIST=15000
|
||||
HISTFILE="$XDG_STATE_HOME"/zsh/history
|
||||
|
||||
# Preferred editor for local and remote sessions
|
||||
if [[ -n $SSH_CONNECTION ]]; then
|
||||
export EDITOR='vim'
|
||||
else
|
||||
export EDITOR='nvim'
|
||||
fi
|
||||
|
||||
# Order wich completion list should start with
|
||||
ZSH_AUTOSUGGEST_STRATEGY=(history completion match_prev_cmd)
|
||||
|
||||
# Auto complete with case insenstivity
|
||||
zstyle ':completion:*' menu select
|
||||
zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
|
||||
|
||||
# Use caching so that commands like apt and dpkg complete are useable
|
||||
zstyle ':completion:*' use-cache yes
|
||||
zstyle ':completion:*' cache-path $ZSH_CACHE_DIR
|
||||
|
||||
# autocomplete command zsh history completion with up und down
|
||||
autoload -U up-line-or-beginning-search &&
|
||||
autoload -U down-line-or-beginning-search
|
||||
zle -N up-line-or-beginning-search
|
||||
zle -N down-line-or-beginning-search
|
||||
|
||||
# functions to implement moving over and editing words in the manner of bash, where only alphanumeric characters are considered word characters (WORDCHARS='*?_-[]~=&;!$#.%^(){}<>' #alternativ chars considert as words)
|
||||
#autoload -Uz select-word-style
|
||||
#select-word-style bash
|
||||
WORDCHARS=''
|
||||
|
||||
# Edit line in vim buffer ctrl-v
|
||||
autoload edit-command-line; zle -N edit-command-line
|
||||
# Enter vim buffer from normal mode
|
||||
autoload -U edit-command-line && zle -N edit-command-line && bindkey -M vicmd "^v" edit-command-line
|
||||
# https://github.com/Sanix-Darker/dotfiles/blob/1c606b22e6ab2dd62638ff840e042eb394dae2b2/.bash_aliases
|
||||
# https://github.com/Sanix-Darker/dotfiles/commit/1c606b22e6ab2dd62638ff840e042eb394dae2b2
|
||||
# GIT_FZF_DEFAULT_OPTS="
|
||||
# $FZF_DEFAULT_OPTS
|
||||
# --ansi
|
||||
# --reverse
|
||||
# --height=100%
|
||||
# --bind shift-down:preview-down
|
||||
# --bind shift-up:preview-up
|
||||
# --bind pgdn:preview-page-down
|
||||
# --bind pgup:preview-page-up
|
||||
# --bind q:abort
|
||||
# $GIT_FZF_DEFAULT_OPTS
|
||||
# "
|
||||
#
|
||||
# git-fuzzy-diff ()
|
||||
# {
|
||||
# PREVIEW_PAGER="less --tabs=4 -Rc"
|
||||
# ENTER_PAGER=${PREVIEW_PAGER}
|
||||
# if [ -x "$(command -v delta)" ]; then
|
||||
# PREVIEW_PAGER="delta | ${PREVIEW_PAGER}"
|
||||
# ENTER_PAGER="delta | sed -e '1,4d' | ${ENTER_PAGER}"
|
||||
# fi
|
||||
#
|
||||
# # Don't just diff the selected file alone, get related files first using
|
||||
# # '--name-status -R' in order to include moves and renames in the diff.
|
||||
# # See for reference: https://stackoverflow.com/q/71268388/3018229
|
||||
# PREVIEW_COMMAND='git diff --color=always '$@' -- \
|
||||
# $(echo $(git diff --name-status -R '$@' | grep {}) | cut -d" " -f 2-) \
|
||||
# | '$PREVIEW_PAGER
|
||||
#
|
||||
# # Show additional context compared to preview
|
||||
# ENTER_COMMAND='git diff --color=always '$@' -U10000 -- \
|
||||
# $(echo $(git diff --name-status -R '$@' | grep {}) | cut -d" " -f 2-) \
|
||||
# | '$ENTER_PAGER
|
||||
#
|
||||
# git diff --name-only $@ | \
|
||||
# fzf ${GIT_FZF_DEFAULT_OPTS} --exit-0 --preview "${PREVIEW_COMMAND}" \
|
||||
# --preview-window=top:85% --bind "enter:execute:${ENTER_COMMAND}"
|
||||
# }
|
||||
#
|
||||
# git-fuzzy-log ()
|
||||
# {
|
||||
# PREVIEW_COMMAND='f() {
|
||||
# set -- $(echo -- "$@" | grep -o "[a-f0-9]\{7\}")
|
||||
# [ $# -eq 0 ] || (
|
||||
# git show --no-patch --color=always $1
|
||||
# echo
|
||||
# git show --stat --format="" --color=always $1 |
|
||||
# while read line; do
|
||||
# tput dim
|
||||
# echo " $line" | sed "s/\x1B\[m/\x1B\[2m/g"
|
||||
# tput sgr0
|
||||
# done |
|
||||
# tac | sed "1 a \ " | tac
|
||||
# )
|
||||
# }; f {}'
|
||||
#
|
||||
# ENTER_COMMAND='(grep -o "[a-f0-9]\{7\}" | head -1 |
|
||||
# xargs -I % bash -ic "git-fuzzy-diff %^1 %") <<- "FZF-EOF"
|
||||
# {}
|
||||
# FZF-EOF'
|
||||
#
|
||||
# git log --graph --color=always --format="%C(auto)%h %s%d " | \
|
||||
# fzf ${GIT_FZF_DEFAULT_OPTS} --no-sort --tiebreak=index \
|
||||
# --preview "${PREVIEW_COMMAND}" --preview-window=top:15 \
|
||||
# --bind "enter:execute:${ENTER_COMMAND}"
|
||||
# }
|
||||
|
||||
|
||||
|
||||
#
|
||||
#
|
||||
# cheat (){
|
||||
# cheat --tag personal | awk '{print $1}' | fzf | xargs cheat
|
||||
# }
|
||||
|
||||
#
|
||||
#cheat(){
|
||||
#cheat --tag personal | awk '{print $1}' | fzf --preview "cheat {1}" --preview-window=right,70% | xargs cheat
|
||||
#}
|
||||
#
|
||||
|
||||
#alias for cht.sh
|
||||
cht () {
|
||||
curl "cheat.sh/$1"
|
||||
}
|
||||
|
||||
# alternviv example to run tldr with glow
|
||||
# tldr() {
|
||||
# glow https://raw.githubusercontent.com/tldr-pages/tldr/master/pages/common/"$1".md
|
||||
# }
|
||||
|
||||
### Function extract for common file formats ###
|
||||
|
||||
#SAVEIFS=$IFS
|
||||
#IFS=$(echo -en "\n\b")
|
||||
#
|
||||
#function extract {
|
||||
#if [ -z "$1" ]; then
|
||||
## display usage if no parameters given
|
||||
#echo "Usage: extract <path/file_name>.<zip|rar|bz2|gz|tar|tbz2|tgz|Z|7z|xz|ex|tar.bz2|tar.gz|tar.xz>"
|
||||
#echo " extract <path/file_name_1.ext> [path/file_name_2.ext] [path/file_name_3.ext]"
|
||||
#else
|
||||
#for n in "$@"
|
||||
#do
|
||||
#if [ -f "$n" ] ; then
|
||||
#case "${n%,}" in
|
||||
#*.cbt|*.tar.bz2|*.tar.gz|*.tar.xz|*.tbz2|*.tgz|*.txz|*.tar)
|
||||
#tar xvf "$n" ;;
|
||||
#*.lzma) unlzma ./"$n" ;;
|
||||
#*.bz2) bunzip2 ./"$n" ;;
|
||||
#*.cbr|*.rar) unrar x -ad ./"$n" ;;
|
||||
#*.gz) gunzip ./"$n" ;;
|
||||
#*.cbz|*.epub|*.zip) unzip ./"$n" ;;
|
||||
#*.z) uncompress ./"$n" ;;
|
||||
#*.7z|*.arj|*.cab|*.cb7|*.chm|*.deb|*.dmg|*.iso|*.lzh|*.msi|*.pkg|*.rpm|*.udf|*.wim|*.xar)
|
||||
#7z x ./"$n" ;;
|
||||
#*.xz) unxz ./"$n" ;;
|
||||
#*.exe) cabextract ./"$n" ;;
|
||||
#*.cpio) cpio -id < ./"$n" ;;
|
||||
#*.cba|*.ace) unace x ./"$n" ;;
|
||||
#*)
|
||||
#echo "extract: '$n' - unknown archive method"
|
||||
#return 1
|
||||
#;;
|
||||
#esac
|
||||
#else
|
||||
#echo "'$n' - file does not exist"
|
||||
#return 1
|
||||
#fi
|
||||
#done
|
||||
#fi
|
||||
#}
|
||||
#
|
||||
#ifs=$sAVEIFS
|
||||
|
||||
# zsh_keybinding
|
||||
bindkey "^A" beginning-of-line
|
||||
bindkey "^B" backward-char
|
||||
bindkey "^D" delete-char-or-list
|
||||
bindkey "^E" end-of-line
|
||||
bindkey "^F" forward-char
|
||||
bindkey "^G" send-break
|
||||
bindkey "^H" backward-delete-char
|
||||
bindkey "^I" fzf-completion
|
||||
bindkey "^J" accept-line
|
||||
bindkey "^K" kill-line
|
||||
bindkey "^L" clear-screen
|
||||
bindkey "^M" accept-line
|
||||
bindkey "^N" down-line-or-history
|
||||
bindkey "^O" accept-line-and-down-history
|
||||
bindkey "^P" up-line-or-history
|
||||
bindkey "^Q" push-line
|
||||
bindkey "^R" fzf-history-widget
|
||||
#bindkey '^R' history-incremental-pattern-search-backward #without fzf
|
||||
bindkey "^S" history-incremental-search-forward
|
||||
## bindkey "^T" fzf-file-widget standrd for fzf-file-widget
|
||||
bindkey "^H" fzf-file-widget
|
||||
bindkey "^U" kill-whole-line
|
||||
bindkey '^v' edit-command-line
|
||||
bindkey "^W" backward-kill-word
|
||||
bindkey "^X^B" vi-match-bracket
|
||||
bindkey "^X^E" edit-command-line
|
||||
bindkey "^X^F" vi-find-next-char
|
||||
bindkey "^X^J" vi-join
|
||||
bindkey "^X^K" kill-buffer
|
||||
bindkey "^X^N" infer-next-history
|
||||
bindkey "^X^O" overwrite-mode
|
||||
bindkey "^X^U" undo
|
||||
bindkey "^X^X" exchange-point-and-mark
|
||||
bindkey "^X*" expand-word
|
||||
bindkey "^X=" what-cursor-position
|
||||
bindkey "^XG" list-expand
|
||||
bindkey "^Xg" list-expand
|
||||
bindkey "^Xr" history-incremental-search-backward
|
||||
bindkey "^Xs" history-incremental-search-forward
|
||||
bindkey "^Xu" undo
|
||||
bindkey "^Y" yank
|
||||
bindkey "^[^D" list-choices
|
||||
bindkey "^[^G" send-break
|
||||
bindkey "^[^H" backward-kill-word
|
||||
bindkey "^[^I" self-insert-unmeta
|
||||
bindkey "^[^J" self-insert-unmeta
|
||||
bindkey "^[^L" clear-screen
|
||||
bindkey "^[^M" self-insert-unmeta
|
||||
bindkey "^[^_" copy-prev-word
|
||||
bindkey "^[ " expand-history
|
||||
bindkey "^[!" expand-history
|
||||
bindkey "^[\"" quote-region
|
||||
bindkey "^[\$" spell-word
|
||||
bindkey "^['" quote-line
|
||||
bindkey "^[-" neg-argument
|
||||
bindkey "^[." insert-last-word
|
||||
bindkey "^[0" digit-argument
|
||||
bindkey "^[1" digit-argument
|
||||
bindkey "^[2" digit-argument
|
||||
bindkey "^[3" digit-argument
|
||||
bindkey "^[4" digit-argument
|
||||
bindkey "^[5" digit-argument
|
||||
bindkey "^[6" digit-argument
|
||||
bindkey "^[7" digit-argument
|
||||
bindkey "^[8" digit-argument
|
||||
bindkey "^[9" digit-argument
|
||||
bindkey "^[<" beginning-of-buffer-or-history
|
||||
bindkey "^[>" end-of-buffer-or-history
|
||||
bindkey "^[?" which-command
|
||||
bindkey "^[A" accept-and-hold
|
||||
bindkey "^[B" backward-word
|
||||
bindkey "^[C" capitalize-word
|
||||
bindkey "^[D" kill-word
|
||||
bindkey "^[F" forward-word
|
||||
bindkey "^[G" get-line
|
||||
bindkey "^[L" down-case-word
|
||||
bindkey "^[N" history-search-forward
|
||||
bindkey "^[[A" up-line-or-beginning-search #autocomplete for half command
|
||||
bindkey "^[[B" down-line-or-beginning-search #autocomplete for half command
|
||||
bindkey "^[OC" forward-char
|
||||
bindkey "^[OD" backward-char
|
||||
bindkey "^[[F" end-of-line
|
||||
bindkey "^[[H" beginning-of-line
|
||||
bindkey "^[P" history-search-backward
|
||||
bindkey "^[Q" push-line
|
||||
bindkey "^[S" spell-word
|
||||
bindkey "^[T" transpose-words
|
||||
bindkey "^[U" up-case-word
|
||||
bindkey "^[W" copy-region-as-kill
|
||||
bindkey "^[[1;5C" forward-word
|
||||
bindkey "^[[1;5D" backward-word
|
||||
bindkey "^[[200~" bracketed-paste
|
||||
bindkey "^[[3;5~" kill-word
|
||||
bindkey "^[[3~" delete-char
|
||||
bindkey "^[[5~" up-line-or-history
|
||||
bindkey "^[[6~" down-line-or-history
|
||||
# bindkey "^[[A" up-line-or-history
|
||||
# bindkey "^[[B" down-line-or-history
|
||||
bindkey "^[[C" forward-char
|
||||
bindkey "^[[D" backward-char
|
||||
bindkey "^[[Z" reverse-menu-complete
|
||||
bindkey "^[_" insert-last-word
|
||||
bindkey "^[a" accept-and-hold
|
||||
bindkey "^[b" backward-word
|
||||
bindkey "^[c" fzf-cd-widget
|
||||
bindkey "^[d" kill-word
|
||||
bindkey "^[f" forward-word
|
||||
bindkey "^[g" get-line
|
||||
bindkey "^[l" "ls^J"
|
||||
bindkey "^[m" copy-prev-shell-word
|
||||
bindkey "^[n" history-search-forward
|
||||
bindkey "^[p" history-search-backward
|
||||
bindkey "^[q" push-line
|
||||
bindkey "^[s" spell-word
|
||||
bindkey "^[t" transpose-words
|
||||
bindkey "^[u" up-case-word
|
||||
bindkey "^[w" kill-region
|
||||
bindkey "^[x" execute-named-cmd
|
||||
bindkey "^[y" yank-pop
|
||||
bindkey "^[z" execute-last-named-cmd
|
||||
bindkey "^[|" vi-goto-column
|
||||
bindkey "^[^?" backward-kill-word
|
||||
bindkey " " magic-space
|
||||
bindkey "!"-"~" self-insert
|
||||
bindkey "^?" backward-delete-char
|
||||
bindkey "\M-^@"-"\M-^?" self-insert
|
||||
|
||||
#############################################
|
||||
eval "$(starship init zsh)"
|
||||
|
||||
|
||||
|
||||
# zprof
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
syntax: bash
|
||||
tags: [networking,mtr,trace]
|
||||
tags: [networking,mtr,trace,ping]
|
||||
---
|
||||
explanation: Matt's Traceroute: combined traceroute and ping tool.
|
||||
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
# nice
|
||||
# Execute a program with a custom scheduling priority (niceness).
|
||||
# Niceness values range from -20 (the highest priority) to 19 (the lowest).
|
||||
# More information: <https://www.gnu.org/software/coreutils/nice>.
|
||||
|
||||
# Launch a program with altered priority:
|
||||
nice -n niceness_value command
|
||||
|
||||
# How To Set Default Nice Value Of a Specific User’s Processes
|
||||
ou can set the default nice value of a particular user or group in the /etc/security/limits.conf file.
|
||||
Its primary function is to define the resource limits for the users logged in via PAM.
|
||||
|
||||
# The syntax for defining a limit for a user is as follows (and the possible values of the various columns are explained in the file)
|
||||
## #<domain> <type> <item> <value>
|
||||
|
||||
# Now use the syntax below where hard – means enforcing hard links and soft means – enforcing the soft limits.
|
||||
<username> <hard|soft> priority <nice value>
|
||||
|
||||
# Alternativ, create a file /etc/security/limits.d/tecmint-priority.conf for user tecmint:
|
||||
tecmint hard priority 10
|
||||
##Save and close the file. From now on, any process owned by tecmint will have a nice value of 10 and PR of 30.
|
||||
@@ -0,0 +1,12 @@
|
||||
# type
|
||||
# Display the type of command the shell will execute.
|
||||
# More information: <https://manned.org/type>.
|
||||
|
||||
# Display the type of a command:
|
||||
type command
|
||||
|
||||
# Display all locations containing the specified executable:
|
||||
type -a command
|
||||
|
||||
# Display the name of the disk file that would be executed:
|
||||
type -p command
|
||||
-112
@@ -1,112 +0,0 @@
|
||||
{
|
||||
"$schema": "/etc/xdg/swaync/configSchema.json",
|
||||
"positionX": "right",
|
||||
"positionY": "top",
|
||||
"layer": "overlay",
|
||||
"control-center-layer": "top",
|
||||
"layer-shell": true,
|
||||
"cssPriority": "application",
|
||||
"control-center-margin-top": 0,
|
||||
"control-center-margin-bottom": 0,
|
||||
"control-center-margin-right": 0,
|
||||
"control-center-margin-left": 0,
|
||||
"notification-2fa-action": true,
|
||||
"notification-inline-replies": true,
|
||||
"notification-icon-size": 64,
|
||||
"notification-body-image-height": 100,
|
||||
"notification-body-image-width": 200,
|
||||
"timeout": 10,
|
||||
"timeout-low": 5,
|
||||
"timeout-critical": 0,
|
||||
"fit-to-screen": true,
|
||||
"control-center-width": 500,
|
||||
"control-center-height": 600,
|
||||
"notification-window-width": 500,
|
||||
"keyboard-shortcuts": true,
|
||||
"image-visibility": "when-available",
|
||||
"transition-time": 200,
|
||||
"hide-on-clear": false,
|
||||
"hide-on-action": true,
|
||||
"script-fail-notify": true,
|
||||
"scripts": {
|
||||
"example-script": {
|
||||
"exec": "echo 'Do something...'",
|
||||
"urgency": "Normal"
|
||||
},
|
||||
"example-action-script": {
|
||||
"exec": "echo 'Do something actionable!'",
|
||||
"urgency": "Normal",
|
||||
"run-on": "action"
|
||||
}
|
||||
},
|
||||
"notification-visibility": {
|
||||
"example-name": {
|
||||
"state": "muted",
|
||||
"urgency": "Low",
|
||||
"app-name": "Spotify"
|
||||
}
|
||||
},
|
||||
"widgets": ["inhibitors", "buttons-grid", "mpris", "title", "notifications"],
|
||||
"widget-config": {
|
||||
"title": {
|
||||
"text": "Notifications",
|
||||
"clear-all-button": true,
|
||||
"button-text": "Clear "
|
||||
},
|
||||
"dnd": {
|
||||
"text": "Do Not Disturb"
|
||||
},
|
||||
"label": {
|
||||
"max-lines": 1,
|
||||
"text": "Notification Center"
|
||||
},
|
||||
"mpris": {
|
||||
"image-size": 128,
|
||||
"image-radius": 20
|
||||
},
|
||||
"buttons-grid": {
|
||||
"actions": [
|
||||
{
|
||||
"label": "",
|
||||
"command": "systemctl poweroff"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"command": "systemctl reboot"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"command": "hyprlock"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"command": "systemctl suspend"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"command": "~/.config/swaync/script/Volume.sh --toggle"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"command": "~/.config/swaync/script/Volume.sh --toggle-mic"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"command": "bash $HOME/.config/swaync/script//Wallpaper.sh"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"command": "~/.config/swaync/script/DarkLight.sh"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"command": "~/.config/swaync/script/Help.sh"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"command": "blueman-manager"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
|
||||
"modules": [
|
||||
// {
|
||||
// "type": "custom", // HardwareStart
|
||||
// "format": "┌─────────── \u001b[1mHardware Information\u001b[0m ───────────┐" // `\u001b` is `\033`, or `\e`
|
||||
// },
|
||||
"title",
|
||||
"os",
|
||||
"separator",
|
||||
"kernel",
|
||||
"uptime",
|
||||
// "shell",
|
||||
"packages",
|
||||
"separator",
|
||||
"host",
|
||||
"cpu",
|
||||
{
|
||||
"type": "gpu",
|
||||
"key": "GPU",
|
||||
"hideType": "integrated"
|
||||
},
|
||||
"memory",
|
||||
"display",
|
||||
"de",
|
||||
"wm",
|
||||
"wmtheme",
|
||||
"theme",
|
||||
"icons",
|
||||
"font",
|
||||
// {
|
||||
// "type": "icons",
|
||||
// "key": " "
|
||||
// },
|
||||
"cursor",
|
||||
"terminal",
|
||||
// "terminalfont",
|
||||
// "swap",
|
||||
// "disk",
|
||||
// "localip",
|
||||
// "publicip",
|
||||
"battery",
|
||||
"poweradapter",
|
||||
// "weather",
|
||||
// "bluetooth",
|
||||
// "gamepad",
|
||||
// "locale",
|
||||
// "break",
|
||||
{
|
||||
"type": "colors",
|
||||
"key": "",
|
||||
"symbol": "circle"
|
||||
}
|
||||
// "colors"
|
||||
]
|
||||
}
|
||||
@@ -1,6 +1,8 @@
|
||||
acpi
|
||||
neovim
|
||||
goverlay
|
||||
traceroute
|
||||
brave-bin
|
||||
alacritty
|
||||
alsa-oss
|
||||
alsa-tools
|
||||
@@ -65,7 +67,7 @@ eza
|
||||
fakeroot
|
||||
feh
|
||||
ffmpegthumbs
|
||||
file
|
||||
file a
|
||||
filesystem
|
||||
filezilla
|
||||
findutils
|
||||
@@ -156,8 +158,8 @@ mysql-workbench
|
||||
nano
|
||||
ncdu
|
||||
ncmpcpp
|
||||
neofetch
|
||||
networkmanager
|
||||
fastfetch
|
||||
nfs-utils
|
||||
nmap
|
||||
noto-fonts-emoji
|
||||
|
||||
@@ -75,4 +75,4 @@ PreviewXSize=4961
|
||||
PreviewYSize=7016
|
||||
XCenter=4960
|
||||
YCenter=7016
|
||||
Skew=312
|
||||
Skew=500
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
"special": ""
|
||||
},
|
||||
"show-special": true,
|
||||
"persistent_workspaces": {
|
||||
"persistent-workspaces": {
|
||||
"*": 7 // 8 workspaces by default on every monitor
|
||||
// "HDMI-A-1": 3 // but only three on HDMI-A-1
|
||||
},
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@@ -30,9 +30,6 @@ export XDG_STATE_HOME=${XDG_STATE_HOME:="$HOME/.local/state"}
|
||||
#Theme
|
||||
export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
|
||||
|
||||
#Zsh
|
||||
#export HISTFILE="$XDG_STATE_HOME"/zsh/history
|
||||
|
||||
# Go
|
||||
export GOPATH="$XDG_DATA_HOME"/go
|
||||
#export npm_config_prefix="$HOME"/.npm
|
||||
|
||||
+10
-8
@@ -1,7 +1,7 @@
|
||||
# zmodload zsh/zprof
|
||||
#zmodload zsh/zprof
|
||||
# run systeminfo
|
||||
neofetch
|
||||
# rxfetch
|
||||
fastfetch -l small
|
||||
|
||||
########### EXPORT PATH ########################
|
||||
# Export additional .local/bin PATH
|
||||
# export PATH=/home/lokman/.local/bin:$PATH
|
||||
@@ -10,11 +10,13 @@ export PATH=$HOME/.config/npm/bin:$HOME/.local/bin:/usr/local/bin:$HOME/.local/s
|
||||
|
||||
# automatically load bash and zsh completion functions
|
||||
# Source auto completeion
|
||||
autoload -Uz compinit
|
||||
autoload -U +X bashcompinit
|
||||
|
||||
# Set new path for zcompdump
|
||||
compinit -d "$XDG_CACHE_HOME"/zsh/zcompdump-"$ZSH_VERSION"
|
||||
autoload -Uz compinit
|
||||
if [[ -n ${ZDOTDIR}/.zcompdump(#qN.mh+24) ]]; then
|
||||
compinit;
|
||||
else
|
||||
compinit -C;
|
||||
fi;
|
||||
# autoload -U +X bashcompinit
|
||||
|
||||
# include hidden files
|
||||
zmodload zsh/complist
|
||||
|
||||
Reference in New Issue
Block a user