Updated config
This commit is contained in:
parent
e2fed71e49
commit
02248d3c8b
@ -13,9 +13,9 @@ windowrulev2 = suppressevent maximize, class:.*
|
||||
windowrulev2 = float, class:($wallpaper)
|
||||
|
||||
# No gaps when there is a single window
|
||||
workspace = w[tv1], gapsout:0, gapsin:0
|
||||
workspace = f[1], gapsout:0, gapsin:0
|
||||
windowrulev2 = bordersize 0, floating:0, onworkspace:w[tv1]
|
||||
windowrulev2 = rounding 0, floating:0, onworkspace:w[tv1]
|
||||
windowrulev2 = bordersize 0, floating:0, onworkspace:f[1]
|
||||
windowrulev2 = rounding 0, floating:0, onworkspace:f[1]
|
||||
# workspace = w[tv1], gapsout:0, gapsin:0
|
||||
# workspace = f[1], gapsout:0, gapsin:0
|
||||
# windowrulev2 = bordersize 0, floating:0, onworkspace:w[tv1]
|
||||
# windowrulev2 = rounding 0, floating:0, onworkspace:w[tv1]
|
||||
# windowrulev2 = bordersize 0, floating:0, onworkspace:f[1]
|
||||
# windowrulev2 = rounding 0, floating:0, onworkspace:f[1]
|
@ -1,27 +1,6 @@
|
||||
{
|
||||
"layer": "top",
|
||||
"position": "bottom",
|
||||
"modules-left": [
|
||||
"custom/os",
|
||||
"hyprland/window"
|
||||
],
|
||||
"modules-center": [
|
||||
],
|
||||
"modules-right": [
|
||||
"group/hardware",
|
||||
"wireplumber",
|
||||
"clock"
|
||||
],
|
||||
"group/hardware": {
|
||||
"orientation": "horizontal",
|
||||
"modules": [
|
||||
"cpu",
|
||||
"custom/gpu",
|
||||
"temperature",
|
||||
"memory",
|
||||
"disk",
|
||||
"network"
|
||||
],
|
||||
},
|
||||
"modules-right": ["cpu", "custom/gpu", "memory", "disk", "wireplumber", "clock"],
|
||||
"include": "~/.config/waybar/modules.jsonc",
|
||||
}
|
@ -1,120 +1,38 @@
|
||||
{
|
||||
"clock": {
|
||||
"interval": 60,
|
||||
"format": "<span color='#ffffff40'> </span> {:%H:%M}",
|
||||
"tooltip-format": "{:%A, %Y-%m-%d}",
|
||||
"on-click": "$TERMINAL -e peaclock",
|
||||
"on-click-right": "date -u +'%Y-%m-%dT%H:%M:%SZ' | wl-copy",
|
||||
},
|
||||
"cpu": {
|
||||
"interval": 2,
|
||||
"format": "<span color='#ffffff40'>{icon} </span> {usage}%",
|
||||
"format-icons": ["", "", ""],
|
||||
"max-length": 10,
|
||||
"format": "CPU: {usage}%",
|
||||
"on-click": "$TERMINAL -e btop",
|
||||
},
|
||||
"custom/updates": {
|
||||
"interval": 300,
|
||||
"format": "<span color='#ffffff40'> </span> {}",
|
||||
"exec": "~/.bin/updates",
|
||||
"return-type": "json",
|
||||
"on-click": "$TERMINAL -e yay",
|
||||
},
|
||||
"custom/gpu": {
|
||||
"interval": 2,
|
||||
"format": "GPU: {}%",
|
||||
"exec": "nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader,nounits",
|
||||
"format": "<span color='#ffffff40'> </span> {}%",
|
||||
"return-type": "",
|
||||
"on-click": "$TERMINAL -e nvtop",
|
||||
"max-length": 10,
|
||||
},
|
||||
"memory": {
|
||||
"interval": 2,
|
||||
"format": "<span color='#ffffff40'> </span>{used} GiB",
|
||||
"max-length": 10,
|
||||
"format": "MEM: {used} GiB",
|
||||
"on-click": "$TERMINAL -e btop",
|
||||
},
|
||||
"network": {
|
||||
"interval": 2,
|
||||
"format-ethernet": "<span color='#ffffff40'> </span> {bandwidthTotalBytes}",
|
||||
"format-disconnected": "<span color='#ffffff40'> </span>",
|
||||
"max-length": 10,
|
||||
"on-click": "$TERMINAL -e bandwhich",
|
||||
},
|
||||
"disk": {
|
||||
"interval": 30,
|
||||
"format": "<span color='#ffffff40'> </span>{used}",
|
||||
"format": "SSD: {specific_used:0.0f} GiB",
|
||||
"path": "/",
|
||||
"max-length": 10,
|
||||
"unit": "GiB",
|
||||
"on-click": "$TERMINAL -e dua i /",
|
||||
},
|
||||
"mpris": {
|
||||
"format": "<span color='#ffffff40'>{player_icon} </span> {title}",
|
||||
"format-paused": "<span color='#ffffff40'>{status_icon} </span> {title}",
|
||||
"player-icons": {
|
||||
"default": "",
|
||||
"mpv": ""
|
||||
},
|
||||
"status-icons": {
|
||||
"paused": ""
|
||||
},
|
||||
"title-len": 30,
|
||||
},
|
||||
"temperature": {
|
||||
"interval": 2,
|
||||
"format": "<span color='#ffffff40'></span> {temperatureC} C",
|
||||
"hwmon-path": "/sys/class/hwmon/hwmon5/temp1_input",
|
||||
"on-click": "$TERMINAL -e watch -n 1 sensors",
|
||||
},
|
||||
"wireplumber": {
|
||||
"format": "<span color='#ffffff40'>{icon} </span> {volume}%",
|
||||
"format-muted": "",
|
||||
"format": "VOL: {volume}%",
|
||||
"format-muted": "",
|
||||
"scroll-step": 5,
|
||||
"format-icons": ["", "", ""],
|
||||
"max-length": 10,
|
||||
"on-click": "easyeffects",
|
||||
},
|
||||
"hyprland/window": {
|
||||
"format": " {initialTitle}",
|
||||
"separate-outputs": true
|
||||
},
|
||||
"hyprland/workspaces": {
|
||||
"format": "{icon}",
|
||||
"persistent-workspaces": {
|
||||
"*": 9
|
||||
},
|
||||
"format-icons": {
|
||||
"default": "",
|
||||
"empty": "",
|
||||
"active": "",
|
||||
"urgent": "",
|
||||
},
|
||||
"sort-by-number": true,
|
||||
"on-click": "activate",
|
||||
},
|
||||
"custom/os":{
|
||||
"format": "",
|
||||
"tooltip": false,
|
||||
"on-click": "fuzzel",
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 21,
|
||||
"spacing": 10
|
||||
},
|
||||
"wlr/taskbar": {
|
||||
"format": "{icon}",
|
||||
"icon-size": 14,
|
||||
"tooltip-format": "{title}",
|
||||
"on-click": "activate",
|
||||
"on-click-middle": "close",
|
||||
"ignore-list": [
|
||||
"Alacritty",
|
||||
],
|
||||
"app_ids-mapping": {
|
||||
"firefoxdeveloperedition": "firefox-developer-edition",
|
||||
},
|
||||
"rewrite": {
|
||||
"Firefox Web Browser": "Firefox",
|
||||
},
|
||||
"clock": {
|
||||
"interval": 60,
|
||||
"format": "{:%H:%M}",
|
||||
"tooltip-format": "{:%A, %Y-%m-%d}",
|
||||
"on-click": "date -u +'%Y-%m-%dT%H:%M:%SZ' | wl-copy",
|
||||
},
|
||||
}
|
@ -1,124 +1,19 @@
|
||||
/* ===== Generic ===== */
|
||||
|
||||
* {
|
||||
border: none;
|
||||
font-family: "UbuntuMono Nerd Font";
|
||||
font-size: 15px;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* ===== Waybar ===== */
|
||||
|
||||
#waybar {
|
||||
background: rgba(38, 41, 44, 0.5);
|
||||
border-top: 1px solid rgba(38, 41, 44, 0.6);
|
||||
/* background: transparent; */
|
||||
}
|
||||
|
||||
#waybar.hidden {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
#waybar #window {
|
||||
opacity: 1;
|
||||
transition: opacity 200ms ease;
|
||||
}
|
||||
|
||||
#waybar.empty #window {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
/* ===== Modules ===== */
|
||||
|
||||
#clock,
|
||||
#cpu,
|
||||
#disk,
|
||||
#memory,
|
||||
#mpris,
|
||||
#network,
|
||||
#temperature,
|
||||
#window,
|
||||
#wireplumber,
|
||||
#custom-gpu,
|
||||
#custom-updates {
|
||||
color: rgba(255, 255, 255, 0.8);
|
||||
padding: 4px 8px;
|
||||
margin: 4px;
|
||||
margin-right: 0;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
#custom-os {
|
||||
font-size: 150%;
|
||||
color: rgb(137, 220, 235);
|
||||
padding: 4px 8px;
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
#custom-updates.disabled {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
/* ===== Taskbar ===== */
|
||||
|
||||
#taskbar button {
|
||||
padding: 0px 5px;
|
||||
}
|
||||
|
||||
#taskbar button:hover {}
|
||||
#taskbar button.active {}
|
||||
|
||||
/* ===== Workspaces ===== */
|
||||
|
||||
#workspaces button {
|
||||
margin-left: 8px;
|
||||
color: white;
|
||||
background: transparent;
|
||||
text-shadow: none;
|
||||
border-radius: 0;
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
#workspaces button.empty {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
opacity: 1.0;
|
||||
}
|
||||
|
||||
#workspaces button.visible {}
|
||||
#workspaces button.urgent {}
|
||||
#workspaces button.persistent {}
|
||||
#workspaces button.hidden {}
|
||||
|
||||
/* ===== Extra colors ===== */
|
||||
|
||||
/*#cpu {
|
||||
background: rgb(50.15%, 92.07%, 99.48%);
|
||||
}
|
||||
|
||||
#custom-gpu {
|
||||
background: rgb(67.06%, 91.37%, 70.2%);
|
||||
}
|
||||
|
||||
#memory {
|
||||
background: rgb(100%, 81.7%, 68.38%);
|
||||
}
|
||||
|
||||
#disk {
|
||||
background: rgb(100%, 80.74%, 81.04%);
|
||||
}
|
||||
|
||||
#network {
|
||||
background: rgb(92.54%, 81.78%, 100%);
|
||||
}
|
||||
|
||||
#wireplumber {
|
||||
background: rgb(90%, 90%, 90%);
|
||||
}
|
||||
|
||||
#clock {
|
||||
background: rgb(90%, 90%, 90%);
|
||||
}*/
|
||||
#cpu, #custom-gpu, #memory, #disk, #wireplumber, #clock {
|
||||
border-radius: 3px;
|
||||
color: rgba(255, 255, 255, 0.9);
|
||||
background: rgba(38, 41, 44, 0.5);
|
||||
padding: 4px 8px;
|
||||
margin-bottom: 10px;
|
||||
margin-right: 10px;
|
||||
}
|
4
.config/yazi/keymap.toml
Normal file
4
.config/yazi/keymap.toml
Normal file
@ -0,0 +1,4 @@
|
||||
[[manager.prepend_keymap]]
|
||||
on = [ "<C-s>" ]
|
||||
run = 'shell "$SHELL" --block --confirm'
|
||||
desc = "Open shell here"
|
2
.config/yazi/yazi.toml
Normal file
2
.config/yazi/yazi.toml
Normal file
@ -0,0 +1,2 @@
|
||||
[manager]
|
||||
show_hidden = true
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -24,4 +24,5 @@ lazy-lock.json
|
||||
!/.config/vscode
|
||||
!/.config/waybar
|
||||
!/.config/wlogout
|
||||
!/.config/yazi
|
||||
!/.config/zed
|
Loading…
Reference in New Issue
Block a user