From cd14a4999a9492533d196e10797a6e2f6ac47850 Mon Sep 17 00:00:00 2001 From: WeeXnes Date: Wed, 11 Dec 2024 00:04:04 +0100 Subject: [PATCH] initial commit --- README.md | 75 +++++++++++++++++++++++++++++ Scripts/.extra/custom_flat.lst | 55 +++------------------ Scripts/custom_apps.lst | 33 ++++--------- Scripts/custom_pst.sh | 2 + Scripts/install.sh | 88 ++++++++++++++++++---------------- 5 files changed, 140 insertions(+), 113 deletions(-) create mode 100644 README.md create mode 100644 Scripts/custom_pst.sh diff --git a/README.md b/README.md new file mode 100644 index 0000000..763a46f --- /dev/null +++ b/README.md @@ -0,0 +1,75 @@ +### hyprdots edit + + +```shell +pacman -S --needed git base-devel +git clone --depth 1 https://git.weexnes.dev/WeeXnes/hyprdots ~/HyDE +cd ~/HyDE/Scripts +./install.sh custom_apps.lst +``` + + + + + +--- + + +
+ +| Keys | Action | +| :--- | :--- | +| Super + Q
Alt + F4 | Close focused window| +| Super + Del | Kill Hyprland session | +| Super + W | Toggle the window between focus and float | +| Super + G | Toggle the window between focus and group | +| Super + slash | Launch keybinds hint | +| Alt + Enter | Toggle the window between focus and fullscreen | +| Super + L | Launch lock screen | +| Super + Shift + F | Toggle pin on focused window | +| Super + Backspace | Launch logout menu | +| Ctrl + Alt + W | Toggle waybar | +| Super + T | Launch terminal emulator (kitty) | +| Super + E | Launch file manager (dolphin) | +| Super + C | Launch text editor (vscode) | +| Super + F | Launch web browser (firefox) | +| Ctrl + Shift + Esc | Launch system monitor (htop/btop or fallback to top) | +| Super + A | Launch application launcher (rofi) | +| Super + Tab | Launch window switcher (rofi) | +| Super + Shift + E | Launch file explorer (rofi) | +| F10 | Toggle audio mute | +| F11 | Decrease volume | +| F12 | Increase volume | +| Super + P | Partial screenshot capture | +| Super + Ctrl + P | Partial screenshot capture (frozen screen) | +| Super + Alt + P | Monitor screenshot capture | +| PrtScn | All monitors screenshot capture | +| Super + Alt + G | Disable hypr effects for gamemode | +| Super + Alt + | Cycle wallpaper | +| Super + Alt + | Cycle waybar mode | +| Super + Shift + R | Launch wallbash mode select menu (rofi) | +| Super + Shift + T | Launch theme select menu (rofi) | +| Super + Shift + A | Launch style select menu (rofi) | +| Super + Shift + X | Launch theme style select menu (rofi) | +| Super + Shift + W | Launch wallpaper select menu (rofi) | +| Super + V | Launch clipboard (rofi) | +| Super + K | Switch keyboard layout | +| Super + | Move window focus | +| Alt + Tab | Change window focus | +| Super + [0-9] | Switch workspaces | +| Super + Ctrl + | Switch workspaces to a relative workspace | +| Super + Ctrl + | Move to the first empty workspace | +| Super + Shift + | Resize windows | +| Super + Shift + [0-9] | Move focused window to a relative workspace | +| Super + Shift + Ctrl + | Move focused window (tiled/floating) around the current workspace | +| Super + MouseScroll | Scroll through existing workspaces | +| Super + LeftClick
Super + Z | Move focused window | +| Super + RightClick
Super + X | Resize focused window | +| Super + Alt + S | Move/Switch to special workspace (scratchpad) | +| Super + S | Toggle to special workspace | +| Super + J | Toggle focused window split | +| Super + Alt + [0-9] | Move focused window to a workspace silently | +| Super + Ctrl + H | Move between grouped windows backward | +| Super + Ctrl + L | Move between grouped windows forward | + +
\ No newline at end of file diff --git a/Scripts/.extra/custom_flat.lst b/Scripts/.extra/custom_flat.lst index 514f149..c195be3 100644 --- a/Scripts/.extra/custom_flat.lst +++ b/Scripts/.extra/custom_flat.lst @@ -1,48 +1,7 @@ -# ------------------------------------------- // System -com.github.tchx84.Flatseal # Flatseal -io.github.flattool.Warehouse # Warehouse -org.gnome.Boxes # Boxes -io.missioncenter.MissionCenter # MissionCenter -io.gitlab.adhami3310.Impression # Impression -# com.usebottles.bottles # Bottles -# io.github.dimtpap.coppwr # Coppwr - -# ------------------------------------------- // Browser -com.brave.Browser # Brave -# org.torproject.torbrowser-launcher # Tor - -# ------------------------------------------- // Social -# org.signal.Signal # Signal -# com.discordapp.Discord # Discord -# dev.vencord.Vesktop # Vesktop -io.github.spacingbat3.webcord # Webcord - -# ------------------------------------------- // Productivity -# md.obsidian.Obsidian # Obsidian -# org.mozilla.Thunderbird # Thunderbird -# io.github.alainm23.planify # Planify - -# ------------------------------------------- // Image/Graphics -org.inkscape.Inkscape # Inkscape -org.kde.krita # Krita -org.gimp.GIMP # Gimp -org.blender.Blender # Blender -io.gitlab.theevilskeleton.Upscaler # ImageUpscaler - -# ------------------------------------------- // Photography -# org.gnome.Shotwell # Shotwell -# org.darktable.Darktable # Darktable -# org.kde.digikam # Digikam -org.gnome.eog # ImageViewer - -# ------------------------------------------- // Audio/Video -# com.spotify.Client # Spotify -# org.kde.kdenlive # Kdenlive -com.obsproject.Studio # Obs -com.github.rafostar.Clapper # Clapper -com.github.unrud.VideoDownloader # VideoDownloader - -# ------------------------------------------- // Gaming -# hu.kramo.Cartridges # Cartridges -# com.github.Matoking.protontricks # ProtonTricks -# net.davidotek.pupgui2 # ProtonUp +md.obsidian.Obsidian +org.libretro.RetroArch +net.kuribo64.melonDS +io.missioncenter.MissionCenter +io.gitlab.adhami3310.Impression +com.github.Murmele.Gittyup +com.github.unrud.VideoDownloader \ No newline at end of file diff --git a/Scripts/custom_apps.lst b/Scripts/custom_apps.lst index 00fad79..2a3442d 100644 --- a/Scripts/custom_apps.lst +++ b/Scripts/custom_apps.lst @@ -1,23 +1,10 @@ -# --------------------------------------------------- // System -# downgrade # downgrade packages -# trash-cli-git # cli to manage trash files -# libinput-gestures # actions touchpad gestures using libinput -# gestures # gui for libinput-gestures - -# --------------------------------------------------- // Dependencies -xdg-desktop-portal-gtk # xdg desktop portal using gtk -# emote # emoji picker gtk3 - -# --------------------------------------------------- // Gaming -steam # gaming platform -gamemode # daemon and library for game optimisations -mangohud # system performance overlay -# gamescope # micro-compositor for gaming - -# --------------------------------------------------- // Music -cava # audio visualizer -spotify # proprietary music streaming service -spicetify-cli # cli to customize spotify client - -# --------------------------------------------------- // Apps -# neovim # vim based text editor +spotify-launcher +kicad +kicad-library +kicad-library-3d +gnome-boxes +refind +shim-signed +cava +spotify-client +spicetify-cli \ No newline at end of file diff --git a/Scripts/custom_pst.sh b/Scripts/custom_pst.sh new file mode 100644 index 0000000..f915d20 --- /dev/null +++ b/Scripts/custom_pst.sh @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +echo "custom_pst.sh empty...skipping" \ No newline at end of file diff --git a/Scripts/install.sh b/Scripts/install.sh index 6c81954..3dcd944 100755 --- a/Scripts/install.sh +++ b/Scripts/install.sh @@ -144,6 +144,52 @@ EOF rm "${scrDir}/install_pkg.lst" fi + +#---------------------# +# post-install script # +#---------------------# +if [ ${flg_Install} -eq 1 ] && [ ${flg_Restore} -eq 1 ]; then + cat << "EOF" + + _ _ _ _ _ + ___ ___ ___| |_ |_|___ ___| |_ ___| | | +| . | . |_ -| _| | | |_ -| _| .'| | | +| _|___|___|_| |_|_|_|___|_| |__,|_|_| +|_| + +EOF + + "${scrDir}/install_pst.sh" + "${scrDir}/custom_pst.sh" +fi + +#------------------------# +# enable system services # +#------------------------# +if [ ${flg_Service} -eq 1 ]; then + cat << "EOF" + + _ + ___ ___ ___ _ _|_|___ ___ ___ +|_ -| -_| _| | | | _| -_|_ -| +|___|___|_| \_/|_|___|___|___| + +EOF + + while read servChk; do + + if [[ $(systemctl list-units --all -t service --full --no-legend "${servChk}.service" | sed 's/^\s*//g' | cut -f1 -d' ') == "${servChk}.service" ]]; then + echo -e "\033[0;33m[SKIP]\033[0m ${servChk} service is active..." + else + echo -e "\033[0;32m[systemctl]\033[0m starting ${servChk} system service..." + sudo systemctl enable "${servChk}.service" + sudo systemctl start "${servChk}.service" + fi + + done < "${scrDir}/system_ctl.lst" +fi + + #---------------------------# # restore my custom configs # #---------------------------# @@ -177,45 +223,3 @@ EOF fi fi -#---------------------# -# post-install script # -#---------------------# -if [ ${flg_Install} -eq 1 ] && [ ${flg_Restore} -eq 1 ]; then - cat << "EOF" - - _ _ _ _ _ - ___ ___ ___| |_ |_|___ ___| |_ ___| | | -| . | . |_ -| _| | | |_ -| _| .'| | | -| _|___|___|_| |_|_|_|___|_| |__,|_|_| -|_| - -EOF - - "${scrDir}/install_pst.sh" -fi - -#------------------------# -# enable system services # -#------------------------# -if [ ${flg_Service} -eq 1 ]; then - cat << "EOF" - - _ - ___ ___ ___ _ _|_|___ ___ ___ -|_ -| -_| _| | | | _| -_|_ -| -|___|___|_| \_/|_|___|___|___| - -EOF - - while read servChk; do - - if [[ $(systemctl list-units --all -t service --full --no-legend "${servChk}.service" | sed 's/^\s*//g' | cut -f1 -d' ') == "${servChk}.service" ]]; then - echo -e "\033[0;33m[SKIP]\033[0m ${servChk} service is active..." - else - echo -e "\033[0;32m[systemctl]\033[0m starting ${servChk} system service..." - sudo systemctl enable "${servChk}.service" - sudo systemctl start "${servChk}.service" - fi - - done < "${scrDir}/system_ctl.lst" -fi