stuff and things
This commit is contained in:
parent
1be4f161e3
commit
90248ad822
|
@ -94,6 +94,7 @@ note: the pacman install scripts may not be fully what i have as i made this loo
|
||||||
- calcurse
|
- calcurse
|
||||||
|
|
||||||
# todo
|
# todo
|
||||||
|
- make 3rd env so first is minimal????
|
||||||
- add rest of files
|
- add rest of files
|
||||||
- make fully portable version?
|
- make fully portable version?
|
||||||
- seperate installs into more scripts to have different steps in requirements. probably wont do this
|
- seperate installs into more scripts to have different steps in requirements. probably wont do this
|
||||||
|
|
|
@ -0,0 +1,17 @@
|
||||||
|
#
|
||||||
|
# ~/.bash_profile
|
||||||
|
#
|
||||||
|
|
||||||
|
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
||||||
|
|
||||||
|
#!/bin/bash
|
||||||
|
if test -z "${XDG_RUNTIME_DIR}"; then
|
||||||
|
export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir
|
||||||
|
if ! test -d "${XDG_RUNTIME_DIR}"; then
|
||||||
|
mkdir "${XDG_RUNTIME_DIR}"
|
||||||
|
chmod 0700 "${XDG_RUNTIME_DIR}"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
#export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0
|
|
@ -6,5 +6,5 @@
|
||||||
[[ $- != *i* ]] && return
|
[[ $- != *i* ]] && return
|
||||||
PS1='\[\e[37;1m\][\[\e[35;1m\]\u\[\e[33m\]@\[\e[35;1m\]\h \[\e[36;1m\]\W\[\e[37;1m\]]\[\e[0;1m\]∮ '
|
PS1='\[\e[37;1m\][\[\e[35;1m\]\u\[\e[33m\]@\[\e[35;1m\]\h \[\e[36;1m\]\W\[\e[37;1m\]]\[\e[0;1m\]∮ '
|
||||||
|
|
||||||
~/stuff/scripts/system/neoboot.sh
|
~/.local/bin/system/neoboot.sh
|
||||||
source ~/.config/.profile
|
source ~/.config/.profile
|
||||||
|
|
|
@ -30,7 +30,7 @@ export EDITOR="nvim"
|
||||||
# export BROWSER="/home/iceyrazor/.local/bin/zen-x86_64.AppImage"
|
# export BROWSER="/home/iceyrazor/.local/bin/zen-x86_64.AppImage"
|
||||||
export BROWSER="zen.desktop"
|
export BROWSER="zen.desktop"
|
||||||
export PREFIX=/usr
|
export PREFIX=/usr
|
||||||
export PATH="$PATH:$HOME/.cargo/bin:$HOME/stuff/scripts/system:$HOME/stuff/scripts/system/backup:$HOME/stuff/scripts/system/wlx:$HOME/stuff/scripts/system/youtube-playlist-cli:$HOME/.local/bin/blender-4.1.1-linux-x64:$HOME/stuff/manual-programs/app-images:$HOME/stuff/scripts/system/theme-setter"
|
export PATH="$PATH:$HOME/.cargo/bin:$HOME/stuff/scripts/system:$HOME/.local/bin/system:$HOME/.local/bin/system/backup:$HOME/stuff/scripts/system/backup:$HOME/stuff/scripts/system/wlx:$HOME/stuff/scripts/system/youtube-playlist-cli:$HOME/.local/bin/blender-4.1.1-linux-x64:$HOME/stuff/manual-programs/app-images:$HOME/stuff/scripts/system/theme-setter"
|
||||||
export MANPAGER='nvim +Man!'
|
export MANPAGER='nvim +Man!'
|
||||||
# export DWM_NOTIF_FILE="/home/iceyrazor/stuff/scripts/c/SDL/notif/notif.txt"
|
# export DWM_NOTIF_FILE="/home/iceyrazor/stuff/scripts/c/SDL/notif/notif.txt"
|
||||||
|
|
||||||
|
|
|
@ -551,4 +551,4 @@ client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_n
|
||||||
|
|
||||||
|
|
||||||
-- autostart applets
|
-- autostart applets
|
||||||
awful.spawn.with_shell("~/.config/dwm/autostart.sh")
|
awful.spawn.with_shell("~/.local/bin/start_scripts/autostart.sh")
|
||||||
|
|
|
@ -23,7 +23,6 @@ windowrule = move 0 0,title:^(flameshot)
|
||||||
windowrule = suppressevent fullscreen,title:^(flameshot)
|
windowrule = suppressevent fullscreen,title:^(flameshot)
|
||||||
|
|
||||||
exec-once = $HOME/.local/bin/system/start_scripts/autostart.sh
|
exec-once = $HOME/.local/bin/system/start_scripts/autostart.sh
|
||||||
exec-once = waybar
|
|
||||||
exec-once = /usr/lib/xdg-desktop-portal &
|
exec-once = /usr/lib/xdg-desktop-portal &
|
||||||
exec-once = dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
exec-once = dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||||
# exec-once = ibus-daemon -rxRd
|
# exec-once = ibus-daemon -rxRd
|
||||||
|
|
|
@ -1,9 +1,20 @@
|
||||||
|
local telescope = require('telescope')
|
||||||
local builtin = require('telescope.builtin')
|
local builtin = require('telescope.builtin')
|
||||||
|
if string.find(vim.loop.cwd(),"iceys%-linux%-stuffs") then
|
||||||
|
telescope.setup{
|
||||||
|
pickers = {
|
||||||
|
find_files = {
|
||||||
|
hidden=true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
end
|
||||||
vim.keymap.set('n', '<leader>pf', builtin.find_files, {})
|
vim.keymap.set('n', '<leader>pf', builtin.find_files, {})
|
||||||
vim.keymap.set('n', '<leader>pg', builtin.live_grep, {})
|
vim.keymap.set('n', '<leader>pg', builtin.live_grep, {})
|
||||||
vim.keymap.set('n', '<leader>pb', builtin.buffers, {})
|
vim.keymap.set('n', '<leader>pb', builtin.buffers, {})
|
||||||
vim.keymap.set('n', '<leader>ph', builtin.help_tags, {})
|
vim.keymap.set('n', '<leader>ph', builtin.help_tags, {})
|
||||||
|
vim.keymap.set('n', '<leader>pw', builtin.pickers, {})
|
||||||
vim.keymap.set('n', '<leader>ps', function()
|
vim.keymap.set('n', '<leader>ps', function()
|
||||||
builtin.grep_string({ search = vim.fn.input("Grep > ") });
|
builtin.grep_string({ search = vim.fn.input("Grep > ") });
|
||||||
end)
|
end)
|
||||||
--vim.keymap.set('n', '<C-p>', builtin.git_files, {})
|
--vim.keymap.set('n', '<C-p>', builtin.git_files, {})
|
||||||
|
|
|
@ -22,7 +22,7 @@ return require('packer').startup(function(use)
|
||||||
use '3rd/image.nvim'
|
use '3rd/image.nvim'
|
||||||
|
|
||||||
use {
|
use {
|
||||||
'nvim-telescope/telescope.nvim', tag = '0.1.5',
|
'nvim-telescope/telescope.nvim', tag = '0.1.8', -- 0.1.5
|
||||||
-- or , branch = '0.1.x',
|
-- or , branch = '0.1.x',
|
||||||
requires = { {'nvim-lua/plenary.nvim'} }
|
requires = { {'nvim-lua/plenary.nvim'} }
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,13 +15,13 @@ fsyncb () {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
syncfile="stuff .bash_profile .bashrc .surf/styles .gtkrc-2.0 .urlview .vimrc .xinitrc .Xresources .zshrc .p10k.zsh .gnupg .ssh .local/bin/lf-gadgets .config/dwm .config/wezterm .config/.profile .config/tmux .config/wireplumber .config/FreeTube .config/awesome .config/wlxoverlay .config/newsboat .var/app/dev.vencord.Vesktop/config/vesktop/themes .config/fastfetch .config/gtk-3.0 .config/rofi .config/lf .config/mutt .config/zsh .config/picom.conf .config/nvim .config/atuin .config/screenkey.json .config/vesktop/themes .keepass .config/Pinta .config/cmus .config/cava .config/hypr .config/waybar .local/share/applications/custom .local/share/osu"
|
syncfile="stuff .surf/styles .gnupg .ssh .local/bin/lf-gadgets .config/wireplumber .config/FreeTube .config/wlxoverlay .config/newsboat .var/app/dev.vencord.Vesktop/config/vesktop/themes .config/zsh .config/vesktop/themes .keepass .config/Pinta .config/cmus .config/cava .local/share/applications/custom .local/share/osu"
|
||||||
|
|
||||||
# se shit
|
# se shit
|
||||||
syncfile="$syncfile /home/iceyrazor/.local/share/Steam/steamapps/compatdata/244850/pfx/drive_c/users/steamuser/AppData/Roaming/SpaceEngineers/Blueprints /home/iceyrazor/.local/share/Steam/steamapps/compatdata/244850/pfx/drive_c/users/steamuser/AppData/Roaming/SpaceEngineers/IngameScripts /home/iceyrazor/.local/share/Steam/steamapps/compatdata/244850/pfx/drive_c/users/steamuser/AppData/Roaming/SpaceEngineers/Saves"
|
syncfile="$syncfile /home/iceyrazor/.local/share/Steam/steamapps/compatdata/244850/pfx/drive_c/users/steamuser/AppData/Roaming/SpaceEngineers/Blueprints /home/iceyrazor/.local/share/Steam/steamapps/compatdata/244850/pfx/drive_c/users/steamuser/AppData/Roaming/SpaceEngineers/IngameScripts /home/iceyrazor/.local/share/Steam/steamapps/compatdata/244850/pfx/drive_c/users/steamuser/AppData/Roaming/SpaceEngineers/Saves"
|
||||||
|
|
||||||
target="/home/iceyrazor/mnt-backups/LINUX FILES/home/iceyrazor"
|
target="/home/iceyrazor/mnt-backups/LINUX FILES/home/iceyrazor"
|
||||||
exclude="--exclude node_modules --exclude node_modules_23 --exclude dontsync --exclude **/iceys-linux-stuffs --exclude **/target --exclude LinVAM/pyenv"
|
exclude="--exclude node_modules --exclude node_modules_23 --exclude dontsync --exclude **/target --exclude LinVAM/pyenv"
|
||||||
|
|
||||||
fsynca
|
fsynca
|
||||||
|
|
||||||
|
|
|
@ -1,21 +0,0 @@
|
||||||
cd ~/
|
|
||||||
|
|
||||||
fsync () {
|
|
||||||
rsync -RUurvn --delete-after $exclude $syncfile "$target"
|
|
||||||
printf "===commit these changes?\n"
|
|
||||||
read -p "y/n: " uinput
|
|
||||||
if [ "$uinput" != "n" ] && [ "$uinput" != "N" ]; then
|
|
||||||
printf "\n\n\n"
|
|
||||||
rsync -RUurv --progress --delete-after $exclude $syncfile "$target"
|
|
||||||
printf "\n===end sync\n---------\n\n"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
syncfile=".urlview .vimrc .Xresources .bashrc .zshrc .p10k.zsh .config/.profile .config/wezterm .config/dwm .config/tmux .config/awesome .config/rofi .config/lf .config/cava .config/hypr .config/waybar .config/picom.conf .config/nvim .config/atuin .config/screenkey.json .config/fastfetch stuff/manual-programs/suckless"
|
|
||||||
|
|
||||||
syncfile="$syncfile stuff/scripts/system/stbar stuff/scripts/system/url-handler.sh stuff/scripts/system/backup/copy-to-git.sh stuff/scripts/system/backup/backup.sh"
|
|
||||||
syncfile="$syncfile stuff/scripts/system/neoboot.sh stuff/scripts/system/math.sh stuff/scripts/system/bri.sh stuff/scripts/system/restart-pipe.sh stuff/scripts/system/set-pri-java.sh"
|
|
||||||
target=~/stuff/iceys-linux-stuffs
|
|
||||||
exclude="--exclude check_weth.sh --exclude awesome/default --exclude lua-ls-cc-tweaked --exclude .config/nvim/plugin"
|
|
||||||
|
|
||||||
fsync
|
|
|
@ -1 +0,0 @@
|
||||||
systemctl --user restart wireplumber pipewire pipewire-pulse
|
|
|
@ -33,6 +33,10 @@ fi
|
||||||
pipewire-pulse & disown
|
pipewire-pulse & disown
|
||||||
sleep 0.5s
|
sleep 0.5s
|
||||||
|
|
||||||
|
if [ "$WAYLAND_SESSION" ]; then
|
||||||
|
waybar & disown
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -z $(pgrep -f newsboat-fetch.sh) ]; then
|
if [ -z $(pgrep -f newsboat-fetch.sh) ]; then
|
||||||
~/.config/dwm/newsboat-fetch.sh &
|
~/.config/dwm/newsboat-fetch.sh &
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# Initialization code that may require console input (password prompts, [y/n]
|
# Initialization code that may require console input (password prompts, [y/n]
|
||||||
# confirmations, etc.) must go above this block; everything else may go below.
|
# confirmations, etc.) must go above this block; everything else may go below.
|
||||||
|
|
||||||
~/stuff/scripts/system/neoboot.sh
|
~/.local/bin/system/neoboot.sh
|
||||||
|
|
||||||
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
||||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||||
|
|
Loading…
Reference in New Issue