aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJaKooLit <jimmilovejay@gmail.com>2023-11-05 16:43:02 +0900
committerJaKooLit <jimmilovejay@gmail.com>2023-11-05 16:43:02 +0900
commitb0b51bc8d22c72064f3ff4aa5304a8179fb491e0 (patch)
tree28ddbbb38cfa7ba1d684b7726951523bb99a7ce6 /config
parente7aefbad57de5b4cf828484ec4d9642b4ab60c1c (diff)
small update
Diffstat (limited to 'config')
-rwxr-xr-xconfig/hypr/scripts/DarkLight-swaybg.sh57
-rwxr-xr-xconfig/hypr/scripts/toggleallfloat.sh11
-rw-r--r--config/rofi/config-compact.rasi2
-rw-r--r--config/rofi/config-long.rasi3
-rw-r--r--config/rofi/config-rofi-Beats.rasi2
-rw-r--r--config/rofi/config.rasi2
6 files changed, 0 insertions, 77 deletions
diff --git a/config/hypr/scripts/DarkLight-swaybg.sh b/config/hypr/scripts/DarkLight-swaybg.sh
deleted file mode 100755
index ad8aa199..00000000
--- a/config/hypr/scripts/DarkLight-swaybg.sh
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/bin/bash
-set -x
-# Define the path
-wallpaper_path="$HOME/Pictures/wallpapers/Dynamic-Wallpapers"
-hypr_config_path="$HOME/.config/hypr"
-waybar_config="$HOME/.config/waybar"
-dunst_config="$HOME/.config/dunst"
-wofi_config="$HOME/.config/wofi"
-
-# Tokyo Night
-light_gtk_theme="Tokyonight-Light-B"
-dark_gtk_theme="Tokyonight-Dark-B"
-light_icon_theme="TokyoNight-SE"
-dark_icon_theme="TokyoNight-SE"
-
-# Define functions for notifying user and updating symlinks
-notify_user() {
- notify-send -h string:x-canonical-private-synchronous:sys-notify -u normal "Switching to $1 mode"
-}
-
-# Determine the current wallpaper mode by checking a configuration file
-if [ "$(cat ~/.wallpaper_mode)" = "light" ]; then
- current_mode="light"
- next_mode="dark"
-else
- current_mode="dark"
- next_mode="light"
-fi
-path_param=$(echo $next_mode | sed 's/.*/\u&/')
-
-notify_user "$next_mode"
-ln -sf "${waybar_config}/style/style-${next_mode}.css" "${waybar_config}/style.css"
-ln -sf "${dunst_config}/styles/dunstrc-${next_mode}" "${dunst_config}/styles/dunstrc"
-ln -sf "${wofi_config}/styles/style-${next_mode}.css" "${wofi_config}/style.css"
-
-gtk_theme="${next_mode}_gtk_theme"
-icon_theme="${next_mode}_icon_theme"
-
-gsettings set org.gnome.desktop.interface gtk-theme "${!gtk_theme}"
-gsettings set org.gnome.desktop.interface icon-theme "${!icon_theme}"
-
-# Find the next wallpaper if one exists
-current_wallpaper="$(cat ~/.current_wallpaper)"
-next_wallpaper="${current_wallpaper/_"$current_mode"/_"$next_mode"}"
-
-if ! [ -f "$next_wallpaper" ]; then
- next_wallpaper="$(find "${wallpaper_path/"${path_param}"}" -type f -iname "*_"${next_mode}".jpg" -print0 | shuf -n1 -z | xargs -0)"
-fi
-
-swaybg -m fill -i "${next_wallpaper}" &
-
-# Update the configuration file to reflect the new wallpaper mode and current wallpaper
-echo "$next_mode" > ~/.wallpaper_mode
-echo "$next_wallpaper" > ~/.current_wallpaper
-
-sleep 2
-exec ~/.config/hypr/scripts/Refresh.sh & \ No newline at end of file
diff --git a/config/hypr/scripts/toggleallfloat.sh b/config/hypr/scripts/toggleallfloat.sh
deleted file mode 100755
index fb6737ca..00000000
--- a/config/hypr/scripts/toggleallfloat.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/bash
-# _ _ _ __ _ _
-# / \ | | |/ _| | ___ __ _| |_
-# / _ \ | | | |_| |/ _ \ / _` | __|
-# / ___ \| | | _| | (_) | (_| | |_
-# /_/ \_\_|_|_| |_|\___/ \__,_|\__|
-#
-# by Stephan Raabe (2023)
-# -----------------------------------------------------
-
-hyprctl dispatch workspaceopt allfloat
diff --git a/config/rofi/config-compact.rasi b/config/rofi/config-compact.rasi
index 7248a107..4d2688f1 100644
--- a/config/rofi/config-compact.rasi
+++ b/config/rofi/config-compact.rasi
@@ -1,7 +1,5 @@
/*
-*/
-
/* ---- Configuration ---- */
configuration {
modi: "drun,run";
diff --git a/config/rofi/config-long.rasi b/config/rofi/config-long.rasi
index 71fe2cbb..efb3625d 100644
--- a/config/rofi/config-long.rasi
+++ b/config/rofi/config-long.rasi
@@ -1,7 +1,4 @@
/*
-*/
-
-
/* ---- Configuration ---- */
configuration {
modi: "drun,run";
diff --git a/config/rofi/config-rofi-Beats.rasi b/config/rofi/config-rofi-Beats.rasi
index e3923c8c..08a25d22 100644
--- a/config/rofi/config-rofi-Beats.rasi
+++ b/config/rofi/config-rofi-Beats.rasi
@@ -1,7 +1,5 @@
/*
-*/
-
/* ---- Configuration ---- */
configuration {
modi: "drun,run";
diff --git a/config/rofi/config.rasi b/config/rofi/config.rasi
index 5f228523..8d45154c 100644
--- a/config/rofi/config.rasi
+++ b/config/rofi/config.rasi
@@ -1,7 +1,5 @@
/*
-*/
-
/* ---- Configuration ---- */
configuration {
modi: "drun,run";
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage