Updated config

This commit is contained in:
Eduard Urbach 2024-03-25 13:55:15 +01:00
parent 68e87da51d
commit c42cf0264f
Signed by: akyoto
GPG Key ID: C874F672B1AF20C0
10 changed files with 82 additions and 62 deletions

View File

@ -1,6 +1,6 @@
font=Ubuntu Nerd Font:size=18
prompt=""
lines=8
lines=5
width=20
horizontal-pad=16
vertical-pad=8
@ -13,9 +13,9 @@ width=0
radius=10
[colors]
background=26292cf0
text=ffffff30
match=ffffff30
selection=26292cf0
selection-text=ffffffe0
selection-match=ffffffff
#background=26292c20
#text=ffffff20
#match=ffffff30
#selection=26292c20
#selection-text=ffffffe0
#selection-match=ffffffff

View File

@ -1,5 +1,5 @@
animations {
enabled = yes
enabled = no
bezier = myBezier, 0.05, 0.9, 0.1, 1.05

View File

@ -1,3 +1,2 @@
exec-once = waypaper --restore
exec-once = $statusbar
exec-once = wl-paste --watch cliphist store

View File

@ -1,15 +1,12 @@
general {
gaps_in = 4
gaps_out = 8
border_size = 2
gaps_in = 0
gaps_out = 0
border_size = 0
layout = dwindle
allow_tearing = true
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
col.inactive_border = rgba(595959aa)
layout = dwindle
allow_tearing = true
}
input {
@ -19,12 +16,11 @@ input {
kb_options =
kb_rules =
follow_mouse = 1
touchpad {
natural_scroll = no
}
follow_mouse = 1
sensitivity = 0
accel_profile = flat
}
@ -34,10 +30,10 @@ debug {
}
decoration {
rounding = 10
rounding = 0
blur {
enabled = true
enabled = false
size = 4
passes = 4
new_optimizations = on
@ -50,8 +46,8 @@ decoration {
shadow_render_power = 3
col.shadow = rgba(1a1a1aee)
active_opacity = 0.9
inactive_opacity = 0.9
#active_opacity = 0.9
#inactive_opacity = 0.9
}
dwindle {

View File

@ -1,5 +1,5 @@
# Blur the status bar
layerrule = blur, $statusbar
# layerrule = blur, $statusbar
# Disable maximize event
windowrulev2 = suppressevent maximize, class:.*

View File

@ -2,20 +2,20 @@
"Comment.nvim": { "branch": "master", "commit": "0236521ea582747b58869cb72f70ccfa967d2e89" },
"flash.nvim": { "branch": "main", "commit": "48817af25f51c0590653bbc290866e4890fe1cbe" },
"gitsigns.nvim": { "branch": "main", "commit": "078041e9d060a386b0c9d3a8c7a7b019a35d3fb0" },
"lazy.nvim": { "branch": "main", "commit": "83493db50a434a4c5c648faf41e2ead80f96e478" },
"lazy.nvim": { "branch": "main", "commit": "08954f723bf2d442ea020551e3acc956f4dc6dc7" },
"mini.completion": { "branch": "main", "commit": "0cf6c4e257b5e8189ac6b3ffa2064a319c4eb8a8" },
"mini.surround": { "branch": "main", "commit": "a1b590cc3b676512de507328d6bbab5e43794720" },
"monokai.nvim": { "branch": "master", "commit": "b8bd44d5796503173627d7a1fc51f77ec3a08a63" },
"noice.nvim": { "branch": "main", "commit": "bf67d70bd7265d075191e7812d8eb42b9791f737" },
"noice.nvim": { "branch": "main", "commit": "d29b26c329558ee4bb2e7f3cc25078929ef89b2f" },
"nui.nvim": { "branch": "main", "commit": "cbd2668414331c10039278f558630ed19b93e69b" },
"nvim-autopairs": { "branch": "master", "commit": "dbfc1c34bed415906395db8303c71039b3a3ffb4" },
"nvim-lspconfig": { "branch": "master", "commit": "d67715d3b746a19e951b6b0a99663fa909bb9e64" },
"nvim-lspconfig": { "branch": "master", "commit": "6e5c78ebc9936ca74add66bda22c566f951b6ee5" },
"nvim-notify": { "branch": "master", "commit": "5371f4bfc1f6d3adf4fe9d62cd3a9d44356bfd15" },
"nvim-tree.lua": { "branch": "master", "commit": "f7c09bd72e50e1795bd3afb9e2a2b157b4bfb3c3" },
"nvim-treesitter": { "branch": "master", "commit": "722617e6726c1508adadf83d531f54987c703be0" },
"nvim-web-devicons": { "branch": "master", "commit": "cb0c967c9723a76ccb1be0cc3a9a10e577d2f6ec" },
"plenary.nvim": { "branch": "master", "commit": "f7adfc4b3f4f91aab6caebf42b3682945fbc35be" },
"nvim-tree.lua": { "branch": "master", "commit": "e20966ae558524f8d6f93dc37f5d2a8605f893e2" },
"nvim-treesitter": { "branch": "master", "commit": "965f2e7239ab5e1c5f133d498591f1e70746410c" },
"nvim-web-devicons": { "branch": "master", "commit": "6662f059bf78e6092ba90cd1929599625f448f55" },
"plenary.nvim": { "branch": "master", "commit": "8aad4396840be7fc42896e3011751b7609ca4119" },
"telescope-project.nvim": { "branch": "master", "commit": "1aaf16580a614601a7f7077d9639aeb457dc5559" },
"telescope.nvim": { "branch": "master", "commit": "221778e93bfaa58bce4be4e055ed2edecc26f799" },
"telescope.nvim": { "branch": "master", "commit": "c2b8311dfacd08b3056b8f0249025d633a4e71a8" },
"vim-visual-multi": { "branch": "master", "commit": "fe1ec7e430013b83c8c2dee85ae496251b71e253" }
}

View File

@ -25,6 +25,26 @@ return {
},
},
},
rust_analyzer = {
settings = {
["rust-analyzer"] = {
imports = {
granularity = {
group = "module",
},
prefix = "self",
},
cargo = {
buildScripts = {
enable = true,
},
},
procMacro = {
enable = true
},
},
},
},
},
},
config = function(_, opts)

