add hyprpanel config
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ config, pkgs, ... }:
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
# TODO:
|
||||
# - configure comands like hyprpaper, waybar, etc.
|
||||
@@ -27,10 +27,15 @@
|
||||
];
|
||||
programs.hyprpanel = {
|
||||
enable = true;
|
||||
systemd.enable = true;
|
||||
settings = builtins.fromJSON (builtins.readFile ./hyprpanel.json);
|
||||
};
|
||||
programs.fuzzel.enable = true;
|
||||
|
||||
home.file.".config/hypr/scripts" = {
|
||||
source = ./scripts;
|
||||
recursive = true;
|
||||
};
|
||||
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
plugins = [ pkgs.hyprlandPlugins.hyprexpo ];
|
||||
@@ -216,9 +221,4 @@
|
||||
};
|
||||
};
|
||||
|
||||
home.file.".config/hypr/scripts" = {
|
||||
source = ./scripts;
|
||||
recursive = true;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
general = {
|
||||
lock_cmd = lock_cmd;
|
||||
before_sleep_cmd = "loginctl lock-session";
|
||||
after_sleep_cmd = "hyprctl dispatch global quickshell:lockFocus";
|
||||
inhibit_sleep = 3;
|
||||
};
|
||||
|
||||
@@ -21,8 +20,8 @@
|
||||
}
|
||||
{
|
||||
timeout = 600; # 10 mins
|
||||
on-timeout = "hyprctl dispatch dpms off";
|
||||
on-resume = "hyprctl dispatch dpms on";
|
||||
# on-timeout = "hyprctl dispatch dpms off";
|
||||
# on-resume = "hyprctl dispatch dpms on";
|
||||
}
|
||||
{
|
||||
timeout = 900; # 15 mins
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
|
||||
''
|
||||
${super}, Return, exec, ~/.config/hypr/scripts/launch_first_available.sh "kitty" "foot" "alacritty" "wezterm" "konsole" "kgx" "uxterm" "xterm"''
|
||||
"${super}, T, exec, Telegram"
|
||||
"${super}, T, exec, telegram-desktop"
|
||||
''
|
||||
${super}, E, exec, ~/.config/hypr/scripts/launch_first_available.sh "dolphin" "nautilus" "nemo" "thunar" "kitty -1 fish -c yazi"''
|
||||
''
|
||||
|
||||
@@ -0,0 +1,116 @@
|
||||
{
|
||||
"bar.customModules.storage.paths": [
|
||||
"/"
|
||||
],
|
||||
"theme.font.size": "1.0rem",
|
||||
"theme.font.weight": 300,
|
||||
"theme.bar.floating": false,
|
||||
"menus.transition": "crossfade",
|
||||
"theme.bar.menus.enableShadow": false,
|
||||
"scalingPriority": "both",
|
||||
"bar.autoHide": "never",
|
||||
"theme.bar.buttons.enableBorders": false,
|
||||
"bar.launcher.autoDetectIcon": true,
|
||||
"theme.bar.buttons.dashboard.enableBorder": false,
|
||||
"bar.workspaces.show_icons": false,
|
||||
"bar.workspaces.monitorSpecific": false,
|
||||
"bar.workspaces.show_numbered": false,
|
||||
"bar.workspaces.showWsIcons": true,
|
||||
"bar.workspaces.showApplicationIcons": true,
|
||||
"bar.workspaces.showAllActive": true,
|
||||
"bar.workspaces.numbered_active_indicator": "highlight",
|
||||
"bar.workspaces.spacing": 1.5,
|
||||
"bar.volume.scrollUp": "hyprpanel vol -5",
|
||||
"bar.volume.scrollDown": "hyprpanel vol +5",
|
||||
"bar.network.showWifiInfo": true,
|
||||
"bar.network.truncation_size": 13,
|
||||
"bar.network.label": false,
|
||||
"bar.bluetooth.label": false,
|
||||
"theme.bar.buttons.systray.enableBorder": false,
|
||||
"menus.clock.time.military": true,
|
||||
"menus.clock.time.hideSeconds": false,
|
||||
"bar.clock.format": "%a %d %H:%M",
|
||||
"bar.media.format": "\"{title}\" by {artist}",
|
||||
"bar.media.show_active_only": true,
|
||||
"bar.layouts": {
|
||||
"0": {
|
||||
"left": [
|
||||
"dashboard",
|
||||
"workspaces",
|
||||
"separator",
|
||||
"windowtitle"
|
||||
],
|
||||
"middle": [
|
||||
"media"
|
||||
],
|
||||
"right": [
|
||||
"volume",
|
||||
"network",
|
||||
"bluetooth",
|
||||
"battery",
|
||||
"separator",
|
||||
"systray",
|
||||
"kbinput",
|
||||
"clock",
|
||||
"notifications"
|
||||
]
|
||||
},
|
||||
"1": {
|
||||
"left": [
|
||||
"dashboard",
|
||||
"workspaces",
|
||||
"windowtitle"
|
||||
],
|
||||
"middle": [
|
||||
"media"
|
||||
],
|
||||
"right": [
|
||||
"volume",
|
||||
"clock",
|
||||
"notifications"
|
||||
]
|
||||
},
|
||||
"2": {
|
||||
"left": [
|
||||
"dashboard",
|
||||
"workspaces",
|
||||
"windowtitle"
|
||||
],
|
||||
"middle": [
|
||||
"media"
|
||||
],
|
||||
"right": [
|
||||
"volume",
|
||||
"clock",
|
||||
"notifications"
|
||||
]
|
||||
}
|
||||
},
|
||||
"theme.bar.buttons.modules.kbLayout.enableBorder": true,
|
||||
"theme.bar.transparent": true,
|
||||
"theme.bar.buttons.background_opacity": 45,
|
||||
"theme.bar.menus.opacity": 90,
|
||||
"theme.matugen": false,
|
||||
"wallpaper.pywal": true,
|
||||
"wallpaper.image": "/home/krosh/Pictures/wallpaper.png",
|
||||
"theme.bar.border.width": "0.15em",
|
||||
"theme.bar.buttons.padding_x": "0.7rem",
|
||||
"theme.bar.outer_spacing": "0.4em",
|
||||
"theme.bar.buttons.radius": "0.6em",
|
||||
"menus.dashboard.powermenu.avatar.image": "/home/krosh/Pictures/avatar.png",
|
||||
"menus.dashboard.shortcuts.left.shortcut1.tooltip": "",
|
||||
"menus.dashboard.shortcuts.left.shortcut1.command": "",
|
||||
"menus.dashboard.shortcuts.left.shortcut1.icon": "",
|
||||
"menus.dashboard.shortcuts.left.shortcut2.command": "spotify",
|
||||
"menus.dashboard.shortcuts.left.shortcut3.icon": "",
|
||||
"menus.dashboard.shortcuts.left.shortcut3.command": "",
|
||||
"menus.dashboard.shortcuts.left.shortcut3.tooltip": "",
|
||||
"menus.dashboard.shortcuts.left.shortcut4.command": "fuzzel",
|
||||
"menus.dashboard.directories.left.directory3.command": "",
|
||||
"menus.dashboard.directories.left.directory3.label": "",
|
||||
"menus.dashboard.directories.left.directory2.command": "bash -c \"xdg-open $HOME/\"",
|
||||
"menus.dashboard.directories.left.directory2.label": " Home",
|
||||
"menus.dashboard.directories.right.directory3.label": "",
|
||||
"menus.dashboard.directories.right.directory3.command": "",
|
||||
"menus.dashboard.directories.enabled": false
|
||||
}
|
||||
Reference in New Issue
Block a user