feat: Adds clipse clipboard history, removes macos specific scripts, begin creating install scripts.

This commit is contained in:
2025-09-25 10:08:00 -04:00
parent 6107a658bb
commit 73d4da7106
19 changed files with 280 additions and 466 deletions

View File

@@ -1,135 +1,65 @@
// -*- mode: jsonc -*-
{
"reload_style_on_change": true,
"layer": "top", // Waybar at top layer
"position": "top", // Waybar position (top|bottom|left|right)
"height": 26, // Waybar height (to be removed for auto height)
// "width": 1280, // Waybar width
"spacing": 4, // Gaps between modules (4px)
// Choose the order of the modules
"modules-left": [
"hyprland/workspaces",
"sway/mode",
"sway/scratchpad",
"custom/media",
],
"layer": "top",
"position": "top",
"modules-left": ["hyprland/workspaces"],
"modules-center": ["clock"],
"modules-right": [
"mpd",
"idle_inhibitor",
"pulseaudio",
"tray",
"network",
"cpu",
"memory",
"temperature",
"backlight",
"battery",
"custom/power",
"network",
"custom/lock",
],
"hyprland/workspaces": {
"on-click": "activate",
"format": "{icon}",
"format": "{name}: {icon}",
"format-icons": {
"default": "",
"1": "1",
"2": "2",
"3": "3",
"4": "4",
"5": "5",
"6": "6",
"7": "7",
"8": "8",
"9": "9",
"active": "󱓻",
},
// "persistent-workspaces": {
// "1": [],
// "2": [],
// "3": [],
// "4": [],
// "5": [],
// },
},
"mpd": {
"format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ {volume}% ",
"format-disconnected": "Disconnected ",
"format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ",
"unknown-tag": "N/A",
"interval": 5,
"consume-icons": {
"on": " ",
},
"random-icons": {
"off": "<span color=\"#f53c3c\"></span> ",
"on": " ",
},
"repeat-icons": {
"on": " ",
},
"single-icons": {
"on": "1 ",
},
"state-icons": {
"paused": "",
"playing": "",
},
"tooltip-format": "MPD (connected)",
"tooltip-format-disconnected": "MPD (disconnected)",
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": "",
"active": "",
"default": "",
},
},
"tray": {
// "icon-size": 21,
"icon-size": 21,
"spacing": 10,
// "icons": {
// "blueman": "bluetooth",
// "TelegramDesktop": "$HOME/.local/share/icons/hicolor/16x16/apps/telegram.png"
// }
},
"clock": {
// "timezone": "America/New_York",
"tooltip-format": "<tt><small>{calendar}</small></tt>",
// "format-alt": "{:%Y-%m-%d}",
"format": "󰭦 {:%D - %H:%M}",
"calendar": {
"mode": "year",
"mode-mon-col": 3,
"weeks-pos": "right",
"on-scroll": 1,
"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>",
},
},
"timezone": "America/Denver",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format": "{:%d - %H:%M}",
},
"cpu": {
"format": "{usage}% ",
"network": {
"format-wifi": "󰤢 ",
"format-ethernet": "󰈀 ",
"format-disconnected": "󰤠 ",
"interval": 5,
"tooltip": false,
},
"cpu": {
"interval": 1,
"format": " {icon0}{icon1}{icon2}{icon3} {usage:>2}%",
"format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"],
},
"memory": {
"format": "{}% ",
"interval": 30,
"format": " {used:0.1f}G/{total:0.1f}G",
},
"temperature": {
// "thermal-zone": 2,
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
"critical-threshold": 80,
// "format-critical": "{temperatureC}°C {icon}",
"format": "{temperatureC}°C {icon}",
"format-icons": ["", "", ""],
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"format-icons": {
"default": ["", "", " "],
},
"on-click": "pavucontrol",
},
"backlight": {
// "device": "acpi_video1",
"format": "{percent}% {icon}",
"format-icons": ["", "", "", "", "", "", "", "", ""],
"custom/lock": {
"tooltip": false,
"on-click": "sh -c '(sleep 0.5s; hyprlock)' & disown",
"format": "",
},
"later": {
"format": "<span class='icon'>{icon}</span> <span class='text'>{text}</span>",
},
"battery": {
"states": {
@@ -146,73 +76,4 @@
// "format-full": "",
"format-icons": ["", "", "", "", ""],
},
"power-profiles-daemon": {
"format": "{icon}",
"tooltip-format": "Power profile: {profile}\nDriver: {driver}",
"tooltip": true,
"format-icons": {
"default": "",
"performance": "",
"balanced": "",
"power-saver": "",
},
},
"network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface
"format-wifi": "{icon}: ({signalStrength}%)",
"format-ethernet": "{ipaddr}/{cidr} ",
"tooltip-format": "{essid} - {ifname} via {gwaddr} ",
"format-linked": "{ifname} (No IP) ",
"format-disconnected": "Disconnected ⚠",
"format-alt": "{ifname}: {ipaddr}/{cidr}",
"signalStrength": {
"low": 20,
"medium": 60,
"high": 100,
},
"format-icons": ["󰤯", "󰤟", "󰤢", "󰤨"], // Icons for different signal strengths
},
"pulseaudio": {
// "scroll-step": 1, // %, can be a float
"format": "{volume}% {icon} {format_source}",
"format-bluetooth": "{volume}% {icon} {format_source}",
"format-bluetooth-muted": " {icon} {format_source}",
"format-muted": " {format_source}",
"format-source": "{volume}% ",
"format-source-muted": "",
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", "", ""],
},
"on-click": "pavucontrol",
},
"custom/media": {
"format": "{icon} {text}",
"return-type": "json",
"max-length": 40,
"format-icons": {
"spotify": "",
"default": "🎜",
},
"escape": true,
"exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null", // Script in resources folder
// "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name
},
"custom/power": {
"format": "⏻",
"tooltip": false,
"menu": "on-click",
"menu-file": "$HOME/.config/waybar/power_menu.xml", // Menu file in resources folder
"menu-actions": {
"shutdown": "shutdown",
"reboot": "reboot",
"suspend": "systemctl suspend",
"hibernate": "systemctl hibernate",
},
},
}

