Skip to content

Commit

Permalink
feat!(ags): remove desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelroses committed Oct 14, 2023
1 parent 038a816 commit 50b5cbe
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 129 deletions.
2 changes: 0 additions & 2 deletions home/isabel/programs/gui/confs/bars/ags/config/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import OSD from "./js/osd/OSD.js";
import Applauncher from "./js/applauncher/Applauncher.js";
import PowerMenu from "./js/powermenu/PowerMenu.js";
import Verification from "./js/powermenu/Verification.js";
import Desktop from "./js/desktop/Desktop.js";
import Notifications from "./js/notifications/Notifications.js";
import QuickSettings from "./js/quicksettings/QuickSettings.js";
import options from "./js/options.js";
Expand All @@ -27,7 +26,6 @@ export default {
forMonitors(TopBar),
forMonitors(ScreenCorners),
forMonitors(OSD),
forMonitors(Desktop),
forMonitors(Notifications),
Applauncher(),
Dashboard(),
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,6 @@ class Indicator extends Service {
);
}

kbd() {
// brightness is async, so lets wait a bit
Utils.timeout(10, () =>
this.popup(
(Brightness.kbd * 33 + 1) / 100,
icons.brightness.keyboard,
),
);
}

connectWidget(widget, callback) {
Utils.connect(this, widget, callback, "popup");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@
}

&:selected {
box-shadow:
inset 0 -8px 0 0 transparentize($accent, 0.5),
inset 0 0 0 1px $accent;
border-radius: $radii * 0.6;
@include button($flat: false);
}

&.header {
Expand All @@ -31,6 +28,7 @@
&:indeterminate {
color: transparentize($fg_color, 0.9);
}

font-size: 1.1em;
padding: 0.2em;
}
Expand Down Expand Up @@ -83,9 +81,11 @@ window#dashboard .dashboard {

.placeholder {
color: $wallpaper_fg;

image {
font-size: 7em;
}

label {
font-size: 1.2em;
}
Expand Down Expand Up @@ -128,9 +128,11 @@ window#dashboard .dashboard {
@include widget;
margin-top: $spacing;
margin-right: $spacing;

&:last-child {
margin-right: 0;
}

padding: $spacing;

.circular-progress {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,6 @@ window.corner .corner {
border-radius: if($screen_corners, $radii * 2, 0);
}

window.desktop {
@if $bar_style == "normal" {
border-radius: if($screen_corners, $popover_radius, 0);
box-shadow: inset 0 0 $spacing 0 $shadow;
}

.date {
color: $wallpaper_fg;
font-size: 48px;
}
}

.desktop-menu {
image {
margin-left: -14px;
margin-right: 6px;
}
}

window.indicator .progress {
@include floating_widget;
padding: $spacing/2;
Expand Down

0 comments on commit 50b5cbe

Please sign in to comment.