diff --git a/.config/hypr/autostart.conf b/.config/hypr/autostart.conf index bafd0d7..540189b 100644 --- a/.config/hypr/autostart.conf +++ b/.config/hypr/autostart.conf @@ -1,13 +1,16 @@ # Autostart necessary processes (like notifications daemons, status bars, etc.) # Or execute your favorite apps at launch like this: +exec-once = hyprpaper exec-once = waybar -exec-once = swaync -exec-once = ulauncher +exec-once = swaync -s ~/.config/swaync/themes/rose-pine-moon.css exec-once = systemctl --user start hyprpolkitagent +exec-once = /home/luna/myHome/BitfocusCompanion/companion/companion-launcher +exec-once = vorta exec-once = vesktop exec-once = steam +exec-once = spotify # exec-once = $terminal # exec-once = nm-applet & diff --git a/.config/hypr/environment.conf b/.config/hypr/environment.conf index 0864892..8294b62 100644 --- a/.config/hypr/environment.conf +++ b/.config/hypr/environment.conf @@ -3,4 +3,5 @@ env = XCURSOR_THEME,RosePine env = XCURSOR_SIZE,24 env = HYPRCURSOR_THEME,RosePine -env = HYPRCURSOR_SIZE,24 \ No newline at end of file +env = HYPRCURSOR_SIZE,24 +env = GKT_USE_PORTAL,1 \ No newline at end of file diff --git a/.config/hypr/hyprpaper.conf b/.config/hypr/hyprpaper.conf new file mode 100644 index 0000000..961644e --- /dev/null +++ b/.config/hypr/hyprpaper.conf @@ -0,0 +1,2 @@ +preload = /home/luna/myHome/Pictures/Wallpapers/Aesthetic/something-beautiful-in-nature.jpg +wallpaper = , /home/luna/myHome/Pictures/Wallpapers/Aesthetic/something-beautiful-in-nature.jpg \ No newline at end of file diff --git a/.config/hypr/keybinds.conf b/.config/hypr/keybinds.conf index ead2200..8166b8e 100644 --- a/.config/hypr/keybinds.conf +++ b/.config/hypr/keybinds.conf @@ -12,6 +12,7 @@ bind = $mod, space, togglefloating, bind = $mod, D, exec, $menu bind = $mod, P, pseudo, # dwindle bind = $mod, J, togglesplit, # dwindle +bind = $mod, F, fullscreen bind = $mod SHIFT, R, exec, killall waybar && waybar & # Move focus with mod + arrow keys diff --git a/.config/hypr/lookAndFeel.conf b/.config/hypr/lookAndFeel.conf index 6f4e132..fae5e57 100644 --- a/.config/hypr/lookAndFeel.conf +++ b/.config/hypr/lookAndFeel.conf @@ -99,6 +99,6 @@ master { # https://wiki.hyprland.org/Configuring/Variables/#misc misc { - force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers - disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :( + force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers + disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :( } \ No newline at end of file diff --git a/.config/hypr/windowRules.conf b/.config/hypr/windowRules.conf index f1e7899..299ffa3 100644 --- a/.config/hypr/windowRules.conf +++ b/.config/hypr/windowRules.conf @@ -2,10 +2,16 @@ # See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules windowrule = workspace 8, class:vesktop -windowrule = float, class:vesktop -windowrule = size 43% 1380, class:vesktop -windowrule = move 100%-w-10, class:vesktop windowrule = noinitialfocus, class:vesktop +# windowrule = float, class:vesktop +windowrule = size 1098 1376, class:vesktop +windowrule = move 1450 1132, class:vesktop + +windowrule = workspace 8, class:Spotify +windowrule = noinitialfocus, class:Spotify +# windowrule = float, class:Spotify +windowrule = size 1426 1376, class:Spotify +windowrule = move 12 1132, class:Spotify windowrule = workspace 4, class:steam windowrule = noinitialfocus, class:steam diff --git a/.config/swaync/config.json b/.config/swaync/config.json new file mode 100644 index 0000000..c607e46 --- /dev/null +++ b/.config/swaync/config.json @@ -0,0 +1,74 @@ +{ + "$schema": "/etc/xdg/swaync/configSchema.json", + "positionX": "right", + "positionY": "top", + "layer": "overlay", + "control-center-layer": "top", + "layer-shell": true, + "cssPriority": "application", + "control-center-margin-top": 0, + "control-center-margin-bottom": 0, + "control-center-margin-right": 0, + "control-center-margin-left": 0, + "notification-2fa-action": true, + "notification-inline-replies": false, + "notification-icon-size": 64, + "notification-body-image-height": 100, + "notification-body-image-width": 200, + "timeout": 2, + "timeout-low": 2, + "timeout-critical": 5, + "fit-to-screen": true, + "relative-timestamps": true, + "control-center-width": 500, + "control-center-height": 600, + "notification-window-width": 500, + "keyboard-shortcuts": true, + "image-visibility": "when-available", + "transition-time": 200, + "hide-on-clear": true, + "hide-on-action": true, + "script-fail-notify": true, + "scripts": { + "example-script": { + "exec": "echo 'Do something...'", + "urgency": "Normal" + }, + "example-action-script": { + "exec": "echo 'Do something actionable!'", + "urgency": "Normal", + "run-on": "action" + } + }, + "notification-visibility": { + "example-name": { + "state": "muted", + "urgency": "Low", + "app-name": "Spotify" + } + }, + "widgets": ["inhibitors", "title", "dnd", "notifications"], + "widget-config": { + "title": { + "text": "Notifications", + "clear-all-button": true, + "button-text": "Clear All" + }, + "dnd": { + "text": "Do Not Disturb" + }, + "label": { + "max-lines": 5, + "text": "Label Text" + }, + "buttons-grid": { + "actions": [ + { + "label": "FFFFF", + "type": "toggle", + "active": true + } + ] + } + } +} diff --git a/.config/swaync/themes/rose-pine-moon.css b/.config/swaync/themes/rose-pine-moon.css new file mode 100644 index 0000000..d9387ea --- /dev/null +++ b/.config/swaync/themes/rose-pine-moon.css @@ -0,0 +1,313 @@ +* { + all: unset; + font-family: FiraCode Nerd Font; + transition: 0.3s; + font-size: 1.2rem; +} + +.floating-notifications.background .notification-row { + padding: 1rem; +} + +.floating-notifications.background .notification-row .notification-background { + border-radius: 0.5rem; + background-color: #232136; + color: #e0def4; + border: 1px solid #6e6a86; +} + +.floating-notifications.background + .notification-row + .notification-background + .notification { + padding: 0.5rem; + border-radius: 0.5rem; +} + +.floating-notifications.background + .notification-row + .notification-background + .notification.critical { + border: 1px solid #eb6f92; +} + +.floating-notifications.background + .notification-row + .notification-background + .notification + .notification-content + .summary { + margin: 0.5rem; + color: #e0def4; + font-weight: bold; +} + +.floating-notifications.background + .notification-row + .notification-background + .notification + .notification-content + .body { + margin: 0.5rem; + color: #908caa; +} + +.floating-notifications.background + .notification-row + .notification-background + .notification + > *:last-child + > * { + min-height: 3rem; +} + +.floating-notifications.background + .notification-row + .notification-background + .notification + > *:last-child + > * + .notification-action { + border-radius: 0.5rem; + color: #e0def4; + background-color: #2a273f; + border: 1px solid #6e6a86; +} + +.floating-notifications.background + .notification-row + .notification-background + .notification + > *:last-child + > * + .notification-action:hover { + background-color: #393552; +} + +.floating-notifications.background + .notification-row + .notification-background + .notification + > *:last-child + > * + .notification-action:active { + background-color: #6e6a86; +} + +.floating-notifications.background + .notification-row + .notification-background + .close-button { + margin: 0.5rem; + padding: 0.25rem; + border-radius: 0.5rem; + color: #e0def4; + background-color: #eb6f92; +} + +.floating-notifications.background + .notification-row + .notification-background + .close-button:hover { + color: #232136; +} + +.floating-notifications.background + .notification-row + .notification-background + .close-button:active { + background-color: #ea9a97; +} + +.control-center { + border-radius: 0.5rem; + margin: 1rem; + background-color: #232136; + color: #e0def4; + padding: 1rem; + border: 1px solid #6e6a86; +} + +.control-center .widget-title { + color: #ea9a97; + font-weight: bold; +} + +.control-center .widget-title button { + border-radius: 0.5rem; + color: #e0def4; + background-color: #2a273f; + border: 1px solid #6e6a86; + padding: 0.5rem; +} + +.control-center .widget-title button:hover { + background-color: #393552; +} + +.control-center .widget-title button:active { + background-color: #6e6a86; +} + +.control-center .notification-row .notification-background { + border-radius: 0.5rem; + margin: 0.5rem 0; + background-color: #2a273f; + color: #e0def4; + border: 1px solid #6e6a86; +} + +.control-center .notification-row .notification-background .notification { + padding: 0.5rem; + border-radius: 0.5rem; +} + +.control-center + .notification-row + .notification-background + .notification.critical { + border: 1px solid #eb6f92; +} + +.control-center + .notification-row + .notification-background + .notification + .notification-content { + color: #e0def4; +} + +.control-center + .notification-row + .notification-background + .notification + .notification-content + .summary { + margin: 0.5rem; + color: #e0def4; + font-weight: bold; +} + +.control-center + .notification-row + .notification-background + .notification + .notification-content + .body { + margin: 0.5rem; + color: #908caa; +} + +.control-center + .notification-row + .notification-background + .notification + > *:last-child + > * { + min-height: 3rem; +} + +.control-center + .notification-row + .notification-background + .notification + > *:last-child + > * + .notification-action { + border-radius: 0.5rem; + color: #e0def4; + background-color: #2a273f; + border: 1px solid #6e6a86; +} + +.control-center + .notification-row + .notification-background + .notification + > *:last-child + > * + .notification-action:hover { + background-color: #393552; +} + +.control-center + .notification-row + .notification-background + .notification + > *:last-child + > * + .notification-action:active { + background-color: #6e6a86; +} + +.control-center .notification-row .notification-background .close-button { + margin: 0.5rem; + padding: 0.25rem; + border-radius: 0.5rem; + color: #e0def4; + background-color: #eb6f92; +} + +.control-center .notification-row .notification-background .close-button:hover { + color: #232136; +} + +.control-center + .notification-row + .notification-background + .close-button:active { + background-color: #ea9a97; +} + +progressbar, +progress, +trough { + border-radius: 0.5rem; +} + +.notification.critical progress { + background-color: #eb6f92; +} + +.notification.low progress, +.notification.normal progress { + background-color: #9ccfd8; +} + +trough { + background-color: #2a273f; +} + +.control-center trough { + background-color: #6e6a86; +} + +.control-center-dnd { + margin: 1rem 0; + border-radius: 0.5rem; +} + +.control-center-dnd slider { + background: #393552; + border-radius: 0.5rem; +} + +.widget-dnd { + color: #908caa; +} + +.widget-dnd > switch { + border-radius: 0.5rem; + background: #393552; + border: 1px solid #6e6a86; +} + +.widget-dnd > switch:checked slider { + background: #3e8fb0; +} + +.widget-dnd > switch slider { + background: #6e6a86; + border-radius: 0.5rem; + margin: 0.25rem; +} diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc index 427f9eb..8cceb31 100644 --- a/.config/waybar/config.jsonc +++ b/.config/waybar/config.jsonc @@ -6,12 +6,13 @@ "modules-center": ["hyprland/window"], "modules-right": [ - "tray", "cpu", "memory", "clock", "pulseaudio", "hyprland/language", + "custom/notification", + "tray", "custom/power" ], @@ -101,5 +102,22 @@ "suspend": "systemctl suspend", "hibernate": "systemctl hibernate" } + }, + + "custom/notification": { + "tooltip": false, + "format": "{icon}", + "format-icons": { + "notification": "", + "none": " ", + "dnd-notification": "", + "dnd-none": " " + }, + "return-type": "json", + "exec-if": "which swaync-client", + "exec": "swaync-client -swb", + "on-click": "sleep 0.1 && swaync-client -t -sw", + "on-click-right": "sleep 0.1 && swaync-client -d -sw", + "escape": true } } diff --git a/.config/waybar/style.css b/.config/waybar/style.css index 8f358e7..d403ee5 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -132,6 +132,15 @@ window#waybar { color: @gold; } +#language { + margin: 5px 5px 2px 5px; + padding-left: 10px; + padding-right: 10px; + border-radius: 3px; + background-color: @base; + color: @foam; +} + #custom-power { margin: 5px 5px 2px 5px; padding-left: 10px; @@ -141,11 +150,11 @@ window#waybar { color: @text; } -#language { +#custom-notification { margin: 5px 5px 2px 5px; padding-left: 10px; padding-right: 10px; border-radius: 3px; background-color: @base; - color: @foam; + color: @iris; } diff --git a/.config/xdg-desktop-portal/hyprland-portals.conf b/.config/xdg-desktop-portal/hyprland-portals.conf new file mode 100644 index 0000000..535a994 --- /dev/null +++ b/.config/xdg-desktop-portal/hyprland-portals.conf @@ -0,0 +1,3 @@ +[preferred] +default = hyprland;gtk +org.freedesktop.impl.portal.FileChooser = lxqt \ No newline at end of file diff --git a/.zshrc b/.zshrc index 3e4d9d5..4ef6248 100644 --- a/.zshrc +++ b/.zshrc @@ -88,11 +88,16 @@ alias zed='zeditor' alias chall='~/Scripts/challenges.sh' alias backup='~/Scripts/backup.sh' +alias newpost='~/Scripts/newPost.sh' +alias editpost='~/Scripts/editPost.sh' +alias pushpost='~/Scripts/pushBlog.sh' alias brew='echo "Remeber what happened last time. You do not want to do that."' alias ustow='export CURRENT_PATH=$(pwd) && cd ~/myHome/Dotfiles && stow -t /home/luna . && cd $CURRENT_PATH' +alias cdBlog='export CURRENT_PATH=$(pwd) && cd ~/myHome/Projects/Blog' + # Paths PATH="$HOME/.npm-packages/bin:$PATH" PATH="$HOME/.bun/bin:$PATH" diff --git a/Scripts/editPost.sh b/Scripts/editPost.sh new file mode 100755 index 0000000..7507b5a --- /dev/null +++ b/Scripts/editPost.sh @@ -0,0 +1 @@ +nvim "$HOME/myHome/Projects/Blog/src/content/posts/$1.md" diff --git a/Scripts/newPost.sh b/Scripts/newPost.sh new file mode 100755 index 0000000..2628e8c --- /dev/null +++ b/Scripts/newPost.sh @@ -0,0 +1,7 @@ +CURRENT_PATH=$(pwd) + +cd $HOME/myHome/Projects/Blog + +pnpm new-post "$1" + +cd $CURRENT_PATH diff --git a/Scripts/pushBlog.sh b/Scripts/pushBlog.sh new file mode 100755 index 0000000..0280e26 --- /dev/null +++ b/Scripts/pushBlog.sh @@ -0,0 +1,9 @@ +CURRENT_PATH=$(pwd) + +cd $HOME/myHome/Projects/Blog + +git add . +git commit -m "$1" +git push + +cd $CURRENT_PATH