mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-04-09 20:27:46 +02:00
Compare commits
6 Commits
0ede407a5a
...
462b4653b4
Author | SHA1 | Date | |
---|---|---|---|
462b4653b4 | |||
80c58a74f7 | |||
|
aca4835d78 | ||
2caddd9ae6 | |||
a6e03b3fe9 | |||
3c26c265a5 |
@ -1,11 +0,0 @@
|
||||
[Filechooser Settings]
|
||||
LocationMode=filename-entry
|
||||
ShowHidden=false
|
||||
ShowSizeColumn=true
|
||||
GeometryX=286
|
||||
GeometryY=86
|
||||
GeometryWidth=796
|
||||
GeometryHeight=596
|
||||
SortColumn=name
|
||||
SortOrder=ascending
|
||||
StartupMode=recent
|
@ -6,5 +6,7 @@ dunst & # dunst for notifications
|
||||
redshift & # redshift for saving your eyes
|
||||
mpd & # starts the mpd server for music
|
||||
$STATUSBAR & # for refreshing the statusbar
|
||||
xcompmgr & # compositor for transparency
|
||||
nextcloud & # for my cloud
|
||||
sxhkd & # for shortcuts
|
||||
easyeffects --gapplication-service & # load noise suppression for microphone
|
||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,2 @@
|
||||
.dotfiles
|
||||
.config/nvim/plugged
|
||||
.config/nvim/autoload
|
||||
|
@ -9,8 +9,14 @@
|
||||
# directory as a wallpaper. Be careful that the directory only has images.
|
||||
# by lukesmithxyz, checkout github.com/lukesmithxyz/voidrice
|
||||
|
||||
[ -f "$1" ] && cp "$1" ~/.config/wall.png && notify-send -i "$HOME/.config/wall.png" "Wallpaper changed."
|
||||
bgloc="${XDG_DATA_HOME:-$HOME/.local/share}/bg"
|
||||
|
||||
[ -d "$1" ] && cp "$(find "$1" -name "*.jpg" -o -name "*.jpeg" -o -name "*.png" -type f | shuf -n 1)" ~/.config/wall.png && notify-send -i "$HOME/.config/wall.png" "Random Wallpaper chosen."
|
||||
|
||||
xwallpaper --zoom ~/.config/wall.png
|
||||
trueloc="$(readlink -f "$1")" &&
|
||||
case "$(file --mime-type -b "$trueloc")" in
|
||||
image/* ) ln -f "$(readlink -f "$1")" "$bgloc" && notify-send -i "$bgloc" "Changing wallpaper..." ;;
|
||||
inode/directory ) ln -f "$(find "$trueloc" -iregex '.*.\(jpg\|jpeg\|png\|gif\)' -type f | shuf -n 1)" "$bgloc" && notify-send -i "$bgloc" "Random Wallpaper chosen." ;;
|
||||
*) notify-send "🖼️ Error" "Not a valid image or directory." ; exit 1;;
|
||||
esac
|
||||
|
||||
xwallpaper --zoom "$bgloc"
|
||||
|
@ -27,7 +27,12 @@ xargs -I{} mv {} .config-backup/{}
|
||||
- finish setup for vim:
|
||||
- open vim
|
||||
- `:PlugInstall`
|
||||
- `:CocInstall`
|
||||
|
||||
## Ignore local changes to config files
|
||||
|
||||
If you need to make local changes to config files that are not to be pushed
|
||||
run `config update-index --skip-worktree <file>` to stop git from showing them
|
||||
having changes.
|
||||
|
||||
## Hotkeys
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user