This commit is contained in:
Thomas Avé 2024-01-20 00:03:32 +01:00
parent c3bf36a02d
commit 6f5d421b4d
4 changed files with 32 additions and 20 deletions

View File

@ -14,7 +14,7 @@ return {
TelescopeBorder = { bg = "#191926", fg = "#191926" }, TelescopeBorder = { bg = "#191926", fg = "#191926" },
TelescopePromptBorder = { bg = "#191926", fg = "#191926" }, TelescopePromptBorder = { bg = "#191926", fg = "#191926" },
TelescopeTitle = { fg = colors.blue }, TelescopeTitle = { fg = colors.blue },
WinSeparator = { fg = "#191926" } WinSeparator = { fg = "#023269" }
} }
end, end,
color_overrides = { color_overrides = {

View File

@ -33,8 +33,8 @@ local function should_load(path)
end end
function teaching.load() function teaching.load()
require("nvim-tree").open()
require("trouble").open() require("trouble").open()
require("nvim-tree").open()
local scan = require("plenary.scandir").scan_dir('.') local scan = require("plenary.scandir").scan_dir('.')
local cwd = vim.fn.getcwd() local cwd = vim.fn.getcwd()
for _, v in ipairs(scan) do for _, v in ipairs(scan) do

View File

@ -1,15 +1,15 @@
{ {
"layer": "top", // Waybar at top layer "layer": "top", // Waybar at top layer
"height": 30, // Waybar height (to be removed for auto height) "height": 35, // Waybar height (to be removed for auto height)
"spacing": 4, // Gaps between modules (4px) "spacing": 4, // Gaps between modules (4px)
"output": "DP-1", "output": "DP-1",
"modules-left": ["wlr/taskbar"], "modules-left": ["wlr/taskbar"],
"modules-center": ["hyprland/workspaces"], "modules-center": ["hyprland/workspaces"],
"modules-right": ["tray", "wireplumber", "cpu#cpu2", "cpu", "memory", "custom/updates", "temperature", "battery", "clock#clock2", "clock"], "modules-right": ["tray", "wireplumber", "cpu#cpu2", "cpu", "memory", "custom/updates", "temperature", "battery", "clock", "clock#clock2"],
"wlr/taskbar": { "wlr/taskbar": {
"on-click": "activate", "on-click": "activate",
"on-click-right": "close", "on-click-right": "close",
"format": "{icon} {title:.30}", "format": "{icon} {title:.20}",
"all-outputs": true "all-outputs": true
}, },
"wireplumber": { "wireplumber": {
@ -31,13 +31,13 @@
// "icon-size": 21, // "icon-size": 21,
"spacing": 10 "spacing": 10
}, },
"clock": { "clock#clock2": {
"timezone": "Europe/Brussels", "timezone": "Europe/Brussels",
"format": "{:%H:%M:%S}", "format": "{:%H:%M:%S}",
"interval": 1, "interval": 1,
}, },
"clock#clock2": { "clock": {
"timezone": "Europe/Brussels", "timezone": "Europe/Brussels",
"format": "{:%Y-%m-%d}", "format": "{:%Y-%m-%d}",
"interval": 3600, "interval": 3600,

View File

@ -1,12 +1,12 @@
* { * {
/* `otf-font-awesome` is required to be installed for icons */ /* `otf-font-awesome` is required to be installed for icons */
font-family: Ubuntu; font-family: "Roboto Sans";
font-size: 17px; font-size: 18px;
font-weight:500; font-weight:400;
} }
window#waybar { window#waybar {
background-color: rgba(0, 0, 0, 0.3); background-color: rgba(0, 0, 0, 0.2);
color: #ffffff; color: #ffffff;
transition-property: background-color; transition-property: background-color;
transition-duration: .5s; transition-duration: .5s;
@ -26,9 +26,10 @@ button:hover {
box-shadow: inset 0 0 #ffffff; box-shadow: inset 0 0 #ffffff;
} }
#workspaces button { #workspaces button {
padding: 0 8px; padding: 0 5px;
background-color: transparent; background-color: transparent;
color: #ffffff; color: #ffffff;
border-radius: 2px;
} }
#workspaces button:hover { #workspaces button:hover {
@ -62,21 +63,32 @@ button:hover {
#custom-updates, #custom-updates,
#custom-powermode, #custom-powermode,
#tray { #tray {
padding: 0 12px; padding: 0 14px;
border-radius: 5px; border-radius: 7px;
color: #ffffff; color: #ffffff;
background-color: #1f2430;
margin-left:4px;
margin-right:4px;
margin-top:2px;
margin-bottom:2px;
}
#clock.clock2,
#cpu.cpu2,
#memory,
#temperature {
background-color: #002F5F; background-color: #002F5F;
margin-left:2px;
margin-right:2px;
} }
#taskbar button { #taskbar button {
padding: 0 12px; padding: 0 12px;
border-radius: 5px; border-radius: 7px;
color: #ffffff; color: #ffffff;
background-color: #1f2430; background-color: #1f2430;
margin-left:2px; margin-left:4px;
margin-right:2px; margin-right:4px;
margin-top:2px;
margin-bottom:2px;
} }
#taskbar button.active { #taskbar button.active {
background-color: #002F5F; background-color: #002F5F;
@ -95,7 +107,7 @@ window#waybar.empty #window {
} }
#workspaces { #workspaces {
margin: 0 10px; margin: 4px 9px;
} }
/* If workspaces is the leftmost module, omit left margin */ /* If workspaces is the leftmost module, omit left margin */