purple
This commit is contained in:
23
colors.scss
23
colors.scss
@@ -1,12 +1,11 @@
|
|||||||
$background-1: #191919;
|
$background-1: #262229;
|
||||||
$background-2: #515151;
|
$background-2: #474349;
|
||||||
$background-3: #24222A;
|
$background-3: #262229;
|
||||||
$background-4: #302E38;
|
$background-4: #262229;
|
||||||
$highlight-1: #CD1D48;
|
$highlight-1: #624591;
|
||||||
$highlight-1s: #FF5580;
|
$highlight-1s: #B2868D;
|
||||||
$highlight-2: #00FFAA;
|
$highlight-2: #837197;
|
||||||
$highlight-3: #8C66FF;
|
$highlight-3: #837197;
|
||||||
$highlight-3s: #A87AFF;
|
$highlight-3s: #C27DD6;
|
||||||
$text-1: #FFFFFF;
|
$text-1: #ECE5F0;
|
||||||
$text-2: #E0DBF0;
|
$text-2: #ECE5F0;
|
||||||
|
|
||||||
|
|||||||
@@ -217,6 +217,7 @@ button {
|
|||||||
min-height: 6px;
|
min-height: 6px;
|
||||||
min-width: 24px;
|
min-width: 24px;
|
||||||
border: none;
|
border: none;
|
||||||
|
border-radius: 20px;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
color: $highlight-3;
|
color: $highlight-3;
|
||||||
background: $highlight-3;
|
background: $highlight-3;
|
||||||
|
|||||||
4
widget/colors.tsx
Normal file
4
widget/colors.tsx
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
let white = "#DCD2E2"
|
||||||
|
let primary = "#837197"
|
||||||
|
|
||||||
|
export {white, primary}
|
||||||
@@ -119,7 +119,7 @@ function PlayerWindow() {
|
|||||||
className="popupWindow"
|
className="popupWindow"
|
||||||
anchor = {TOP | RIGHT}
|
anchor = {TOP | RIGHT}
|
||||||
namespace="lazerpopup"
|
namespace="lazerpopup"
|
||||||
marginRight={160}>
|
marginRight={100}>
|
||||||
<box
|
<box
|
||||||
vertical={true}
|
vertical={true}
|
||||||
spacing={12}
|
spacing={12}
|
||||||
|
|||||||
@@ -14,8 +14,8 @@ function PowerWindow() {
|
|||||||
["Lock", "bash -c 'pgrep -x hyprlock || hyprlock &'" ],
|
["Lock", "bash -c 'pgrep -x hyprlock || hyprlock &'" ],
|
||||||
["Suspend", "/home/spingus/.config/scripts/lock.sh" ],
|
["Suspend", "/home/spingus/.config/scripts/lock.sh" ],
|
||||||
["Logout", "hyprctl dispatch exit" ],
|
["Logout", "hyprctl dispatch exit" ],
|
||||||
["Shutdown", "systemctl poweroff" ],
|
// ["Shutdown", "systemctl poweroff" ],
|
||||||
["Reboot", "systemctl reboot" ],
|
// ["Reboot", "systemctl reboot" ],
|
||||||
].map(action => <button onClicked={() => {
|
].map(action => <button onClicked={() => {
|
||||||
execAsync(action[1])
|
execAsync(action[1])
|
||||||
.then(out => print(out))
|
.then(out => print(out))
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
import { bind } from "astal"
|
import { bind } from "astal"
|
||||||
import { Gdk, Gtk, Widget } from "astal/gtk3"
|
import { Gdk, Gtk, Widget } from "astal/gtk3"
|
||||||
import Hyprland from "gi://AstalHyprland"
|
import Hyprland from "gi://AstalHyprland"
|
||||||
|
import {white, primary} from "./colors"
|
||||||
|
|
||||||
const hyprland = Hyprland.get_default()
|
const hyprland = Hyprland.get_default()
|
||||||
|
|
||||||
@@ -27,8 +28,8 @@ function newWorkspace(ws: number, monitor: number) {
|
|||||||
}),
|
}),
|
||||||
css: bind(hyprland, "focusedWorkspace").as(fws => {
|
css: bind(hyprland, "focusedWorkspace").as(fws => {
|
||||||
return (fws.id === ws)
|
return (fws.id === ws)
|
||||||
? "border-color: #00ffaa"
|
? `border-color: ${primary}`
|
||||||
: "border-color: #ffffff"
|
: `border-color: ${white}`
|
||||||
})
|
})
|
||||||
}))),
|
}))),
|
||||||
]}>
|
]}>
|
||||||
|
|||||||
Reference in New Issue
Block a user