update
This commit is contained in:
parent
8377e413bc
commit
d21e1f9ff9
|
@ -75,11 +75,6 @@
|
|||
flake = false;
|
||||
};
|
||||
|
||||
waybar = {
|
||||
url = "github:alexays/waybar";
|
||||
flake = false;
|
||||
};
|
||||
|
||||
nvim-hmts = {
|
||||
url = "github:calops/hmts.nvim";
|
||||
flake = false;
|
||||
|
|
|
@ -13,6 +13,10 @@
|
|||
"amd_pstate=active"
|
||||
];
|
||||
|
||||
# kernelPackages = pkgs.linuxPackages_latest;
|
||||
supportedFilesystems = [ "bcachefs" ];
|
||||
kernelModules = [ "i2c-dev" "i2c-piix4" ];
|
||||
|
||||
loader = {
|
||||
efi = {
|
||||
canTouchEfiVariables = true;
|
||||
|
@ -33,8 +37,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
kernelModules = [ "i2c-dev" "i2c-piix4" ];
|
||||
};
|
||||
|
||||
powerManagement.cpuFreqGovernor = "schedutil";
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
null-ls-nvim
|
||||
nvim-lspconfig
|
||||
nvim-treesitter.withAllGrammars
|
||||
playground
|
||||
trouble-nvim
|
||||
|
||||
nvim-cmp
|
||||
|
|
|
@ -1,13 +1,17 @@
|
|||
{ pkgs, ... }:
|
||||
let
|
||||
|
||||
inherit (import ./config.nix { inherit pkgs; }) eww-config;
|
||||
inherit (import ./stylesheet.nix) eww-stylesheet;
|
||||
inherit (import ./panel/config.nix { inherit pkgs; }) panel-config;
|
||||
inherit (import ./panel/stylesheet.nix) panel-stylesheet;
|
||||
|
||||
in
|
||||
{
|
||||
xdg.configFile."eww/eww.yuck".text = "${eww-config}";
|
||||
xdg.configFile."eww/eww.scss".text = "${eww-stylesheet}";
|
||||
xdg.configFile."eww/eww.yuck".text = ''
|
||||
${panel-config}
|
||||
'';
|
||||
xdg.configFile."eww/eww.scss".text = ''
|
||||
${panel-stylesheet}
|
||||
'';
|
||||
|
||||
home.packages = [ pkgs.eww-git ];
|
||||
}
|
||||
|
|
|
@ -3,11 +3,12 @@ let
|
|||
inherit (import ./scripts.nix { inherit pkgs; }) workspaces mpd-current-song get-volume;
|
||||
in
|
||||
{
|
||||
eww-config = ''
|
||||
panel-config =
|
||||
''
|
||||
;; ----------------------------- right monitor
|
||||
(defwidget bar0 []
|
||||
(centerbox
|
||||
:class "bar"
|
||||
:class "panel"
|
||||
:orientation "h"
|
||||
(left_side0)
|
||||
(center)
|
||||
|
@ -28,7 +29,7 @@ in
|
|||
)
|
||||
|
||||
(box
|
||||
:class "window"
|
||||
:class { window0 != "" ? "panel-widget-window" : "" }
|
||||
window0)
|
||||
)
|
||||
)
|
||||
|
@ -37,7 +38,7 @@ in
|
|||
|
||||
(defwidget bar1 []
|
||||
(centerbox
|
||||
:class "bar"
|
||||
:class "panel"
|
||||
:orientation "h"
|
||||
(left_side1)
|
||||
(center)
|
||||
|
@ -58,7 +59,7 @@ in
|
|||
)
|
||||
|
||||
(box
|
||||
:class "window"
|
||||
:class { window1 != "" ? "panel-widget-window" : "" }
|
||||
window1)
|
||||
)
|
||||
)
|
||||
|
@ -74,7 +75,7 @@ in
|
|||
:onscroll "pamixer `echo {} | sed 's/up/\-i/\' | sed 's/down/\-d/'` 10"
|
||||
(box
|
||||
:space-evenly false
|
||||
:class "volume"
|
||||
:class "panel-widget-volume"
|
||||
volume))
|
||||
|
||||
(box
|
||||
|
@ -118,8 +119,8 @@ in
|
|||
|
||||
;; ---------------------------- window widget
|
||||
|
||||
(deflisten window0 "${pkgs.eww-hyprland-activewindow}/bin/hyprland-activewindow `hyprctl monitors -j | jq -r \".[0].name\"`")
|
||||
(deflisten window1 "${pkgs.eww-hyprland-activewindow}/bin/hyprland-activewindow `hyprctl monitors -j | jq -r \".[1].name\"`")
|
||||
(deflisten window0 "${pkgs.eww-hyprland-activewindow}/bin/hyprland-activewindow `${pkgs.hyprland}/bin/hyprctl monitors -j | ${pkgs.jq}/bin/jq -r \".[0].name\"`")
|
||||
(deflisten window1 "${pkgs.eww-hyprland-activewindow}/bin/hyprland-activewindow `${pkgs.hyprland}/bin/hyprctl monitors -j | ${pkgs.jq}/bin/jq -r \".[1].name\"`")
|
||||
|
||||
(defwidget title0 []
|
||||
(label :text "''${window0}"))
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
eww-stylesheet = ''
|
||||
panel-stylesheet = ''
|
||||
$bg: rgba(40,40,40,0.8);
|
||||
$fg: rgb(235,219,178);
|
||||
|
||||
|
@ -15,21 +15,21 @@
|
|||
}
|
||||
|
||||
//Global Styles
|
||||
.bar {
|
||||
.panel {
|
||||
background-color: $bg;
|
||||
color: $fg;
|
||||
font-family: "JetBrainsMono Nerd Font";
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.window {
|
||||
.panel-widget-window {
|
||||
background-color: $box-bg;
|
||||
border-radius: 10px;
|
||||
padding: 0px 10px 0px 10px;
|
||||
margin: 5px 0px 5px 10px;
|
||||
}
|
||||
|
||||
.volume {
|
||||
.panel-widget-volume {
|
||||
background-color: $box-bg;
|
||||
border-radius: 10px 0px 0px 10px;
|
||||
margin: 5px 0px 5px 0px;
|
||||
|
@ -57,7 +57,7 @@
|
|||
margin: 5px 10px 5px 0px;
|
||||
}
|
||||
|
||||
.wswidget {
|
||||
.panel-widget-workspace {
|
||||
background-color: $box-bg;
|
||||
border-radius: 10px;
|
||||
margin: 5px 0px 5px 10px;
|
|
@ -122,7 +122,7 @@ in
|
|||
|
||||
drop_shadow = yes
|
||||
shadow_range = 8
|
||||
shadow_render_power = 1
|
||||
shadow_render_power = 6
|
||||
col.shadow = rgba(282828ff)
|
||||
}
|
||||
|
||||
|
@ -208,6 +208,7 @@ in
|
|||
bind = ${modKey} SHIFT, C, exec, hyprctl reload
|
||||
|
||||
layerrule = blur, notifications
|
||||
layerrule = ignorezero, notifications
|
||||
layerrule = blur, gtk-layer-shell
|
||||
|
||||
|
||||
|
|
|
@ -6,9 +6,9 @@
|
|||
"inode/directory" = "org.kde.dolphin.desktop";
|
||||
"text/plain" = "nvim.desktop";
|
||||
|
||||
"image/jpeg" = "sxiv.desktop";
|
||||
"image/png" = "sxiv.desktop";
|
||||
"image/svg" = "sxiv.desktop";
|
||||
"image/jpeg" = "imv.desktop";
|
||||
"image/png" = "imv.desktop";
|
||||
"image/svg" = "imv.desktop";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -25,14 +25,16 @@
|
|||
bottles
|
||||
bottom
|
||||
calcurse
|
||||
discord
|
||||
gamescope_git
|
||||
gimp
|
||||
gnome.gnome-boxes
|
||||
gnome.gnome-settings-daemon
|
||||
gnome.gvfs
|
||||
gnome.seahorse
|
||||
gnome.gnome-settings-daemon
|
||||
gnome.simple-scan
|
||||
heroic
|
||||
imv
|
||||
jq
|
||||
libsForQt5.ark
|
||||
libsForQt5.dolphin
|
||||
|
@ -50,20 +52,18 @@
|
|||
protontricks
|
||||
qbittorrent
|
||||
qt5ct
|
||||
sc-im
|
||||
samba
|
||||
sc-im
|
||||
signal-desktop
|
||||
sshfs
|
||||
steam-run
|
||||
steamtinkerlaunch
|
||||
sxiv
|
||||
thunderbird
|
||||
tldr
|
||||
twemoji-color-font
|
||||
vimv
|
||||
vulkan-tools
|
||||
vulkan-validation-layers
|
||||
discord
|
||||
xdg-utils
|
||||
];
|
||||
|
||||
|
|
Reference in New Issue