mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
Compare commits
7 Commits
e2816d2837
...
5759872bbd
Author | SHA1 | Date | |
---|---|---|---|
5759872bbd | |||
10ffcecb31 | |||
4c634c402a | |||
00a83da619 | |||
1eae7f9969 | |||
4646ddae36 | |||
ae5521f516 |
@ -62,15 +62,6 @@ scrolling:
|
||||
# scrollback is enabled (history > 0).
|
||||
multiplier: 3
|
||||
|
||||
# Faux Scrolling
|
||||
#
|
||||
# The `faux_multiplier` setting controls the number of lines the terminal
|
||||
# should scroll when the alternate screen buffer is active. This is used
|
||||
# to allow mouse scrolling for applications like `man`.
|
||||
#
|
||||
# Specifying `0` will disable faux scrolling.
|
||||
faux_multiplier: 3
|
||||
|
||||
# Scroll to the bottom when new text is written to the terminal.
|
||||
auto_scroll: false
|
||||
|
||||
@ -232,7 +223,7 @@ visual_bell:
|
||||
#
|
||||
# Window opacity as a floating point number from `0.0` to `1.0`.
|
||||
# The value `0.0` is completely transparent and `1.0` is opaque.
|
||||
background_opacity: 0.95
|
||||
background_opacity: 0.85
|
||||
|
||||
# Mouse bindings
|
||||
#
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Logging
|
||||
log-level = "info";
|
||||
# log-file = "/path/to/your/log/file";
|
||||
log-level = "debug";
|
||||
log-file = "/home/frebib/.local/share/picom.log";
|
||||
|
||||
# Shadow
|
||||
shadow = true;
|
||||
@ -26,7 +26,7 @@ xinerama-shadow-crop = true;
|
||||
# Opacity
|
||||
frame-opacity = 1.0;
|
||||
# active-opacity = 0.8;
|
||||
inactive-opacity = 0.7;
|
||||
inactive-opacity = 0.6;
|
||||
inactive-opacity-override = true;
|
||||
# inactive-dim = 0.2;
|
||||
# inactive-dim-fixed = true;
|
||||
@ -38,7 +38,7 @@ opacity-rule = [
|
||||
blur:
|
||||
{
|
||||
method = "gaussian";
|
||||
size = 43;
|
||||
size = 47;
|
||||
deviation = 25.0;
|
||||
};
|
||||
blur-background-frame = true;
|
||||
|
@ -7,7 +7,7 @@ size_hints = true
|
||||
[colors]
|
||||
cursor = #5294E2
|
||||
foreground = #ECEFF1
|
||||
background = rgba(56, 60, 74, 0.95)
|
||||
background = rgba(56, 60, 74, 0.85)
|
||||
highlight = #5294E2
|
||||
|
||||
# Colour order:
|
||||
|
@ -155,3 +155,4 @@ source "$ZSH_DIR/plugins/fish-theme.zsh"
|
||||
source "$ZSH_DIR/plugins/git-rprompt.zsh"
|
||||
[ -f '/usr/share/fzf/key-bindings.zsh' ] && source /usr/share/fzf/key-bindings.zsh
|
||||
[ -f '/usr/share/doc/pkgfile/command-not-found.zsh' ] && source /usr/share/doc/pkgfile/command-not-found.zsh
|
||||
[ -r '/usr/share/z/z.sh' ] && source /usr/share/z/z.sh
|
||||
|
3
aliases
3
aliases
@ -140,6 +140,8 @@ alias gma="git merge --abort"
|
||||
alias grb="git rebase"
|
||||
alias grba="grb --abort"
|
||||
alias grbc="grb --continue"
|
||||
alias grbsk="grb --skip"
|
||||
alias grbsh="grb --show-current"
|
||||
alias grbom="git rebase origin/master"
|
||||
|
||||
alias gf="git fetch"
|
||||
@ -161,6 +163,7 @@ alias grst="git reset"
|
||||
alias gundo="git reset @~1"
|
||||
alias gclean="git clean"
|
||||
alias gbr="git branch"
|
||||
alias gtg="git tag"
|
||||
alias gr="git remote"
|
||||
alias grv="git remote -v"
|
||||
alias gra="gr add"
|
||||
|
@ -89,7 +89,8 @@ function display() {
|
||||
|
||||
if [ "${line[@]}" == "$update" ]; then
|
||||
download
|
||||
exit 0
|
||||
display
|
||||
return
|
||||
fi
|
||||
|
||||
line=($line)
|
||||
|
@ -28,9 +28,12 @@ function download() {
|
||||
|
||||
echo -n > "$FONTAWESOME_FILE"
|
||||
|
||||
curl https://raw.githubusercontent.com/FortAwesome/Font-Awesome/master/advanced-options/metadata/icons.json | \
|
||||
jq '.[] | "\\u" + .unicode + "\t" + .label' -r | \
|
||||
xargs -0 printf \
|
||||
cat /usr/share/fontawesome/icons.json | \
|
||||
jq -r --argfile ctgs <(yq r -j /usr/share/fontawesome/categories.yml) \
|
||||
'.[] | . as $icon | "\\\\u" + .unicode + "\t" + .label + "\t" + ( ([.search.terms,.styles,([select($ctgs[].icons[]|index($icon.label))|.label]|unique)]|add)|sort|join(", "))' | \
|
||||
while IFS=$'\t' read icon name labels; do \
|
||||
printf "%b\t%-120s\t%s\n" "$icon" "$name" "$labels";\
|
||||
done \
|
||||
> "$FONTAWESOME_FILE"
|
||||
|
||||
notify "$(basename "$0")" "We're all set!"
|
||||
@ -62,7 +65,8 @@ function display() {
|
||||
|
||||
if [ "${line[@]}" == "$update" ]; then
|
||||
download
|
||||
exit 0
|
||||
display
|
||||
return
|
||||
fi
|
||||
|
||||
#IFS=$'\t'
|
||||
|
Loading…
Reference in New Issue
Block a user