diff --git a/.config/hypr/config/Keybinds.conf b/.config/hypr/config/Keybinds.conf
index db40333..ea5ba3f 100644
--- a/.config/hypr/config/Keybinds.conf
+++ b/.config/hypr/config/Keybinds.conf
@@ -1,15 +1,14 @@
$mainMod = SUPER
# Default
-$scriptsDir = $HOME/.config/hypr/scripts
+$scriptsDir = $HOME/.config/scripts
$configs = $HOME/.config/hypr/configs
$files = hyprdrop ghostty --identifier yazi_hyprdrop --args="yazi" --env="PWD=~/"
$term = ghostty
-$scriptsDir = $HOME/.config/hypr/scripts
+$appLauncher = anyrun
bind = $mainMod, Q, killactive,
-bind = $mainMod SHIFT, Q, exec, $scriptsDir/KillActiveProcess.sh
# Special Keys / Hot Keys
bindel = , xf86audioraisevolume, exec, $scriptsDir/Volume.sh --inc # volume up
@@ -92,12 +91,11 @@ bindm = $mainMod SHIFT, mouse:272, movewindow
bindm = $mainMod SHIFT, mouse:273, resizewindow
# Stuff
-bind = $mainMod SHIFT, C, exec, $scriptsDir/Refresh.sh # Refresh waybar, swaync, rofi
bind = $mainMod, N, exec, $scriptsDir/LockScreen.sh # screen lock
bind = , Print, exec, $scriptsDir/ScreenShot.sh --area # screenshot (area)
bind = , F12, exec, $scriptsDir/ScreenShot.sh --active # screenshot (active window only)
-bind = $mainMod SHIFT, N, exec, $scriptsDir/Toolkit.sh # swayNC notification panel
+bind = $mainMod SHIFT, N, exec, $scriptsDir/anyrun/Toolkit.sh # swayNC notification panel
bind = $mainMod SHIFT, L, movecurrentworkspacetomonitor, r
@@ -110,7 +108,7 @@ bind = $mainMod, Space, fullscreen, 0
# rofi App launcher
#bind = $mainMod, Tab, exec, nwg-drawer -pbexit "wayland-logout" -pbpoweroff "systemctl poweroff" -pbreboot "systemctl reboot"
-bind = $mainMod, Tab, exec, anyrun
+bind = $mainMod, Tab, exec, $appLauncher
bind = ALT, Tab, exec, hyprswitch gui --mod-key alt --key tab
bind = $mainMod, Return, exec, $term
@@ -118,7 +116,7 @@ bind = $mainMod Shift, Return, exec, hyprdrop ghostty --identifier term_hyprdrop
bind = $mainMod, T, exec, $files
bind = $mainMod, R, focusurgentorlast
-bind = $mainMod, P, exec, $scriptsDir/Bitwarden.sh
+bind = $mainMod, P, exec, $scriptsDir/anyrun/Bitwarden.sh
# Master Layout Keybinds
bind = $mainMod, A, layoutmsg,swapwithmaster master
diff --git a/.config/hypr/config/Monitors.conf##class.PC,default b/.config/hypr/config/Monitors.conf##class.PC
similarity index 100%
rename from .config/hypr/config/Monitors.conf##class.PC,default
rename to .config/hypr/config/Monitors.conf##class.PC
diff --git a/.config/hypr/config/Monitors.conf##default b/.config/hypr/config/Monitors.conf##default
new file mode 100644
index 0000000..e69de29
diff --git a/.config/hypr/config/Startup_Apps.conf b/.config/hypr/config/Startup_Apps.conf
index 24256ee..f4af3f1 100644
--- a/.config/hypr/config/Startup_Apps.conf
+++ b/.config/hypr/config/Startup_Apps.conf
@@ -2,7 +2,6 @@
#Commands & Apps to be executed at launch
$scriptsDir = $HOME/.config/hypr/scripts
-$UserScripts = $HOME/.config/hypr/UserScripts
# wallpaper stuff / More wallpaper options below
exec-once = swww-daemon --format xrgb
@@ -11,9 +10,6 @@ exec-once = swww-daemon --format xrgb
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
-# Polkit (Polkit Gnome / KDE)
-exec-once = $scriptsDir/Polkit.sh
-
# starup apps
exec-once = waybar &
exec-once = nm-applet --indicator &
diff --git a/.config/hypr/config/WorkspaceRules.conf##class.PC,default b/.config/hypr/config/WorkspaceRules.conf##class.PC
similarity index 100%
rename from .config/hypr/config/WorkspaceRules.conf##class.PC,default
rename to .config/hypr/config/WorkspaceRules.conf##class.PC
diff --git a/.config/hypr/config/WorkspaceRules.conf##default b/.config/hypr/config/WorkspaceRules.conf##default
new file mode 100644
index 0000000..e69de29
diff --git a/.config/hypr/hypridle.conf b/.config/hypr/hypridle.conf
index aeb0258..2b260b1 100644
--- a/.config/hypr/hypridle.conf
+++ b/.config/hypr/hypridle.conf
@@ -5,7 +5,6 @@
general {
lock_cmd = pidof hyprlock || hyprlock # runs hyprlock if it is not already running (this is always run when "loginctl lock-session" is called)
- # unlock_cmd = killall hyprlock # kills hyprlock when unlocking (this is always run when "loginctl unlock-session" is called)
before_sleep_cmd = loginctl lock-session # ensures that the session is locked before going to sleep
after_sleep_cmd = hyprctl dispatch dpms on # turn of screen after sleep (not strictly necessary, but just in case)
ignore_dbus_inhibit = false # whether to ignore dbus-sent idle-inhibit requests (used by e.g. firefox or steam)
@@ -13,11 +12,11 @@ general {
# turn off screen faster if session is already locked
# (disabled by default)
-# listener {
-# timeout = 30 # 30 seconds
-# on-timeout = pidof hyprlock && hyprctl dispatch dpms off # turns off the screen if hyprlock is active
-# on-resume = pidof hyprlock && hyprctl dispatch dpms on # command to run when activity is detected after timeout has fired.
-# }
+listener {
+ timeout = 30 # 30 seconds
+ on-timeout = pidof hyprlock && hyprctl dispatch dpms off # turns off the screen if hyprlock is active
+ on-resume = pidof hyprlock && hyprctl dispatch dpms on # command to run when activity is detected after timeout has fired.
+}
# Warn
listener {
@@ -40,10 +39,3 @@ listener {
# on-timeout = hyprctl dispatch dpms off # command to run when timeout has passed
# on-resume = hyprctl dispatch dpms on # command to run when activity is detected after timeout has fired.
# }
-
-# Suspend # disabled by default
-# listener {
- # timeout = 1200 # 20 min
- # on-timeout = systemctl suspend # command to run when timeout has passed
- # on-resume = notify-send "Welcome back to your desktop!" # command to run when activity is detected after timeout has fired.
-# }
diff --git a/.config/hypr/hyprlock-2k.conf b/.config/hypr/hyprlock-2k.conf
deleted file mode 100644
index e834d52..0000000
--- a/.config/hypr/hyprlock-2k.conf
+++ /dev/null
@@ -1,161 +0,0 @@
-# /* ---- š« https://github.com/JaKooLit š« ---- */ #
-# Hyprlock config for => 2k monitor resolutions
-# Original config submitted by https://github.com/SherLock707
-
-# Sourcing colors generated by wallust
-source = $HOME/.config/hypr/wallust/wallust-hyprland.conf
-$Scripts = $HOME/.config/hypr/scripts
-
-general {
- grace = 1
-}
-
-background {
- monitor =
- # NOTE: use only 1 path
- #path = screenshot # screenshot of your desktop
- path = $HOME/.config/hypr/wallpaper_effects/.wallpaper_modified # NOTE only png supported for now
- #path = $HOME/.config/hypr/wallpaper_effects/.wallpaper_current # current wallpaper
-
- #color = $color7
-
- # all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
- blur_size = 2
- blur_passes = 1 # 0 disables blurring
- noise = 0.0117
- contrast = 1.3000 # Vibrant!!!
- brightness = 0.8000
- vibrancy = 0.2100
- vibrancy_darkness = 0.0
-}
-
-
-# Date
-label {
- monitor =
- text = cmd[update:18000000] echo " "$(date +'%A, %-d %B')" "
- color = $color12
- font_size = 24
- font_family = JetBrainsMono Nerd Font ExtraBold
- position = 0, -100
- halign = center
- valign = top
-}
-
-# Hour-Time
-label {
- monitor =
- text = cmd[update:1000] echo "$(date +"%H")"
-# text = cmd[update:1000] echo "$(date +"%I")" #AM/PM
- #color = rgba(255, 185, 0, .8)
- color = $color13
- font_size = 200
- font_family = JetBrainsMono Nerd Font ExtraBold
- position = 0, -150
- halign = center
- valign = top
-}
-
-# Minute-Time
-label {
- monitor =
- text = cmd[update:1000] echo "$(date +"%M")"
- #color = rgba(15, 10, 222, .8)
- color = $color12
- font_size = 200
- font_family = JetBrainsMono Nerd Font ExtraBold
- position = 0, -475
- halign = center
- valign = top
-}
-
-# Seconds-Time
-label {
- monitor =
- text = cmd[update:1000] echo "$(date +"%S")"
-# text = cmd[update:1000] echo "$(date +"%S %p")" #AM/PM
- color = $color11
- font_size = 40
- font_family = JetBrainsMono Nerd Font ExtraBold
- position = 0, -460
- halign = center
- valign = top
-}
-
-# Put a picture of choice here. Default is the current wallpaper
-image {
- monitor =
- path = $HOME/.config/hypr/wallpaper_effects/.wallpaper_current
- size = 160
- rounding = -1
- border_size = 0
- border_color = $color11
- rotate = 0
- reload_time = -1
- position = 0, 400
- halign = center
- valign = bottom
-}
-
-# USER
-label {
- monitor =
- text = ļ¾ $USER
- color = $color13
- outline_thickness = 2
- dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
- dots_spacing = 0.2 # Scale of dots' absolute size, 0.0 - 1.0
- dots_center = true
- font_size = 24
- font_family = JetBrainsMono Nerd Font ExtraBold
- position = 0, 150
- halign = center
- valign = bottom
-}
-
-
-# INPUT FIELD
-input-field {
- monitor =
- size = 300, 60
- outline_thickness = 2
- dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
- dots_spacing = 0.2 # Scale of dots' absolute size, 0.0 - 1.0
- dots_center = true
- outer_color = rgba(0, 0, 0, 0)
- inner_color = rgba(255, 255, 255, 0.1)
- font_color = $color11
- fade_on_empty = false
- font_family = JetBrainsMono Nerd Font ExtraBold
- placeholder_text = š Type Password
- hide_input = false
- position = 0, 250
- halign = center
- valign = bottom
-}
-
-# uptime
-label {
- monitor =
- text = cmd[update:60000] echo " "$(uptime -p || $Scripts/UptimeNixOS.sh)" "
- color = $color13
- font_size = 18
- font_family = JetBrainsMono Nerd Font ExtraBold
- position = 0, 0
- halign = right
- valign = bottom
-}
-
-# weather edit the scripts for locations
-# weather scripts are located in ~/.config/hypr/UserScripts Weather.sh and/or Weather.py
-# see https://github.com/JaKooLit/Hyprland-Dots/wiki/TIPS#%EF%B8%8F-weather-app-related-for-waybar-and-hyprlock
-label {
- monitor =
- text = cmd[update:3600000] [ -f ~/.cache/.weather_cache ] && cat ~/.cache/.weather_cache
- color = $color13
- font_size = 18
- font_family = JetBrainsMono Nerd Font ExtraBold
- position = 50, 0
- halign = left
- valign = bottom
-}
\ No newline at end of file
diff --git a/.config/hypr/pyprland.toml b/.config/hypr/pyprland.toml
deleted file mode 100644
index 2ab74e8..0000000
--- a/.config/hypr/pyprland.toml
+++ /dev/null
@@ -1,12 +0,0 @@
-[pyprland]
-
-plugins = [
- "scratchpads",
- "magnify",
-]
-
-[scratchpads.term]
-animation = "fromTop"
-command = "kitty --class kitty-dropterm"
-class = "kitty-dropterm"
-size = "75% 60%"
diff --git a/.config/hypr/scripts/Hypridle.sh b/.config/hypr/scripts/Hypridle.sh
deleted file mode 100755
index 5617671..0000000
--- a/.config/hypr/scripts/Hypridle.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/bash
-# /* ---- š« https://github.com/JaKooLit š« ---- */ ##
-# This is for custom version of waybar idle_inhibitor which activates / deactivates hypridle instead
-
-PROCESS="hypridle"
-
-if [[ "$1" == "status" ]]; then
- sleep 1
- if pgrep -x "$PROCESS" >/dev/null; then
- echo '{"text": "RUNNING", "class": "active", "tooltip": "idle_inhibitor NOT ACTIVE\nLeft Click: Activate\nRight Click: Lock Screen"}'
- else
- echo '{"text": "NOT RUNNING", "class": "notactive", "tooltip": "idle_inhibitor is ACTIVE\nLeft Click: Deactivate\nRight Click: Lock Screen"}'
- fi
-elif [[ "$1" == "toggle" ]]; then
- if pgrep -x "$PROCESS" >/dev/null; then
- pkill "$PROCESS"
- else
- "$PROCESS"
- fi
-else
- echo "Usage: $0 {status|toggle}"
- exit 1
-fi
diff --git a/.config/hypr/scripts/KillActiveProcess.sh b/.config/hypr/scripts/KillActiveProcess.sh
deleted file mode 100755
index bee146d..0000000
--- a/.config/hypr/scripts/KillActiveProcess.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/bash
-# /* ---- š« https://github.com/JaKooLit š« ---- */ ##
-
-# Copied from Discord post. Thanks to @Zorg
-
-
-# Get id of an active window
-active_pid=$(hyprctl activewindow | grep -o 'pid: [0-9]*' | cut -d' ' -f2)
-
-# Close active window
-kill $active_pid
\ No newline at end of file
diff --git a/.config/hypr/scripts/PortalHyprland.sh b/.config/hypr/scripts/PortalHyprland.sh
deleted file mode 100755
index 9bdf4b8..0000000
--- a/.config/hypr/scripts/PortalHyprland.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-# /* ---- š« https://github.com/JaKooLit š« ---- */ ##
-# For manually starting xdg-desktop-portal-hyprland
-
-sleep 1
-killall xdg-desktop-portal-hyprland
-killall xdg-desktop-portal-wlr
-killall xdg-desktop-portal-gnome
-killall xdg-desktop-portal
-sleep 1
-/usr/lib/xdg-desktop-portal-hyprland &
-/usr/libexec/xdg-desktop-portal-hyprland &
-sleep 2
-/usr/lib/xdg-desktop-portal &
-/usr/libexec/xdg-desktop-portal &
-
diff --git a/.config/hypr/scripts/Refresh.sh b/.config/hypr/scripts/Refresh.sh
deleted file mode 100755
index 77ba149..0000000
--- a/.config/hypr/scripts/Refresh.sh
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/bin/bash
-# /* ---- š« https://github.com/JaKooLit š« ---- */ ##
-# Scripts for refreshing ags, waybar, rofi, swaync, wallust
-
-SCRIPTSDIR=$HOME/.config/hypr/scripts
-UserScripts=$HOME/.config/hypr/UserScripts
-
-# Define file_exists function
-file_exists() {
- if [ -e "$1" ]; then
- return 0 # File exists
- else
- return 1 # File does not exist
- fi
-}
-
-# Kill already running processes
-_ps=(waybar rofi swaync ags)
-for _prs in "${_ps[@]}"; do
- if pidof "${_prs}" >/dev/null; then
- pkill "${_prs}"
- fi
-done
-
-killall -SIGUSR2 waybar # added since wallust sometimes not applying
-
-# quit ags
-ags -q
-
-# relaunch ags
-ags &
-
-# Kill waybar & swaync (yet again) # added since wallust sometimes not applying
-_ps2=(waybar swaync)
-for _prs2 in "${_ps2[@]}"; do
- if pidof "${_prs2}" >/dev/null; then
- killall "${_prs2}"
- fi
-done
-
-# relaunch swaync
-sleep 0.5
-swaync > /dev/null 2>&1 &
-
-#Restart waybar
-sleep 1
-waybar &
-
-# Relaunching rainbow borders if the script exists
-sleep 1
-if file_exists "${UserScripts}/RainbowBorders.sh"; then
- ${UserScripts}/RainbowBorders.sh &
-fi
-
-
-
-exit 0
\ No newline at end of file
diff --git a/.config/hypr/scripts/RefreshNoWaybar.sh b/.config/hypr/scripts/RefreshNoWaybar.sh
deleted file mode 100755
index 1149682..0000000
--- a/.config/hypr/scripts/RefreshNoWaybar.sh
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/bash
-# /* ---- š« https://github.com/JaKooLit š« ---- */ ##
-
-# Modified version of Refresh.sh but waybar wont refresh
-# Used by automatic wallpaper change
-# Modified inorder to refresh rofi background, Wallust, SwayNC only
-
-SCRIPTSDIR=$HOME/.config/hypr/scripts
-UserScripts=$HOME/.config/hypr/UserScripts
-
-# Define file_exists function
-file_exists() {
- if [ -e "$1" ]; then
- return 0 # File exists
- else
- return 1 # File does not exist
- fi
-}
-
-# Kill already running processes
-_ps=(rofi)
-for _prs in "${_ps[@]}"; do
- if pidof "${_prs}" >/dev/null; then
- pkill "${_prs}"
- fi
-done
-
-# quit ags
-ags -q
-
-# Wallust refresh
-${SCRIPTSDIR}/WallustSwww.sh &
-
-# Relaunching rainbow borders if the script exists
-sleep 1
-if file_exists "${UserScripts}/RainbowBorders.sh"; then
- ${UserScripts}/RainbowBorders.sh &
-fi
-
-
-exit 0
\ No newline at end of file
diff --git a/.config/hypr/scripts/WallustSwww.sh b/.config/hypr/scripts/WallustSwww.sh
deleted file mode 100755
index 62dde37..0000000
--- a/.config/hypr/scripts/WallustSwww.sh
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/bash
-# /* ---- š« https://github.com/JaKooLit š« ---- */ ##
-# Wallust Colors for current wallpaper
-
-# Define the path to the swww cache directory
-cache_dir="$HOME/.cache/swww/"
-
-# Get a list of monitor outputs
-monitor_outputs=($(ls "$cache_dir"))
-
-# Initialize a flag to determine if the ln command was executed
-ln_success=false
-
-# Get current focused monitor
-current_monitor=$(hyprctl monitors | awk '/^Monitor/{name=$2} /focused: yes/{print name}')
-echo $current_monitor
-# Construct the full path to the cache file
-cache_file="$cache_dir$current_monitor"
-echo $cache_file
-# Check if the cache file exists for the current monitor output
-if [ -f "$cache_file" ]; then
- # Get the wallpaper path from the cache file
- wallpaper_path=$(grep -v 'Lanczos3' "$cache_file" | head -n 1)
- echo $wallpaper_path
- # symlink the wallpaper to the location Rofi can access
- if ln -sf "$wallpaper_path" "$HOME/.config/rofi/.current_wallpaper"; then
- ln_success=true # Set the flag to true upon successful execution
- fi
- # copy the wallpaper for wallpaper effects
- cp -r "$wallpaper_path" "$HOME/.config/hypr/wallpaper_effects/.wallpaper_current"
-fi
-
-# Check the flag before executing further commands
-if [ "$ln_success" = true ]; then
- # execute wallust
- echo 'about to execute wallust'
- # execute wallust skipping tty and terminal changes
- wallust run "$wallpaper_path" -s &
-fi
diff --git a/.config/hypr/scripts/Weather.py b/.config/hypr/scripts/Weather.py
deleted file mode 100755
index e3a6c53..0000000
--- a/.config/hypr/scripts/Weather.py
+++ /dev/null
@@ -1,138 +0,0 @@
-#!/usr/bin/env python3
-# /* ---- š« https://github.com/JaKooLit š« ---- */ #
-# weather using python
-
-import subprocess
-from pyquery import PyQuery # install using `pip install pyquery`
-import json
-import os
-
-# original code https://gist.github.com/Surendrajat/ff3876fd2166dd86fb71180f4e9342d7
-# weather icons
-weather_icons = {
- "sunnyDay": "ó°",
- "clearNight": "ó°",
- "cloudyFoggyDay": "ī",
- "cloudyFoggyNight": "ī",
- "rainyDay": "ī",
- "rainyNight": "ī±",
- "snowyIcyDay": "ī",
- "snowyIcyNight": "ī§",
- "severe": "ī®",
- "default": "ī",
-}
-
-# get location_id
-# to get your own location_id, go to https://weather.com & search your location.
-# once you choose your location, you can see the location_id in the URL(64 chars long hex string)
-# like this: https://weather.com/en-PH/weather/today/l/bca47d1099e762a012b9a139c36f30a0b1e647f69c0c4ac28b537e7ae9c1c200
-location_id = "bca47d1099e762a012b9a139c36f30a0b1e647f69c0c4ac28b537e7ae9c1c200" # TODO
-
-# NOTE to change to deg F, change the URL to your preffered location after weather.com
-# Default is English-Philippines with Busan, South Korea as location_id
-# get html page
-url = "https://weather.com/en-PH/weather/today/l/" + location_id
-html_data = PyQuery(url=url)
-
-# current temperature
-temp = html_data("span[data-testid='TemperatureValue']").eq(0).text()
-# print(temp)
-
-# current status phrase
-status = html_data("div[data-testid='wxPhrase']").text()
-status = f"{status[:16]}.." if len(status) > 17 else status
-# print(status)
-
-# status code
-status_code = html_data("#regionHeader").attr("class").split(" ")[2].split("-")[2]
-# print(status_code)
-
-# status icon
-icon = (
- weather_icons[status_code]
- if status_code in weather_icons
- else weather_icons["default"]
-)
-# print(icon)
-
-# temperature feels like
-temp_feel = html_data(
- "div[data-testid='FeelsLikeSection'] > span > span[data-testid='TemperatureValue']"
-).text()
-temp_feel_text = f"Feels like {temp_feel}c"
-# print(temp_feel_text)
-
-# min-max temperature
-temp_min = (
- html_data("div[data-testid='wxData'] > span[data-testid='TemperatureValue']")
- .eq(1)
- .text()
-)
-temp_max = (
- html_data("div[data-testid='wxData'] > span[data-testid='TemperatureValue']")
- .eq(0)
- .text()
-)
-temp_min_max = f"ļ {temp_min}\t\tļ {temp_max}"
-# print(temp_min_max)
-
-# wind speed
-wind_speed = html_data("span[data-testid='Wind']").text().split("\n")[1]
-wind_text = f"ī¾ {wind_speed}"
-# print(wind_text)
-
-# humidity
-humidity = html_data("span[data-testid='PercentageValue']").text()
-humidity_text = f"ī³ {humidity}"
-# print(humidity_text)
-
-# visibility
-visbility = html_data("span[data-testid='VisibilityValue']").text()
-visbility_text = f"ļ® {visbility}"
-# print(visbility_text)
-
-# air quality index
-air_quality_index = html_data("text[data-testid='DonutChartValue']").text()
-# print(air_quality_index)
-
-# hourly rain prediction
-prediction = html_data("section[aria-label='Hourly Forecast']")(
- "div[data-testid='SegmentPrecipPercentage'] > span"
-).text()
-prediction = prediction.replace("Chance of Rain", "")
-prediction = f"\n\nī (hourly) {prediction}" if len(prediction) > 0 else prediction
-# print(prediction)
-
-# tooltip text
-tooltip_text = str.format(
- "\t\t{}\t\t\n{}\n{}\n{}\n\n{}\n{}\n{}{}",
- f'{temp}',
- f" {icon}",
- f"{status}",
- f"{temp_feel_text}",
- f"{temp_min_max}",
- f"{wind_text}\t{humidity_text}",
- f"{visbility_text}\tAQI {air_quality_index}",
- f" {prediction}",
-)
-
-# print waybar module data
-out_data = {
- "text": f"{icon} {temp}",
- "alt": status,
- "tooltip": tooltip_text,
- "class": status_code,
-}
-print(json.dumps(out_data))
-
-simple_weather =f"{icon} {status}\n" + \
- f"ļ {temp} ({temp_feel_text})\n" + \
- f"{wind_text} \n" + \
- f"{humidity_text} \n" + \
- f"{visbility_text} AQI{air_quality_index}\n"
-
-try:
- with open(os.path.expanduser("~/.cache/.weather_cache"), "w") as file:
- file.write(simple_weather)
-except:
- pass
diff --git a/.config/hypr/scripts/Wlogout.sh b/.config/hypr/scripts/Wlogout.sh
deleted file mode 100755
index ed3606c..0000000
--- a/.config/hypr/scripts/Wlogout.sh
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/bin/bash
-# /* ---- š« https://github.com/JaKooLit š« ---- */ ##
-# wlogout (Power, Screen Lock, Suspend, etc)
-
-# Set variables for parameters. First numbers corresponts to Monitor Resolution
-# i.e 2160 means 2160p
-A_2160=700
-B_2160=700
-A_1600=650
-B_1600=650
-A_1440=450
-B_1440=450
-A_1080=350
-B_1080=350
-A_720=50
-B_720=50
-
-# Check if wlogout is already running
-if pgrep -x "wlogout" > /dev/null; then
- pkill -x "wlogout"
- exit 0
-fi
-
-# Detect monitor resolution and scaling factor
-resolution=$(hyprctl -j monitors | jq -r '.[] | select(.focused==true) | .height / .scale' | awk -F'.' '{print $1}')
-hypr_scale=$(hyprctl -j monitors | jq -r '.[] | select(.focused==true) | .scale')
-
-# Set parameters based on screen resolution and scaling factor
-if ((resolution >= 2160)); then
- T_val=$(awk "BEGIN {printf \"%.0f\", $A_2160 * 2160 * $hypr_scale / $resolution}")
- B_val=$(awk "BEGIN {printf \"%.0f\", $B_2160 * 2160 * $hypr_scale / $resolution}")
- echo "Setting parameters for resolution >= 4k"
- wlogout --protocol layer-shell -b 6 -T $T_val -B $B_val &
-elif ((resolution >= 1600 && resolution < 2160)); then
- T_val=$(awk "BEGIN {printf \"%.0f\", $A_1600 * 1600 * $hypr_scale / $resolution}")
- B_val=$(awk "BEGIN {printf \"%.0f\", $B_1600 * 1600 * $hypr_scale / $resolution}")
- echo "Setting parameters for resolution >= 2.5k and < 4k"
- wlogout --protocol layer-shell -b 6 -T $T_val -B $B_val &
-elif ((resolution >= 1440 && resolution < 1600)); then
- T_val=$(awk "BEGIN {printf \"%.0f\", $A_1440 * 1440 * $hypr_scale / $resolution}")
- B_val=$(awk "BEGIN {printf \"%.0f\", $B_1440 * 1440 * $hypr_scale / $resolution}")
- echo "Setting parameters for resolution >= 2k and < 2.5k"
- wlogout --protocol layer-shell -b 6 -T $T_val -B $B_val &
-elif ((resolution >= 1080 && resolution < 1440)); then
- T_val=$(awk "BEGIN {printf \"%.0f\", $A_1080 * 1080 * $hypr_scale / $resolution}")
- B_val=$(awk "BEGIN {printf \"%.0f\", $B_1080 * 1080 * $hypr_scale / $resolution}")
- echo "Setting parameters for resolution >= 1080p and < 2k"
- wlogout --protocol layer-shell -b 6 -T $T_val -B $B_val &
-elif ((resolution >= 720 && resolution < 1080)); then
- T_val=$(awk "BEGIN {printf \"%.0f\", $A_720 * 720 * $hypr_scale / $resolution}")
- B_val=$(awk "BEGIN {printf \"%.0f\", $B_720 * 720 * $hypr_scale / $resolution}")
- echo "Setting parameters for resolution >= 720p and < 1080p"
- wlogout --protocol layer-shell -b 3 -T $T_val -B $B_val &
-else
- echo "Setting default parameters"
- wlogout &
-fi
diff --git a/.config/hypr/v2.3.9 b/.config/hypr/v2.3.9
deleted file mode 100644
index 31b3414..0000000
--- a/.config/hypr/v2.3.9
+++ /dev/null
@@ -1,5 +0,0 @@
-### https://github.com/JaKooLit ###
-## https://github.com/JaKooLit/Hyprland-Dots
-## This is to have a reference of which version would be
-
-## note that this will always be higher than the released versions
\ No newline at end of file
diff --git a/.config/hypr/wallust/wallust-hyprland.conf b/.config/hypr/wallust/wallust-hyprland.conf
deleted file mode 100644
index 82084f6..0000000
--- a/.config/hypr/wallust/wallust-hyprland.conf
+++ /dev/null
@@ -1,21 +0,0 @@
-# /* ---- š« https://github.com/JaKooLit š« ---- */
-# /* wallust template - colors-hyprland */
-
-$background = rgb(26272C)
-$foreground = rgb(F5F3F2)
-$color0 = rgb(4B4C52)
-$color1 = rgb(5B4438)
-$color2 = rgb(604A3F)
-$color3 = rgb(515870)
-$color4 = rgb(82756D)
-$color5 = rgb(A0865E)
-$color6 = rgb(A9A6A3)
-$color7 = rgb(E8E5E3)
-$color8 = rgb(A2A19F)
-$color9 = rgb(7A5A4B)
-$color10 = rgb(806254)
-$color11 = rgb(6C7596)
-$color12 = rgb(AE9B92)
-$color13 = rgb(D6B27D)
-$color14 = rgb(E2DDD9)
-$color15 = rgb(E8E5E3)
diff --git a/.config/hypr/scripts/LockScreen.sh b/.config/scripts/LockScreen.sh
similarity index 100%
rename from .config/hypr/scripts/LockScreen.sh
rename to .config/scripts/LockScreen.sh
diff --git a/.config/hypr/scripts/MediaCtrl.sh b/.config/scripts/MediaCtrl.sh
similarity index 100%
rename from .config/hypr/scripts/MediaCtrl.sh
rename to .config/scripts/MediaCtrl.sh
diff --git a/.config/hypr/scripts/ScreenShot.sh b/.config/scripts/ScreenShot.sh
similarity index 100%
rename from .config/hypr/scripts/ScreenShot.sh
rename to .config/scripts/ScreenShot.sh
diff --git a/.config/hypr/scripts/Volume.sh b/.config/scripts/Volume.sh
similarity index 100%
rename from .config/hypr/scripts/Volume.sh
rename to .config/scripts/Volume.sh
diff --git a/.config/hypr/scripts/WaybarCava.sh b/.config/scripts/WaybarCava.sh
similarity index 100%
rename from .config/hypr/scripts/WaybarCava.sh
rename to .config/scripts/WaybarCava.sh
diff --git a/.config/hypr/scripts/Weather.sh b/.config/scripts/Weather.sh
similarity index 100%
rename from .config/hypr/scripts/Weather.sh
rename to .config/scripts/Weather.sh
diff --git a/.config/hypr/scripts/Bitwarden.sh b/.config/scripts/anyrun/Bitwarden.sh
similarity index 100%
rename from .config/hypr/scripts/Bitwarden.sh
rename to .config/scripts/anyrun/Bitwarden.sh
diff --git a/.config/hypr/scripts/Toolkit.sh b/.config/scripts/anyrun/Toolkit.sh
similarity index 100%
rename from .config/hypr/scripts/Toolkit.sh
rename to .config/scripts/anyrun/Toolkit.sh
diff --git a/.config/waybar/Modules.json b/.config/waybar/Modules.json
index 992910c..883da8c 100644
--- a/.config/waybar/Modules.json
+++ b/.config/waybar/Modules.json
@@ -51,8 +51,8 @@
"on-click-middle": "",
"on-click-right": "",
"on-update": "",
- "on-scroll-up": "$HOME/.config/hypr/scripts/Brightness.sh --inc",
- "on-scroll-down": "$HOME/.config/hypr/scripts/Brightness.sh --dec",
+ "on-scroll-up": "$HOME/.config/scripts/Brightness.sh --inc",
+ "on-scroll-down": "$HOME/.config/scripts/Brightness.sh --dec",
"smooth-scrolling-threshold": 1
},
"backlight#2": {
@@ -82,8 +82,8 @@
"format-time": "{H}h {M}min",
"tooltip": true,
"tooltip-format": "{timeTo} {power}w",
- "on-click-middle": "$HOME/.config/hypr/scripts/ChangeBlur.sh",
- "on-click-right": "$HOME/.config/hypr/scripts/Wlogout.sh",
+ "on-click-middle": "$HOME/.config/scripts/ChangeBlur.sh",
+ "on-click-right": "$HOME/.config/scripts/Wlogout.sh",
},
"bluetooth": {
"format": "ļ ",
@@ -227,8 +227,8 @@
"on-click": "playerctl previous",
"on-click-right": "playerctl next",
"scroll-step": 5.0,
- "on-scroll-up": "$HOME/.config/hypr/scripts/Volume.sh --inc",
- "on-scroll-down": "$HOME/.config/hypr/scripts/Volume.sh --dec",
+ "on-scroll-up": "$HOME/.config/scripts/Volume.sh --inc",
+ "on-scroll-down": "$HOME/.config/scripts/Volume.sh --dec",
"smooth-scrolling-threshold": 1,
"player-icons": {
"chromium": "ļØ",
@@ -310,10 +310,10 @@
],
},
"scroll-step": 5.0,
- "on-click": "$HOME/.config/hypr/scripts/Volume.sh --toggle",
+ "on-click": "$HOME/.config/scripts/Volume.sh --toggle",
"on-click-right": "pavucontrol -t 3",
- "on-scroll-up": "$HOME/.config/hypr/scripts/Volume.sh --inc",
- "on-scroll-down": "$HOME/.config/hypr/scripts/Volume.sh --dec",
+ "on-scroll-up": "$HOME/.config/scripts/Volume.sh --inc",
+ "on-scroll-down": "$HOME/.config/scripts/Volume.sh --dec",
"tooltip-format": "{icon} {desc} | {volume}%",
"smooth-scrolling-threshold": 1,
},
@@ -340,10 +340,10 @@
"format": "{format_source}",
"format-source": "ļ° {volume}%",
"format-source-muted": "ļ±",
- "on-click": "$HOME/.config/hypr/scripts/Volume.sh --toggle-mic",
+ "on-click": "$HOME/.config/scripts/Volume.sh --toggle-mic",
"on-click-right": "pavucontrol -t 4",
- "on-scroll-up": "$HOME/.config/hypr/scripts/Volume.sh --mic-inc",
- "on-scroll-down": "$HOME/.config/hypr/scripts/Volume.sh --mic-dec",
+ "on-scroll-up": "$HOME/.config/scripts/Volume.sh --mic-inc",
+ "on-scroll-down": "$HOME/.config/scripts/Volume.sh --mic-dec",
"tooltip-format": "{source_desc} | {source_volume}%",
"scroll-step": 5,
},
@@ -354,10 +354,10 @@
"wireplumber": {
"format": "{icon} {volume} %",
"format-muted": "ļ¦ Mute",
- "on-click": "$HOME/.config/hypr/scripts/Volume.sh --toggle",
+ "on-click": "$HOME/.config/scripts/Volume.sh --toggle",
"on-click-right": "pavucontrol -t 3",
- "on-scroll-up": "$HOME/.config/hypr/scripts/Volume.sh --inc",
- "on-scroll-down": "$HOME/.config/hypr/scripts/Volume.sh --dec",
+ "on-scroll-up": "$HOME/.config/scripts/Volume.sh --inc",
+ "on-scroll-down": "$HOME/.config/scripts/Volume.sh --dec",
"format-icons": [
"ļ¦", "ļ§", "ó°¾", "ļØ"
],
@@ -389,8 +389,8 @@
"on-click-middle": "",
"on-click-right": "",
"on-update": "",
- "on-scroll-up": "$HOME/.config/hypr/scripts/Brightness.sh --inc",
- "on-scroll-down": "$HOME/.config/hypr/scripts/Brightness.sh --dec",
+ "on-scroll-up": "$HOME/.config/scripts/Brightness.sh --inc",
+ "on-scroll-down": "$HOME/.config/scripts/Brightness.sh --dec",
"smooth-scrolling-threshold": 1,
"tooltip-format": "{percent}%",
},
@@ -441,10 +441,10 @@
],
},
"scroll-step": 5.0,
- "on-click": "$HOME/.config/hypr/scripts/Volume.sh --toggle",
+ "on-click": "$HOME/.config/scripts/Volume.sh --toggle",
"on-click-right": "pavucontrol -t 3",
- "on-scroll-up": "$HOME/.config/hypr/scripts/Volume.sh --inc",
- "on-scroll-down": "$HOME/.config/hypr/scripts/Volume.sh --dec",
+ "on-scroll-up": "$HOME/.config/scripts/Volume.sh --inc",
+ "on-scroll-down": "$HOME/.config/scripts/Volume.sh --dec",
"tooltip-format": "{icon} {desc} | {volume}%",
"smooth-scrolling-threshold": 1,
},
@@ -453,9 +453,9 @@
"format-source": "ó°¬",
"format-source-muted": "ó°",
"on-click-right": "pavucontrol",
- "on-click": "$HOME/.config/hypr/scripts/Volume.sh --toggle-mic",
- "on-scroll-up": "$HOME/.config/hypr/scripts/Volume.sh --mic-inc",
- "on-scroll-down": "$HOME/.config/hypr/scripts/Volume.sh --mic-dec",
+ "on-click": "$HOME/.config/scripts/Volume.sh --toggle-mic",
+ "on-scroll-up": "$HOME/.config/scripts/Volume.sh --mic-inc",
+ "on-scroll-down": "$HOME/.config/scripts/Volume.sh --mic-dec",
"max-volume": 100,
"tooltip": true,
"tooltip-format": "{source_desc} | {source_volume}%",
@@ -463,8 +463,8 @@
"custom/power_vertical": {
"format": "ā»",
"exec": "echo ; echo ó°” power // blur",
- "on-click": "$HOME/.config/hypr/scripts/Wlogout.sh",
- "on-click-right": "$HOME/.config/hypr/scripts/ChangeBlur.sh",
+ "on-click": "$HOME/.config/scripts/Wlogout.sh",
+ "on-click-right": "$HOME/.config/scripts/ChangeBlur.sh",
"interval": 86400,
"tooltip": true,
},
diff --git a/.config/waybar/ModulesCustom.json b/.config/waybar/ModulesCustom.json
index 6cbaa1e..45182d0 100644
--- a/.config/waybar/ModulesCustom.json
+++ b/.config/waybar/ModulesCustom.json
@@ -11,7 +11,7 @@
"format-alt-click": "click",
"interval": 3600,
"return-type": "json",
- "exec": "$HOME/.config/hypr/scripts/Weather.sh",
+ "exec": "$HOME/.config/scripts/Weather.sh",
//"exec": "$HOME/.config/hypr/UserScripts/Weather.py",
"exec-if": "ping wttr.in -c1",
"tooltip": true,
@@ -49,7 +49,7 @@
"format": "ļ¾ ",
"on-click": "$HOME/.config/hypr/UserScripts/WallpaperSelect.sh",
"on-click-right": "$HOME/.config/hypr/UserScripts/WallpaperRandom.sh",
- "on-click-middle": "$HOME/.config/hypr/scripts/WaybarStyles.sh",
+ "on-click-middle": "$HOME/.config/scripts/WaybarStyles.sh",
"tooltip": true,
"tooltip-format": "Left Click: Wallpaper Menu\nMiddle Click: Random wallpaper\nRight Click: Waybar Styles Menu",
},
@@ -61,8 +61,8 @@
"escape": true,
"exec-on-event": true,
"interval": 60,
- "exec": "$HOME/.config/hypr/scripts/Hypridle.sh status",
- "on-click": "$HOME/.config/hypr/scripts/Hypridle.sh toggle",
+ "exec": "$HOME/.config/scripts/Hypridle.sh status",
+ "on-click": "$HOME/.config/scripts/Hypridle.sh toggle",
"on-click-right": "hyprlock"
},
@@ -70,13 +70,13 @@
"exec": "cat $HOME/.cache/kb_layout",
"interval": 1,
"format": "ļ {}",
- "on-click": "$HOME/.config/hypr/scripts/SwitchKeyboardLayout.sh",
+ "on-click": "$HOME/.config/scripts/SwitchKeyboardLayout.sh",
},
"custom/light_dark": {
"format": "ó° ",
- "on-click": "$HOME/.config/hypr/scripts/DarkLight.sh",
- "on-click-right": "$HOME/.config/hypr/scripts/WaybarStyles.sh",
+ "on-click": "$HOME/.config/scripts/DarkLight.sh",
+ "on-click-right": "$HOME/.config/scripts/WaybarStyles.sh",
"on-click-middle": "$HOME/.config/hypr/UserScripts/WallpaperSelect.sh",
"tooltip": true,
"tooltip-format": "Left Click: Switch Dark-Light Themes\nMiddle Click: Wallpaper Menu\nRight Click: Waybar Styles Menu",
@@ -84,7 +84,7 @@
"custom/lock": {
"format": "ó°¾",
- "on-click": "$HOME/.config/hypr/scripts/LockScreen.sh",
+ "on-click": "$HOME/.config/scripts/LockScreen.sh",
"tooltip": true,
"tooltip-format": "ó°· Screen Lock",
},
@@ -93,13 +93,13 @@
"format": "ļ",
"on-click": "pkill rofi || rofi -show drun -modi run,drun,filebrowser,window",
"on-click-middle": "$HOME/.config/hypr/UserScripts/WallpaperSelect.sh",
- "on-click-right": "$HOME/.config/hypr/scripts/WaybarLayout.sh",
+ "on-click-right": "$HOME/.config/scripts/WaybarLayout.sh",
"tooltip": true,
"tooltip-format": "Left Click: Rofi Menu\nMiddle Click: Wallpaper Menu\nRight Click: Waybar Layout Menu",
},
// This is a custom cava visualizer
"custom/cava_mviz": {
- "exec": "$HOME/.config/hypr/scripts/WaybarCava.sh",
+ "exec": "$HOME/.config/scripts/WaybarCava.sh",
"format": "{}"
},
@@ -112,15 +112,15 @@
"on-click": "playerctl previous",
"on-click-right": "playerctl next",
"scroll-step": 5.0,
- "on-scroll-up": "$HOME/.config/hypr/scripts/Volume.sh --inc",
- "on-scroll-down": "$HOME/.config/hypr/scripts/Volume.sh --dec",
+ "on-scroll-up": "$HOME/.config/scripts/Volume.sh --inc",
+ "on-scroll-down": "$HOME/.config/scripts/Volume.sh --dec",
"smooth-scrolling-threshold": 1,
},
"custom/power": {
"format": "ā» ",
- "on-click": "$HOME/.config/hypr/scripts/Wlogout.sh",
- "on-click-right": "$HOME/.config/hypr/scripts/ChangeBlur.sh",
+ "on-click": "$HOME/.config/scripts/Wlogout.sh",
+ "on-click-right": "$HOME/.config/scripts/ChangeBlur.sh",
"tooltip": true,
"tooltip-format": "Left Click: Logout Menu\nRight Click: Change Blur",
},
diff --git a/.config/yazi/keymap.toml b/.config/yazi/keymap.toml
index 475cbcc..f344dec 100644
--- a/.config/yazi/keymap.toml
+++ b/.config/yazi/keymap.toml
@@ -1,4 +1,4 @@
-[manager]
+[mgr]
prepend_keymap = [
{ on = [ "", "m" ], run = "plugin mount", desc = "Displays mount dialog"},
{ on = [ "", 's'], run = "plugin what-size", desc = "Calc size of selection or cwd" },
diff --git a/.config/yazi/keymap.toml-1749306109066485 b/.config/yazi/keymap.toml-1749306109066485
new file mode 100644
index 0000000..475cbcc
--- /dev/null
+++ b/.config/yazi/keymap.toml-1749306109066485
@@ -0,0 +1,18 @@
+[manager]
+prepend_keymap = [
+ { on = [ "", "m" ], run = "plugin mount", desc = "Displays mount dialog"},
+ { on = [ "", 's'], run = "plugin what-size", desc = "Calc size of selection or cwd" },
+ { on = [ "", ''], run = "plugin what-size --args='--clipboard'", desc = "Calc size of selection or cwd" },
+ { on = ["", ""], desc = "Jump with zoxide", run = "plugin zoxide" },
+
+ { on = "b", run = [ "toggle", "arrow next" ], desc = "Toggle the current selection state" },
+
+ { on = "", desc = "Move to the tab on the left", run = "tab_switch 1 --relative" },
+ { on = "", desc = "Move to the tab on the right", run = "tab_switch -1 --relative" },
+ { on = ["c", 'm'], desc = "Change file mod", run = "plugin chmod"},
+ { on = ["", 'c'], desc = "Compress file", run = "plugin ouch" }
+]
+append_keymap = [
+ { on = ['c', 'v'], desc = "Drag selected files", run = "shell 'blobdrop -b \"$@\"'" },
+ { on = ["c", 'k'], desc = "Send using KDE Connect", run = "plugin kdeconnect-send"}
+]
diff --git a/.gitignore b/.gitignore
index 3dc7802..1fc9aaf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -37,6 +37,7 @@
!/.config/terminal/
!/.config/xdg-desktop-portal/
!/.config/xdg-desktop-portal-termfilechooser/
+!/.config/scripts/
!/.ssh/
/.ssh/*