View File

@@ -1,29 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- TODO: This doesn't work. -->
<interface>
<object class="GtkMenu" id="menu">
<child>
<object class="GtkMenuItem" id="suspend">
<property name="label">Suspend</property>
</object>
</child>
<child>
<object class="GtkMenuItem" id="hibernate">
<property name="label">Hibernate</property>
</object>
</child>
<child>
<object class="GtkMenuItem" id="shutdown">
<property name="label">Shutdown</property>
</object>
</child>
<child>
<object class="GtkSeparatorMenuItem" id="delimiter1"/>
</child>
<child>
<object class="GtkMenuItem" id="reboot">
<property name="label">Reboot</property>
</object>
</child>
</object>
</interface>

View File

@@ -1,171 +1,128 @@
@define-color foreground #cdd6f4;
@define-color background rgba(24, 24, 37, 0.7);
@define-color skyblue #89dceb;
@define-color blue #89b4fa;
@define-color red #f38ba8;
@define-color yellow #f9e2af;
* {
font-family: JetBrains Mono;
font-family: JetbrainsMono Nerd Font;
font-size: 15px;
border: none;
border-radius: 0;
min-height: 0;
margin: 0;
padding: 0;
box-shadow: none;
text-shadow: none;
icon-shadow: none;
padding-right: 2px;
padding-left: 2px;
padding-bottom: 0px;
}
#waybar {
background: transparent;
color: @foreground;
background-color: transparent;
margin: 0px;
}
#clock,
#battery,
#cpu,
#memory,
#disk,
#temperature,
#backlight,
#network,
#pulseaudio,
#wireplumber,
#custom-media,
#tray,
#mode,
#idle_inhibitor,
#scratchpad,
#power-profiles-daemon,
#mpd {
min-width: 12px;
min-height: 25px;
margin: 0 7.5px;
}
.modules-left {
padding: 4px;
margin: 2px 8px;
background-color: @background;
border-radius: 10;
}
.modules-right {
margin: 0 2px;
}
#clock {
background-color: @background;
margin: 2px 8px;
border-radius: 10;
padding: 0 8px;
#workspaces {
border-radius: 10px;
background: @background;
margin-right: 5px;
margin-left: 1rem;
}
#workspaces button {
padding: 0 5px;
color: @foreground;
border-radius: 5px;
padding: 0.4rem;
}
#battery {
/* background-color: #ffffff; */
/* color: #000000; */
margin-right: 10px;
#workspaces button.active {
color: @skyblue;
border-radius: 5px;
}
#battery.charging,
#battery.plugged {
color: #ffffff;
background-color: #26a65b;
}
@keyframes blink {
to {
background-color: #ffffff;
color: #000000;
}
}
/* Using steps() instead of linear as a timing function to limit cpu usage */
#battery.critical:not(.charging) {
background-color: #f53c3c;
color: #ffffff;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: steps(12);
animation-iteration-count: infinite;
animation-direction: alternate;
#workspaces button:hover {
color: #85c1dc;
border-radius: 5px;
}
#custom-music,
#tray,
#backlight,
#clock,
#battery,
#pulseaudio,
#network,
#cpu,
#memory,
#custom-lock,
#custom-power {
font-size: 23px;
background-color: @background;
padding: 0.5rem 1rem;
margin: 5px 0;
color: @foreground;
/* border-radius: 0px 5px 5px 0px; */
}
#clock {
color: @foreground;
border-radius: 5px;
margin-right: 1rem;
font-weight: 900;
}
#pulseaudio {
/* background-color: #f1c40f; */
/* color: #000000; */
color: @red;
border-radius: 10px 0px 0px 10px;
margin-left: 1rem;
}
#pulseaudio.muted {
background-color: #90b1b1;
color: #2a5c45;
#tray {
color: @blue;
border-radius: 0px 10px 10px 0px;
margin-right: 1rem;
}
#wireplumber {
background-color: #fff0f5;
color: #000000;
#cpu {
border-radius: 10px 0px 0px 10px;
}
#wireplumber.muted {
background-color: #f53c3c;
#memory {
margin-right: 1rem;
border-radius: 0px 10px 10px 0px;
}
#custom-media {
background-color: #66cc99;
color: #2a5c45;
min-width: 100px;
#battery {
border-radius: 10px 0px 0px 10px;
color: #a6d189;
}
/* #tray { */
/* background-color: red; */
/* } */
#tray > .passive {
-gtk-icon-effect: dim;
#battery.charging {
color: #a6d189;
}
#tray > .needs-attention {
-gtk-icon-effect: highlight;
background-color: #eb4d4b;
#battery.warning:not(.charging) {
color: #e78284;
}
#mpd {
background-color: #66cc99;
color: #2a5c45;
#backlight {
color: #e5c890;
}
#mpd.disconnected {
background-color: #f53c3c;
#custom-music {
color: #ca9ee6;
border-radius: 5px;
}
#mpd.stopped {
background-color: #90b1b1;
#network {
margin-right: 1rem;
border-radius: 0px 10px 10px 0px;
}
#mpd.paused {
background-color: #51a37a;
#custom-lock {
border-radius: 10px;
color: @yellow;
}
#privacy {
padding: 0;
}
#privacy-item {
padding: 0 5px;
color: white;
}
#privacy-item.screenshare {
/* background-color: #cf5700; */
}
#privacy-item.audio-in {
/* background-color: #1ca000; */
}
#privacy-item.audio-out {
/* background-color: #0069d4; */
#custom-power {
margin-right: 1rem;
border-radius: 0px 5px 5px 0px;
color: #e78284;
}