Compare commits
2 commits
8450752163
...
e4688e3db1
Author | SHA1 | Date | |
---|---|---|---|
orca | e4688e3db1 | ||
orca | 1cefdb2b89 |
|
@ -1,6 +1,6 @@
|
|||
/* This file is used to avoid hardcoding colors in style.css. */
|
||||
|
||||
/* Catppuccin Machiato palete. */
|
||||
/* Catppuccin Machiato palette. */
|
||||
@define-color invisible rgba(0, 0, 0, 0);
|
||||
|
||||
@define-color base #24273a;
|
||||
|
|
|
@ -1,89 +0,0 @@
|
|||
// This file serves to declare and configure the modules, and the bar itself.
|
||||
|
||||
{
|
||||
|
||||
// Bar configuration.
|
||||
// ------------------
|
||||
|
||||
// The bar should have an height of 46.
|
||||
|
||||
"position": "top",
|
||||
|
||||
"margin-top": 22,
|
||||
|
||||
"modules-left": ["hyprland/workspaces", "network", "memory"],
|
||||
"modules-center": ["clock"],
|
||||
"modules-right": ["pulseaudio", "battery"],
|
||||
|
||||
// Modules configuration.
|
||||
// In order of apparition from left to right.
|
||||
// ------------------------------------------
|
||||
|
||||
// Left modules.
|
||||
"hyprland/workspaces": {
|
||||
"disable-scroll": true,
|
||||
"format": "{icon}",
|
||||
|
||||
"format-icons": {
|
||||
"default": "",
|
||||
"urgent": "",
|
||||
"focused": "",
|
||||
"active": ""
|
||||
}
|
||||
},
|
||||
|
||||
"network": {
|
||||
"format-wifi": "<span size='13000' foreground='#8AADF4'> </span>{essid}",
|
||||
"format-ethernet": "<span size='13000' foreground='#8AADF4'> </span>Disconnected",
|
||||
"format-linked": "<span size='13000' foreground='#8AADF4'> </span>{ifname} (No IP)",
|
||||
"format-disconnected": "<span size='13000' foreground='#8AADF4'> </span>Disconnected",
|
||||
"tooltip-format-wifi": "Signal Strenght: {signalStrength}%"
|
||||
},
|
||||
|
||||
"memory": {
|
||||
"format": "<span size='13000' foreground='#8AADF4'> </span>{}%",
|
||||
"interval": 10
|
||||
},
|
||||
|
||||
// Center modules.
|
||||
"clock": {
|
||||
"format": "<span foreground='#8AADF4'> </span>{:%A %d %H:%M}",
|
||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
|
||||
},
|
||||
|
||||
// Right modules.
|
||||
"pulseaudio": {
|
||||
"on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
|
||||
"tooltip": false,
|
||||
|
||||
"format": "<span size='13000' foreground='#8AADF4'>{icon} </span> {volume}%",
|
||||
"format-muted": "<span size='14000' foreground='#8AADF4'></span> Muted",
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": ["", ""]
|
||||
}
|
||||
},
|
||||
|
||||
"battery": {
|
||||
"format": "<span size='13000' foreground='#8AADF4' >{icon} </span> {capacity}%",
|
||||
"format-warning": "<span size='13000' foreground='#EED49F'>{icon} </span> {capacity}%",
|
||||
"format-critical": "<span size='13000' foreground='#ED8796' >{icon} </span> {capacity}%",
|
||||
"format-charging": "<span size='13000' foreground='#8BD5CA' > </span> {capacity}%",
|
||||
"format-plugged": "<span size='13000' foreground='#8BD5CA' > </span> {capacity}%",
|
||||
"format-alt": "<span size='13000' foreground='#8AADF4' >{icon} </span> {time}",
|
||||
"format-full": "<span size='13000' foreground='#8AADF4' > </span> {capacity}%",
|
||||
|
||||
"format-icons": ["", "", "", "", ""],
|
||||
"tooltip-format": "{time}",
|
||||
|
||||
"states": {
|
||||
"warning": 35,
|
||||
"critical": 20
|
||||
}
|
||||
}
|
||||
}
|
|
@ -47,7 +47,7 @@ dnl
|
|||
"format-ethernet": "<span size='13000' foreground='BLUE'> </span>Disconnected",
|
||||
"format-linked": "<span size='13000' foreground='BLUE'> </span>{ifname} (No IP)",
|
||||
"format-disconnected": "<span size='13000' foreground='BLUE'> </span>Disconnected",
|
||||
"tooltip-format-wifi": "Signal Strenght: {signalStrength}%"
|
||||
"tooltip-format-wifi": "Signal Strength: {signalStrength}%"
|
||||
},
|
||||
|
||||
"memory": {
|
||||
|
|
|
@ -1,129 +0,0 @@
|
|||
/* This file serves to style the modules, and the bar itself. */
|
||||
/* The bar should have an height of 46. */
|
||||
|
||||
/* We avoid hardcoding the colors in. */
|
||||
@import "colors.css";
|
||||
|
||||
/* Default propreties for all elements. */
|
||||
* {
|
||||
font-family: 'Atlas Nerd Font SemiBold';
|
||||
font-size: 10pt;
|
||||
}
|
||||
|
||||
/* The bar and the tooltip. */
|
||||
/* >----------------------< */
|
||||
|
||||
/* 1. The bar itself. */
|
||||
window#waybar {
|
||||
background-color: @invisible;
|
||||
}
|
||||
|
||||
/* 2. What is shown when hovering over a module. */
|
||||
tooltip {
|
||||
background-color: @base;
|
||||
color: @text;
|
||||
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
/* 2.1 The text inside the tooltip. */
|
||||
tooltip label {
|
||||
color: @text;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
/* Modules. */
|
||||
/* >------< */
|
||||
|
||||
/* In order of apparition, from left to right. */
|
||||
#workspaces, #network, #memory, #clock, #pulseaudio, #battery {
|
||||
background-color: @base;
|
||||
color: @text;
|
||||
|
||||
opacity: 0.96;
|
||||
padding: 5px 0px;
|
||||
}
|
||||
|
||||
/* The padding/margin elements are dependant on the order of the modules. */
|
||||
/* Thus, they are separated from the more constant attributes by a new line. */
|
||||
|
||||
/* 1. Left modules. */
|
||||
/* >--------------< */
|
||||
|
||||
#workspaces {
|
||||
/* Outer spacing after the workspace instances. */
|
||||
padding-right: 5px;
|
||||
padding-left: 5px;
|
||||
|
||||
/* Margin between the edge of the screen and the widget. */
|
||||
margin-left: 34px;
|
||||
|
||||
/* Visually separate the modules. */
|
||||
margin-right: 22px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
#network {
|
||||
border-radius: 8px 0px 0px 8px;
|
||||
|
||||
padding-left: 15px;
|
||||
}
|
||||
|
||||
#memory {
|
||||
border-radius: 0px 8px 8px 0px;
|
||||
|
||||
padding-left: 15px;
|
||||
padding-right: 15px;
|
||||
}
|
||||
|
||||
/* 2. Center modules. */
|
||||
/* >----------------< */
|
||||
|
||||
#clock {
|
||||
border-radius: 8px;
|
||||
|
||||
padding-left: 15px;
|
||||
padding-right: 15px;
|
||||
}
|
||||
|
||||
/* 3. Right modules. */
|
||||
/* >---------------< */
|
||||
|
||||
#pulseaudio {
|
||||
border-radius: 8px 0px 0px 8px;
|
||||
|
||||
padding-left: 15px;
|
||||
padding-right: 15px;
|
||||
}
|
||||
|
||||
#battery {
|
||||
margin-right: 34px;
|
||||
border-radius: 0px 8px 8px 0px;
|
||||
|
||||
padding-right: 15px;
|
||||
}
|
||||
|
||||
/* Workspaces buttons. */
|
||||
/* >-----------------< */
|
||||
|
||||
#workspaces button {
|
||||
background: @base;
|
||||
color: @text;
|
||||
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
color: @blue;
|
||||
}
|
||||
|
||||
#workspaces button.urgent {
|
||||
color: @red;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
background: @invisible;
|
||||
border-color: @invisible;
|
||||
color: @blue;
|
||||
}
|
|
@ -24,7 +24,7 @@ dnl
|
|||
/* We avoid hardcoding the colors in. */
|
||||
@import "colors.css";
|
||||
|
||||
/* Default propreties for all elements. */
|
||||
/* Default properties for all elements. */
|
||||
* {
|
||||
font-family: 'Atlas Nerd Font SemiBold';
|
||||
font-size: 10pt;
|
||||
|
|
|
@ -262,7 +262,7 @@ scrollback_pager_history_size 0
|
|||
#: the scrollback buffer with pager. This separate buffer is not
|
||||
#: available for interactive scrolling but will be piped to the pager
|
||||
#: program when viewing scrollback buffer in a separate window. The
|
||||
#: current implementation stores the data in UTF-8, so approximatively
|
||||
#: current implementation stores the data in UTF-8, so approximately
|
||||
#: 10000 lines per megabyte at 100 chars per line, for pure ASCII,
|
||||
#: unformatted text. A value of zero or less disables this feature.
|
||||
#: The maximum allowed size is 4GB. Note that on config reload if this
|
||||
|
|
|
@ -15,9 +15,10 @@ let
|
|||
radare2
|
||||
typst
|
||||
typst-lsp
|
||||
typos
|
||||
];
|
||||
|
||||
my-depedencies = with pkgs; [
|
||||
my-dependencies = with pkgs; [
|
||||
gcc
|
||||
libcxx
|
||||
m4
|
||||
|
@ -30,6 +31,6 @@ let
|
|||
batsignal
|
||||
];
|
||||
|
||||
my-packages = mathematics ++ my-utilities ++ my-depedencies;
|
||||
my-packages = mathematics ++ my-utilities ++ my-dependencies;
|
||||
|
||||
in { home.packages = my-packages; }
|
||||
|
|
|
@ -6,14 +6,14 @@ let
|
|||
global-utilities = with pkgs; [ file tree gnumake ];
|
||||
|
||||
# Better documentation and gnupg.
|
||||
global-depedencies = with pkgs; [
|
||||
global-dependencies = with pkgs; [
|
||||
man-pages
|
||||
man-pages-posix
|
||||
pinentry-curses
|
||||
git
|
||||
];
|
||||
|
||||
global-packages = security ++ global-utilities ++ global-depedencies;
|
||||
global-packages = security ++ global-utilities ++ global-dependencies;
|
||||
|
||||
in {
|
||||
environment = {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Mix of the nord palete and catppuccin.
|
||||
# Mix of the nord palette and catppuccin.
|
||||
|
||||
# Colors should be in 6 or 2 character hexadecimal or single spaced rgb decimal: "#RRGGBB", "#BW" or "0-255 0-255 0-255"
|
||||
# example for white: "#ffffff", "#ff" or "255 255 255".
|
||||
|
@ -17,7 +17,7 @@ theme[main_fg]="#CAD3F5"
|
|||
# Title color for boxes
|
||||
theme[title]="#CAD3F5"
|
||||
|
||||
# Higlight color for keyboard shortcuts
|
||||
# Highlight color for keyboard shortcuts
|
||||
theme[hi_fg]="#8AADF4"
|
||||
|
||||
# Background color of selected item in processes box
|
||||
|
|
Loading…
Reference in a new issue