forked from Shinonome/dots-hyprland
ags: NixOS compatibility; Partially migrate to new AgsStack syntax
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# check if no arguments
|
||||
if [ $# -eq 0 ]; then
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/python3
|
||||
#!/usr/bin/env python3
|
||||
from material_color_utilities_python import *
|
||||
from pathlib import Path
|
||||
import sys
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
color=$(hyprpicker --no-fancy)
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [ "$1" == "--noswitch" ]; then
|
||||
imgpath=$(swww query | awk -F 'image: ' '{print $2}')
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
hyprctl dispatch "$1" $(((($(hyprctl activeworkspace -j | gojq -r .id) - 1) / 10) * 10 + $2))
|
||||
|
||||
@@ -1,4 +1,11 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Check if sway is running
|
||||
if ! pgrep -x sway > /dev/null; then
|
||||
echo "Sway is not running"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
# Get the current workspace number
|
||||
current=$(swaymsg -t get_workspaces | gojq '.[] | select(.focused==true) | .num')
|
||||
@@ -20,4 +27,4 @@ if [[ $2 == 'move' ]]; then
|
||||
swaymsg move container to workspace $new_workspace
|
||||
else
|
||||
swaymsg workspace $new_workspace
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -87,9 +87,9 @@
|
||||
"BLACK_500": "#393634",
|
||||
"BLACK_700": "#33302F",
|
||||
"BLACK_900": "#2B2928",
|
||||
"accent_bg_color": "#e4b5ff",
|
||||
"accent_fg_color": "#471868",
|
||||
"accent_color": "#e4b5ff",
|
||||
"accent_bg_color": "#ffb1c3",
|
||||
"accent_fg_color": "#66002a",
|
||||
"accent_color": "#ffb1c3",
|
||||
"destructive_bg_color": "#ffb4a9",
|
||||
"destructive_fg_color": "#680003",
|
||||
"destructive_color": "#ffb4a9",
|
||||
@@ -99,22 +99,22 @@
|
||||
"warning_fg_color": "rgba(0, 0, 0, 0.87)",
|
||||
"error_bg_color": "#ffb4a9",
|
||||
"error_fg_color": "#680003",
|
||||
"window_bg_color": "#111012",
|
||||
"window_fg_color": "#e7e0e5",
|
||||
"view_bg_color": "#1d1b1e",
|
||||
"view_fg_color": "#e7e0e5",
|
||||
"window_bg_color": "#130F10",
|
||||
"window_fg_color": "#ecdfe0",
|
||||
"view_bg_color": "#201a1b",
|
||||
"view_fg_color": "#ecdfe0",
|
||||
"headerbar_bg_color": "mix(@dialog_bg_color, @window_bg_color, 0.5)",
|
||||
"headerbar_fg_color": "#eedcf5",
|
||||
"headerbar_border_color": "#4f4256",
|
||||
"headerbar_fg_color": "#ffd9df",
|
||||
"headerbar_border_color": "#5c3f45",
|
||||
"headerbar_backdrop_color": "@headerbar_bg_color",
|
||||
"headerbar_shade_color": "rgba(0, 0, 0, 0.09)",
|
||||
"card_bg_color": "#111012",
|
||||
"card_fg_color": "#eedcf5",
|
||||
"card_bg_color": "#130F10",
|
||||
"card_fg_color": "#ffd9df",
|
||||
"card_shade_color": "rgba(0, 0, 0, 0.09)",
|
||||
"dialog_bg_color": "#4f4256",
|
||||
"dialog_fg_color": "#eedcf5",
|
||||
"popover_bg_color": "#4f4256",
|
||||
"popover_fg_color": "#eedcf5",
|
||||
"dialog_bg_color": "#5c3f45",
|
||||
"dialog_fg_color": "#ffd9df",
|
||||
"popover_bg_color": "#5c3f45",
|
||||
"popover_fg_color": "#ffd9df",
|
||||
"thumbnail_bg_color": "#1a1b26",
|
||||
"thumbnail_fg_color": "#AEE5FA",
|
||||
"shade_color": "rgba(0, 0, 0, 0.36)",
|
||||
|
||||
Reference in New Issue
Block a user