mirror of
https://github.com/alrayyes/dotfiles/
synced 2023-11-14 15:56:30 +00:00
Compare commits
3 Commits
e54cec7e64
...
4b260b802d
Author | SHA1 | Date | |
---|---|---|---|
4b260b802d | |||
ca8d5065d2 | |||
068f19e941 |
@ -41,11 +41,11 @@ A repository of my personal configuration files.
|
||||
- [[https://github.com/caffeine-ng/caffeine-ng][caffeine-ng]]
|
||||
- [[https://the.exa.website/][exa]]
|
||||
- [[https://github.com/junegunn/fzf][fzf]]
|
||||
- [[https://golang.org/][golang]]
|
||||
- [[https://imagemagick.org/index.php][ImageMagick]]
|
||||
- [[https://github.com/canonical/lightdm][LightDM]]
|
||||
- [[https://github.com/internalfx/mailcap][mailcap]]
|
||||
- [[https://mpv.io/][mpv]]
|
||||
- [[https://github.com/l3ib/nitrogen/][nitrogen]]
|
||||
- [[https://github.com/phuhl/notify-send.py][notify-send.py]]
|
||||
- [[https://github.com/cdemoulins/pamixer][pamixer]]
|
||||
- [[https://github.com/dylanaraps/pfetch][pfetch]]
|
||||
@ -55,6 +55,7 @@ A repository of my personal configuration files.
|
||||
- [[http://www.gnu.org/software/stow/][stow]]
|
||||
- [[https://github.com/muennich/sxiv][sxiv]]
|
||||
- [[https://www.freedesktop.org/wiki/Software/udisks/][udisks]]
|
||||
- [[https://github.com/stoeckmann/xwallpaper][xwallpaper]]
|
||||
- [[https://pwmt.org/projects/zathura/][zathura]]
|
||||
** Fonts
|
||||
- [[https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/FiraCode][Fira Code Nerd Patched]]
|
||||
@ -134,6 +135,7 @@ A repository of my personal configuration files.
|
||||
- [[https://github.com/godlygeek/tabular][godlygeek/tabular]]
|
||||
- [[https://github.com/majutsushi/tagbar][majutsushi/tagbar]]
|
||||
- [[https://github.com/preservim/nerdcommenter][preservim/nerdcommenter]]
|
||||
- [[https://github.com/RRethy/vim-hexokinase][RRethy/vim-hexokinase]]
|
||||
- [[https://github.com/Shougo/deoplete.nvim][Shougo/deoplete.nvim]]
|
||||
- [[https://github.com/tpope/vim-fugitive][tpope/vim-fugitive]]
|
||||
- [[https://github.com/Xuyuanp/nerdtree-git-plugin][Xuyuanp/nerdtree-git-plugin]]
|
||||
|
@ -45,7 +45,7 @@ end
|
||||
|
||||
###---Wallpaper & opacity---###
|
||||
wal -R
|
||||
nitrogen --restore
|
||||
~/.local/bin/wallpaper
|
||||
picom -b
|
||||
|
||||
###---Global Settings---###
|
||||
|
7
bspwm/.local/bin/wallpaper
Executable file
7
bspwm/.local/bin/wallpaper
Executable file
@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
if [ -e ~/.cache/wall1.png ] && [ -e ~/.cache/wall2.png ]; then
|
||||
xwallpaper --output HDMI-2 --zoom ~/.cache/wall2.png --output DP-1 --zoom ~/.cache/wall1.png &
|
||||
elif [ -e ~/.cache/wall1.png ]; then
|
||||
xwallpaper --output eDP1 --zoom ~/.cache/wall1.png &
|
||||
fi
|
@ -91,6 +91,11 @@ When moving entries up and down in the buffer use `j` and `k` instead of `↑` a
|
||||
)
|
||||
#+END_SRC
|
||||
|
||||
Auto save org-mode files
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(add-hook 'auto-save-hook 'org-save-all-org-buffers)
|
||||
#+END_SRC
|
||||
|
||||
- Set default org directories
|
||||
- When task is set to `DONE` [[https://orgmode.org/manual/Closing-items.html][add timestamp and give the opportunity to type in a note]]
|
||||
- Show images in buffers as default
|
||||
|
@ -18,7 +18,7 @@
|
||||
Plug 'farmergreg/vim-lastplace'
|
||||
Plug 'jiangmiao/auto-pairs'
|
||||
Plug 'junegunn/fzf'
|
||||
Plug 'kien/ctrlp.vim'
|
||||
Plug 'ctrlpvim/ctrlp.vim'
|
||||
Plug 'mbbill/undotree'
|
||||
Plug 'mhinz/vim-signify'
|
||||
Plug 'myusuf3/numbers.vim'
|
||||
@ -41,6 +41,7 @@
|
||||
Plug 'majutsushi/tagbar'
|
||||
endif
|
||||
Plug 'preservim/nerdcommenter'
|
||||
Plug 'rrethy/vim-hexokinase', { 'do': 'make hexokinase' }
|
||||
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
||||
Plug 'tpope/vim-fugitive'
|
||||
Plug 'Xuyuanp/nerdtree-git-plugin'
|
||||
@ -185,4 +186,8 @@
|
||||
\ 'html': ['/usr/bin/html-languageserver', '--stdio']
|
||||
\ }
|
||||
" }
|
||||
|
||||
" hexokinase {
|
||||
set termguicolors
|
||||
" }
|
||||
" }
|
||||
|
@ -81,8 +81,8 @@ super + Escape
|
||||
# Misc apps
|
||||
ctrl + alt + {l, n, r, w, s, p, v, k}
|
||||
alacritty --class float,float -e {lf, neomutt, /usr/bin/newsboat, ~/.config/polybar/bin/wttr-and-wait, spt, castero, nvim, ~/.local/bin/calendar-and-wait}
|
||||
ctrl + alt + {b, e, S, N}
|
||||
{brave, emacs, spotify, nitrogen}
|
||||
ctrl + alt + {b, e, S}
|
||||
{brave, emacs, spotify}
|
||||
|
||||
#-----------------------------------------------------------Bspwm--------------------------------------------------------------
|
||||
# quit/restart bspwm
|
||||
|
@ -2,16 +2,27 @@
|
||||
|
||||
function generateWallpaper() {
|
||||
notify-send.py --hint string:image-path:"$2" --replaces-process setwallpaper -a sxiv "Setting wallpaper" &
|
||||
nitrogen --head="$1" --set-zoom-fill --save "$2"
|
||||
|
||||
# Only generate wal color schemes for main monitor
|
||||
if [ "$1" == 0 ]; then
|
||||
notify-send.py --hint string:image-path:"$2" --replaces-process setwallpaper -a sxiv "Generating wal color scheme" &
|
||||
~/.local/bin/generatewal
|
||||
notify-send.py --hint string:image-path:"$2" --replaces-process setwallpaper -a sxiv "Generating LightDM wallpaper" &
|
||||
doas convert "$2" /usr/share/pixmaps/wallpaper.png
|
||||
OUTPUT_IMAGE="$HOME/.cache/wall1.png"
|
||||
# Use tail -n 1 to get last monitor so this works with laptop as well
|
||||
WIDTH=$(xrandr | grep '\*' | tail -n 1 | awk -F 'x' '{print $1}' | sed 's/ //g')
|
||||
HEIGHT=$(xrandr | grep '\*' | tail -n 1 | awk -F 'x' '{print $2}' | awk '{print $1}' | sed 's/ //g')
|
||||
elif [ "$1" == 1 ]; then
|
||||
OUTPUT_IMAGE="$HOME/.cache/wall2.png"
|
||||
WIDTH=$(xrandr | grep '\*' | sed -n '1p' | awk -F 'x' '{print $2}' | awk -F '_' '{print $1}' | sed 's/ //g')
|
||||
HEIGHT=$(xrandr | grep '\*' | sed -n '1p' | awk -F 'x' '{print $1}' | sed 's/ //g')
|
||||
fi
|
||||
|
||||
notify-send.py --hint string:image-path:"$2" --replaces-process setwallpaper -a sxiv "Converting wallpaper" &
|
||||
convert "${2}" "${OUTPUT_IMAGE}"
|
||||
notify-send.py --hint string:image-path:"$2" --replaces-process setwallpaper -a sxiv "Generating wal color scheme" &
|
||||
~/.local/bin/generatewal
|
||||
notify-send.py --hint string:image-path:"$2" --replaces-process setwallpaper -a sxiv "Generating LightDM wallpaper" &
|
||||
doas convert "$2" /usr/share/pixmaps/wallpaper.png
|
||||
notify-send.py --hint string:image-path:"$2" --replaces-process setwallpaper -a sxiv "Setting wallpaper" &
|
||||
~/.local/bin/wallpaper
|
||||
notify-send.py --hint string:image-path:"$2" --replaces-process setwallpaper -a sxiv "Wallpaper set" &
|
||||
}
|
||||
|
||||
|
@ -1,2 +1,5 @@
|
||||
#!/usr/bin/env sh
|
||||
sed -n '/xin_0/{n;p;}' ~/.config/nitrogen/bg-saved.cfg | awk -F '=' '{ print $2 }' | xargs wal -n -i
|
||||
|
||||
if [ -e ~/.cache/wall1.png ]; then
|
||||
wal -n -i ~/.cache/wall1.png
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user