This commit is contained in:
@@ -24,13 +24,14 @@ let
|
||||
|
||||
location = config.var.location;
|
||||
username = config.var.username;
|
||||
weatherapikey = config.var.weatherapikey;
|
||||
in {
|
||||
wayland.windowManager.hyprland.settings.exec-once =
|
||||
[ "${pkgs.hyprpanel}/bin/hyprpanel" ];
|
||||
|
||||
home.packages = with pkgs; [ hyprpanel libnotify ];
|
||||
|
||||
home.file.".cache/ags/hyprpanel/options.json" = {
|
||||
home.file.".config/hyprpanel/config.json" = {
|
||||
text = # json
|
||||
''
|
||||
{
|
||||
@@ -101,17 +102,18 @@ in {
|
||||
"theme.bar.buttons.y_margins": "${
|
||||
if floating && transparent then "0" else "8"
|
||||
}px",
|
||||
"theme.bar.buttons.spacing": "0.3em",
|
||||
"theme.bar.buttons.spacing": "0.2em",
|
||||
"theme.bar.buttons.radius": "${
|
||||
if transparent then toString rounding else toString (rounding - 8)
|
||||
}px",
|
||||
"theme.bar.floating": ${if floating then "true" else "false"},
|
||||
"theme.bar.buttons.padding_x": "0.8rem",
|
||||
"theme.bar.buttons.padding_y": "0.4rem",
|
||||
"theme.bar.buttons.padding_x": "0.4rem",
|
||||
"theme.bar.buttons.padding_y": "0.2rem",
|
||||
|
||||
"theme.bar.buttons.workspaces.hover": "${accent-alt}",
|
||||
"theme.bar.buttons.workspaces.active": "${accent}",
|
||||
"theme.bar.buttons.workspaces.available": "${background}",
|
||||
"theme.bar.buttons.workspaces.available": "${accent-alt}",
|
||||
|
||||
|
||||
"theme.bar.margin_top": "${
|
||||
if position == "top" then toString (gaps-in * 2) else "0"
|
||||
@@ -125,14 +127,14 @@ in {
|
||||
"bar.launcher.icon": "",
|
||||
"theme.bar.transparent": ${if transparent then "true" else "false"},
|
||||
"bar.workspaces.show_numbered": false,
|
||||
"bar.workspaces.workspaces": 5,
|
||||
"bar.workspaces.monitorSpecific": true,
|
||||
"bar.workspaces.show_icons": false,
|
||||
"bar.workspaces.workspaces": 9,
|
||||
"bar.workspaces.hideUnoccupied": false,
|
||||
"bar.windowtitle.label": true,
|
||||
"bar.volume.label": false,
|
||||
"bar.network.truncation_size": 12,
|
||||
"bar.bluetooth.label": false,
|
||||
"bar.clock.format": "%a %b %d %I:%M %p",
|
||||
"bar.clock.format": "%a %b %d %H:%M",
|
||||
"bar.notifications.show_total": true,
|
||||
"theme.notification.border_radius": "${toString rounding}px",
|
||||
"theme.osd.enable": true,
|
||||
@@ -142,14 +144,14 @@ in {
|
||||
"theme.osd.margins": "0px 0px 0px 10px",
|
||||
"theme.osd.muted_zero": true,
|
||||
"menus.clock.weather.location": "${location}",
|
||||
"menus.clock.weather.key": "myapikey",
|
||||
"menus.clock.weather.key": "${weatherapikey}",
|
||||
"menus.clock.weather.unit": "metric",
|
||||
"menus.dashboard.powermenu.avatar.image": "/home/${username}/.profile_picture.png",
|
||||
"menus.dashboard.powermenu.confirmation": false,
|
||||
|
||||
"menus.dashboard.shortcuts.left.shortcut1.icon": "",
|
||||
"menus.dashboard.shortcuts.left.shortcut1.command": "qutebrowser",
|
||||
"menus.dashboard.shortcuts.left.shortcut1.tooltip": "Qutebrowser",
|
||||
"menus.dashboard.shortcuts.left.shortcut1.command": "firefox",
|
||||
"menus.dashboard.shortcuts.left.shortcut1.tooltip": "firefox",
|
||||
"menus.dashboard.shortcuts.left.shortcut2.icon": "",
|
||||
"menus.dashboard.shortcuts.left.shortcut2.command": "caffeine",
|
||||
"menus.dashboard.shortcuts.left.shortcut2.tooltip": "Caffeine",
|
||||
@@ -167,17 +169,17 @@ in {
|
||||
"menus.dashboard.shortcuts.right.shortcut3.tooltip": "Screenshot",
|
||||
|
||||
"menus.dashboard.directories.left.directory1.label": " Downloads",
|
||||
"menus.dashboard.directories.left.directory1.command": "bash -c \"thunar $HOME/Downloads/\"",
|
||||
"menus.dashboard.directories.left.directory1.command": "bash -c \"nemo $HOME/Downloads/\"",
|
||||
"menus.dashboard.directories.left.directory2.label": " Pictures",
|
||||
"menus.dashboard.directories.left.directory2.command": "bash -c \"thunar $HOME/Pictures/\"",
|
||||
"menus.dashboard.directories.left.directory2.command": "bash -c \"nemo $HOME/Pictures/\"",
|
||||
"menus.dashboard.directories.left.directory3.label": " Documents",
|
||||
"menus.dashboard.directories.left.directory3.command": "bash -c \"thunar $HOME/Documents/\"",
|
||||
"menus.dashboard.directories.left.directory3.command": "bash -c \"nemo $HOME/Documents/\"",
|
||||
"menus.dashboard.directories.right.directory1.label": " Home",
|
||||
"menus.dashboard.directories.right.directory1.command": "bash -c \"thunar $HOME/\"",
|
||||
"menus.dashboard.directories.right.directory1.command": "bash -c \"nemo $HOME/\"",
|
||||
"menus.dashboard.directories.right.directory2.label": " Projects",
|
||||
"menus.dashboard.directories.right.directory2.command": "bash -c \"thunar $HOME/dev/\"",
|
||||
"menus.dashboard.directories.right.directory2.command": "bash -c \"nemo $HOME/dev/\"",
|
||||
"menus.dashboard.directories.right.directory3.label": " Config",
|
||||
"menus.dashboard.directories.right.directory3.command": "bash -c \"thunar $HOME/.config/\"",
|
||||
"menus.dashboard.directories.right.directory3.command": "bash -c \"nemo $HOME/.config/\"",
|
||||
|
||||
"theme.bar.menus.monochrome": true,
|
||||
"wallpaper.enable": false,
|
||||
|
||||
Reference in New Issue
Block a user