This commit is contained in:
@@ -37,8 +37,8 @@ in {
|
||||
theme = lib.mkForce { name = "FlatColor"; };
|
||||
|
||||
iconTheme = {
|
||||
package = pkgs.kora-icon-theme;
|
||||
name = "Kora";
|
||||
package = pkgs.tela-icon-theme;
|
||||
name = "Tela-dark";
|
||||
};
|
||||
|
||||
font = { name = config.stylix.fonts.serif.name; };
|
||||
|
||||
@@ -13,13 +13,29 @@
|
||||
|
||||
listener = [
|
||||
{
|
||||
timeout = 600;
|
||||
timeout = 150; # 2.5min.
|
||||
on-timeout =
|
||||
"${pkgs.brightnessctl}/bin/brightnessctl -s set 10"; # set monitor backlight to minimum, avoid 0 on OLED monitor.
|
||||
on-resume =
|
||||
"${pkgs.brightnessctl}/bin/brightnessctl -r"; # monitor backlight restore.
|
||||
}
|
||||
|
||||
{
|
||||
timeout = 300;
|
||||
on-timeout = "pidof hyprlock || ${pkgs.hyprlock}/bin/hyprlock";
|
||||
}
|
||||
|
||||
{
|
||||
timeout = 660;
|
||||
on-timeout = "systemctl suspend";
|
||||
timeout = 430; # 5.5min
|
||||
on-timeout =
|
||||
"${pkgs.hyprland}/bin/hyprctl dispatch dpms off"; # screen off when timeout has passed
|
||||
on-resume =
|
||||
"${pkgs.hyprland}/bin/hyprctl dispatch dpms on"; # screen on when activity is detected after timeout has fired.
|
||||
}
|
||||
|
||||
{
|
||||
timeout = 960;
|
||||
on-timeout = "systemctl sleep";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
@@ -3,14 +3,18 @@
|
||||
bind = [
|
||||
"$mod,RETURN, exec, ${pkgs.kitty}/bin/kitty" # Kitty
|
||||
"$mod,E, exec, ${pkgs.xfce.thunar}/bin/thunar" # Thunar
|
||||
"$mod,B, exec, ${pkgs.qutebrowser}/bin/qutebrowser" # Qutebrowser
|
||||
"$mod,K, exec, ${pkgs.bitwarden}/bin/bitwarden" # Bitwarden
|
||||
"$mod,L, exec, ${pkgs.hyprlock}/bin/hyprlock" # Lock
|
||||
# "$mod,B, exec, ${pkgs.qutebrowser}/bin/qutebrowser" # Qutebrowser
|
||||
"$mod,U, exec, ${pkgs.firefox}/bin/firefox" # Firefox
|
||||
# "$shiftMod,B, exec, ${pkgs.bitwarden}/bin/bitwarden" # Bitwarden
|
||||
"$shiftMod,Q, exec, ${pkgs.hyprlock}/bin/hyprlock" # Lock
|
||||
"$mod,X, exec, powermenu" # Powermenu
|
||||
"$mod,SPACE, exec, menu" # Launcher
|
||||
"$mod,C, exec, quickmenu" # Quickmenu
|
||||
"$shiftMod,SPACE, exec, hyprfocus-toggle" # Toggle HyprFocus
|
||||
"$mod,TAB, overview:toggle" # Overview
|
||||
# "$shiftMod,SPACE, exec, hyprfocus-toggle" # Toggle HyprFocus
|
||||
"$mod,TAB, workspace, previous" # Overview
|
||||
# "$shiftMod,TAB, overview:toggle" # Overview
|
||||
"$mod, bracketright, workspace, e+1"
|
||||
"$mod, bracketleft, workspace, e-1"
|
||||
|
||||
"$mod,Q, killactive," # Close window
|
||||
"$mod,T, togglefloating," # Toggle Floating
|
||||
@@ -24,12 +28,21 @@
|
||||
"$shiftMod,left, layoutmsg, addmaster" # Add to master
|
||||
"$shiftMod,right, layoutmsg, removemaster" # Remove from master
|
||||
|
||||
"$mod,h, movefocus, l" # Move focus left
|
||||
"$mod,l, movefocus, r" # Move focus Right
|
||||
"$mod,k, movefocus, u" # Move focus Up
|
||||
"$mod,j, movefocus, d" # Move focus Down
|
||||
"$ctrlMod,k, focusmonitor, -1" # Focus previous monitor
|
||||
"$ctrlMod,j, focusmonitor, 1" # Focus next monitor
|
||||
"$ctrlMod,h, layoutmsg, addmaster" # Add to master
|
||||
"$ctrlMod,l, layoutmsg, removemaster" # Remove from master
|
||||
|
||||
"$mod,PRINT, exec, screenshot window" # Screenshot window
|
||||
",PRINT, exec, screenshot monitor" # Screenshot monitor
|
||||
"$shiftMod,PRINT, exec, screenshot region" # Screenshot region
|
||||
"ALT,PRINT, exec, screenshot region swappy" # Screenshot region then edit
|
||||
|
||||
"$shiftMod,S, exec, ${pkgs.qutebrowser}/bin/qutebrowser :open $(wofi --show dmenu -L 1 -p ' Search on internet')" # Search on internet with wofi
|
||||
# "$shiftMod,S, exec, ${pkgs.qutebrowser}/bin/qutebrowser :open $(wofi --show dmenu -L 1 -p ' Search on internet')" # Search on internet with wofi
|
||||
"$shiftMod,C, exec, clipboard" # Clipboard picker with wofi
|
||||
"$shiftMod,E, exec, ${pkgs.wofi-emoji}/bin/wofi-emoji" # Emoji picker with wofi
|
||||
"$mod,F2, exec, night-shift" # Toggle night shift
|
||||
@@ -61,5 +74,10 @@
|
||||
",XF86MonBrightnessDown, exec, brightness-down" # Brightness Down
|
||||
];
|
||||
|
||||
binds = {
|
||||
workspace_back_and_forth = false;
|
||||
allow_workspace_cycles = true;
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,17 +1,21 @@
|
||||
# So best window tiling manager
|
||||
{ pkgs, config, inputs, ... }:
|
||||
let
|
||||
border-size = config.var.theme.border-size;
|
||||
gaps-in = config.var.theme.gaps-in;
|
||||
gaps-out = config.var.theme.gaps-out;
|
||||
active-opacity = config.var.theme.active-opacity;
|
||||
inactive-opacity = config.var.theme.inactive-opacity;
|
||||
rounding = config.var.theme.rounding;
|
||||
blur = config.var.theme.blur;
|
||||
keyboardLayout = config.var.keyboardLayout;
|
||||
inherit (config.var.theme)
|
||||
border-size gaps-in gaps-out active-opacity inactive-opacity rounding blur;
|
||||
inherit (config.var) keyboardLayout;
|
||||
# border-size = config.var.theme.border-size;
|
||||
# gaps-in = config.var.theme.gaps-in;
|
||||
# gaps-out = config.var.theme.gaps-out;
|
||||
# active-opacity = config.var.theme.active-opacity;
|
||||
# inactive-opacity = config.var.theme.inactive-opacity;
|
||||
# rounding = config.var.theme.rounding;
|
||||
# blur = config.var.theme.blur;
|
||||
# keyboardLayout = config.var.keyboardLayout;
|
||||
in {
|
||||
|
||||
imports = [ ./animations.nix ./bindings.nix ./polkitagent.nix ];
|
||||
imports =
|
||||
[ ./animations.nix ./bindings.nix ./polkitagent.nix ./windowrule.nix ];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
qt5.qtwayland
|
||||
@@ -39,31 +43,40 @@ in {
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
systemd.enable = true;
|
||||
systemd = {
|
||||
enable = true;
|
||||
variables = [ "--all" ];
|
||||
};
|
||||
package = inputs.hyprland.packages."${pkgs.system}".hyprland;
|
||||
|
||||
plugins = [ inputs.hyprspace.packages.${pkgs.system}.Hyprspace ];
|
||||
# plugins = [ inputs.hyprspace.packages."${pkgs.system}".Hyprspace ];
|
||||
|
||||
settings = {
|
||||
"$mod" = "SUPER";
|
||||
"$shiftMod" = "SUPER_SHIFT";
|
||||
"$ctrlMod" = "SUPER_CTRL";
|
||||
|
||||
exec-once = [
|
||||
"${pkgs.bitwarden}/bin/bitwarden"
|
||||
# "${pkgs.bitwarden}/bin/bitwarden"
|
||||
"dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
|
||||
];
|
||||
|
||||
plugin = { overview = { autoDrag = false; }; };
|
||||
|
||||
monitor = [
|
||||
"eDP-2,highres,0x0,1"
|
||||
"DP-7, disable"
|
||||
"DP-8, disable"
|
||||
"DP-9, disable"
|
||||
"HDMI-A-1,3440x1440@99.98,auto,1"
|
||||
"eDP-1,preffered,0x0,1"
|
||||
"desc:LG Electronics 16EN33 305INKH5P181,preferred,0x-768,1"
|
||||
",prefered,auto,1"
|
||||
];
|
||||
|
||||
# workspace = [
|
||||
# "1,monitor:eDP-1"
|
||||
# "2,monitor:eDP-1"
|
||||
# "3,monitor:eDP-1"
|
||||
# "4,monitor:eDP-1"
|
||||
# "5,monitor:eDP-1"
|
||||
# ];
|
||||
|
||||
env = [
|
||||
"XDG_SESSION_TYPE,wayland"
|
||||
"XDG_CURRENT_DESKTOP,Hyprland"
|
||||
@@ -78,7 +91,7 @@ in {
|
||||
"QT_WAYLAND_DISABLE_WINDOWDECORATION,1"
|
||||
"ELECTRON_OZONE_PLATFORM_HINT,auto"
|
||||
"GTK_THEME,FlatColor:dark"
|
||||
"GTK2_RC_FILES,/home/hadi/.local/share/themes/FlatColor/gtk-2.0/gtkrc"
|
||||
"GTK2_RC_FILES,/home/dim/.local/share/themes/FlatColor/gtk-2.0/gtkrc"
|
||||
"__GL_GSYNC_ALLOWED,0"
|
||||
"__GL_VRR_ALLOWED,0"
|
||||
"DISABLE_QT5_COMPAT,0"
|
||||
@@ -90,12 +103,12 @@ in {
|
||||
"XDG_SESSION_TYPE,wayland"
|
||||
"SDL_VIDEODRIVER,wayland"
|
||||
"CLUTTER_BACKEND,wayland"
|
||||
"AQ_DRM_DEVICES,/dev/dri/card2:/dev/dri/card1" # CHANGEME: Related to the GPU
|
||||
# "AQ_DRM_DEVICES,/dev/dri/card2:/dev/dri/card1" # CHANGEME: Related to the GPU
|
||||
];
|
||||
|
||||
cursor = {
|
||||
no_hardware_cursors = true;
|
||||
default_monitor = "eDP-2";
|
||||
default_monitor = "eDP-1";
|
||||
};
|
||||
|
||||
general = {
|
||||
@@ -108,13 +121,15 @@ in {
|
||||
};
|
||||
|
||||
decoration = {
|
||||
blur = { enabled = if blur then "true" else "false"; };
|
||||
shadow = {
|
||||
enabled = true;
|
||||
range = 20;
|
||||
render_power = 3;
|
||||
};
|
||||
active_opacity = active-opacity;
|
||||
inactive_opacity = inactive-opacity;
|
||||
rounding = rounding;
|
||||
drop_shadow = true;
|
||||
shadow_range = 20;
|
||||
shadow_render_power = 3;
|
||||
blur = { enabled = if blur then "true" else "false"; };
|
||||
};
|
||||
|
||||
master = {
|
||||
@@ -142,9 +157,9 @@ in {
|
||||
input = {
|
||||
kb_layout = keyboardLayout;
|
||||
|
||||
kb_options = "caps:escape";
|
||||
# kb_options = "caps:escape";
|
||||
follow_mouse = 1;
|
||||
sensitivity = 0.5;
|
||||
sensitivity = 0;
|
||||
repeat_delay = 300;
|
||||
repeat_rate = 50;
|
||||
numlock_by_default = true;
|
||||
@@ -154,7 +169,6 @@ in {
|
||||
clickfinger_behavior = true;
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
systemd.user.targets.hyprland-session.Unit.Wants =
|
||||
|
||||
47
home/system/hyprland/windowrule.nix
Normal file
47
home/system/hyprland/windowrule.nix
Normal file
@@ -0,0 +1,47 @@
|
||||
{ pkgs, ... }: {
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
windowrulev2 = [
|
||||
"workspace 2, class:^(emacs)$"
|
||||
"workspace 3, class:^(kitty)$"
|
||||
"workspace 9, class:^(org.qutebrowser.qutebrowser)$"
|
||||
"workspace 9, title:^(Chromium)$"
|
||||
"fullscreen, class:^(wlogout)$"
|
||||
"float, class:^(Zotero)$"
|
||||
"float, class:^(firefox)$,title:^(Certificate for )*$"
|
||||
"float, class:^(firefox)$,title:^(.*Firefox — Sharing Indicator.*)$"
|
||||
"float, class:^(firefox)$,title:^(.*Presensi Mahasiswa.*)$"
|
||||
"float, class:(firefox),title:^(Extension)(.*)$"
|
||||
"float, class:^(pcmanfm)$,title:^(Confirm File Replacing)$"
|
||||
"float, class:^(nemo)$,title:^(Confirm File Replacing)$"
|
||||
"float, class:^(nm-connection-editor)$"
|
||||
"float, class:^(.*blueman-manager.*)$"
|
||||
"size 530 300, class:^(.*blueman-manager.*)$"
|
||||
"move 100%-w-20 40, class:^(.*blueman-manager.*)$"
|
||||
"noborder, class:^(.*dg-desktop-portal-.*)$"
|
||||
"noblur, class:^(.*dg-desktop-portal-.*)$"
|
||||
"noshadow, class:^(.*dg-desktop-portal-.*)$"
|
||||
"float, class:^(*.dg-desktop-portal-.*)$"
|
||||
"pin, class:^(*.dg-desktop-portal-.*)$"
|
||||
"pin, class:^(gcr-prompter)$"
|
||||
"float, title:^(Volume Control)$"
|
||||
"pin, title:^(Volume Control)$"
|
||||
"size 560 340, title:^(Volume Control)$"
|
||||
"move 100%-w-30 30, title:^(Volume Control)$"
|
||||
"float, class:^(spotube)$"
|
||||
"size 660 700, class:^(spotube)$"
|
||||
"move 100%-w-20 40, class:^(spotube)$"
|
||||
"float, title:^(pve - Proxmox Console - Chromium)$"
|
||||
"float, class:^(thunderbird)$,title:^(Reminders)$"
|
||||
"float, class:^(thunderbird)$,title:^(Edit Event:)$"
|
||||
"float, class:^(thunderbird)$,title:^(An error has occurred)$"
|
||||
"float, class:^(thunar)$,title:^(File Operation Progress)$"
|
||||
"float, class:^(org.kde.polkit-kde-authentication-agent-1)$"
|
||||
"size 60% 55%, class:^(nwg-look)$"
|
||||
"center, class:^(nwg-look)$"
|
||||
"fullscreen, class:^(cool-retro-term.cool-retro-term)$"
|
||||
"float, class:^(virt-manager)$,title:^(Virtual Machine Manager)$"
|
||||
"size 440 220, class:^(virt-manager)$,title:^(Virtual Machine Manager)$"
|
||||
"center, class:^(virt-manager)$,title:^(Virtual Machine Manager)$"
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -2,7 +2,7 @@
|
||||
{ config, ... }:
|
||||
let
|
||||
foreground = "rgba(216, 222, 233, 0.70)";
|
||||
imageStr = toString config.stylix.image;
|
||||
imageStr = "screenshow"; # toString config.stylix.image;
|
||||
font = config.stylix.fonts.serif.name;
|
||||
in {
|
||||
programs.hyprlock = {
|
||||
@@ -14,76 +14,76 @@ in {
|
||||
disable_loading_bar = false;
|
||||
};
|
||||
|
||||
# BACKGROUND
|
||||
background = {
|
||||
monitor = "";
|
||||
path = imageStr;
|
||||
blur_passes = 0;
|
||||
contrast = 0.8916;
|
||||
brightness = 0.7172;
|
||||
vibrancy = 0.1696;
|
||||
vibrancy_darkness = 0.0;
|
||||
};
|
||||
|
||||
label = [
|
||||
{
|
||||
# Day-Month-Date
|
||||
monitor = "";
|
||||
text = ''cmd[update:1000] echo -e "$(date +"%A, %B %d")"'';
|
||||
color = foreground;
|
||||
font_size = 28;
|
||||
font_family = font + " Bold";
|
||||
position = "0, 490";
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
}
|
||||
# Time
|
||||
{
|
||||
monitor = "";
|
||||
text = ''cmd[update:1000] echo "<span>$(date +"%I:%M")</span>"'';
|
||||
color = foreground;
|
||||
font_size = 160;
|
||||
font_family = "steelfish outline regular";
|
||||
position = "0, 370";
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
}
|
||||
# USER
|
||||
{
|
||||
monitor = "";
|
||||
text = " $USER";
|
||||
color = foreground;
|
||||
outline_thickness = 2;
|
||||
dots_size = 0.2; # Scale of input-field height, 0.2 - 0.8
|
||||
dots_spacing = 0.2; # Scale of dots' absolute size, 0.0 - 1.0
|
||||
dots_center = true;
|
||||
font_size = 18;
|
||||
font_family = font + " Bold";
|
||||
position = "0, -180";
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
}
|
||||
];
|
||||
|
||||
# INPUT FIELD
|
||||
input-field = [{
|
||||
monitor = "";
|
||||
size = "300, 60";
|
||||
outline_thickness = 2;
|
||||
dots_size = 0.2; # Scale of input-field height, 0.2 - 0.8
|
||||
dots_spacing = 0.2; # Scale of dots' absolute size, 0.0 - 1.0
|
||||
dots_center = true;
|
||||
outer_color = "rgba(255, 255, 255, 0)";
|
||||
inner_color = "rgba(255, 255, 255, 0.1)";
|
||||
font_color = foreground;
|
||||
fade_on_empty = false;
|
||||
font_family = font + " Bold";
|
||||
placeholder_text = "<i>🔒 Enter Password</i>";
|
||||
hide_input = false;
|
||||
position = "0, -250";
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
}];
|
||||
# # BACKGROUND
|
||||
# background = {
|
||||
# monitor = "";
|
||||
# path = imageStr;
|
||||
# blur_passes = 0;
|
||||
# contrast = 0.8916;
|
||||
# brightness = 0.7172;
|
||||
# vibrancy = 0.1696;
|
||||
# vibrancy_darkness = 0.0;
|
||||
# };
|
||||
#
|
||||
# label = [
|
||||
# {
|
||||
# # Day-Month-Date
|
||||
# monitor = "";
|
||||
# text = ''cmd[update:1000] echo -e "$(date +"%A, %B %d")"'';
|
||||
# color = foreground;
|
||||
# font_size = 28;
|
||||
# font_family = font + " Bold";
|
||||
# position = "0, 490";
|
||||
# halign = "center";
|
||||
# valign = "center";
|
||||
# }
|
||||
# # Time
|
||||
# {
|
||||
# monitor = "";
|
||||
# text = ''cmd[update:1000] echo "<span>$(date +"%I:%M")</span>"'';
|
||||
# color = foreground;
|
||||
# font_size = 160;
|
||||
# font_family = "steelfish outline regular";
|
||||
# position = "0, 370";
|
||||
# halign = "center";
|
||||
# valign = "center";
|
||||
# }
|
||||
# # USER
|
||||
# {
|
||||
# monitor = "";
|
||||
# text = " $USER";
|
||||
# color = foreground;
|
||||
# outline_thickness = 2;
|
||||
# dots_size = 0.2; # Scale of input-field height, 0.2 - 0.8
|
||||
# dots_spacing = 0.2; # Scale of dots' absolute size, 0.0 - 1.0
|
||||
# dots_center = true;
|
||||
# font_size = 18;
|
||||
# font_family = font + " Bold";
|
||||
# position = "0, -180";
|
||||
# halign = "center";
|
||||
# valign = "center";
|
||||
# }
|
||||
# ];
|
||||
#
|
||||
# # INPUT FIELD
|
||||
# input-field = [{
|
||||
# monitor = "";
|
||||
# size = "300, 60";
|
||||
# outline_thickness = 2;
|
||||
# dots_size = 0.2; # Scale of input-field height, 0.2 - 0.8
|
||||
# dots_spacing = 0.2; # Scale of dots' absolute size, 0.0 - 1.0
|
||||
# dots_center = true;
|
||||
# outer_color = "rgba(255, 255, 255, 0)";
|
||||
# inner_color = "rgba(255, 255, 255, 0.1)";
|
||||
# font_color = foreground;
|
||||
# fade_on_empty = false;
|
||||
# font_family = font + " Bold";
|
||||
# placeholder_text = "<i>🔒 Enter Password</i>";
|
||||
# hide_input = false;
|
||||
# position = "0, -250";
|
||||
# halign = "center";
|
||||
# valign = "center";
|
||||
# }];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
xdg.mimeApps = {
|
||||
enable = true;
|
||||
defaultApplications = {
|
||||
"text/markdown" = "nvim.desktop";
|
||||
"text/plain" = "nvim.desktop";
|
||||
"text/markdown" = "neovide.desktop";
|
||||
"text/plain" = "neovide.desktop";
|
||||
"text/x-shellscript" = "nvim.desktop";
|
||||
"text/x-python" = "nvim.desktop";
|
||||
"text/x-go" = "nvim.desktop";
|
||||
@@ -23,11 +23,12 @@
|
||||
"image/jpeg" = "imv.desktop";
|
||||
"image/jpg" = "imv.desktop";
|
||||
"image/webp" = "imv.desktop";
|
||||
"image/gif" = "org.qutebrowser.qutebrowser.desktop";
|
||||
"x-scheme-handler/http" = "org.qutebrowser.qutebrowser.desktop";
|
||||
"x-scheme-handler/https" = "org.qutebrowser.qutebrowser.desktop";
|
||||
"text/html" = "org.qutebrowser.qutebrowser.desktop";
|
||||
"application/pdf" = "zathura.desktop";
|
||||
"image/gif" = "imv.desktop";
|
||||
"x-scheme-handler/http" = "firefox.desktop";
|
||||
"x-scheme-handler/https" = "firefox.desktop";
|
||||
"text/html" = "firefox.desktop";
|
||||
"text/csv" = "neovide.desktop";
|
||||
"application/pdf" = "org.pwmt.zathura.desktop";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user