diff --git a/README.md b/README.md index aab70ce..5c0ad20 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ eg my dotfiles ## update 05/24/2025 i liked how primagen did his dev environment and deploying of scripts. so im making my own version + > [!NOTE] the pacman install scripts may not be fully what i have as i made this loong after installing software ## requirements @@ -107,9 +108,6 @@ i liked how primagen did his dev environment and deploying of scripts. so im mak ## todo -- deploy system folder? or just add keep/system directory to path. tis the question. - - probably will deploy. -- make 3rd env so first is minimal???? -- add rest of files -- make fully portable version, all pulled and compiled version bins for just devtools. -- seperate installs into more scripts to have different steps in requirements. probably wont do this +- [ ] make symlink. where if -s. do symlink instead of env +- [ ] seperate installs into more scripts to have different steps in requirements. probably wont do this +- [ ] make fully portable version, all pulled and compiled version bins for just devtools. diff --git a/env/.config/awesome/keys-US-colemak.lua b/env/.config/awesome/keys-US-colemak.lua index 133b7ee..725ed38 100644 --- a/env/.config/awesome/keys-US-colemak.lua +++ b/env/.config/awesome/keys-US-colemak.lua @@ -127,8 +127,8 @@ globalkeys = gears.table.join( awesome.restart() end), - awful.key({ }, "XF86AudioPlay", function () awful.util.spawn(mpris.." -a PlayPause") end), - awful.key({ }, "XF86AudioStop", function () awful.util.spawn(mpris.." -a pause") end), + awful.key({ }, "XF86AudioPlay", function () awful.util.spawn("playerctl play-pause") end), + awful.key({ }, "XF86AudioStop", function () awful.util.spawn("playerctl -a pause") end), --awful.key({ }, "XF86AudioRaiseVolume", function () awful.util.spawn("amixer -D pulse sset Master 2%+", false) end), awful.key({ }, "XF86AudioRaiseVolume", function () awful.util.spawn("pactl set-sink-volume @DEFAULT_SINK@ +2%", false) end), awful.key({ }, "XF86AudioLowerVolume", function () awful.util.spawn("pactl set-sink-volume @DEFAULT_SINK@ -2%", false) end), diff --git a/env/.config/awesome/keys-US.lua b/env/.config/awesome/keys-US.lua index a6478b7..0a0a481 100644 --- a/env/.config/awesome/keys-US.lua +++ b/env/.config/awesome/keys-US.lua @@ -127,8 +127,8 @@ globalkeys = gears.table.join( awesome.restart() end), - awful.key({ }, "XF86AudioPlay", function () awful.util.spawn(mpris.." -a PlayPause") end), - awful.key({ }, "XF86AudioStop", function () awful.util.spawn(mpris.." -a pause") end), + awful.key({ }, "XF86AudioPlay", function () awful.util.spawn("playerctl play-pause") end), + awful.key({ }, "XF86AudioStop", function () awful.util.spawn("playerctl -a pause") end), --awful.key({ }, "XF86AudioRaiseVolume", function () awful.util.spawn("amixer -D pulse sset Master 2%+", false) end), awful.key({ }, "XF86AudioRaiseVolume", function () awful.util.spawn("pactl set-sink-volume @DEFAULT_SINK@ +2%", false) end), awful.key({ }, "XF86AudioLowerVolume", function () awful.util.spawn("pactl set-sink-volume @DEFAULT_SINK@ -2%", false) end), diff --git a/env/.config/awesome/rc.lua b/env/.config/awesome/rc.lua index 0456fc8..0f0a1a3 100644 --- a/env/.config/awesome/rc.lua +++ b/env/.config/awesome/rc.lua @@ -22,7 +22,6 @@ Us_keys_colemak = require("keys-US-colemak") require("awful.hotkeys_popup.keys") local HOMEDIR="/home/iceyrazor/" -mpris=HOMEDIR..".local/bin/system/mpris_player_control" local show_desktop = false diff --git a/env/.config/hypr/hyprland.conf b/env/.config/hypr/hyprland.conf index 62df229..4d2f81a 100644 --- a/env/.config/hypr/hyprland.conf +++ b/env/.config/hypr/hyprland.conf @@ -347,6 +347,8 @@ bind = $mainMod CTRL SHIFT, j, resizeactive, 0 50 bind = $mainMod, o, focusmonitor, +1 bind = $mainMod SHIFT, o, movewindow, mon:+1 +bind = $mainMod, n, workspace, r+1 +bind = $mainMod, b, workspace, r-1 # Switch workspaces with mainMod + [0-9] bind = $mainMod, 1, workspace, r~1 bind = $mainMod, 2, workspace, r~2 diff --git a/env/.local/bin/scripts/backup/backup-tol b/env/.local/bin/scripts/backup/backup-tol index 4dcc42f..284bdf3 100755 --- a/env/.local/bin/scripts/backup/backup-tol +++ b/env/.local/bin/scripts/backup/backup-tol @@ -15,11 +15,11 @@ fsyncb () { fi } -syncfile=".surf/styles .urlview .gnupg .local/bin/lf-gadgets .local/share/applications/custom .config/FreeTube .config/newsboat .config/zsh .config/vesktop/themes .keepass .config/Pinta .config/cmus stuff/notes stuff/openvpn-cons stuff/scripts stuff/media/ICE stuff/media/music" +syncfile=".surf/styles .urlview .gnupg .local/bin/lf-gadgets .local/share/applications/custom .config/FreeTube .config/newsboat .config/zsh .config/vesktop/themes .keepass .config/Pinta .config/cmus stuff/notes stuff/openvpn-cons stuff/scripts stuff/media/ICE stuff/media/music stuff/manual-programs/mediamtx" #sync game stuff target="laptop:~" -exclude="--exclude mediamtx.yml --exclude stream.sh --exclude node_modules --exclude **/target" +exclude="--exclude stream.sh --exclude node_modules --exclude **/target" fsynca diff --git a/env/.local/bin/system/start-scripts/autostart.sh b/env/.local/bin/system/start-scripts/autostart.sh index a3f9db5..ea51fdc 100755 --- a/env/.local/bin/system/start-scripts/autostart.sh +++ b/env/.local/bin/system/start-scripts/autostart.sh @@ -56,7 +56,7 @@ fi if [ "$(cat /etc/hostname)" == "Kasino" ]; then if [ -z "$(pgrep vesktop)" ]; then sleep 2s - dbus-run-session vesktop & disown + dbus-run-session discord & disown fi if [ -z "$(pgrep gajim)" ]; then diff --git a/runs-all/get-reqs-arch.sh b/runs-all/get-reqs-arch.sh index b5734f5..ca8aeea 100755 --- a/runs-all/get-reqs-arch.sh +++ b/runs-all/get-reqs-arch.sh @@ -7,45 +7,123 @@ if [ $artix ] || [ $arch ]; then echo GETTING ALL REQS ARCH - git clone https://aur.archlinux.org/paru.git - cd paru - makepkg -si + # may split later. this will work for now + # cant think of a way of using loops other than awk or something or splitting it into files and doing the same thing i did with runs + # which i may do + doall=0 + xorg=0 + audio=0 + hyprland=0 + vpn=0 + ime=0 + fonts=0 + vr=0 + tools=0 + misc=0 + fun=0 + paru=0 + + read -p "do all? [y/N]" uin + if [ "$uin" == "y" ] || [ "$uin" == "Y" ]; then + doall=1 + else + read -p "paru? [y/N]" uin + if [ "$uin" == "y" ] || [ "$uin" == "Y" ]; then + paru=1 + fi + + read -p "xorg? [y/N]" uin + if [ "$uin" == "y" ] || [ "$uin" == "Y" ]; then + xorg=1 + fi + + read -p "audio? [y/N]" uin + if [ "$uin" == "y" ] || [ "$uin" == "Y" ]; then + audio=1 + fi + + read -p "hyprland? [y/N]" uin + if [ "$uin" == "y" ] || [ "$uin" == "Y" ]; then + hyprland=1 + fi + + read -p "vpn? [y/N]" uin + if [ "$uin" == "y" ] || [ "$uin" == "Y" ]; then + vpn=1 + fi + + read -p "ime? [y/N]" uin + if [ "$uin" == "y" ] || [ "$uin" == "Y" ]; then + ime=1 + fi + + read -p "fonts? [y/N]" uin + if [ "$uin" == "y" ] || [ "$uin" == "Y" ]; then + fonts=1 + fi + + read -p "vr? [y/N]" uin + if [ "$uin" == "y" ] || [ "$uin" == "Y" ]; then + vr=1 + fi + + read -p "tools? [y/N]" uin + if [ "$uin" == "y" ] || [ "$uin" == "Y" ]; then + tools=1 + fi + + read -p "misc? [y/N]" uin + if [ "$uin" == "y" ] || [ "$uin" == "Y" ]; then + misc=1 + fi + + read -p "fun? [y/N]" uin + if [ "$uin" == "y" ] || [ "$uin" == "Y" ]; then + fun=1 + fi + fi + + # aur manager + aurm="paru" + if [ $doall == 1 ] || [ $paru == 1 ]; then + git clone https://aur.archlinux.org/paru.git + cd paru + makepkg -si + fi - # read -p "continue? [Y/n]" uin - # [ "$uin" == "n" ] || [ "$uin" == "N" ] && exit 0 # xorg - $sudo pacman -S --noconfirm xorg-server xorg-xinit libxft libxinerama + [ $doall == 1 ] || [ $xorg == 1 ] && $sudo pacman -S --noconfirm xorg-server xorg-xinit libxft libxinerama # audio - $sudo pacman -S --noconfirm pipewire-pulse pipewire-alsa pipewire-jack qpwgraph + [ $doall == 1 ] || [ $audio == 1 ] && $sudo pacman -S --noconfirm pipewire-pulse pipewire-alsa pipewire-jack qpwgraph # hyprland - $sudo pacman -S --noconfirm wayland hyprland waybar wlogout hyprlock xdg-desktop-portal xdg-desktop-portal-hyprland xdg-desktop-portal-gtk qt6-wayland qt5-wayland - paru -S --noconfirm dunst-git sddm-theme-tokyo-night-git + [ $doall == 1 ] || [ $hyprland == 1 ] && $sudo pacman -S --noconfirm wayland hyprland waybar wlogout hyprlock xdg-desktop-portal xdg-desktop-portal-hyprland xdg-desktop-portal-gtk qt6-wayland qt5-wayland + [ $doall == 1 ] || [ $hyprland == 1 ] && $aurm -S --noconfirm dunst-git sddm-theme-tokyo-night-git - #vpn stuff - $sudo pacman -S --noconfirm openvpn networkmanager-openvpn openresolv + # vpn stuff + [ $doall == 1 ] || [ $vpn == 1 ] && $sudo pacman -S --noconfirm openvpn networkmanager-openvpn openresolv - #ime - $sudo pacman -S --noconfirm fcitx5-im fcitx5-mozc fcitx5-im-emoji-picker-git + # ime + [ $doall == 1 ] || [ $ime == 1 ] && $sudo pacman -S --noconfirm fcitx5-im fcitx5-mozc fcitx5-im-emoji-picker-git # fonts - $sudo pacman -S --noconfirm font-manager ttf-inconsolata ttf-jetbrains-mono ttf-jetbrains-mono-nerd noto-fonts-emoji - paru -S --noconfirm ttf-b612 + [ $doall == 1 ] || [ $fonts == 1 ] && $sudo pacman -S --noconfirm font-manager ttf-inconsolata ttf-jetbrains-mono ttf-jetbrains-mono-nerd noto-fonts-emoji + [ $doall == 1 ] || [ $fonts == 1 ] && $aurm -S --noconfirm ttf-b612 # for vr - $sudo pacman -S --noconfirm cli11 eigen glib2 glib2-devel nlohmann-json patch + [ $doall == 1 ] || [ $vr == 1 ] && $sudo pacman -S --noconfirm cli11 eigen glib2 glib2-devel nlohmann-json patch # tools - $sudo pacman -S --noconfirm zsh bat ntfs-3g inetutils doas atuin gvfs-mtp btop htop wezterm rxvt-unicode lf ripgrep rofi-wayland networkmanager + [ $doall == 1 ] || [ $tools == 1 ] && $sudo pacman -S --noconfirm zsh bat ntfs-3g inetutils doas atuin gvfs-mtp btop htop wezterm rxvt-unicode lf ripgrep rofi-wayland networkmanager # misc - $sudo pacman -S --noconfirm v4l2loopback-dkms sddm lxappearance reflector gnome-keyring seahorse yt-dlp grim slurp libnotify - paru -S --noconfirm obs-studio-git gpu-screen-recorder gpu-screen-recorder-gtk urlview + [ $doall == 1 ] || [ $misc == 1 ] && $sudo pacman -S --noconfirm v4l2loopback-dkms sddm lxappearance reflector gnome-keyring seahorse yt-dlp grim slurp libnotify + [ $doall == 1 ] || [ $misc == 1 ] && $aurm -S --noconfirm obs-studio-git gpu-screen-recorder gpu-screen-recorder-gtk urlview # fun - $sudo pacman -S --noconfirm fastfetch cmus vlc cowsay openrgb steam + [ $doall == 1 ] || [ $fun == 1 ] && $sudo pacman -S --noconfirm fastfetch cmus vlc cowsay openrgb steam echo --------------- fi