fixed awesome autostart dir. added wallpaper setter script. made no extension be filetype sh in neovim. renamed some scripts.

This commit is contained in:
2025-06-04 10:16:12 -05:00
parent edf3d20945
commit b69040fda0
14 changed files with 93 additions and 10 deletions

View File

@@ -66,7 +66,7 @@ alias vim=nvim
alias notes="cd ~/stuff/notes && vim notes.md && cd ~"
alias ts="~/stuff/scripts/system/tmux-sessionizer.sh"
alias fman="bash -c 'compgen -c' | fzf | xargs man"
alias etask="$EDITOR stuff/scripts/system/task.sh"
alias etask="$EDITOR ~/stuff/scripts/system/task.sh"
alias music="nohup vlc $YT_PLAYLIST_DIR/title_vids > /dev/null 2> /dev/null < /dev/null & disown && cd $YT_PLAYLIST_DIR/title_vids && lfk"
@@ -79,11 +79,6 @@ alias vasm="~/stuff/manual-programs/vasm/vasm6502_oldstyle -Fbin -dotdir "
alias pipes="pipes.sh -t 0 -p 3 -f 30 -r 2000"
alias anim="hyprctl keyword animations:enabled "
# alias drkwll="nitrogen --head=0 --set-zoom-fill ~/stuff/media/gallifreyan/linux2.png && nitrogen --head=1 --set-zoom-fill ~/stuff/media/gallifreyan/linux2.png"
# alias drkwll="nitrogen --head=0 --set-zoom-fill ~/stuff/media/wallpapers/dark_leaves.png && nitrogen --head=1 --set-zoom-fill ~/stuff/media/wallpapers/dark_leaves.png"
alias drkwll="[ -z $WAYLAND_DISPLAY ] && nitrogen --head=0 --set-zoom-fill ~/stuff/media/wallpapers/dark_leaves.png && nitrogen --head=1 --set-zoom-fill ~/stuff/media/wallpapers/dark_leaves.png || hyprctl hyprpaper wallpaper 'HDMI-A-1,/home/iceyrazor/stuff/media/wallpapers/dark_leaves.png' && hyprctl hyprpaper wallpaper 'DP-1,/home/iceyrazor/stuff/media/wallpapers/dark_leaves.png'"
alias reswll="hyprctl hyprpaper wallpaper 'HDMI-A-1,/home/iceyrazor/stuff/media/wallpapers/4500025-retrowave-vaporwave-car-typography-purple-blue-chromatic-aberration-initial-d-hachi-roku.jpg' && hyprctl hyprpaper wallpaper 'DP-1,/home/iceyrazor/stuff/media/wallpapers/tumblr_06bbd355f3e355049446dac24f6e7c44_2c486f77_1280 ninesols.jpg'"
# mounting
alias umsu="fukn umount u"
alias umsu2="fukn umount u2"

View File

@@ -551,4 +551,4 @@ client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_n
-- autostart applets
awful.spawn.with_shell("~/.local/bin/start_scripts/autostart.sh")
awful.spawn.with_shell("~/.local/bin/system/start_scripts/autostart.sh")

View File

@@ -5,7 +5,7 @@
# Which monitor should the notifications be displayed on.
# i keep having to change this because hyprland ◔̯◔
monitor = 1
monitor = 0
# Display notification on focused monitor. Possible modes are:
# mouse: follow mouse pointer

View File

@@ -48,3 +48,15 @@ vim.filetype.add({
src = "greyscript"
}
})
-- make no file extension go to sh type
vim.api.nvim_create_autocmd({"BufRead", "BufNewFile"}, {
pattern = "*",
callback = function()
local fname = vim.fn.expand("%:t")
if not fname:find("%.") then -- no dot in filename
vim.bo.filetype = "sh"
end
end
})