config edits
This commit is contained in:
parent
92b8106505
commit
37f3a84b16
|
@ -0,0 +1,189 @@
|
|||
{
|
||||
"layer": "top",
|
||||
"modules-left": [
|
||||
"wlr/workspaces",
|
||||
"custom/mpris-media",
|
||||
"custom/song-previous",
|
||||
"custom/song-toggle",
|
||||
"custom/song-next"
|
||||
//"hyprland/window"
|
||||
],
|
||||
"modules-center": [
|
||||
"clock"
|
||||
//"weather"
|
||||
],
|
||||
"modules-right": [
|
||||
"tray",
|
||||
"custom/bluetooth-battery",
|
||||
"custom/recording",
|
||||
"cpu",
|
||||
"temperature",
|
||||
"network",
|
||||
"pulseaudio",
|
||||
"backlight",
|
||||
"battery",
|
||||
"custom/power-menu"
|
||||
],
|
||||
"wlr/workspaces": {
|
||||
"format": "{icon}",
|
||||
"on-scroll-up": "hyprctl dispatch workspace e+1",
|
||||
"on-scroll-down": "hyprctl dispatch workspace e-1",
|
||||
"on-click": "activate",
|
||||
"all-outputs": true
|
||||
},
|
||||
"hyprland/window": {
|
||||
"format": "{}",
|
||||
"separate-outputs": true,
|
||||
},
|
||||
"cpu": {
|
||||
"interval": 1,
|
||||
"format": "<span font='Font Awesome 6 Pro' font_weight='bold' size='x-large' rise='-3pt'></span> <span font_weight='bold'>{usage}%</span>",
|
||||
"tooltip": false,
|
||||
"on-click": "kitty bpytop"
|
||||
},
|
||||
"temperature": {
|
||||
"hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
|
||||
"critical-threshold": 90,
|
||||
"interval": 1,
|
||||
"format": "<span font='Font Awesome 6 Pro' font_weight='bold' size='x-large' rise='-3pt'></span> <span font_weight='bold'>{temperatureC}°C</span>",
|
||||
"tooltip": false,
|
||||
"on-click": "kitty bpytop"
|
||||
},
|
||||
"clock": {
|
||||
"format": "<span font_weight='bold'>{:%I:%M %p | %A %d %b}</span>",
|
||||
"tooltip": false,
|
||||
"on-click": "gnome-calendar"
|
||||
},
|
||||
"network": {
|
||||
"interval": 1,
|
||||
"format-ethernet": "<span font='Font Awesome 6 Pro' font_weight='bold' size='x-large' rise='-3pt'></span> {ifname}",
|
||||
"format-wifi": "<span font='Font Awesome 6 Pro' font_weight='bold' size='large' rise='1pt'></span> <span rise='3pt'>{essid}</span>",
|
||||
"format-linked": "<span font='Font Awesome 6 Pro' font_weight='bold' size='x-large' rise='-3pt'></span> {essid} (No IP)",
|
||||
"format-disconnected": "<span font='Font Awesome 6 Pro' font_weight='bold' size='x-large' rise='-3pt'></span> No Internet",
|
||||
"format-disabled": "<span font='Font Awesome 6 Pro' font_weight='bold' size='x-large' rise='-3pt'></span> Networking Off",
|
||||
"on-click": "sh .config/waybar/scripts/toggle_network_state.sh",
|
||||
"max-length": 28,
|
||||
"tooltip": false
|
||||
},
|
||||
"pulseaudio": {
|
||||
"format": "<span font='Font Awesome 6 Pro' font_weight='bold' size='x-large' rise='-3pt'>{icon}</span><span font_weight='bold'>{volume}%</span>",
|
||||
"format-muted": "<span font='Font Awesome 6 Pro' font_weight='bold' size='x-large' rise='-3pt'></span> <span font_weight='bold'>Muted</span>",
|
||||
"format-icons": {
|
||||
"default": [" ", " ", " "]
|
||||
},
|
||||
"states": {
|
||||
"warning": 80,
|
||||
"critical": 90
|
||||
},
|
||||
"scroll-step": 3,
|
||||
"on-click": "sh ~/.config/hypr/scripts/togglemute.sh",
|
||||
"smooth-scrolling-threshold": 5,
|
||||
"tooltip": false
|
||||
},
|
||||
"backlight": {
|
||||
"format": "<span font='Font Awesome 6 Pro' font_weight='bold' size='x-large' rise='-3pt'>{icon}</span> <span font_weight='bold'>{percent}%</span>",
|
||||
"format-icons": ["", "", ""],
|
||||
"on-click": "brightnessctl set 15%",
|
||||
"on-click-right": "brightnessctl set 50%",
|
||||
"on-scroll-up": "brightnessctl set +5%",
|
||||
"on-scroll-down": "brightnessctl set 5%-",
|
||||
"smooth-scrolling-threshold": 5
|
||||
},
|
||||
"battery": {
|
||||
"states": {
|
||||
"warning": 20,
|
||||
"critical": 10
|
||||
},
|
||||
"format": "<span font='Font Awesome 6 Pro' font_weight='bold' size='x-large' rise='-3pt'>{icon}</span> <span font_weight='bold'>{capacity}%</span>",
|
||||
"format-icons": ["", "", "", "", ""],
|
||||
"format-charging": "<span font='Font Awesome 6 Pro' font_weight='bold' size='x-large' rise='0pt'></span> <span font_weight='bold' rise='2pt'>{capacity}%</span>",
|
||||
"tooltip": false
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 22,
|
||||
"tooltip": false,
|
||||
"spacing": 8
|
||||
},
|
||||
/*"custom/weather" : {
|
||||
"tooltip" : true,
|
||||
"format" : "{}",
|
||||
"restart-interval" : 3600,
|
||||
"exec" : "~/.config/waybar/scripts/weather.py",
|
||||
"return-type" : "json"
|
||||
},*/
|
||||
"custom/bluetooth-battery": {
|
||||
"format": "<span font='Font Awesome 6 Pro' font_weight='bold' size='x-large' rise='-1pt'> </span><span font_weight='bold' rise='1pt'>{}</span>",
|
||||
"return-type": "json",
|
||||
"interval": 1,
|
||||
"exec": "~/.config/waybar/scripts/bluetooth-battery.sh",
|
||||
/* "exec": "~/.config/waybar/modules/bluetooth-battery-waybar-module.sh",
|
||||
"exec-if": "bluetooth_battery_status.sh >/dev/null 2>&1", */
|
||||
"signal": 9,
|
||||
"on-click": "blueman-applet && blueman-manager"
|
||||
},
|
||||
"custom/power-menu": {
|
||||
"format": "<span font='Font Awesome 6 Pro' size='x-large' font_weight='bold' rise='-3pt'></span>",
|
||||
"tooltip": false,
|
||||
"on-click": "sh ~/.config/rofi/bin/powermenu"
|
||||
},
|
||||
"custom/mpris-media":{
|
||||
"format": "<span font='Font Awesome 6 Pro' size='x-large' font_weight='bold' rise='-2pt'>{icon}</span> {}",
|
||||
"return-type": "json",
|
||||
"max-length":70,
|
||||
"format-icons": {
|
||||
"firefox": " ",
|
||||
"Clapper": " ",
|
||||
"spotify": " ",
|
||||
"g4music": "ྍ ",
|
||||
"io": " ",
|
||||
"com": " ",
|
||||
},
|
||||
"exec": "playerctl --player=io,com,spotify,firefox,%any metadata --format '{\"text\": \"{{artist}} - {{title}}\", \"tooltip\": \"{{playerName}} : {{artist}} - {{album}}{{markup_escape(title)}}\", \"alt\": \"{{playerName}}\", \"class\": \"{{playerName}}\"}' -F",
|
||||
"tooltip": true,
|
||||
"on-click": "~/.config/waybar/scripts/get-media-player.sh"
|
||||
},
|
||||
"custom/song-next": {
|
||||
"format": "<span font='Font Awesome 6 Pro' size='large' font_weight='bold' rise='-3pt'>{icon}</span>",
|
||||
"on-click": "playerctl next",
|
||||
"tooltip": false,
|
||||
"format-icons": {
|
||||
"Playing": "",
|
||||
"Paused": "",
|
||||
},
|
||||
"exec": "playerctl --player=com,spotify,firefox,%any metadata --format '{\"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F",
|
||||
"return-type": "json"
|
||||
},
|
||||
"custom/song-previous": {
|
||||
"format": "<span font='Font Awesome 6 Pro' size='large' font_weight='bold' rise='-3pt'>{icon}</span>",
|
||||
"on-click": "playerctl previous",
|
||||
"tooltip": false,
|
||||
"format-icons": {
|
||||
"Playing": "",
|
||||
"Paused": "",
|
||||
},
|
||||
"exec": "playerctl --player=com,spotify,firefox,%any metadata --format '{\"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F",
|
||||
"return-type": "json"
|
||||
},
|
||||
"custom/song-toggle": {
|
||||
"format": "{icon}",
|
||||
"return-type": "json",
|
||||
"tooltip": false,
|
||||
"format-icons": {
|
||||
"Paused": "<span font='Font Awesome 6 Pro' rise='-2pt' font_weight='bold'> </span>",
|
||||
"Playing": "<span font='Font Awesome 6 Pro' rise='-2pt' size='large' font_weight='bold'> </span>",
|
||||
},
|
||||
"exec": "playerctl --player=com,spotify,firefox,%any metadata --format '{\"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F",
|
||||
"on-click": "playerctl play-pause"
|
||||
},
|
||||
"custom/recording": {
|
||||
"format": "{icon}",
|
||||
"return-type": "json",
|
||||
"tooltip": false,
|
||||
"format-icons": {
|
||||
"Running": "<span font='Font Awesome 6 Pro' rise='-2pt' size='large' font_weight='bold'></span>",
|
||||
},
|
||||
"interval": 1,
|
||||
"exec": "~/.config/waybar/scripts/recording.sh",
|
||||
"on-click": "~/.config/waybar/scripts/stop-recording.sh"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,161 @@
|
|||
/* Catppuccin Mocha */
|
||||
|
||||
/*
|
||||
*
|
||||
* Catppuccin Mocha palette
|
||||
* Maintainer: rubyowo
|
||||
*
|
||||
*/
|
||||
|
||||
*{
|
||||
font-family: "Product Sans", "Font Awesome 6 Duotone";
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
@define-color base #1e1e2e;
|
||||
@define-color mantle #181825;
|
||||
@define-color crust #11111b;
|
||||
|
||||
@define-color text #cdd6f4;
|
||||
@define-color subtext0 #a6adc8;
|
||||
@define-color subtext1 #bac2de;
|
||||
|
||||
@define-color surface0 #313244;
|
||||
@define-color surface1 #45475a;
|
||||
@define-color surface2 #585b70;
|
||||
|
||||
@define-color overlay0 #6c7086;
|
||||
@define-color overlay1 #7f849c;
|
||||
@define-color overlay2 #9399b2;
|
||||
|
||||
@define-color blue #89b4fa;
|
||||
@define-color lavender #b4befe;
|
||||
@define-color sapphire #74c7ec;
|
||||
@define-color sky #89dceb;
|
||||
@define-color teal #94e2d5;
|
||||
@define-color green #a6e3a1;
|
||||
@define-color yellow #f9e2af;
|
||||
@define-color peach #fab387;
|
||||
@define-color maroon #eba0ac;
|
||||
@define-color red #f38ba8;
|
||||
@define-color mauve #cba6f7;
|
||||
@define-color pink #f5c2e7;
|
||||
@define-color flamingo #f2cdcd;
|
||||
@define-color rosewater #f5e0dc;
|
||||
|
||||
@keyframes blink_critical {
|
||||
to {
|
||||
color: #ffffff;
|
||||
background-color: @lavender;
|
||||
}
|
||||
}
|
||||
|
||||
.warning, .critical {
|
||||
animation-name: blink_critical;
|
||||
animation-duration: 1s;
|
||||
animation-timing-function: linear;
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
}
|
||||
|
||||
.critical {
|
||||
animation-duration: 1s;
|
||||
}
|
||||
|
||||
* {
|
||||
font-family: Product Sans Regular;
|
||||
/* font-size: 15px; */
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background-color: transparent; /* Keep transparent to blur */
|
||||
}
|
||||
|
||||
window#waybar.hidden {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
window > box {
|
||||
/*border-bottom-width: 2px;*/
|
||||
border-color: @crust;
|
||||
border-radius: 4px;
|
||||
/*margin: 0 10px;*/
|
||||
border-style: solid;
|
||||
background-color: transparent; /* Keep transparent to blur */
|
||||
/*background: rgba(22, 24, 32, .8);*/
|
||||
}
|
||||
|
||||
#memory, #cpu, #temperature, #clock, #network , #pulseaudio, #backlight, #battery, #workspaces, #window, #tray, #mpris{
|
||||
padding: 6px 10px;
|
||||
margin: 0 3px;
|
||||
color: @text;
|
||||
border-radius: 16px;
|
||||
border-width: 0 2px 2px 0;
|
||||
border-style: solid;
|
||||
border-color: @crust;
|
||||
background-color: @surface0;
|
||||
}
|
||||
|
||||
#custom-weather, #custom-bluetooth-battery, #custom-mpris-media, #custom-power-menu, #custom-recording {
|
||||
padding: 6px 10px;
|
||||
margin: 0 3px;
|
||||
color: @text;
|
||||
border-radius: 16px;
|
||||
border-width: 0 2px 2px 0;
|
||||
border-style: solid;
|
||||
border-color: @crust;
|
||||
background-color: @surface0;
|
||||
}
|
||||
|
||||
#custom-song-previous, #custom-song-toggle, #custom-song-next {
|
||||
padding: 6px 14px;
|
||||
margin: 0px 3px;
|
||||
color: @text;
|
||||
border-radius: 16px;
|
||||
border-width: 0 2px 2px 0;
|
||||
border-style: solid;
|
||||
border-color: @crust;
|
||||
background-color: @surface0;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
transition: none;
|
||||
color: #ffffff;
|
||||
background: transparent;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
transition: none;
|
||||
box-shadow: inherit;
|
||||
text-shadow: inherit;
|
||||
color: #ff79c6;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
color: #ffffff;
|
||||
background-color: #b4befe;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.modules-left, .modules-center, .modules-right {
|
||||
/* padding: 5px 0 3px; */
|
||||
padding: 5px 0;
|
||||
margin: 0 10px;
|
||||
}
|
||||
|
||||
tooltip {
|
||||
background: @surface0;
|
||||
padding: 15px;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
tooltip label {
|
||||
color: @text;
|
||||
font-size: small;
|
||||
}
|
||||
|
||||
#battery.charging {
|
||||
animation-name: none;
|
||||
}
|
|
@ -1,189 +1,37 @@
|
|||
{
|
||||
"layer": "top",
|
||||
"modules-left": [
|
||||
"wlr/workspaces",
|
||||
"custom/mpris-media",
|
||||
"custom/song-previous",
|
||||
"custom/song-toggle",
|
||||
"custom/song-next"
|
||||
//"hyprland/window"
|
||||
],
|
||||
"modules-center": [
|
||||
"clock"
|
||||
//"weather"
|
||||
],
|
||||
"modules-right": [
|
||||
"tray",
|
||||
"custom/bluetooth-battery",
|
||||
"custom/recording",
|
||||
"cpu",
|
||||
"temperature",
|
||||
"network",
|
||||
"pulseaudio",
|
||||
"backlight",
|
||||
"battery",
|
||||
"custom/power-menu"
|
||||
],
|
||||
"wlr/workspaces": {
|
||||
"format": "{icon}",
|
||||
"on-scroll-up": "hyprctl dispatch workspace e+1",
|
||||
"on-scroll-down": "hyprctl dispatch workspace e-1",
|
||||
"on-click": "activate",
|
||||
"all-outputs": true
|
||||
},
|
||||
"hyprland/window": {
|
||||
"format": "{}",
|
||||
"separate-outputs": true,
|
||||
},
|
||||
"cpu": {
|
||||
"interval": 1,
|
||||
"format": "<span font='Font Awesome 6 Pro' font_weight='bold' size='x-large' rise='-3pt'></span> <span font_weight='bold'>{usage}%</span>",
|
||||
"modules-left": ["sway/workspaces", "mpd", "sway/mode"],
|
||||
"modules-center": [],
|
||||
"modules-right": ["network", "pulseaudio", "temperature", "cpu", "memory", "clock"],
|
||||
"mpd": {
|
||||
"tooltip": false,
|
||||
"on-click": "kitty bpytop"
|
||||
},
|
||||
"temperature": {
|
||||
"hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
|
||||
"critical-threshold": 90,
|
||||
"interval": 1,
|
||||
"format": "<span font='Font Awesome 6 Pro' font_weight='bold' size='x-large' rise='-3pt'></span> <span font_weight='bold'>{temperatureC}°C</span>",
|
||||
"tooltip": false,
|
||||
"on-click": "kitty bpytop"
|
||||
},
|
||||
"clock": {
|
||||
"format": "<span font_weight='bold'>{:%I:%M %p | %A %d %b}</span>",
|
||||
"tooltip": false,
|
||||
"on-click": "gnome-calendar"
|
||||
},
|
||||
"network": {
|
||||
"interval": 1,
|
||||
"format-ethernet": "<span font='Font Awesome 6 Pro' font_weight='bold' size='x-large' rise='-3pt'></span> {ifname}",
|
||||
"format-wifi": "<span font='Font Awesome 6 Pro' font_weight='bold' size='large' rise='1pt'></span> <span rise='3pt'>{essid}</span>",
|
||||
"format-linked": "<span font='Font Awesome 6 Pro' font_weight='bold' size='x-large' rise='-3pt'></span> {essid} (No IP)",
|
||||
"format-disconnected": "<span font='Font Awesome 6 Pro' font_weight='bold' size='x-large' rise='-3pt'></span> No Internet",
|
||||
"format-disabled": "<span font='Font Awesome 6 Pro' font_weight='bold' size='x-large' rise='-3pt'></span> Networking Off",
|
||||
"on-click": "sh .config/waybar/scripts/toggle_network_state.sh",
|
||||
"max-length": 28,
|
||||
"tooltip": false
|
||||
"format": "{stateIcon} {artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S})",
|
||||
"format-disconnected": "ﳌ",
|
||||
"format-stopped": "",
|
||||
"state-icons": {
|
||||
"playing": "",
|
||||
"paused": ""
|
||||
}
|
||||
},
|
||||
"pulseaudio": {
|
||||
"format": "<span font='Font Awesome 6 Pro' font_weight='bold' size='x-large' rise='-3pt'>{icon}</span><span font_weight='bold'>{volume}%</span>",
|
||||
"format-muted": "<span font='Font Awesome 6 Pro' font_weight='bold' size='x-large' rise='-3pt'></span> <span font_weight='bold'>Muted</span>",
|
||||
"format-icons": {
|
||||
"default": [" ", " ", " "]
|
||||
},
|
||||
"states": {
|
||||
"warning": 80,
|
||||
"critical": 90
|
||||
},
|
||||
"scroll-step": 3,
|
||||
"on-click": "sh ~/.config/hypr/scripts/togglemute.sh",
|
||||
"smooth-scrolling-threshold": 5,
|
||||
"tooltip": false
|
||||
},
|
||||
"backlight": {
|
||||
"format": "<span font='Font Awesome 6 Pro' font_weight='bold' size='x-large' rise='-3pt'>{icon}</span> <span font_weight='bold'>{percent}%</span>",
|
||||
"format-icons": ["", "", ""],
|
||||
"on-click": "brightnessctl set 15%",
|
||||
"on-click-right": "brightnessctl set 50%",
|
||||
"on-scroll-up": "brightnessctl set +5%",
|
||||
"on-scroll-down": "brightnessctl set 5%-",
|
||||
"smooth-scrolling-threshold": 5
|
||||
},
|
||||
"battery": {
|
||||
"states": {
|
||||
"warning": 20,
|
||||
"critical": 10
|
||||
},
|
||||
"format": "<span font='Font Awesome 6 Pro' font_weight='bold' size='x-large' rise='-3pt'>{icon}</span> <span font_weight='bold'>{capacity}%</span>",
|
||||
"format-icons": ["", "", "", "", ""],
|
||||
"format-charging": "<span font='Font Awesome 6 Pro' font_weight='bold' size='x-large' rise='0pt'></span> <span font_weight='bold' rise='2pt'>{capacity}%</span>",
|
||||
"tooltip": false
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 22,
|
||||
"tooltip": false,
|
||||
"spacing": 8
|
||||
},
|
||||
/*"custom/weather" : {
|
||||
"tooltip" : true,
|
||||
"format" : "{}",
|
||||
"restart-interval" : 3600,
|
||||
"exec" : "~/.config/waybar/scripts/weather.py",
|
||||
"return-type" : "json"
|
||||
},*/
|
||||
"custom/bluetooth-battery": {
|
||||
"format": "<span font='Font Awesome 6 Pro' font_weight='bold' size='x-large' rise='-1pt'> </span><span font_weight='bold' rise='1pt'>{}</span>",
|
||||
"return-type": "json",
|
||||
"interval": 1,
|
||||
"exec": "~/.config/waybar/scripts/bluetooth-battery.sh",
|
||||
/* "exec": "~/.config/waybar/modules/bluetooth-battery-waybar-module.sh",
|
||||
"exec-if": "bluetooth_battery_status.sh >/dev/null 2>&1", */
|
||||
"signal": 9,
|
||||
"on-click": "blueman-applet && blueman-manager"
|
||||
},
|
||||
"custom/power-menu": {
|
||||
"format": "<span font='Font Awesome 6 Pro' size='x-large' font_weight='bold' rise='-3pt'></span>",
|
||||
"tooltip": false,
|
||||
"on-click": "sh ~/.config/rofi/bin/powermenu"
|
||||
},
|
||||
"custom/mpris-media":{
|
||||
"format": "<span font='Font Awesome 6 Pro' size='x-large' font_weight='bold' rise='-2pt'>{icon}</span> {}",
|
||||
"return-type": "json",
|
||||
"max-length":70,
|
||||
"format-icons": {
|
||||
"firefox": " ",
|
||||
"Clapper": " ",
|
||||
"spotify": " ",
|
||||
"g4music": "ྍ ",
|
||||
"io": " ",
|
||||
"com": " ",
|
||||
},
|
||||
"exec": "playerctl --player=io,com,spotify,firefox,%any metadata --format '{\"text\": \"{{artist}} - {{title}}\", \"tooltip\": \"{{playerName}} : {{artist}} - {{album}}{{markup_escape(title)}}\", \"alt\": \"{{playerName}}\", \"class\": \"{{playerName}}\"}' -F",
|
||||
"tooltip": true,
|
||||
"on-click": "~/.config/waybar/scripts/get-media-player.sh"
|
||||
},
|
||||
"custom/song-next": {
|
||||
"format": "<span font='Font Awesome 6 Pro' size='large' font_weight='bold' rise='-3pt'>{icon}</span>",
|
||||
"on-click": "playerctl next",
|
||||
"tooltip": false,
|
||||
"format-icons": {
|
||||
"Playing": "",
|
||||
"Paused": "",
|
||||
},
|
||||
"exec": "playerctl --player=com,spotify,firefox,%any metadata --format '{\"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F",
|
||||
"return-type": "json"
|
||||
},
|
||||
"custom/song-previous": {
|
||||
"format": "<span font='Font Awesome 6 Pro' size='large' font_weight='bold' rise='-3pt'>{icon}</span>",
|
||||
"on-click": "playerctl previous",
|
||||
"tooltip": false,
|
||||
"format-icons": {
|
||||
"Playing": "",
|
||||
"Paused": "",
|
||||
},
|
||||
"exec": "playerctl --player=com,spotify,firefox,%any metadata --format '{\"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F",
|
||||
"return-type": "json"
|
||||
},
|
||||
"custom/song-toggle": {
|
||||
"format": "{icon}",
|
||||
"return-type": "json",
|
||||
"tooltip": false,
|
||||
"scroll-step": 5,
|
||||
"format": "{icon} {volume}%",
|
||||
"format-icons": {
|
||||
"Paused": "<span font='Font Awesome 6 Pro' rise='-2pt' font_weight='bold'> </span>",
|
||||
"Playing": "<span font='Font Awesome 6 Pro' rise='-2pt' size='large' font_weight='bold'> </span>",
|
||||
},
|
||||
"exec": "playerctl --player=com,spotify,firefox,%any metadata --format '{\"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F",
|
||||
"on-click": "playerctl play-pause"
|
||||
},
|
||||
"custom/recording": {
|
||||
"format": "{icon}",
|
||||
"return-type": "json",
|
||||
"default": ["奄", "奔", "墳"]
|
||||
}
|
||||
},
|
||||
"network": {
|
||||
"tooltip": false,
|
||||
"format-icons": {
|
||||
"Running": "<span font='Font Awesome 6 Pro' rise='-2pt' size='large' font_weight='bold'></span>",
|
||||
},
|
||||
"interval": 1,
|
||||
"exec": "~/.config/waybar/scripts/recording.sh",
|
||||
"on-click": "~/.config/waybar/scripts/stop-recording.sh"
|
||||
}
|
||||
}
|
||||
"format-wifi": " {essid} {ipaddr}",
|
||||
"format-ethernet": " {ipaddr}"
|
||||
},
|
||||
"cpu": {
|
||||
"tooltip": false,
|
||||
"format": " {}%"
|
||||
},
|
||||
"memory": {
|
||||
"tooltip": false,
|
||||
"format": " {}%"
|
||||
}
|
||||
}
|
|
@ -1,131 +1,71 @@
|
|||
/* Catppuccin Mocha */
|
||||
|
||||
/*
|
||||
*
|
||||
* Catppuccin Mocha palette
|
||||
* Maintainer: rubyowo
|
||||
*
|
||||
*/
|
||||
********************************************
|
||||
*░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░*
|
||||
*░░█▀█░█░░░█░█░█▀▀░░░█░█░█░░░▀█▀░█▀▄░█▀█░░*
|
||||
*░░█▀▀░█░░░█░█░▀▀█░░░█░█░█░░░░█░░█▀▄░█▀█░░*
|
||||
*░░▀░░░▀▀▀░▀▀▀░▀▀▀░░░▀▀▀░▀▀▀░░▀░░▀░▀░▀░▀░░*
|
||||
*░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░*
|
||||
********************************************
|
||||
*/
|
||||
|
||||
*{
|
||||
font-family: "Product Sans", "Font Awesome 6 Duotone";
|
||||
* {
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
font-family: tamsyn;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
@define-color base #1e1e2e;
|
||||
@define-color mantle #181825;
|
||||
@define-color crust #11111b;
|
||||
|
||||
@define-color text #cdd6f4;
|
||||
@define-color subtext0 #a6adc8;
|
||||
@define-color subtext1 #bac2de;
|
||||
|
||||
@define-color surface0 #313244;
|
||||
@define-color surface1 #45475a;
|
||||
@define-color surface2 #585b70;
|
||||
|
||||
@define-color overlay0 #6c7086;
|
||||
@define-color overlay1 #7f849c;
|
||||
@define-color overlay2 #9399b2;
|
||||
|
||||
@define-color blue #89b4fa;
|
||||
@define-color lavender #b4befe;
|
||||
@define-color sapphire #74c7ec;
|
||||
@define-color sky #89dceb;
|
||||
@define-color teal #94e2d5;
|
||||
@define-color green #a6e3a1;
|
||||
@define-color yellow #f9e2af;
|
||||
@define-color peach #fab387;
|
||||
@define-color maroon #eba0ac;
|
||||
@define-color red #f38ba8;
|
||||
@define-color mauve #cba6f7;
|
||||
@define-color pink #f5c2e7;
|
||||
@define-color flamingo #f2cdcd;
|
||||
@define-color rosewater #f5e0dc;
|
||||
|
||||
@keyframes blink_critical {
|
||||
to {
|
||||
color: #ffffff;
|
||||
background-color: @lavender;
|
||||
}
|
||||
}
|
||||
|
||||
.warning, .critical {
|
||||
animation-name: blink_critical;
|
||||
animation-duration: 1s;
|
||||
animation-timing-function: linear;
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
}
|
||||
|
||||
.critical {
|
||||
animation-duration: 1s;
|
||||
}
|
||||
|
||||
* {
|
||||
font-family: Product Sans Regular;
|
||||
/* font-size: 15px; */
|
||||
font-weight: bold;
|
||||
min-height: 24px;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background-color: transparent; /* Keep transparent to blur */
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
window#waybar.hidden {
|
||||
opacity: 0.5;
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
window > box {
|
||||
/*border-bottom-width: 2px;*/
|
||||
border-color: @crust;
|
||||
border-radius: 4px;
|
||||
/*margin: 0 10px;*/
|
||||
border-style: solid;
|
||||
background-color: transparent; /* Keep transparent to blur */
|
||||
/*background: rgba(22, 24, 32, .8);*/
|
||||
#window {
|
||||
margin-top: 8px;
|
||||
padding-left: 16px;
|
||||
padding-right: 16px;
|
||||
border-radius: 26px;
|
||||
transition: none;
|
||||
/*
|
||||
color: #f8f8f2;
|
||||
background: #282a36;
|
||||
*/
|
||||
color: transparent;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#memory, #cpu, #temperature, #clock, #network , #pulseaudio, #backlight, #battery, #workspaces, #window, #tray, #mpris{
|
||||
padding: 6px 10px;
|
||||
margin: 0 3px;
|
||||
color: @text;
|
||||
border-radius: 16px;
|
||||
border-width: 0 2px 2px 0;
|
||||
border-style: solid;
|
||||
border-color: @crust;
|
||||
background-color: @surface0;
|
||||
window#waybar.termite #window,
|
||||
window#waybar.Firefox #window,
|
||||
window#waybar.Navigator #window,
|
||||
window#waybar.PCSX2 #window {
|
||||
color: #4d4d4d;
|
||||
background: #e6e6e6;
|
||||
}
|
||||
|
||||
#custom-weather, #custom-bluetooth-battery, #custom-mpris-media, #custom-power-menu, #custom-recording {
|
||||
padding: 6px 10px;
|
||||
margin: 0 3px;
|
||||
color: @text;
|
||||
border-radius: 16px;
|
||||
border-width: 0 2px 2px 0;
|
||||
border-style: solid;
|
||||
border-color: @crust;
|
||||
background-color: @surface0;
|
||||
}
|
||||
|
||||
#custom-song-previous, #custom-song-toggle, #custom-song-next {
|
||||
padding: 6px 14px;
|
||||
margin: 0px 3px;
|
||||
color: @text;
|
||||
border-radius: 16px;
|
||||
border-width: 0 2px 2px 0;
|
||||
border-style: solid;
|
||||
border-color: @crust;
|
||||
background-color: @surface0;
|
||||
#workspaces {
|
||||
margin-top: 8px;
|
||||
margin-left: 12px;
|
||||
margin-bottom: 0;
|
||||
border-radius: 26px;
|
||||
background: #282a36;
|
||||
transition: none;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
transition: none;
|
||||
color: #ffffff;
|
||||
color: #f8f8f2;
|
||||
background: transparent;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
color: #9aedfe;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
transition: none;
|
||||
box-shadow: inherit;
|
||||
|
@ -133,29 +73,94 @@ window > box {
|
|||
color: #ff79c6;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
color: #ffffff;
|
||||
background-color: #b4befe;
|
||||
border-radius: 10px;
|
||||
#mpd {
|
||||
margin-top: 8px;
|
||||
margin-left: 8px;
|
||||
padding-left: 16px;
|
||||
padding-right: 16px;
|
||||
margin-bottom: 0;
|
||||
border-radius: 26px;
|
||||
background: #282a36;
|
||||
transition: none;
|
||||
color: #4d4d4d;
|
||||
background: #5af78e;
|
||||
}
|
||||
|
||||
.modules-left, .modules-center, .modules-right {
|
||||
/* padding: 5px 0 3px; */
|
||||
padding: 5px 0;
|
||||
margin: 0 10px;
|
||||
#mpd.disconnected,
|
||||
#mpd.stopped {
|
||||
color: #f8f8f2;
|
||||
background: #282a36;
|
||||
}
|
||||
|
||||
tooltip {
|
||||
background: @surface0;
|
||||
padding: 15px;
|
||||
border-radius: 6px;
|
||||
#network {
|
||||
margin-top: 8px;
|
||||
margin-left: 8px;
|
||||
padding-left: 16px;
|
||||
padding-right: 16px;
|
||||
margin-bottom: 0;
|
||||
border-radius: 26px;
|
||||
transition: none;
|
||||
color: #4d4d4d;
|
||||
background: #bd93f9;
|
||||
}
|
||||
|
||||
tooltip label {
|
||||
color: @text;
|
||||
font-size: small;
|
||||
#pulseaudio {
|
||||
margin-top: 8px;
|
||||
margin-left: 8px;
|
||||
padding-left: 16px;
|
||||
padding-right: 16px;
|
||||
margin-bottom: 0;
|
||||
border-radius: 26px;
|
||||
transition: none;
|
||||
color: #4d4d4d;
|
||||
background: #9aedfe;
|
||||
}
|
||||
|
||||
#battery.charging {
|
||||
animation-name: none;
|
||||
#temperature {
|
||||
margin-top: 8px;
|
||||
margin-left: 8px;
|
||||
padding-left: 16px;
|
||||
padding-right: 16px;
|
||||
margin-bottom: 0;
|
||||
border-radius: 26px;
|
||||
transition: none;
|
||||
color: #4d4d4d;
|
||||
background: #5af78e;
|
||||
}
|
||||
|
||||
#cpu {
|
||||
margin-top: 8px;
|
||||
margin-left: 8px;
|
||||
padding-left: 16px;
|
||||
padding-right: 16px;
|
||||
margin-bottom: 0;
|
||||
border-radius: 26px;
|
||||
transition: none;
|
||||
color: #4d4d4d;
|
||||
background: #f1fa8c;
|
||||
}
|
||||
|
||||
#memory {
|
||||
margin-top: 8px;
|
||||
margin-left: 8px;
|
||||
padding-left: 16px;
|
||||
padding-right: 16px;
|
||||
margin-bottom: 0;
|
||||
border-radius: 26px;
|
||||
transition: none;
|
||||
color: #4d4d4d;
|
||||
background: #ff6e67;
|
||||
}
|
||||
|
||||
#clock {
|
||||
margin-top: 8px;
|
||||
margin-left: 8px;
|
||||
margin-right: 12px;
|
||||
padding-left: 16px;
|
||||
padding-right: 16px;
|
||||
margin-bottom: 0;
|
||||
border-radius: 26px;
|
||||
transition: none;
|
||||
color: #f8f8f2;
|
||||
background: #282a36;
|
||||
}
|
||||
|
|
18
flake.lock
18
flake.lock
|
@ -8,11 +8,11 @@
|
|||
"utils": "utils"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1676367705,
|
||||
"narHash": "sha256-un5UbRat9TwruyImtwUGcKF823rCEp4fQxnsaLFL7CM=",
|
||||
"lastModified": 1676801940,
|
||||
"narHash": "sha256-ek3HwJVnQvzkRb7a5/4CjnV+H3/eGn3hOwSa2VNY7VQ=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "da72e6fc6b7dc0c3f94edbd310aae7cd95c678b5",
|
||||
"rev": "5ffb0f1f818ff0d435b16a4934a24c6277d3fde7",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -29,11 +29,11 @@
|
|||
"xdph": "xdph"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1676682541,
|
||||
"narHash": "sha256-ltfODM3ZvqygHqbglHoiMO7Qxmdi2Z1tzVtRfXDE//0=",
|
||||
"lastModified": 1676815187,
|
||||
"narHash": "sha256-jUn6ywxYCzBnF6y8onSz+F3BIu6PbJA3k0mb4y3ukEA=",
|
||||
"owner": "hyprwm",
|
||||
"repo": "Hyprland",
|
||||
"rev": "b944386ca54cf650d660caac31f065c0211168b1",
|
||||
"rev": "6e16627cbcb5d4712195c97e106f2198076c8aff",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -81,11 +81,11 @@
|
|||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1676569297,
|
||||
"narHash": "sha256-2n4C4H3/U+3YbDrQB6xIw7AaLdFISCCFwOkcETAigqU=",
|
||||
"lastModified": 1676721149,
|
||||
"narHash": "sha256-mN2EpTGxxVNnFZLoLWRwh6f7UWhXy4qE+wO2CZyrXps=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "ac1f5b72a9e95873d1de0233fddcb56f99884b37",
|
||||
"rev": "5f4e07deb7c44f27d498f8df9c5f34750acf52d2",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -112,7 +112,7 @@
|
|||
#########
|
||||
ardour # DAW
|
||||
bibletime # Bible Study Tool
|
||||
blender # 3D Animation/Publishing
|
||||
##blender # 3D Animation/Publishing
|
||||
calibre # eBook Library
|
||||
easytag # Music Tag Editor
|
||||
#foliate # eBook Reader
|
||||
|
|
|
@ -20,14 +20,20 @@
|
|||
".bashrc".source = ../../config/.bashrc;
|
||||
|
||||
# Dunst
|
||||
".config/dunst/dunstrc".source = ../../config/dunstrc;
|
||||
".config/dunst/dunstrc".source = ../../config/dunst/dunstrc;
|
||||
|
||||
# Hyprland
|
||||
".config/hypr".source = ../../config/hypr;
|
||||
|
||||
# Kitty
|
||||
".config/kitty/kitty.conf".source = ../../config/kitty/kitty.conf;
|
||||
".config/kitty/current-theme.conf".source = ../../config/kitty/current-theme.conf;
|
||||
|
||||
|
||||
# Rofi
|
||||
".config/rofi/config".source = ../../config/rofi;
|
||||
|
||||
# Waybar
|
||||
".config/waybar/config".source = ../../config/waybar/config;
|
||||
".config/waybar/config".source = ../../config/waybar;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue