some cosmetics

main
The_miro 2024-11-24 15:29:34 +01:00
parent fffe14fd66
commit 1b7923ba5d
4 changed files with 199 additions and 47 deletions

View File

@ -1,4 +1,3 @@
#############
### INPUT ###
#############
@ -223,6 +222,7 @@ bind = $mainMod, H, movecurrentworkspacetomonitor
bind = $mainMod, D, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle
bind = $mainMod, L, exec, hyprctl dispatch exit 1
bind = $mainMod, A, exec, killall waybar ; waybar
# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l

View File

@ -1,16 +1,19 @@
{
{
"layer": "top", "position": "top",
"modules-left": ["clock", "disk", "memory", "cpu", "temperature" ],
"modules-center": [ "hyprland/workspaces", "hyprland/window"],
"modules-right": ["tray", "pulseaudio", "network", "battery" ],
"modules-right": [ "network", "custom/netaddrsimple", "tray", "pulseaudio", "battery" ],
"reload_style_on_change":true,
"custom/logo": {
"format": "",
"tooltip": false
},
"custom/netaddrsimple": {
"format": "IP:{}",
"tooltip":false,
//"max-length": 15,
"interval": 10,
"exec": "hostname -i",
},
"hyprland/workspaces": {
"hyprland/workspaces": {
"format": "{name}",
"format-icons": {
"default": " ",
@ -25,7 +28,7 @@
"tooltip": true,
"tooltip-format": "<big>{:%A, %d.%B %Y }</big>\n<tt><small>{calendar}</small></tt>"
}
},
},
"idle_inhibitor":{
@ -36,21 +39,6 @@
}
},
"custom/weather": {
"format": "{}",
"return-type": "json",
"exec": "~/.config/waybar/scripts/weather.sh",
"interval": 10,
"on-click": "firefox https://wttr.in"
},
"custom/clipboard":{
"format":"",
"on-click": "cliphist list | rofi -dmenu | cliphist decode | wl-copy",
"interval":86400
},
"clock": {
"format": "{:%H:%M:%S }",
"interval":1,
@ -75,34 +63,26 @@
"on-click": "rofi-bluetooth",
},
"network": {
"format-wifi": " ",
"format-ethernet":" ",
"format-disconnected": "",
"tooltip-format": "{ipaddr}",
"tooltip-format-wifi": "{essid} ({signalStrength}%)  | {ipaddr}",
"tooltip-format-ethernet": "{ifname} 🖧 | {ipaddr}",
"on-click": "networkmanager_dmenu"
},
"battery": {
"interval":1,
"battery": {
"interval":1,
"states": {
"good": 95,
"warning": 30,
"critical": 20
},
"format": "{capacity}% {icon} ",
"format-charging": "{capacity}% 󰂄 ",
"format-plugged": "{capacity}% 󰂄 ",
"format": "PWR- {capacity}% {icon} ",
"format-charging": "PWR+ {capacity}% 󰂄 ",
"format-plugged": "PWR+ {capacity}% 󰂄 ",
"format-alt": "{time} {icon}",
"format-icons": [
"󰁻",
"󰁼",
"󰁾",
"󰂀",
"󰂂",
"󰁹"
"format-icons": [
"󰁻",
"󰁼",
"󰁾",
"󰂀",
"󰂂",
"󰁹"
],
},
"backlight": {
@ -207,6 +187,16 @@
"tooltip-spacing": 20
},
"network":{
"format-wifi": " ",
"format-ethernet":" ",
"format-disconnected": "",
"tooltip-format": "{ifname}",
"tooltip-format-wifi": "{essid} ({signalStrength}%)  | {ipaddr}",
"tooltip-format-ethernet": "{ifname} 🖧 | {ipaddr}"
},
"custom/powerDraw": {
"format": "{}",
"interval": 1,
@ -214,4 +204,5 @@
"return-type": "json"
}
}

View File

@ -1,6 +1,6 @@
* {
border: none;
font-family: Agave Nerd Font Mono, Arial, sans-serif;
font-family: Agave Nerd Font Mono, sans-serif;
font-size: 12pt;
background: transparent;
@ -42,7 +42,7 @@
}
#clock, #disk, #window, #battery, #cpu, #memory, #temperature, #backlight, #network, #pulseaudio, #custom-media, #tray, #mode, #idle_inhibitor {
#clock, #disk, #window, #battery, #cpu, #memory, #temperature, #backlight, #network, #pulseaudio, #custom-media, #tray, #mode, #idle_inhibitor, #custom-netaddrsimple {
border: solid;
border-width: 3px;
background: #1a1a1a;

View File

@ -0,0 +1,161 @@
{
"layer": "bottom",
"position": "bottom",
"mod": "dock",
"exclusive": true,
"gtk-layer-shell": true,
"margin-bottom": -1,
"passthrough": false,
"height": 41,
"modules-left": [
"custom/os_button",
"hyprland/workspaces",
"wlr/taskbar"
],
"modules-center": [],
"modules-right": [
"cpu",
"temperature",
"memory",
"disk",
"tray",
"pulseaudio",
"network",
"battery",
"hyprland/language",
"clock"
],
"hyprland/language": {
"format": "{}",
"format-en": "ENG",
"format-ru": "РУС"
},
"hyprland/workspaces": {
"icon-size": 32,
"spacing": 16,
"on-scroll-up": "hyprctl dispatch workspace r+1",
"on-scroll-down": "hyprctl dispatch workspace r-1"
},
"custom/os_button": {
"format": "",
"on-click": "wofi --show drun",
"tooltip": false
},
"cpu": {
"interval": 5,
"format": " {usage}%",
"max-length": 10
},
"temperature": {
"hwmon-path-abs": "/sys/devices/platform/coretemp.0/hwmon",
"input-filename": "temp2_input",
"critical-threshold": 75,
"tooltip": false,
"format-critical": "({temperatureC}°C)",
"format": "({temperatureC}°C)"
},
"disk": {
"interval": 30,
"format": "󰋊 {percentage_used}%",
"path": "/",
"tooltip": true,
"unit": "GB",
"tooltip-format": "Available {free} of {total}"
},
"memory": {
"interval": 10,
"format": " {percentage}%",
"max-length": 10,
"tooltip": true,
"tooltip-format": "RAM - {used:0.1f}GiB used"
},
"wlr/taskbar": {
"format": "{icon} {title:.17}",
"icon-size": 28,
"spacing": 3,
"on-click-middle": "close",
"tooltip-format": "{title}",
"ignore-list": [],
"on-click": "activate"
},
"tray": {
"icon-size": 18,
"spacing": 3
},
"clock": {
"format": " {:%R\n %d.%m.%Y}",
"tooltip-format": "<tt><small>{calendar}</small></tt>",
"calendar": {
"mode": "year",
"mode-mon-col": 3,
"weeks-pos": "right",
"on-scroll": 1,
"on-click-right": "mode",
"format": {
"months": "<span color='#ffead3'><b>{}</b></span>",
"days": "<span color='#ecc6d9'><b>{}</b></span>",
"weeks": "<span color='#99ffdd'><b>W{}</b></span>",
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
"today": "<span color='#ff6699'><b><u>{}</u></b></span>"
}
},
"actions": {
"on-click-right": "mode",
"on-click-forward": "tz_up",
"on-click-backward": "tz_down",
"on-scroll-up": "shift_up",
"on-scroll-down": "shift_down"
}
},
"network": {
"format-wifi": " {icon}",
"format-ethernet": "  ",
"format-disconnected": "󰌙",
"format-icons": [
"󰤯 ",
"󰤟 ",
"󰤢 ",
"󰤢 ",
"󰤨 "
]
},
"battery": {
"states": {
"good": 95,
"warning": 30,
"critical": 20
},
"format": "{icon} {capacity}%",
"format-charging": " {capacity}%",
"format-plugged": " {capacity}%",
"format-alt": "{time} {icon}",
"format-icons": [
"󰂎",
"󰁺",
"󰁻",
"󰁼",
"󰁽",
"󰁾",
"󰁿",
"󰂀",
"󰂁",
"󰂂",
"󰁹"
]
},
"pulseaudio": {
"max-volume": 150,
"scroll-step": 10,
"format": "{icon}",
"tooltip-format": "{volume}%",
"format-muted": " ",
"format-icons": {
"default": [
" ",
" ",
" "
]
},
"on-click": "pwvucontrol"
}
}