View File

@ -1,11 +1,7 @@
{
"layer": "top",
"position": "bottom",
"modules-left": [
"custom/os",
"hyprland/workspaces",
"wlr/taskbar",
],
"modules-left": [],
"modules-center": [],
"modules-right": [
"group/hardware",

View File

@ -1,21 +1,21 @@
{
"clock": {
"interval": 60,
"format": "<span color='#ffffff7f'> </span> {:%H : %M}",
"format": "<span color='#00000040'> </span> {:%H : %M}",
"tooltip-format": "{:%A, %Y-%m-%d}",
"on-click": "gnome-clocks",
"on-click-right": "date -u +'%Y-%m-%dT%H:%M:%SZ' | wl-copy",
},
"cpu": {
"interval": 2,
"format": "<span color='#ffffff7f'>{icon}</span> {usage}%",
"format": "<span color='#00000040'>{icon}</span> {usage}%",
"format-icons": ["󰾆", "󰾅", "󰓅"],
"max-length": 10,
"on-click": "$TERMINAL -e btop",
},
"custom/updates": {
"interval": 300,
"format": "<span color='#ffffff7f'>󰏖 </span> {}",
"format": "<span color='#00000040'>󰏖 </span> {}",
"exec": "~/.bin/updates",
"return-type": "json",
"on-click": "$TERMINAL -e yay",
@ -23,41 +23,41 @@
"custom/gpu": {
"interval": 2,
"exec": "nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader,nounits",
"format": "<span color='#ffffff7f'> </span> {}%",
"format": "<span color='#00000040'> </span> {}%",
"return-type": "",
"on-click": "$TERMINAL -e nvtop",
"max-length": 10,
},
"memory": {
"interval": 2,
"format": "<span color='#ffffff7f'> </span>{used} GiB",
"format": "<span color='#00000040'> </span>{used} GiB",
"max-length": 10,
"on-click": "$TERMINAL -e btop",
},
"network#up": {
"interval": 2,
"format": "<span color='#ffffff7f'> </span>{bandwidthUpBits}",
"format": "<span color='#00000040'> </span>{bandwidthUpBits}",
"tooltip-format": " {ifname} upload",
"max-length": 10,
"on-click": "$TERMINAL -e nethogs",
},
"network#down": {
"interval": 2,
"format": "<span color='#ffffff7f'> </span>{bandwidthDownBits}",
"format": "<span color='#00000040'> </span>{bandwidthDownBits}",
"tooltip-format": " {ifname} download",
"max-length": 10,
"on-click": "$TERMINAL -e nethogs",
},
"disk": {
"interval": 30,
"format": "<span color='#ffffff7f'>󰋊 </span>{used}",
"format": "<span color='#00000040'>󰋊 </span>{used}",
"path": "/",
"max-length": 10,
"on-click": "$TERMINAL -e dua i",
},
"mpris": {
"format": "<span color='#ffffff7f'>{player_icon}</span> {title}",
"format-paused": "<span color='#ffffff7f'>{status_icon}</span> {title}",
"format": "<span color='#00000040'>{player_icon}</span> {title}",
"format-paused": "<span color='#00000040'>{status_icon}</span> {title}",
"player-icons": {
"default": "󰝚",
"mpv": "󰝚"
@ -68,7 +68,7 @@
"title-len": 30,
},
"wireplumber": {
"format": "<span color='#ffffff7f'>{icon}</span> {volume}%",
"format": "<span color='#00000040'>{icon}</span> {volume}%",
"format-muted": "",
"scroll-step": 5,
"format-icons": ["", "", ""],

View File

@ -3,7 +3,7 @@
* {
border: none;
font-family: "Ubuntu Nerd Font";
font-size: 11px;
font-size: 12px;
padding: 0;
margin: 0;
}
@ -11,7 +11,9 @@
/* ===== Waybar ===== */
#waybar {
background: rgba(38, 41, 44, 0.5);
background: transparent;
/* background: rgba(54, 137, 230, 0.8); */
/* border-top: 1px solid rgba(54, 137, 230, 0.8); */
}
#waybar.hidden {
@ -35,23 +37,21 @@
#memory,
#mpris,
#network,
#taskbar,
#window,
#wireplumber,
#workspaces,
#custom-os,
#custom-gpu,
#custom-updates {
/* background: rgb(38, 41, 44); */
border-radius: 12px;
padding: 2px 4px;
margin: 4px;
color: rgba(32, 32, 32, 0.8);
padding: 4px 8px;
margin: 2px;
margin-right: 0;
border-radius: 3px;
}
#custom-os {
font-size: 150%;
color: rgb(137, 220, 235);
background: transparent;
/* background: transparent; */
}
#custom-updates.disabled {
@ -72,14 +72,15 @@
#workspaces button {
/* color: rgba(38, 41, 44, 0.9); */
padding: 0px 5px;
opacity: 0.25;
color: white;
background: transparent;
text-shadow: none;
border-radius: 0;
opacity: 0.5;
}
#workspaces button.empty {
opacity: 0.1;
opacity: 0.5;
}
#workspaces button.active {
@ -94,7 +95,7 @@
/* ===== Extra colors ===== */
/*#cpu {
#cpu {
background: rgb(50.15%, 92.07%, 99.48%);
}
@ -112,4 +113,12 @@
#network {
background: rgb(92.54%, 81.78%, 100%);
}*/
}
#wireplumber {
background: rgb(90%, 90%, 90%);
}
#clock {
background: rgb(90%, 90%, 90%);
}