Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let {
- $tray = { type = "tray" }
- $clock = {
- type = "clock"
- format = "%a, %H:%M:%S"
- // format = "%d/%m/%Y %H:%M"
- }
- $focused = {
- type = "focused"
- show_icon = true
- show_title = true
- icon_size = 24
- icon_theme = "Tela-circle-nord"
- truncate.mode = "end"
- truncate.max_length = 25
- }
- $SysInfo = {
- type = "sys_info"
- interval.temps = 3
- interval.disks = 300
- interval.memory = 30
- interval.cpu = 1
- interval.networks = 3
- format = [
- " {temp_c:coretemp-Package-id-0}°C "
- " {disk_free:/}GB "
- " {memory_percent}% "
- " {cpu_percent}% "
- // " {net_down:enp4s0} / {net_up:enp4s0} Mbps"
- ]
- }
- $cava = {
- transition_type = "slide_end"
- transition_duration = 750
- name = "cava"
- type = "script"
- mode = "watch"
- cmd = "/home/bluebyt/.config/ironbar/scripts/cava2"
- }
- $mpris = {
- type = "music"
- player_type = "mpris"
- on_click_middle = "playerctl play-pause"
- on_scroll_up = "playerctl volume +5"
- on_scroll_down = "playerctl volume -5"
- }
- $mpd_local = {
- type = "music"
- player_type = "mpd" music_dir = "/home/bluebyt/Music"
- truncate.mode = "end"
- truncate.max_length = 100
- }
- $mpd_server = {
- type = "music"
- player_type = "mpd"
- host = "127.0.0.1:6600"
- truncate = "end"
- }
- $volume = {
- transition_type = "slide_end"
- transition_duration = 350
- type = "custom"
- bar = [
- {
- type = "slider"
- class = "scale"
- length = 100
- max = 100
- on_change = "!wpctl set-volume @DEFAULT_SINK@ $0%"
- on_scroll_down = "wpctl set-volume @DEFAULT_SINK@ 2%-"
- on_scroll_up = "wpctl set-volume @DEFAULT_SINK@ 2%+"
- on_click_right = "pavucontrol"
- value = "100:/home/bluebyt/.config/ironbar/scripts/volume"
- tooltip = "{{/home/bluebyt/.config/ironbar/scripts/volume}}%"
- }
- ]
- }
- $workspace = {
- type = "workspaces"
- sort = "alphanumeric"
- on_scroll_up = "hyprctl dispatch workspace -1"
- on_scroll_down = "hyprctl dispatch workspace +1"
- }
- $wlogout = {
- type = "custom"
- bar = [
- {
- type = "button"
- name = "wlogout"
- class = "wlogout"
- label = ""
- on_click = "!~/.config/ironbar/scripts/wlogout"
- }
- ]
- }
- $pacman = {
- type = "custom"
- bar = [
- {
- type = "label"
- name = "pacman"
- class = "pacman"
- label = " {{90000:checkupdates | wc -l}}"
- }
- ]
- }
- $start = [ $mpd_local ]
- $center = [ $focused ]
- $end = [ $volume $pacman $SysInfo $clock $wlogout]
- }
- in {
- icon_theme = "Tela-circle-nord"
- position = "top"
- start = $start
- center = $center
- end = $end
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement