too lazy to come up with a helpful commit message :)
This commit is contained in:
@@ -6,5 +6,3 @@ include "config/envs.kdl"
|
|||||||
include "config/rules.kdl"
|
include "config/rules.kdl"
|
||||||
include "config/binds.kdl"
|
include "config/binds.kdl"
|
||||||
include "config/misc.kdl"
|
include "config/misc.kdl"
|
||||||
|
|
||||||
/************************Misc************************/
|
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ recent-windows {
|
|||||||
binds {
|
binds {
|
||||||
Alt+Tab { next-window; }
|
Alt+Tab { next-window; }
|
||||||
Alt+Shift+Tab { previous-window; }
|
Alt+Shift+Tab { previous-window; }
|
||||||
|
// dead_circumflex: ^
|
||||||
Alt+dead_circumflex { next-window filter="app-id"; }
|
Alt+dead_circumflex { next-window filter="app-id"; }
|
||||||
Alt+Shift+dead_circumflex { previous-window filter="app-id"; }
|
Alt+Shift+dead_circumflex { previous-window filter="app-id"; }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -69,7 +69,6 @@ screen_height=$3
|
|||||||
# So in order to let the most recently used wallpapers appear first:
|
# So in order to let the most recently used wallpapers appear first:
|
||||||
touch "$image"
|
touch "$image"
|
||||||
|
|
||||||
|
|
||||||
# Copy image to local wallpaper directory
|
# Copy image to local wallpaper directory
|
||||||
|
|
||||||
ext=${image##*.}
|
ext=${image##*.}
|
||||||
@@ -84,7 +83,7 @@ mkdir -p "$current_dir" || {
|
|||||||
|
|
||||||
temp_img=$(mktemp --suffix=."$ext") || exit 1
|
temp_img=$(mktemp --suffix=."$ext") || exit 1
|
||||||
trap 'rm -f "$temp_img"' EXIT
|
trap 'rm -f "$temp_img"' EXIT
|
||||||
magick convert "$image" -resize "${screen_width}x${screen_height}^" -gravity center -extent "${screen_width}x${screen_height}" "$temp_img" || {
|
magick "$image" -resize "${screen_width}x${screen_height}^" -gravity center -extent "${screen_width}x${screen_height}" "$temp_img" || {
|
||||||
echo "Could not resize and crop image"
|
echo "Could not resize and crop image"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,5 +11,9 @@ command -v nvim >/dev/null 2>&1 && {
|
|||||||
export VISUAL=nvim
|
export VISUAL=nvim
|
||||||
}
|
}
|
||||||
|
|
||||||
|
command -v f >/dev/null 2>&1 || {
|
||||||
|
alias f="exec fish"
|
||||||
|
}
|
||||||
|
|
||||||
[ -f "$HOME/.profile" ] && . "$HOME/.profile"
|
[ -f "$HOME/.profile" ] && . "$HOME/.profile"
|
||||||
[ -f "$HOME/.bashrc" ] && . "$HOME/.bashrc"
|
[ -f "$HOME/.bashrc" ] && . "$HOME/.bashrc"
|
||||||
|
|||||||
Reference in New Issue
Block a user