This commit is contained in:
Hadi 2024-08-29 22:46:04 +02:00
parent c83e5b2213
commit 48a59c4c55
2 changed files with 230 additions and 148 deletions

View File

@ -6,8 +6,8 @@ feel free to contribute <3 ([CONTRIBUTING.md](CONTRIBUTING.md))
- [ ] Themes - [ ] Themes
- [ ] Clipse: clipboard manager - [ ] Clipse: clipboard manager
- [ ] Walker launcher implementation
- [ ] Swaync implementation - [ ] Swaync implementation
- [ ] Rofi config
- [ ] Qutebrowser - [ ] Qutebrowser
- [ ] !!! Bitwarden integration (I need this.) - [ ] !!! Bitwarden integration (I need this.)

View File

@ -5,155 +5,237 @@
home.packages = with pkgs; [ hyprpanel ]; home.packages = with pkgs; [ hyprpanel ];
home.file.".cache/ags/hyprpanel/options.json" = { home.file.".cache/ags/hyprpanel/options.json" = {
text = '' text = # json
{ ''
"theme.font.name": "${config.var.theme.font}", {
"theme.font.size": "${toString config.var.theme.bar.font-size}px", "bar.layouts": {
"theme.bar.outer_spacing": "${ "0": {
if config.var.theme.bar.floating "left": [
&& config.var.theme.bar.transparent then "dashboard",
"0" "workspaces",
else "windowtitle"
"8" ],
}px", "middle": [
"theme.bar.buttons.y_margins": "${ "media"
if config.var.theme.bar.floating ],
&& config.var.theme.bar.transparent then "right": [
"0" "systray",
else "network",
"8" "volume",
}px", "bluetooth",
"theme.bar.buttons.spacing": "0.3em", "battery",
"theme.bar.buttons.radius": "${toString config.var.theme.rounding}px", "clock",
"theme.bar.floating": ${ "notifications"
if config.var.theme.bar.floating then "true" else "false" ]
}, },
"theme.bar.buttons.padding_x": "0.7rem", "1": {
"theme.bar.buttons.padding_y": "0.3rem", "left": [
"dashboard",
"workspaces",
"windowtitle"
],
"middle": [
"media"
],
"right": [
"volume",
"clock",
"notifications"
]
},
"2": {
"left": [
],
"middle": [
],
"right": [
]
}
},
"theme.font.name": "${config.var.theme.font}",
"theme.font.size": "${toString config.var.theme.bar.font-size}px",
"theme.bar.outer_spacing": "${
if config.var.theme.bar.floating
&& config.var.theme.bar.transparent then
"0"
else
"8"
}px",
"theme.bar.buttons.y_margins": "${
if config.var.theme.bar.floating
&& config.var.theme.bar.transparent then
"0"
else
"8"
}px",
"theme.bar.buttons.spacing": "0.3em",
"theme.bar.buttons.radius": "${toString config.var.theme.rounding}px",
"theme.bar.floating": ${
if config.var.theme.bar.floating then "true" else "false"
},
"theme.bar.buttons.padding_x": "0.8rem",
"theme.bar.buttons.padding_y": "0.4rem",
"theme.bar.margin_top": "1.0em", "theme.bar.margin_top": "1.0em",
"theme.bar.margin_sides": "${toString config.var.theme.gaps-out}px", "theme.bar.margin_sides": "${toString config.var.theme.gaps-out}px",
"theme.bar.margin_bottom": "0px", "theme.bar.margin_bottom": "0px",
"theme.bar.border_radius": "0.4em", "theme.bar.border_radius": "0.4em",
"bar.launcher.icon": "", "bar.launcher.icon": "",
"theme.bar.transparent": ${ "theme.bar.transparent": ${
if config.var.theme.bar.transparent then "true" else "false" if config.var.theme.bar.transparent then "true" else "false"
}, },
"bar.workspaces.show_numbered": false, "bar.workspaces.show_numbered": false,
"bar.workspaces.workspaces": 5, "bar.workspaces.workspaces": 5,
"bar.workspaces.monitorSpecific": true, "bar.workspaces.monitorSpecific": true,
"bar.workspaces.hideUnoccupied": false, "bar.workspaces.hideUnoccupied": false,
"bar.windowtitle.label": true, "bar.windowtitle.label": true,
"bar.volume.label": false, "bar.volume.label": false,
"bar.network.truncation_size": 7, "bar.network.truncation_size": 7,
"bar.bluetooth.label": false, "bar.bluetooth.label": false,
"bar.clock.format": "%a %b %d %I:%M %p", "bar.clock.format": "%a %b %d %I:%M %p",
"bar.notifications.show_total": true, "bar.notifications.show_total": true,
"theme.notification.border_radius": "${ "theme.notification.border_radius": "${
toString config.var.theme.rounding toString config.var.theme.rounding
}px", }px",
"theme.osd.enable": true, "theme.osd.enable": true,
"theme.osd.orientation": "vertical", "theme.osd.orientation": "vertical",
"theme.osd.location": "left", "theme.osd.location": "left",
"theme.osd.radius": "${toString config.var.theme.rounding}px", "theme.osd.radius": "${toString config.var.theme.rounding}px",
"theme.osd.margins": "0px 0px 0px 10px", "theme.osd.margins": "0px 0px 0px 10px",
"theme.osd.muted_zero": true, "theme.osd.muted_zero": true,
"menus.clock.weather.location": "${config.var.location}", "menus.clock.weather.location": "${config.var.location}",
"menus.clock.weather.key": "myapikey", "menus.clock.weather.key": "myapikey",
"menus.clock.weather.unit": "metric", "menus.clock.weather.unit": "metric",
"menus.dashboard.powermenu.avatar.image": "$HOME/.profile_picture.png", "menus.dashboard.powermenu.avatar.image": "${config.var.homeDirectory}/.profile_picture.png",
"menus.dashboard.powermenu.confirmation": false, "menus.dashboard.powermenu.confirmation": false,
"menus.dashboard.shortcuts.left.shortcut1.tooltip": "Microsoft Edgez", "menus.dashboard.shortcuts": {
"menus.dashboard.shortcuts.left.shortcut1.command": "microsoft-edge-stablez", "left": {
"menus.dashboard.shortcuts.left.shortcut1.icon": "󰇩z", "shortcut1": {
"menus.dashboard.shortcuts.left.shortcut2.icon": "z", "icon": "",
"menus.dashboard.shortcuts.left.shortcut2.command": "spotify-launcherz", "command": "qutebrowser",
"menus.dashboard.shortcuts.left.shortcut2.tooltip": "Spotifyz", "tooltip": "Qutebrowser"
"menus.dashboard.shortcuts.left.shortcut3.icon": "z", },
"menus.dashboard.shortcuts.left.shortcut3.command": "discordz", "shortcut2": {
"menus.dashboard.shortcuts.left.shortcut3.tooltip": "Discordz", "icon": "",
"menus.dashboard.shortcuts.left.shortcut4.icon": "z", "command": "spotify",
"menus.dashboard.shortcuts.left.shortcut4.command": "rofi -show drunz", "tooltip": "Spotify"
"menus.dashboard.shortcuts.left.shortcut4.tooltip": "Search Appsz", },
"menus.dashboard.shortcuts.right.shortcut1.icon": "z", "shortcut3": {
"menus.dashboard.shortcuts.right.shortcut1.command": "hyprpicker -az", "icon": "",
"menus.dashboard.shortcuts.right.shortcut1.tooltip": "Color Pickerz", "command": "discord",
"menus.dashboard.shortcuts.right.shortcut3.icon": "󰄀z", "tooltip": "Discord"
"menus.dashboard.shortcuts.right.shortcut3.command": "bash -c \"$HOME/.config/ags/services/snapshot.sh\"z", },
"menus.dashboard.shortcuts.right.shortcut3.tooltip": "Screenshotz", "shortcut4": {
"menus.dashboard.directories.left.directory1.label": "󰉍 Downloadsz", "icon": "",
"menus.dashboard.directories.left.directory1.command": "bash -c \"dolphin $HOME/Downloads/\"z", "command": "rofi -show drun",
"menus.dashboard.directories.left.directory2.label": "󰉏 Videosz", "tooltip": "Search Apps"
"menus.dashboard.directories.left.directory2.command": "bash -c \"dolphin $HOME/Videos/\"z", }
"menus.dashboard.directories.left.directory3.label": "󰚝 Projectsz", },
"menus.dashboard.directories.left.directory3.command": "bash -c \"dolphin $HOME/Projects/\"z", "right": {
"menus.dashboard.directories.right.directory1.label": "󱧶 Documentsz", "shortcut1": {
"menus.dashboard.directories.right.directory1.command": "bash -c \"dolphin $HOME/Documents/\"z", "icon": "",
"menus.dashboard.directories.right.directory2.label": "󰉏 Picturesz", "command": "hyprpicker -a",
"menus.dashboard.directories.right.directory2.command": "bash -c \"dolphin $HOME/Pictures/\"z", "tooltip": "Color Picker"
"menus.dashboard.directories.right.directory3.label": "󱂵 Homez", },
"menus.dashboard.directories.right.directory3.command": "bash -c \"dolphin $HOME/\"z", "shortcut3": {
"theme.bar.menus.monochrome": true, "icon": "󰄀",
"wallpaper.enable": false, "command": "bash -c \"$HOME/.config/ags/services/snapshot.sh\"",
"theme.bar.menus.background": "#${config.var.theme.colors.bg}", "tooltip": "Screenshot"
"theme.bar.menus.cards": "#${config.var.theme.colors.bgalt}", }
"theme.bar.menus.card_radius": "${ }
toString config.var.theme.rounding },
}px", "menus.dashboard.directories": {
"theme.bar.menus.label": "#${config.var.theme.colors.fg}", "left": {
"theme.bar.menus.text": "#${config.var.theme.colors.fg}", "directory1": {
"theme.bar.menus.border.size": "${ "label": "󰉍 Downloads",
toString config.var.theme.border-size "command": "bash -c \"dolphin $HOME/Downloads/\""
}px", },
"theme.bar.menus.border.color": "#${config.var.theme.colors.accent}", "directory2": {
"theme.bar.menus.border.radius": "${ "label": "󰉏 Videos",
toString config.var.theme.rounding "command": "bash -c \"dolphin $HOME/Videos/\""
}px", },
"theme.bar.menus.popover.text": "#${config.var.theme.colors.fg}", "directory3": {
"theme.bar.menus.popover.background": "#${config.var.theme.colors.bgalt}", "label": "󰚝 Projects",
"theme.bar.menus.listitems.active": "#${config.var.theme.colors.accent}", "command": "bash -c \"dolphin $HOME/Projects/\""
"theme.bar.menus.icons.active": "#${config.var.theme.colors.accent}", }
"theme.bar.menus.switch.enabled": "#${config.var.theme.colors.accent}", },
"theme.bar.menus.check_radio_button.active": "#${config.var.theme.colors.accent}", "right": {
"theme.bar.menus.buttons.default": "#${config.var.theme.colors.accent}", "directory1": {
"theme.bar.menus.buttons.active": "#${config.var.theme.colors.accent}", "label": "󱧶 Documents",
"theme.bar.menus.iconbuttons.active": "#${config.var.theme.colors.accent}", "command": "bash -c \"dolphin $HOME/Documents/\""
"theme.bar.menus.progressbar.foreground": "#${config.var.theme.colors.accent}", },
"theme.bar.menus.slider.primary": "#${config.var.theme.colors.accent}", "directory2": {
"theme.bar.menus.tooltip.background": "#${config.var.theme.colors.bgalt}", "label": "󰉏 Pictures",
"theme.bar.menus.tooltip.text": "#${config.var.theme.colors.fg}", "command": "bash -c \"dolphin $HOME/Pictures/\""
"theme.bar.menus.dropdownmenu.background": "#${config.var.theme.colors.bgalt}", },
"theme.bar.menus.dropdownmenu.text": "#${config.var.theme.colors.fg}", "directory3": {
"theme.bar.background": "#${config.var.theme.colors.bg}", "label": "󱂵 Home",
"theme.bar.buttons.style": "default", "command": "bash -c \"dolphin $HOME/\""
"theme.bar.buttons.monochrome": true, }
"theme.bar.buttons.text": "#${config.var.theme.colors.fg}", }
"theme.bar.buttons.background": "#${config.var.theme.colors.bgalt}", },
"theme.bar.buttons.icon": "#${config.var.theme.colors.accent}",
"theme.bar.buttons.notifications.background": "#${config.var.theme.colors.bgalt}", "theme.bar.menus.monochrome": true,
"theme.bar.buttons.hover": "#${config.var.theme.colors.bg}", "wallpaper.enable": false,
"theme.bar.buttons.notifications.hover": "#${config.var.theme.colors.bg}", "theme.bar.menus.background": "#${config.var.theme.colors.bg}",
"theme.bar.buttons.notifications.total": "#${config.var.theme.colors.accent}", "theme.bar.menus.cards": "#${config.var.theme.colors.bgalt}",
"theme.bar.buttons.notifications.icon": "#${config.var.theme.colors.accent}", "theme.bar.menus.card_radius": "${
"theme.notification.background": "#${config.var.theme.colors.bgalt}", toString config.var.theme.rounding
"theme.notification.actions.background": "#${config.var.theme.colors.accent}", }px",
"theme.notification.actions.text": "#${config.var.theme.colors.fg}", "theme.bar.menus.label": "#${config.var.theme.colors.fg}",
"theme.notification.label": "#${config.var.theme.colors.accent}", "theme.bar.menus.text": "#${config.var.theme.colors.fg}",
"theme.notification.border": "#${config.var.theme.colors.bgalt}", "theme.bar.menus.border.size": "${
"theme.notification.text": "#${config.var.theme.colors.fgalt}", toString config.var.theme.border-size
"theme.notification.labelicon": "#${config.var.theme.colors.accent}", }px",
"theme.osd.bar_color": "#${config.var.theme.colors.accent}", "theme.bar.menus.border.color": "#${config.var.theme.colors.accent}",
"theme.osd.bar_overflow_color": "#${config.var.theme.colors.accentalt}", "theme.bar.menus.border.radius": "${
"theme.osd.icon": "#${config.var.theme.colors.bg}", toString config.var.theme.rounding
"theme.osd.icon_container": "#${config.var.theme.colors.accent}", }px",
"theme.osd.label": "#${config.var.theme.colors.accent}", "theme.bar.menus.popover.text": "#${config.var.theme.colors.fg}",
"theme.osd.bar_container": "#${config.var.theme.colors.bgalt}", "theme.bar.menus.popover.background": "#${config.var.theme.colors.bgalt}",
"theme.bar.menus.menu.media.background.color": "#${config.var.theme.colors.bgalt}", "theme.bar.menus.listitems.active": "#${config.var.theme.colors.accent}",
"theme.bar.menus.menu.media.card.color": "#${config.var.theme.colors.bgalt}", "theme.bar.menus.icons.active": "#${config.var.theme.colors.accent}",
"theme.bar.menus.menu.media.card.tint": 90 "theme.bar.menus.switch.enabled": "#${config.var.theme.colors.accent}",
} "theme.bar.menus.check_radio_button.active": "#${config.var.theme.colors.accent}",
''; "theme.bar.menus.buttons.default": "#${config.var.theme.colors.accent}",
"theme.bar.menus.buttons.active": "#${config.var.theme.colors.accent}",
"theme.bar.menus.iconbuttons.active": "#${config.var.theme.colors.accent}",
"theme.bar.menus.progressbar.foreground": "#${config.var.theme.colors.accent}",
"theme.bar.menus.slider.primary": "#${config.var.theme.colors.accent}",
"theme.bar.menus.tooltip.background": "#${config.var.theme.colors.bgalt}",
"theme.bar.menus.tooltip.text": "#${config.var.theme.colors.fg}",
"theme.bar.menus.dropdownmenu.background": "#${config.var.theme.colors.bgalt}",
"theme.bar.menus.dropdownmenu.text": "#${config.var.theme.colors.fg}",
"theme.bar.background": "#${config.var.theme.colors.bg}",
"theme.bar.buttons.style": "default",
"theme.bar.buttons.monochrome": true,
"theme.bar.buttons.text": "#${config.var.theme.colors.fg}",
"theme.bar.buttons.background": "#${config.var.theme.colors.bgalt}",
"theme.bar.buttons.icon": "#${config.var.theme.colors.accent}",
"theme.bar.buttons.notifications.background": "#${config.var.theme.colors.bgalt}",
"theme.bar.buttons.hover": "#${config.var.theme.colors.bg}",
"theme.bar.buttons.notifications.hover": "#${config.var.theme.colors.bg}",
"theme.bar.buttons.notifications.total": "#${config.var.theme.colors.accent}",
"theme.bar.buttons.notifications.icon": "#${config.var.theme.colors.accent}",
"theme.notification.background": "#${config.var.theme.colors.bgalt}",
"theme.notification.actions.background": "#${config.var.theme.colors.accent}",
"theme.notification.actions.text": "#${config.var.theme.colors.fg}",
"theme.notification.label": "#${config.var.theme.colors.accent}",
"theme.notification.border": "#${config.var.theme.colors.bgalt}",
"theme.notification.text": "#${config.var.theme.colors.fgalt}",
"theme.notification.labelicon": "#${config.var.theme.colors.accent}",
"theme.osd.bar_color": "#${config.var.theme.colors.accent}",
"theme.osd.bar_overflow_color": "#${config.var.theme.colors.accentalt}",
"theme.osd.icon": "#${config.var.theme.colors.bg}",
"theme.osd.icon_container": "#${config.var.theme.colors.accent}",
"theme.osd.label": "#${config.var.theme.colors.accent}",
"theme.osd.bar_container": "#${config.var.theme.colors.bgalt}",
"theme.bar.menus.menu.media.background.color": "#${config.var.theme.colors.bgalt}",
"theme.bar.menus.menu.media.card.color": "#${config.var.theme.colors.bgalt}",
"theme.bar.menus.menu.media.card.tint": 90
}
'';
}; };
} }