Formatting and linting

This commit is contained in:
pascalyazid committed 2026-05-05 17:11:00 +02:00
1 parent 037e038190
commit 92cd72224a
3 files changed
+9 -3

No files matched your search

+3 -1
View File
@@ -80,7 +80,6 @@ include ~/.cache/wal/colors-kitty.conf
_Next time you open Kitty, it will perfectly match your wallpaper._ _Next time you open Kitty, it will perfectly match your wallpaper._
### Example 2: Dunst (Notification Daemon) ### Example 2: Dunst (Notification Daemon)
Pywal doesn't generate a theme for every application, hence you have to define some templates yourself in `~/.config/wal/templates`. Pywal doesn't generate a theme for every application, hence you have to define some templates yourself in `~/.config/wal/templates`.
@@ -110,6 +109,7 @@ In this case we will create a template for Dunst:
frame_color = "{color9}" frame_color = "{color9}"
timeout = 0 timeout = 0
``` ```
After switching the wallpaper, pywal will generate a theme with the exactly same name in `~/.cache/wal` After switching the wallpaper, pywal will generate a theme with the exactly same name in `~/.cache/wal`
You can create a symlink so dunst will always have the current theme: You can create a symlink so dunst will always have the current theme:
@@ -118,10 +118,12 @@ ln -sf ~/.cache/wal/dunstrc ~/.config/dunst/dunstrc
``` ```
Because dunst doesn't apply the theme while it's running, we added Because dunst doesn't apply the theme while it's running, we added
```bash ```bash
killall dunst killall dunst
dunst & dunst &
``` ```
in the `update_script.sh` Bash-Script which runs every time the wallpaper is switched. in the `update_script.sh` Bash-Script which runs every time the wallpaper is switched.
You can add your own commands in there if needed. You can add your own commands in there if needed.
+1 -1
View File
@@ -3,7 +3,7 @@ import AstalNetwork from "gi://AstalNetwork?version=0.1"
import AstalBluetooth from "gi://AstalBluetooth?version=0.1" import AstalBluetooth from "gi://AstalBluetooth?version=0.1"
import AstalWp from "gi://AstalWp?version=0.1" import AstalWp from "gi://AstalWp?version=0.1"
import { createBinding } from "ags" import { createBinding } from "ags"
import { execAsync, createSubprocess } from "ags/process" import { execAsync } from "ags/process"
function NetworkItem() { function NetworkItem() {
const network = AstalNetwork.Network.get_default() const network = AstalNetwork.Network.get_default()
+5 -1
View File
@@ -5,7 +5,11 @@ import GLib from "gi://GLib?version=2.0"
const HIS = GLib.getenv("HYPRLAND_INSTANCE_SIGNATURE") const HIS = GLib.getenv("HYPRLAND_INSTANCE_SIGNATURE")
const sock = `${GLib.getenv("XDG_RUNTIME_DIR")}/hypr/${HIS}/.socket2.sock` const sock = `${GLib.getenv("XDG_RUNTIME_DIR")}/hypr/${HIS}/.socket2.sock`
export default function Workspaces({ gdkmonitor }: { gdkmonitor: Gdk.Monitor }) { export default function Workspaces({
gdkmonitor,
}: {
gdkmonitor: Gdk.Monitor
}) {
const monitorName = gdkmonitor.get_connector() const monitorName = gdkmonitor.get_connector()
// Listen to the Hyprland socket for instant workspace updates // Listen to the Hyprland socket for instant workspace updates