From 91a5f9790cfd4a98ee940633694fb512ecf24942 Mon Sep 17 00:00:00 2001 From: Aargh Rai Date: Thu, 6 Aug 2026 00:29:36 +0530 Subject: i3 > hyprland & x11 > wayland --- hypr/battery-notif.sh | 16 ---- hypr/catppuccin/.editorconfig | 17 ---- hypr/catppuccin/LICENSE | 21 ----- hypr/catppuccin/README.md | 67 -------------- hypr/catppuccin/assets/.gitkeep | 0 hypr/catppuccin/assets/frappe.webp | Bin 31628 -> 0 bytes hypr/catppuccin/assets/latte.webp | Bin 35190 -> 0 bytes hypr/catppuccin/assets/macchiato.webp | Bin 36048 -> 0 bytes hypr/catppuccin/assets/mocha.webp | Bin 40346 -> 0 bytes hypr/catppuccin/assets/res.webp | Bin 320886 -> 0 bytes hypr/catppuccin/hyprland.tera | 12 --- hypr/catppuccin/justfile | 20 ----- hypr/catppuccin/renovate.json | 6 -- hypr/catppuccin/themes/frappe.conf | 78 ---------------- hypr/catppuccin/themes/latte.conf | 78 ---------------- hypr/catppuccin/themes/macchiato.conf | 78 ---------------- hypr/catppuccin/themes/mocha.conf | 78 ---------------- hypr/greyline.sh | 6 -- hypr/hypr-zoom/.github/workflows/main.yml | 33 ------- hypr/hypr-zoom/exec.sh | 8 -- hypr/hypr-zoom/go.mod | 5 -- hypr/hypr-zoom/go.sum | 2 - hypr/hypr-zoom/hypr-zoom.go | 143 ------------------------------ hypr/hypr-zoom/readme.md | 104 ---------------------- hypr/hypridle.conf | 22 ----- hypr/hyprland.conf | 74 ---------------- hypr/hyprland/env.conf | 5 -- hypr/hyprland/exec_once.conf | 6 -- hypr/hyprland/input.conf | 25 ------ hypr/hyprland/keybinds.conf | 73 --------------- hypr/hyprland/look_and_feel.conf | 79 ----------------- hypr/hyprland/vars.conf | 3 - hypr/hyprlock.conf | 85 ------------------ hypr/hyprlock/check-capslock.sh | 9 -- hypr/hyprlock/colors.conf | 7 -- hypr/hyprlock/status.sh | 29 ------ hypr/hyprpaper.conf | 5 -- hypr/hyprsunset.conf | 12 --- hypr/hyprsunset/decrease_sunset.sh | 1 - hypr/hyprsunset/increase_sunset.sh | 1 - hypr/monitors.conf | 0 hypr/wf-recorder/record.sh | 18 ---- hypr/workspaces.conf | 0 43 files changed, 1226 deletions(-) delete mode 100755 hypr/battery-notif.sh delete mode 100644 hypr/catppuccin/.editorconfig delete mode 100644 hypr/catppuccin/LICENSE delete mode 100644 hypr/catppuccin/README.md delete mode 100644 hypr/catppuccin/assets/.gitkeep delete mode 100644 hypr/catppuccin/assets/frappe.webp delete mode 100644 hypr/catppuccin/assets/latte.webp delete mode 100644 hypr/catppuccin/assets/macchiato.webp delete mode 100644 hypr/catppuccin/assets/mocha.webp delete mode 100644 hypr/catppuccin/assets/res.webp delete mode 100644 hypr/catppuccin/hyprland.tera delete mode 100644 hypr/catppuccin/justfile delete mode 100644 hypr/catppuccin/renovate.json delete mode 100644 hypr/catppuccin/themes/frappe.conf delete mode 100644 hypr/catppuccin/themes/latte.conf delete mode 100644 hypr/catppuccin/themes/macchiato.conf delete mode 100644 hypr/catppuccin/themes/mocha.conf delete mode 100755 hypr/greyline.sh delete mode 100644 hypr/hypr-zoom/.github/workflows/main.yml delete mode 100755 hypr/hypr-zoom/exec.sh delete mode 100644 hypr/hypr-zoom/go.mod delete mode 100644 hypr/hypr-zoom/go.sum delete mode 100644 hypr/hypr-zoom/hypr-zoom.go delete mode 100644 hypr/hypr-zoom/readme.md delete mode 100644 hypr/hypridle.conf delete mode 100644 hypr/hyprland.conf delete mode 100644 hypr/hyprland/env.conf delete mode 100644 hypr/hyprland/exec_once.conf delete mode 100644 hypr/hyprland/input.conf delete mode 100644 hypr/hyprland/keybinds.conf delete mode 100644 hypr/hyprland/look_and_feel.conf delete mode 100644 hypr/hyprland/vars.conf delete mode 100644 hypr/hyprlock.conf delete mode 100755 hypr/hyprlock/check-capslock.sh delete mode 100644 hypr/hyprlock/colors.conf delete mode 100755 hypr/hyprlock/status.sh delete mode 100644 hypr/hyprpaper.conf delete mode 100644 hypr/hyprsunset.conf delete mode 100755 hypr/hyprsunset/decrease_sunset.sh delete mode 100755 hypr/hyprsunset/increase_sunset.sh delete mode 100644 hypr/monitors.conf delete mode 100755 hypr/wf-recorder/record.sh delete mode 100644 hypr/workspaces.conf (limited to 'hypr') diff --git a/hypr/battery-notif.sh b/hypr/battery-notif.sh deleted file mode 100755 index 6c721a5..0000000 --- a/hypr/battery-notif.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env bash - -while true; do - status=$(cat /sys/class/power_supply/BAT1/status) - if [[ "$status" = "Discharging" ]]; then - battery=$(cat /sys/class/power_supply/BAT1/capacity) - if [[ battery -lt 16 ]]; then - notify-send -u critical "CHARGE" "Very Low Battery" -t 2000 - elif [[ battery -lt 31 ]]; then - notify-send -u normal "CHARGE" "Low Battery" -t 2000 - fi - fi - pid=$! - sleep 2 - kill $pid -done diff --git a/hypr/catppuccin/.editorconfig b/hypr/catppuccin/.editorconfig deleted file mode 100644 index a6f10bd..0000000 --- a/hypr/catppuccin/.editorconfig +++ /dev/null @@ -1,17 +0,0 @@ -# EditorConfig helps developers define and maintain consistent -# coding styles between different editors and IDEs -# EditorConfig is awesome: https://EditorConfig.org - -root = true - - -[*] -charset = utf-8 -indent_size = 4 -indent_style = tab -end_of_line = lf -insert_final_newline = true -trim_trailing_whitespace = true - -[*.{diff,md}] -trim_trailing_whitespace = false diff --git a/hypr/catppuccin/LICENSE b/hypr/catppuccin/LICENSE deleted file mode 100644 index 7ba7a87..0000000 --- a/hypr/catppuccin/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2021 Catppuccin - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/hypr/catppuccin/README.md b/hypr/catppuccin/README.md deleted file mode 100644 index 830c369..0000000 --- a/hypr/catppuccin/README.md +++ /dev/null @@ -1,67 +0,0 @@ -

