[Build] Run build

This commit is contained in:
Janis Hutz 2025-04-26 12:10:09 +02:00
parent 609f662eb5
commit 519eea601c
8 changed files with 48 additions and 30 deletions

View File

@ -4,6 +4,7 @@ import Bar from "./components/bar/Bar";
import AstalHyprland from "gi://AstalHyprland?version=0.1";
import { hyprToGdk } from "./util/hyprland";
import { writeFile } from "astal";
import Launcher from "./components/launcher/Launcher";
App.start({
instanceName: "runner",
@ -47,6 +48,7 @@ App.start({
// for (let index = 0; index < monitors.length; index++) {
// Bar.BarLauncher( monitors[ index ] );
// }
// Launcher();
},
requestHandler(request, res) {
const args = request.trimStart().split( ' ' );
@ -57,6 +59,20 @@ App.start({
} else if ( args[ 0 ] === 'bar' ) {
res( Bar.cliHandler( args ) );
}
// } else if ( args[ 0 ] === 'launcher' ) {
// if ( args[ 1 ] === 'show' ) {
// App.get_window( 'launcher' )?.show();
// res( '[Launcher] Shown' );
// } else if ( args[ 1 ] === 'hide' ) {
// App.get_window( 'launcher' )?.hide();
// res( '[Launcher] Hidden' );
// } else if ( args[ 1 ] === 'toggle' ) {
// App.toggle_window( 'launcher' );
// res( '[Launcher] Toggled' );
// } else {
// res( '[Launcher] unknown command' );
// }
// }
},
})

View File

@ -2,6 +2,7 @@
@use "./components/bar/bar.scss";
@use "./components/QuickActions/quickactions.scss";
@use "./util/colours.scss" as *;
/* @use "./components/launcher/launcher.scss"; */
* {
font-size: 1rem;

View File

@ -1,4 +1,5 @@
$fg-color: #E6E6E6;
$bg-color: #141414;
$accent-color: #040E1D;
$accent-color-2: #0868BA;
$accent-color: #B27BD1;
$accent-color-2: #5F50A6;
$shadow-color: rgba(40, 40, 40, 0.3);

View File

@ -69,7 +69,7 @@ bind = SHIFT, PRINT, exec, grimblast --notify save screen
# ┌ ┐
# │ Rofi commands │
# └ ┘
bind = $mainMod SHIFT, Space, exec, killall rofi || rofi -show combi -modes combi -combi-modes "window,drun,run"
bind = $mainMod, Space, exec, killall rofi || rofi -show combi -modes combi -combi-modes "window,drun,run"
# ┌ ┐
# │ Logout commands │

View File

@ -4,10 +4,10 @@
# ╰────────────────────────────────────────────────╯
# ────────────────────────────────────────────────────────────────────
exec = swaybg -m fill -i /home/janis/NextCloud/Wallpapers/hyprland/hyprland-pcs.png
exec = swaybg -m fill -i /home/janis/NextCloud/Wallpapers/dark/colour-explosion.jpg
general {
col.active_border = rgba(040e1dcc) rgba(0868bacc) rgba(0fb3d9cc) 45deg
col.active_border = rgba(b27bd1cc) rgba(5f50a6cc) rgba(050406cc) 45deg
col.inactive_border = rgb(000000)
}

View File

@ -18,7 +18,7 @@ general {
# └ ┘
background {
monitor =
path = /home/janis/NextCloud/Wallpapers/dark/colour-splash.jpg # Or screenshot
path = /home/janis/NextCloud/Wallpapers/arch/arch-simple.jpg # Or screenshot
blur_passes = 1
}
@ -33,7 +33,7 @@ input-field {
dots_size = 0.33 # Scale of input-field height, 0.2 - 0.8
dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0
dots_center = false
outer_color = rgb(4, 14, 29)
outer_color = rgb(178, 123, 209)
inner_color = rgb(200, 200, 200)
font_color = rgb(10, 10, 10)
fade_on_empty = true

View File

@ -25,7 +25,7 @@ button:hover {
}
button:focus {
background-color: rgb(4, 14, 29);
background-color: rgb(178, 123, 209);
color: rgb(230, 230, 230);
}

View File

@ -40,40 +40,40 @@
/*
* Accent colour
*/
@define-color accent #040E1D;
@define-color accent_rgba_05 rgba(4, 14, 29, 0.5);
@define-color accent_rgba_03 rgba(4, 14, 29, 0.3);
@define-color accent_rgba_02 rgba(4, 14, 29, 0.2);
@define-color accent_rgba_015 rgba(4, 14, 29, 0.15);
@define-color accent_rgba_011 rgba(4, 14, 29, 0.11);
@define-color accent_rgba_007 rgba(4, 14, 29, 0.07);
@define-color accent #B27BD1;
@define-color accent_rgba_05 rgba(178, 123, 209, 0.5);
@define-color accent_rgba_03 rgba(178, 123, 209, 0.3);
@define-color accent_rgba_02 rgba(178, 123, 209, 0.2);
@define-color accent_rgba_015 rgba(178, 123, 209, 0.15);
@define-color accent_rgba_011 rgba(178, 123, 209, 0.11);
@define-color accent_rgba_007 rgba(178, 123, 209, 0.07);
/*
* Accent Gradient
*/
@define-color accent_gradient_1 #030913;
@define-color accent_gradient_2 #02070F;
@define-color accent_gradient_3 #02060C;
@define-color accent_gradient_4 #01050A;
@define-color accent_gradient_5 #010408;
@define-color accent_gradient_inverse_1 #06162D;
@define-color accent_gradient_inverse_2 #06162D;
@define-color accent_gradient_inverse_3 #06162D;
@define-color accent_gradient_1 #724F86;
@define-color accent_gradient_2 #5B3F6B;
@define-color accent_gradient_3 #493256;
@define-color accent_gradient_4 #3A2844;
@define-color accent_gradient_5 #2F2037;
@define-color accent_gradient_inverse_1 #FFC0FF;
@define-color accent_gradient_inverse_2 #FFC0FF;
@define-color accent_gradient_inverse_3 #FFC0FF;
/*
* Secondary accent colour
*/
@define-color accent2 #0868BA;
@define-color accent2_rgba_05 rgba(8, 104, 186, 0.5);
@define-color accent2_rgba_03 rgba(8, 104, 186, 0.3);
@define-color accent2_rgba_02 rgba(8, 104, 186, 0.2);
@define-color accent2_rgba_015 rgba(8, 104, 186, 0.15);
@define-color accent2_rgba_01 rgba(8, 104, 186, 0.1);
@define-color accent2 #5F50A6;
@define-color accent2_rgba_05 rgba(95, 80, 166, 0.5);
@define-color accent2_rgba_03 rgba(95, 80, 166, 0.3);
@define-color accent2_rgba_02 rgba(95, 80, 166, 0.2);
@define-color accent2_rgba_015 rgba(95, 80, 166, 0.15);
@define-color accent2_rgba_01 rgba(95, 80, 166, 0.1);
/*
* Tertiary accent colour
*/
@define-color accent3 #0FB3D9;
@define-color accent3 #050406;
/*
* Inactive Colour