removing avizo

This commit is contained in:
Miguel Palhas
2024-11-03 16:51:42 +00:00
parent 0ee5e8eee2
commit 0a82392422
13 changed files with 144 additions and 216 deletions
-44
View File
@@ -1,44 +0,0 @@
* {
all: unset; // Unsets everything so you can style everything from scratch
}
// Global Styles
.bar {
background-color: #3a3a3a;
color: #b0b4bc;
padding: 10px;
}
// Styles on classes (see eww.yuck for more information)
.sidestuff slider {
all: unset;
color: #ffd5cd;
}
.metric scale trough highlight {
all: unset;
background-color: #D35D6E;
color: #000000;
border-radius: 10px;
}
.metric scale trough {
all: unset;
background-color: #4e4e4e;
border-radius: 50px;
min-height: 3px;
min-width: 50px;
margin-left: 10px;
margin-right: 20px;
}
.label-ram {
font-size: large;
}
.workspaces button:hover {
color: #D35D6E;
}
-72
View File
@@ -1,72 +0,0 @@
(defwidget bar []
(centerbox :orientation "h"
(workspaces)
(music)
(sidestuff)))
(defwidget sidestuff []
(box :class "sidestuff" :orientation "h" :space-evenly false :halign "end"
(metric :label "🔊"
:value volume
:onchange "amixer -D pulse sset Master {}%")
(metric :label ""
:value {EWW_RAM.used_mem_perc}
:onchange "")
(metric :label "💾"
:value {round((1 - (EWW_DISK["/"].free / EWW_DISK["/"].total)) * 100, 0)}
:onchange "")
time))
(defwidget workspaces []
(box :class "workspaces"
:orientation "h"
:space-evenly true
:halign "start"
:spacing 10
(button :onclick "hyprctl dispatch workspace 1" 1)
(button :onclick "hyprctl dispatch workspace 2" 2)
(button :onclick "hyprctl dispatch workspace 3" 3)
(button :onclick "hyprctl dispatch workspace 4" 4)
(button :onclick "hyprctl dispatch workspace 5" 5)
(button :onclick "hyprctl dispatch workspace 8" 6)))
(defwidget music []
(box :class "music"
:orientation "h"
:space-evenly false
:halign "center"
{music != "" ? "🎵${music}" : ""}))
(defwidget metric [label value onchange]
(box :orientation "h"
:class "metric"
:space-evenly false
(box :class "label" label)
(scale :min 0
:max 101
:active {onchange != ""}
:value value
:onchange onchange)))
(deflisten music :initial ""
"playerctl --follow metadata --format '{{ artist }} - {{ title }}' || true")
(defpoll volume :interval "1s"
"scripts/getvol")
(defpoll time :interval "10s"
"date '+%H:%M %b %d, %Y'")
(defwindow bar
:monitor 0
:windowtype "dock"
:geometry (geometry :x "0%"
:y "0%"
:width "100%"
:height "10px"
:anchor "top center")
(bar))
@@ -1,12 +0,0 @@
#!/bin/sh
if command -v pamixer &>/dev/null; then
if [ true == $(pamixer --get-mute) ]; then
echo 0
exit
else
pamixer --get-volume
fi
else
amixer -D pulse sget Master | awk -F '[^0-9]+' '/Left:/{print $3}'
fi
-8
View File
@@ -1,8 +0,0 @@
{ config, pkgs, ... }:
{
programs.eww = {
enable = true;
enableZshIntegration = true;
configDir = ./config;
};
}
-11
View File
@@ -1,11 +0,0 @@
{ pkgs, ... }:
{
services.avizo = {
enable = true;
settings = {
default = {
time = 1.0;
};
};
};
}
+2 -8
View File
@@ -6,7 +6,6 @@ in
imports = [
./rofi.nix
./dunst.nix
./avizo.nix
./cursor.nix
];
@@ -14,16 +13,13 @@ in
hyprcursor
pamixer
hyprshot
hyprpanel
];
home.sessionVariables = {
ELECTRON_OZONE_PLATFORM_HINT = "auto";
};
xdg.configFile = {
"hypr/scripts".source = ./scripts;
};
wayland.windowManager.hyprland = {
enable = true;
settings = {
@@ -92,7 +88,7 @@ in
"exec-once" = [
"dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
"eww daemon"
"hyprpanel"
];
windowrulev2 = [
@@ -120,8 +116,6 @@ in
"$mod, f, fullscreen, 0"
"$mod SHIFT, f, fullscreen, 1"
"$mod, d, exec, ~/.config/hypr/scripts/toggle-bar"
# rofi
"$mod, space, exec, launcher_t2"
@@ -1,7 +0,0 @@
#!/usr/bin/env zsh
if eww active-windows | grep bar; then
eww close bar
else
eww open bar
fi
+1
View File
@@ -8,6 +8,7 @@
nixfmt-rfc-style
biome
stylua
neovide
];
programs.nvchad = {
+1
View File
@@ -3,6 +3,7 @@
home.packages = with pkgs; [
rustup
bacon
mprocs
];
home.sessionPath = [ "\${CARGO_HOME:-~/.cargo}/bin" ];