- Logo
- - Catppuccin for Hyprland - -

- -

- - - -

- -

- -

- -## Previews - -
-🌻 Latte - -
-
-🪴 Frappé - -
-
-🌺 Macchiato - -
-
-🌿 Mocha - -
- -## Usage - -1. Download the file with your desired flavour e.g. `mocha.conf` (to be found in the [release](https://github.com/catppuccin/hyprland/releases/latest) or after cloning the repository in `themes/`) -2. Copy it into your hyprland config e.g. `~/.config/hypr/` -3. Include the file at the top of your `hyprland.conf` - - `source=~/.config/hypr/mocha.conf` -4. When using the non-alpha colors, use `$COLOR` e.g. `$base` -5. When using the alpha colors use something like `rgba($COLORAlpha)` e.g. `rgba($surface0Alphaee)` - -## 🙋 FAQ - -- Q: **_"Hyprland doesn't work with the colors"_**\ - A: Make sure you included the file in the right place and you are using `$COLOR` - -## 💝 Thanks to - -- [rubyowo](https://github.com/rubyowo) - -  - -

- -

- -

- Copyright © 2021-present Catppuccin Org -

- -

- -

diff --git a/hypr/catppuccin/assets/.gitkeep b/hypr/catppuccin/assets/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/hypr/catppuccin/assets/frappe.webp b/hypr/catppuccin/assets/frappe.webp deleted file mode 100644 index 761028c..0000000 Binary files a/hypr/catppuccin/assets/frappe.webp and /dev/null differ diff --git a/hypr/catppuccin/assets/latte.webp b/hypr/catppuccin/assets/latte.webp deleted file mode 100644 index 1eaed94..0000000 Binary files a/hypr/catppuccin/assets/latte.webp and /dev/null differ diff --git a/hypr/catppuccin/assets/macchiato.webp b/hypr/catppuccin/assets/macchiato.webp deleted file mode 100644 index 23efdbd..0000000 Binary files a/hypr/catppuccin/assets/macchiato.webp and /dev/null differ diff --git a/hypr/catppuccin/assets/mocha.webp b/hypr/catppuccin/assets/mocha.webp deleted file mode 100644 index dbd78c2..0000000 Binary files a/hypr/catppuccin/assets/mocha.webp and /dev/null differ diff --git a/hypr/catppuccin/assets/res.webp b/hypr/catppuccin/assets/res.webp deleted file mode 100644 index 5343f0a..0000000 Binary files a/hypr/catppuccin/assets/res.webp and /dev/null differ diff --git a/hypr/catppuccin/hyprland.tera b/hypr/catppuccin/hyprland.tera deleted file mode 100644 index cefe390..0000000 --- a/hypr/catppuccin/hyprland.tera +++ /dev/null @@ -1,12 +0,0 @@ ---- -whiskers: - version: 2.4.0 - matrix: - - flavor - filename: "themes/{{flavor.identifier}}.conf" ---- - -{% for name, color in flavor.colors %} -${{ name }} = rgb({{ color.hex }}) -${{ name }}Alpha = {{ color.hex }} -{% endfor %} \ No newline at end of file diff --git a/hypr/catppuccin/justfile b/hypr/catppuccin/justfile deleted file mode 100644 index 0b4d3ef..0000000 --- a/hypr/catppuccin/justfile +++ /dev/null @@ -1,20 +0,0 @@ -# Print out all recipes when running `just` -_default: - @just --list - -# Variables -output := "themes" -whiskers_cmd := "whiskers" -template_path := "hyprland.tera" - -# Create the output directory -setup: - mkdir -p {{output}} - -# Remove all files in the output directory -clean: - rm -fv {{output}}/*.conf - -# Generate all four flavors -all: setup - {{whiskers_cmd}} {{template_path}} \ No newline at end of file diff --git a/hypr/catppuccin/renovate.json b/hypr/catppuccin/renovate.json deleted file mode 100644 index 2585c72..0000000 --- a/hypr/catppuccin/renovate.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": [ - "local>catppuccin/renovate-config" - ] -} diff --git a/hypr/catppuccin/themes/frappe.conf b/hypr/catppuccin/themes/frappe.conf deleted file mode 100644 index 9bcd81f..0000000 --- a/hypr/catppuccin/themes/frappe.conf +++ /dev/null @@ -1,78 +0,0 @@ - -$rosewater = rgb(f2d5cf) -$rosewaterAlpha = f2d5cf - -$flamingo = rgb(eebebe) -$flamingoAlpha = eebebe - -$pink = rgb(f4b8e4) -$pinkAlpha = f4b8e4 - -$mauve = rgb(ca9ee6) -$mauveAlpha = ca9ee6 - -$red = rgb(e78284) -$redAlpha = e78284 - -$maroon = rgb(ea999c) -$maroonAlpha = ea999c - -$peach = rgb(ef9f76) -$peachAlpha = ef9f76 - -$yellow = rgb(e5c890) -$yellowAlpha = e5c890 - -$green = rgb(a6d189) -$greenAlpha = a6d189 - -$teal = rgb(81c8be) -$tealAlpha = 81c8be - -$sky = rgb(99d1db) -$skyAlpha = 99d1db - -$sapphire = rgb(85c1dc) -$sapphireAlpha = 85c1dc - -$blue = rgb(8caaee) -$blueAlpha = 8caaee - -$lavender = rgb(babbf1) -$lavenderAlpha = babbf1 - -$text = rgb(c6d0f5) -$textAlpha = c6d0f5 - -$subtext1 = rgb(b5bfe2) -$subtext1Alpha = b5bfe2 - -$subtext0 = rgb(a5adce) -$subtext0Alpha = a5adce - -$overlay2 = rgb(949cbb) -$overlay2Alpha = 949cbb - -$overlay1 = rgb(838ba7) -$overlay1Alpha = 838ba7 - -$overlay0 = rgb(737994) -$overlay0Alpha = 737994 - -$surface2 = rgb(626880) -$surface2Alpha = 626880 - -$surface1 = rgb(51576d) -$surface1Alpha = 51576d - -$surface0 = rgb(414559) -$surface0Alpha = 414559 - -$base = rgb(303446) -$baseAlpha = 303446 - -$mantle = rgb(292c3c) -$mantleAlpha = 292c3c - -$crust = rgb(232634) -$crustAlpha = 232634 diff --git a/hypr/catppuccin/themes/latte.conf b/hypr/catppuccin/themes/latte.conf deleted file mode 100644 index 2c244ad..0000000 --- a/hypr/catppuccin/themes/latte.conf +++ /dev/null @@ -1,78 +0,0 @@ - -$rosewater = rgb(dc8a78) -$rosewaterAlpha = dc8a78 - -$flamingo = rgb(dd7878) -$flamingoAlpha = dd7878 - -$pink = rgb(ea76cb) -$pinkAlpha = ea76cb - -$mauve = rgb(8839ef) -$mauveAlpha = 8839ef - -$red = rgb(d20f39) -$redAlpha = d20f39 - -$maroon = rgb(e64553) -$maroonAlpha = e64553 - -$peach = rgb(fe640b) -$peachAlpha = fe640b - -$yellow = rgb(df8e1d) -$yellowAlpha = df8e1d - -$green = rgb(40a02b) -$greenAlpha = 40a02b - -$teal = rgb(179299) -$tealAlpha = 179299 - -$sky = rgb(04a5e5) -$skyAlpha = 04a5e5 - -$sapphire = rgb(209fb5) -$sapphireAlpha = 209fb5 - -$blue = rgb(1e66f5) -$blueAlpha = 1e66f5 - -$lavender = rgb(7287fd) -$lavenderAlpha = 7287fd - -$text = rgb(4c4f69) -$textAlpha = 4c4f69 - -$subtext1 = rgb(5c5f77) -$subtext1Alpha = 5c5f77 - -$subtext0 = rgb(6c6f85) -$subtext0Alpha = 6c6f85 - -$overlay2 = rgb(7c7f93) -$overlay2Alpha = 7c7f93 - -$overlay1 = rgb(8c8fa1) -$overlay1Alpha = 8c8fa1 - -$overlay0 = rgb(9ca0b0) -$overlay0Alpha = 9ca0b0 - -$surface2 = rgb(acb0be) -$surface2Alpha = acb0be - -$surface1 = rgb(bcc0cc) -$surface1Alpha = bcc0cc - -$surface0 = rgb(ccd0da) -$surface0Alpha = ccd0da - -$base = rgb(eff1f5) -$baseAlpha = eff1f5 - -$mantle = rgb(e6e9ef) -$mantleAlpha = e6e9ef - -$crust = rgb(dce0e8) -$crustAlpha = dce0e8 diff --git a/hypr/catppuccin/themes/macchiato.conf b/hypr/catppuccin/themes/macchiato.conf deleted file mode 100644 index 9e7071a..0000000 --- a/hypr/catppuccin/themes/macchiato.conf +++ /dev/null @@ -1,78 +0,0 @@ - -$rosewater = rgb(f4dbd6) -$rosewaterAlpha = f4dbd6 - -$flamingo = rgb(f0c6c6) -$flamingoAlpha = f0c6c6 - -$pink = rgb(f5bde6) -$pinkAlpha = f5bde6 - -$mauve = rgb(c6a0f6) -$mauveAlpha = c6a0f6 - -$red = rgb(ed8796) -$redAlpha = ed8796 - -$maroon = rgb(ee99a0) -$maroonAlpha = ee99a0 - -$peach = rgb(f5a97f) -$peachAlpha = f5a97f - -$yellow = rgb(eed49f) -$yellowAlpha = eed49f - -$green = rgb(a6da95) -$greenAlpha = a6da95 - -$teal = rgb(8bd5ca) -$tealAlpha = 8bd5ca - -$sky = rgb(91d7e3) -$skyAlpha = 91d7e3 - -$sapphire = rgb(7dc4e4) -$sapphireAlpha = 7dc4e4 - -$blue = rgb(8aadf4) -$blueAlpha = 8aadf4 - -$lavender = rgb(b7bdf8) -$lavenderAlpha = b7bdf8 - -$text = rgb(cad3f5) -$textAlpha = cad3f5 - -$subtext1 = rgb(b8c0e0) -$subtext1Alpha = b8c0e0 - -$subtext0 = rgb(a5adcb) -$subtext0Alpha = a5adcb - -$overlay2 = rgb(939ab7) -$overlay2Alpha = 939ab7 - -$overlay1 = rgb(8087a2) -$overlay1Alpha = 8087a2 - -$overlay0 = rgb(6e738d) -$overlay0Alpha = 6e738d - -$surface2 = rgb(5b6078) -$surface2Alpha = 5b6078 - -$surface1 = rgb(494d64) -$surface1Alpha = 494d64 - -$surface0 = rgb(363a4f) -$surface0Alpha = 363a4f - -$base = rgb(24273a) -$baseAlpha = 24273a - -$mantle = rgb(1e2030) -$mantleAlpha = 1e2030 - -$crust = rgb(181926) -$crustAlpha = 181926 diff --git a/hypr/catppuccin/themes/mocha.conf b/hypr/catppuccin/themes/mocha.conf deleted file mode 100644 index 8ccb56a..0000000 --- a/hypr/catppuccin/themes/mocha.conf +++ /dev/null @@ -1,78 +0,0 @@ - -$rosewater = rgb(f5e0dc) -$rosewaterAlpha = f5e0dc - -$flamingo = rgb(f2cdcd) -$flamingoAlpha = f2cdcd - -$pink = rgb(f5c2e7) -$pinkAlpha = f5c2e7 - -$mauve = rgb(cba6f7) -$mauveAlpha = cba6f7 - -$red = rgb(f38ba8) -$redAlpha = f38ba8 - -$maroon = rgb(eba0ac) -$maroonAlpha = eba0ac - -$peach = rgb(fab387) -$peachAlpha = fab387 - -$yellow = rgb(f9e2af) -$yellowAlpha = f9e2af - -$green = rgb(a6e3a1) -$greenAlpha = a6e3a1 - -$teal = rgb(94e2d5) -$tealAlpha = 94e2d5 - -$sky = rgb(89dceb) -$skyAlpha = 89dceb - -$sapphire = rgb(74c7ec) -$sapphireAlpha = 74c7ec - -$blue = rgb(89b4fa) -$blueAlpha = 89b4fa - -$lavender = rgb(b4befe) -$lavenderAlpha = b4befe - -$text = rgb(cdd6f4) -$textAlpha = cdd6f4 - -$subtext1 = rgb(bac2de) -$subtext1Alpha = bac2de - -$subtext0 = rgb(a6adc8) -$subtext0Alpha = a6adc8 - -$overlay2 = rgb(9399b2) -$overlay2Alpha = 9399b2 - -$overlay1 = rgb(7f849c) -$overlay1Alpha = 7f849c - -$overlay0 = rgb(6c7086) -$overlay0Alpha = 6c7086 - -$surface2 = rgb(585b70) -$surface2Alpha = 585b70 - -$surface1 = rgb(45475a) -$surface1Alpha = 45475a - -$surface0 = rgb(313244) -$surface0Alpha = 313244 - -$base = rgb(1e1e2e) -$baseAlpha = 1e1e2e - -$mantle = rgb(181825) -$mantleAlpha = 181825 - -$crust = rgb(11111b) -$crustAlpha = 11111b diff --git a/hypr/greyline.sh b/hypr/greyline.sh deleted file mode 100755 index 43c3564..0000000 --- a/hypr/greyline.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env bash - -while true; do - greyline - sleep $((60 - $(date +%S))) -done diff --git a/hypr/hypr-zoom/.github/workflows/main.yml b/hypr/hypr-zoom/.github/workflows/main.yml deleted file mode 100644 index ab277d7..0000000 --- a/hypr/hypr-zoom/.github/workflows/main.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: Build and upliad artifact - -on: - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - name: Set up Go - uses: actions/setup-go@v4 - with: - go-version: '1.23' - - - name: Build - run: go build -v -o hypr-zoom ./hypr-zoom.go # Specify the output binary name - - - name: Delete Previous artifact - uses: geekyeggo/delete-artifact@v5 - with: - name: hypr-zoom - failOnError: false - - - name: Upload Artifact - uses: actions/upload-artifact@v4 - with: - name: hypr-zoom - path: hypr-zoom diff --git a/hypr/hypr-zoom/exec.sh b/hypr/hypr-zoom/exec.sh deleted file mode 100755 index d83b73e..0000000 --- a/hypr/hypr-zoom/exec.sh +++ /dev/null @@ -1,8 +0,0 @@ -file="~/.config/hypr/hypr-zoom/hypr-zoom" -if [ -f "$file" ]; then - ./hypr-zoom -duration=10 -steps=50 -interp=Linear -else - cd ~/.config/hypr/hypr-zoom/ - go build -o hypr-zoom - ./hypr-zoom -duration=10 -steps=50 -interp=Linear -fi diff --git a/hypr/hypr-zoom/go.mod b/hypr/hypr-zoom/go.mod deleted file mode 100644 index 32db86a..0000000 --- a/hypr/hypr-zoom/go.mod +++ /dev/null @@ -1,5 +0,0 @@ -module hypr-zoom - -go 1.22.5 - -require github.com/fogleman/ease v0.0.0-20170301025033-8da417bf1776 // indirect diff --git a/hypr/hypr-zoom/go.sum b/hypr/hypr-zoom/go.sum deleted file mode 100644 index 8254f11..0000000 --- a/hypr/hypr-zoom/go.sum +++ /dev/null @@ -1,2 +0,0 @@ -github.com/fogleman/ease v0.0.0-20170301025033-8da417bf1776 h1:VRIbnDWRmAh5yBdz+J6yFMF5vso1It6vn+WmM/5l7MA= -github.com/fogleman/ease v0.0.0-20170301025033-8da417bf1776/go.mod h1:9wvnDu3YOfxzWM9Cst40msBF1C2UdQgDv962oTxSuMs= diff --git a/hypr/hypr-zoom/hypr-zoom.go b/hypr/hypr-zoom/hypr-zoom.go deleted file mode 100644 index d77606c..0000000 --- a/hypr/hypr-zoom/hypr-zoom.go +++ /dev/null @@ -1,143 +0,0 @@ -package main - -import ( - "flag" - "fmt" - "math" - "os/exec" - "strconv" - "strings" - "time" - - "github.com/fogleman/ease" -) - -type EasingFunction func(t float64) float64 -type InterpolatorFunc func(s, e, t float64) float64 - -// Linear interpolation function -func lerp(start, end, t float64) float64 { - return start + t*(end-start) -} - -func logInterp(start, end, t float64) float64 { - if t == 0 { - return start - } - return start + (end-start)*(math.Log(t+1)/math.Log(2)) -} - -// Main animation loop -func zoom(duration int, steps int, startValue, endValue float64, easingFunc EasingFunction, interInterpolatorFunc InterpolatorFunc) { - interval := float64(duration) / float64(steps) / 1000 - - for i := 0; i <= steps; i++ { - t := float64(i) / float64(steps) - easedT := easingFunc(t) - interpolatedValue := interInterpolatorFunc(startValue, endValue, easedT) - - _ = exec.Command("hyprctl", "keyword", "cursor:zoom_factor", fmt.Sprintf("%f", interpolatedValue)).Run() - time.Sleep(time.Duration(interval * float64(time.Second))) - } -} - -// Execute a shell command and return its output as a string -func executeCommand(command string) (string, error) { - output, err := exec.Command("bash", "-c", command).Output() - if err != nil { - return "", err - } - return string(output), nil -} - -func main() { - output, err := executeCommand("hyprctl getoption cursor:zoom_factor | grep 'float:' | awk '{print $2}' | tr -d '[:space:]'") - if err != nil { - fmt.Println("Error getting initial zoom factor:", err) - return - } - - duration := flag.Int("duration", 500, "Duration of the animation in milliseconds") - steps := flag.Int("steps", 100, "Number of steps in the animation") - easing := flag.String("easing", "InOutExpo", "Easing function to use") - easingOut := flag.String("easingOut", "", "Easing function to use for zoom-out (optional)") - targetZoom := flag.Float64("target", 2.0, "Zoom Target") - interpolator := flag.String("interp", "Log", "Animation interpolator function") - force := flag.Bool("force", false, "Forcing target parameter even if zoom is not equal to 1") - flag.Parse() - - initialZoom, err := strconv.ParseFloat(strings.TrimSpace(output), 64) - if err != nil { - fmt.Println("Error parsing initial zoom factor:", err) - return - } - - if *steps <= 0 { - fmt.Println("Error: `steps` must be greater than 0.") - return - } - - easingFunctions := map[string]EasingFunction{ - "Linear": ease.Linear, - "InQuad": ease.InQuad, - "OutQuad": ease.OutQuad, - "InOutQuad": ease.InOutQuad, - "InCubic": ease.InCubic, - "OutCubic": ease.OutCubic, - "InOutCubic": ease.InOutCubic, - "InQuart": ease.InQuart, - "OutQuart": ease.OutQuart, - "InOutQuart": ease.InOutQuart, - "InQuint": ease.InQuint, - "OutQuint": ease.OutQuint, - "InOutQuint": ease.InOutQuint, - "InSine": ease.InSine, - "OutSine": ease.OutSine, - "InOutSine": ease.InOutSine, - "InExpo": ease.InExpo, - "OutExpo": ease.OutExpo, - "InOutExpo": ease.InOutExpo, - "InCirc": ease.InCirc, - "OutCirc": ease.OutCirc, - "InOutCirc": ease.InOutCirc, - // "InElastic": ease.InElastic, - // "OutElastic": ease.OutElastic, - // "InOutElastic": ease.InOutElastic, - "InBack": ease.InBack, - "OutBack": ease.OutBack, - "InOutBack": ease.InOutBack, - "InBounce": ease.InBounce, - "OutBounce": ease.OutBounce, - "InOutBounce": ease.InOutBounce, - "InSquare": ease.InSquare, - "OutSquare": ease.OutSquare, - "InOutSquare": ease.InOutSquare, - } - - interpolatorFunctions := map[string]InterpolatorFunc{ - "Log": logInterp, - "Linear": lerp, - } - - interpolatorFunc, exists := interpolatorFunctions[*interpolator] - if !exists { - fmt.Println("Unknown interpolator function:", *interpolator, "Set to default") - interpolatorFunc = interpolatorFunctions["Log"] - } - - easingFunction, exists := easingFunctions[*easing] - if !exists { - fmt.Println("Unknown easing function:", *easing, "Set to default") - easingFunction = easingFunctions["InOutExpo"] - } - - if (initialZoom > 1 && !*force) { - *targetZoom = 1.0 - _, exists := easingFunctions[*easingOut] - if exists { - easingFunction = easingFunctions[*easingOut] - } - } - - zoom(*duration, *steps, initialZoom, *targetZoom, easingFunction, interpolatorFunc) -} diff --git a/hypr/hypr-zoom/readme.md b/hypr/hypr-zoom/readme.md deleted file mode 100644 index ab938ad..0000000 --- a/hypr/hypr-zoom/readme.md +++ /dev/null @@ -1,104 +0,0 @@ -# hypr-zoom - -`hypr-zoom` is a command-line tool written in Go that smoothly animates the Hyprland cursor zoom-factor changes using variety of easing functions. -It simply uses the `hyprctl` command to adjust the cursor zoom-factor and the ease library for animation interpolation. - -## Why ? -Hyprland cursor zoom factor changes happen instantly, which can feel ood since Hyprland has cool animations. This little CLI solves that. - -## Features - -- Smoothly animates cursor zoom-factor using a variety of easing and interpolation functions. -- Configurable animation duration and steps. - -## Installation -install from aur: [hypr-zoom](https://aur.archlinux.org/packages/hypr-zoom) - -Grab from release or : -1. Clone the repository: - ```sh - git clone https://github.com/FaqihS/hypr-zoom.git - cd hypr-zoom - ``` - -2. Build the project: - ```sh - go build -o hypr-zoom - ``` - -## Usage - -The `hypr-zoom` command has several flags to configure the animation: - -- `-duration`: Duration of the animation in milliseconds (default: 500) -- `-steps`: Number of steps in the animation (default: 100) -- `-easing`: Easing function to use for the animation (default: InOutExpo) -- `-easingOut`: Easing function to use for the zoom-out animation (optional) -- `-target`: Target zoom factor (default: 2.0) -- `-interp`: Interpolation Function used for animation(default: Log) -- `-force` : Forcing target parameter (default: false) - -### Example - -```sh -hypr-zoom -easing=InOutExpo -duration=500 -steps=60 -target=1.2 -``` - -This command will animate the zoom factor to 1.2 using the InOutExpo easing function over 500 milliseconds with 60 steps. - -```sh -hypr-zoom -easing=OutBack -easingOut=OutExpo -``` - -This command will animate the zoom factor using the OutBack easing function when zooming-in and OutExpo when zooming-out. - -> [!WARNING] -> Adjust duration and steps wisely. - -### Supported Easing Functions -The following easing functions are supported: - -- Linear -- InQuad, OutQuad, InOutQuad -- InCubic, OutCubic, InOutCubic -- InQuart, OutQuart, InOutQuart -- InQuint, OutQuint, InOutQuint -- InSine, OutSine, InOutSine -- InExpo, OutExpo, InOutExpo -- InCirc, OutCirc, InOutCirc -- InBack, OutBack, InOutBack -- InBounce, OutBounce, InOutBounce -- InSquare, OutSquare, InOutSquare - -For animation preview [see here](https://github.com/fogleman/ease). - -### Supported Interpolation function -- Linear -- Log (Logarithmic) - -## Showcase -### Default+Linear -```sh -hypr-zoom -interp=Linear -``` -https://github.com/user-attachments/assets/261aff62-955f-49e6-9a7b-c5f714389dc4 -### InOutCubic -```sh -hypr-zoom -easing=InOutCubic -interp=Linear -``` -https://github.com/user-attachments/assets/622d4a4b-b805-495d-8178-ad5e130279c2 -### OutBack-Inback -```sh -hypr-zoom -duration=600 -steps=150 -easing=OutBack -easingOut=InBack -interp=Linear -``` -https://github.com/user-attachments/assets/de4f2924-b5e8-43a8-9bbf-6f1ac795687c - - - - -## Contributing -Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes. Although i'm not real Go Dev :p - -## Acknowledgements -- [fogleman/ease](https://github.com/fogleman/ease) - Easing functions library used in this project. -- [Hyprland](https://hyprland.org) diff --git a/hypr/hypridle.conf b/hypr/hypridle.conf deleted file mode 100644 index 88629ad..0000000 --- a/hypr/hypridle.conf +++ /dev/null @@ -1,22 +0,0 @@ -general { - lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances. - before_sleep_cmd = loginctl lock-session # lock before suspend. - after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display. -} - -listener { - timeout = 150 # 2.5min. - on-timeout = brightnessctl -s set 10 # set monitor backlight to minimum, avoid 0 on OLED monitor. - on-resume = brightnessctl -r # monitor backlight restore. -} - -listener { - timeout = 300 # 5min - on-timeout = loginctl lock-session # lock screen when timeout has passed -} - -listener { - timeout = 330 # 5.5min - on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed - on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired. -} diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf deleted file mode 100644 index 444b80c..0000000 --- a/hypr/hyprland.conf +++ /dev/null @@ -1,74 +0,0 @@ -source=hyprland/vars.conf -source=catppuccin/themes/macchiato.conf -source=hyprland/exec_once.conf -source=hyprland/input.conf -source=hyprland/keybinds.conf -source=hyprland/look_and_feel.conf -source=hyprland/env.conf - -monitor=,preferred,auto,1 - - -################### -### PERMISSIONS ### -################### - -# See https://wiki.hyprland.org/Configuring/Permissions/ -# Please note permission changes here require a Hyprland restart and are not applied on-the-fly -# for security reasons - -# ecosystem { -# enforce_permissions = 1 -# } - -# permission = /usr/(bin|local/bin)/grim, screencopy, allow -# permission = /usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland, screencopy, allow -# permission = /usr/(bin|local/bin)/hyprpm, plugin, allow - -# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more -dwindle { - preserve_split = true # You probably want this -} - -# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more -master { - new_status = master -} - -# https://wiki.hyprland.org/Configuring/Variables/#misc -misc { - force_default_wallpaper = 0 # 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. :( -} - -############################## -### WINDOWS AND WORKSPACES ### -############################## - -# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more -# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules - -# Example windowrule -# windowrule = float,class:^(kitty)$,title:^(kitty)$ - -windowrule { - # Ignore maximize requests from all apps. You'll probably like this. - name = suppress-maximize-events - match:class = .* - - suppress_event = maximize -} - -windowrule { - # Fix some dragging issues with XWayland - name = fix-xwayland-drags - match:class = ^$ - match:title = ^$ - match:xwayland = true - match:float = true - match:fullscreen = false - match:pin = false - - no_focus = true -} - diff --git a/hypr/hyprland/env.conf b/hypr/hyprland/env.conf deleted file mode 100644 index 169638d..0000000 --- a/hypr/hyprland/env.conf +++ /dev/null @@ -1,5 +0,0 @@ -env = XCURSOR_THEME,catppuccin-mocha-mauve-cursors -env = HYPRCURSOR_THEME,catppuccin-mocha-mauve-cursors -env = XCURSOR_SIZE,24 -env = HYPRCURSOR_SIZE,24 - diff --git a/hypr/hyprland/exec_once.conf b/hypr/hyprland/exec_once.conf deleted file mode 100644 index 87c8e91..0000000 --- a/hypr/hyprland/exec_once.conf +++ /dev/null @@ -1,6 +0,0 @@ -exec-once = ~/.config/hypr/battery-notif.sh -exec-once = ~/.config/hypr/greyline.sh -exec-once = wl-paste --watch cliphist store -exec-once = qs -exec-once = hyprsunset -#exec-once = hyprpaper diff --git a/hypr/hyprland/input.conf b/hypr/hyprland/input.conf deleted file mode 100644 index 8846120..0000000 --- a/hypr/hyprland/input.conf +++ /dev/null @@ -1,25 +0,0 @@ -# https://wiki.hyprland.org/Configuring/Variables/#input -input { - kb_layout = us - kb_variant = - kb_model = - kb_options = - kb_rules = - - follow_mouse = 1 - left_handed = true - - sensitivity = 0.5 # -1.0 - 1.0, 0 means no modification. - - touchpad { - natural_scroll = true - } -} - -# Example per-device config -# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more -device { - name = epic-mouse-v1 - sensitivity = -0.01 -} - diff --git a/hypr/hyprland/keybinds.conf b/hypr/hyprland/keybinds.conf deleted file mode 100644 index dda7ddf..0000000 --- a/hypr/hyprland/keybinds.conf +++ /dev/null @@ -1,73 +0,0 @@ -# See https://wiki.hyprland.org/Configuring/Keywords/ -$mainMod = SUPER # Sets "Windows" key as main modifier - -# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more -bind = $mainMod, T, exec, $terminal -bind = $mainMod, Q, killactive, -bind = $mainMod SHIFT, L, exit, -bind = $mainMod, L, exec, hyprlock -bind = $mainMod, E, exec, $fileManager -bind = $mainMod, F, togglefloating, -bind = $mainMod, R, global, quickshell:toggleLauncher -bind = $mainMod SHIFT, D, global, quickshell:toggleBar -bind = $mainMod, D, global, quickshell:toggleDnd -bind = $mainMod, P, exec, hyprpicker -bind = $mainMod, J, layoutmsg, togglesplit -bind = CTRL SHIFT, escape, exec, $taskManager -bind = $mainMod SHIFT, R, exec, ~/.config/hypr/wf-recorder/record.sh - -# Move focus with mainMod + arrow keys -bind = $mainMod, left, movefocus, l -bind = $mainMod, right, movefocus, r -bind = $mainMod, up, movefocus, u -bind = $mainMod, down, movefocus, d - -# Switch workspaces with mainMod + [0-5] -bind = $mainMod, 1, workspace, 1 -bind = $mainMod, 2, workspace, 2 -bind = $mainMod, 3, workspace, 3 -bind = $mainMod, 4, workspace, 4 -bind = $mainMod, 5, workspace, 5 - -# Move active window to a workspace with mainMod + SHIFT + [0-9] -bind = $mainMod SHIFT, 1, movetoworkspace, 1 -bind = $mainMod SHIFT, 2, movetoworkspace, 2 -bind = $mainMod SHIFT, 3, movetoworkspace, 3 -bind = $mainMod SHIFT, 4, movetoworkspace, 4 -bind = $mainMod SHIFT, 5, movetoworkspace, 5 - -# Example special workspace (scratchpad) -bind = $mainMod, S, togglespecialworkspace, magic -bind = $mainMod SHIFT, S, movetoworkspace, special:magic -bind = $mainMod CTRL, S, movetoworkspace, e+0 - -# Scroll through existing workspaces with mainMod + scroll -bind = $mainMod, mouse_down, workspace, e+1 -bind = $mainMod, mouse_up, workspace, e-1 - -# Move/resize windows with mainMod + LMB/RMB and dragging -bindm = $mainMod, mouse:272, movewindow -bindm = $mainMod, mouse:273, resizewindow - -# Screenshots -bind = ,Print, exec, grim ~/Pictures/Screenshots/screenshot_$(date +'%Y-%m-%d_%H-%M-%S').png # Fullscreen screenshot -> ~/Pictures/Screenshots -bind = SHIFT,Print, exec, grim -g "$(slurp)" ~/Pictures/Screenshots/screenshot_$(date +'%Y-%m-%d_%H-%M-%S').png # Select area screenshot with slurp -bind = SUPER,Print, exec, grim -g "$(slurp)" - | wl-copy # Select area screenshot and copy to clipboard - -# Laptop multimedia keys for volume and LCD brightness -bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+ -bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- -bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle -bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle -bindel = ,XF86MonBrightnessUp, exec, brightnessctl -e4 -n2 set 100%+ -bindel = ,XF86MonBrightnessDown, exec, brightnessctl -e4 -n2 set 100%- - -# Requires playerctl -bindl = ,XF86AudioNext, exec, playerctl next -bindl = ,XF86AudioPause, exec, playerctl play-pause -bindl = ,XF86AudioPlay, exec, playerctl play-pause -bindl = ,XF86AudioPrev, exec, playerctl previous - -bind = $mainMod, equal, exec, ~/.config/hypr/hypr-zoom/exec.sh -bind = $mainMod, bracketleft, exec, ~/.config/hypr/hyprsunset/increase_sunset.sh -bind = $mainMod, bracketright, exec, ~/.config/hypr/hyprsunset/decrease_sunset.sh diff --git a/hypr/hyprland/look_and_feel.conf b/hypr/hyprland/look_and_feel.conf deleted file mode 100644 index f510e3b..0000000 --- a/hypr/hyprland/look_and_feel.conf +++ /dev/null @@ -1,79 +0,0 @@ -# Refer to https://wiki.hyprland.org/Configuring/Variables/ - -# https://wiki.hyprland.org/Configuring/Variables/#general -general { - gaps_in = 0 - gaps_out = 0 - - border_size = 2 - - col.active_border = $lavender $flamingo 45deg - col.inactive_border = $surface2 - - resize_on_border = false - allow_tearing = false - layout = dwindle -} - -# https://wiki.hyprland.org/Configuring/Variables/#decoration -decoration { - rounding = 0 - rounding_power = 2 - - active_opacity = 1.0 - inactive_opacity = 1.0 - - shadow { - enabled = true - range = 4 - render_power = 3 - color = $crust - } - - # https://wiki.hyprland.org/Configuring/Variables/#blur - blur { - enabled = true - size = 3 - passes = 1 - - vibrancy = 0.1696 - } -} - -# https://wiki.hyprland.org/Configuring/Variables/#animations -animations { - enabled = yes, please :) - - bezier = easeOutQuint,0.23,1,0.32,1 - bezier = easeInOutCubic,0.65,0.05,0.36,1 - bezier = linear,0,0,1,1 - bezier = almostLinear,0.5,0.5,0.75,1.0 - bezier = quick,0.15,0,0.1,1 - - animation = global, 1, 10, default - animation = border, 1, 5.39, easeOutQuint - animation = windows, 1, 4.79, easeOutQuint - animation = windowsIn, 1, 4.1, easeOutQuint, popin 87% - animation = windowsOut, 1, 1.49, linear, popin 87% - animation = fadeIn, 1, 1.73, almostLinear - animation = fadeOut, 1, 1.46, almostLinear - animation = fade, 1, 3.03, quick - animation = layers, 1, 3.81, easeOutQuint - animation = layersIn, 1, 4, easeOutQuint, fade - animation = layersOut, 1, 1.5, linear, fade - animation = fadeLayersIn, 1, 1.79, almostLinear - animation = fadeLayersOut, 1, 1.39, almostLinear - animation = workspaces, 1, 1.94, almostLinear, fade - animation = workspacesIn, 1, 1.21, almostLinear, fade - animation = workspacesOut, 1, 1.94, almostLinear, fade -} - -# Ref https://wiki.hyprland.org/Configuring/Workspace-Rules/ -# "Smart gaps" / "No gaps when only" -# uncomment all if you wish to use that. -# workspace = w[tv1], gapsout:0, gapsin:0 -# workspace = f[1], gapsout:0, gapsin:0 -# windowrule = bordersize 0, floating:0, onworkspace:w[tv1] -# windowrule = rounding 0, floating:0, onworkspace:w[tv1] -# windowrule = bordersize 0, floating:0, onworkspace:f[1] -# windowrule = rounding 0, floating:0, onworkspace:f[1] diff --git a/hypr/hyprland/vars.conf b/hypr/hyprland/vars.conf deleted file mode 100644 index ec28f62..0000000 --- a/hypr/hyprland/vars.conf +++ /dev/null @@ -1,3 +0,0 @@ -$terminal = foot -$fileManager = foot -e yazi -$taskManager = foot -e btop --force-utf diff --git a/hypr/hyprlock.conf b/hypr/hyprlock.conf deleted file mode 100644 index 73a9495..0000000 --- a/hypr/hyprlock.conf +++ /dev/null @@ -1,85 +0,0 @@ -# https://github.com/end-4/dots-hyprland/blob/main/.config/hypr/hyprlock.conf - -source=~/.config/hypr/hyprlock/colors.conf - -background { - color = rgba(181818FF) -} - -input-field { - monitor = - size = 250, 50 - outline_thickness = 2 - dots_size = 0.1 - dots_spacing = 0.3 - outer_color = $entry_border_color - inner_color = $entry_background_color - font_color = $entry_color - fade_on_empty = true - - position = 0, 20 - halign = center - valign = center -} - -label { # Caps Lock Warning - monitor = - text = cmd[update:250] ${XDG_CONFIG_HOME:-$HOME/.config}/hypr/hyprlock/check-capslock.sh - color = $text_color - font_size = 13 - font_family = $font_family - position = 0, -25 - halign = center - valign = center -} - - -label { # Clock - monitor = - text = $TIME - color = $text_color - font_size = 65 - font_family = $font_family_clock - - position = 0, 300 - halign = center - valign = center -} -label { # Date - monitor = - text = cmd[update:5000] date +"%A, %B %d" - color = $text_color - font_size = 17 - font_family = $font_family_clock - - position = 0, 240 - halign = center - valign = center -} - -label { # User - monitor = - text =  $USER - color = $text_color - 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 = 20 - font_family = $font_family - position = 0, 50 - halign = center - valign = bottom -} - -label { # Status - monitor = - text = cmd[update:5000] ${XDG_CONFIG_HOME:-$HOME/.config}/hypr/hyprlock/status.sh - color = $text_color - font_size = 14 - font_family = $font_family - - position = 30, -30 - halign = left - valign = top -} diff --git a/hypr/hyprlock/check-capslock.sh b/hypr/hyprlock/check-capslock.sh deleted file mode 100755 index ca56178..0000000 --- a/hypr/hyprlock/check-capslock.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/env bash - -MAIN_KB_CAPS=$(hyprctl devices | grep -B 6 "main: yes" | grep "capsLock" | head -1 | awk '{print $2}') - -if [ "$MAIN_KB_CAPS" = "yes" ]; then - echo "Caps Lock active" -else - echo "" -fi diff --git a/hypr/hyprlock/colors.conf b/hypr/hyprlock/colors.conf deleted file mode 100644 index b87c815..0000000 --- a/hypr/hyprlock/colors.conf +++ /dev/null @@ -1,7 +0,0 @@ -$text_color = rgba(FFDAD6FF) -$entry_background_color = rgba(41000311) -$entry_border_color = rgba(896E6C55) -$entry_color = rgba(FFDAD6FF) -$font_family = JetBrainsMono Nerd Font -$font_family_clock = JetBrainsMono Nerd Font -$font_material_symbols = Material Symbols Rounded diff --git a/hypr/hyprlock/status.sh b/hypr/hyprlock/status.sh deleted file mode 100755 index 0d4ec2d..0000000 --- a/hypr/hyprlock/status.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/env bash - -############ Variables ############ -enable_battery=false -battery_charging=false - -####### Check availability ######## -for battery in /sys/class/power_supply/*BAT*; do - if [[ -f "$battery/uevent" ]]; then - enable_battery=true - if [[ $(cat /sys/class/power_supply/*/status | head -1) == "Charging" ]]; then - battery_charging=true - fi - break - fi -done - -############# Output ############# -if [[ $enable_battery == true ]]; then - if [[ $battery_charging == true ]]; then - echo -n "(+) " - fi - echo -n "$(cat /sys/class/power_supply/*/capacity | head -1)"% - if [[ $battery_charging == false ]]; then - echo -n " remaining" - fi -fi - -echo '' diff --git a/hypr/hyprpaper.conf b/hypr/hyprpaper.conf deleted file mode 100644 index 9580494..0000000 --- a/hypr/hyprpaper.conf +++ /dev/null @@ -1,5 +0,0 @@ -wallpaper { - monitor = - path = ~/Pictures/space.png - fit_mode = cover -} diff --git a/hypr/hyprsunset.conf b/hypr/hyprsunset.conf deleted file mode 100644 index 22a688c..0000000 --- a/hypr/hyprsunset.conf +++ /dev/null @@ -1,12 +0,0 @@ -max-gamma = 150 - -profile { - time = 7:30 - identity = true -} - -profile { - time = 21:00 - temperature = 4000 - gamma = 1.0 -} diff --git a/hypr/hyprsunset/decrease_sunset.sh b/hypr/hyprsunset/decrease_sunset.sh deleted file mode 100755 index 7af5aa8..0000000 --- a/hypr/hyprsunset/decrease_sunset.sh +++ /dev/null @@ -1 +0,0 @@ -hyprctl hyprsunset temperature +1000 diff --git a/hypr/hyprsunset/increase_sunset.sh b/hypr/hyprsunset/increase_sunset.sh deleted file mode 100755 index 99d1d9f..0000000 --- a/hypr/hyprsunset/increase_sunset.sh +++ /dev/null @@ -1 +0,0 @@ -hyprctl hyprsunset temperature -1000 diff --git a/hypr/monitors.conf b/hypr/monitors.conf deleted file mode 100644 index e69de29..0000000 diff --git a/hypr/wf-recorder/record.sh b/hypr/wf-recorder/record.sh deleted file mode 100755 index c828fee..0000000 --- a/hypr/wf-recorder/record.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/env bash - -# Check if a recording is already in progress -if pgrep -x wf-recorder > /dev/null -then - # If recording, stop it - notify-send -h string:wf-recorder:record -t 1000 "Recording Stopped" - pkill wf-recorder -else - # If not recording, start it - mkdir -p ~/Videos - mkdir -p ~/Videos/Screencasts/ - notify-send -h string:wf-recorder:record -t 1000 "Recording Started" - wf-recorder \ - -f ~/Videos/Screencasts/$(date '+%H%M%S-%d-%m-%Y').mp4 \ - --audio --audio-device alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI3__sink.monitor - -fi diff --git a/hypr/workspaces.conf b/hypr/workspaces.conf deleted file mode 100644 index e69de29..0000000 -- cgit v1.2.3