mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
trying to get this shit to build
This commit is contained in:
parent
1861c3e6e6
commit
375a6dc02f
17 changed files with 111 additions and 115 deletions
|
|
@ -1,5 +1,8 @@
|
|||
{ pkgs, lib, ... }:
|
||||
{ pkgs, lib, config, ... }:
|
||||
let
|
||||
inherit (config.lib.formats.rasi) mkLiteral;
|
||||
|
||||
in
|
||||
with lib;
|
||||
{ enable = true;
|
||||
package = pkgs.rofi-wayland;
|
||||
|
|
|
|||
|
|
@ -7,6 +7,16 @@ in
|
|||
{ enable = true;
|
||||
xwayland = true;
|
||||
wrapperFeatures.gtk = true;
|
||||
|
||||
extraOptions = [
|
||||
"--unsupported-gpu"
|
||||
"--my-next-gpu-wont-be-nvidia"
|
||||
];
|
||||
|
||||
extraSessionCommands = ''
|
||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||
'';
|
||||
|
||||
config = {
|
||||
modifier = "Mod1";
|
||||
menu = "\${pkgs.rofi-wayland}/bin/rofi -show drun -show-icons -drun-icon-theme Qogir -font 'Noto Sans 14'";
|
||||
|
|
@ -24,16 +34,20 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
bars.sway-bar = {
|
||||
position = "top";
|
||||
statusCommand = ''while :; do echo "$(free -h | awk '/^Mem/ {print $3}') '|' $(date +'%I:%M:%S %p') '|' $(date +'%m-%d-%Y')"; sleep 1; done'';
|
||||
fonts = {
|
||||
names = [ "Noto Sans" "Noto Emoji" "Noto Color Emoji" ];
|
||||
size = 10.0;
|
||||
};
|
||||
colors.background = "#0A0E14";
|
||||
colors.statusline = "#FFFFFF";
|
||||
};
|
||||
bars = [
|
||||
{
|
||||
position = "top";
|
||||
statusCommand = ''while :; do echo "$(free -h | awk '/^Mem/ {print $3}') '|' $(date +'%I:%M:%S %p') '|' $(date +'%m-%d-%Y')"; sleep 1; done'';
|
||||
fonts = {
|
||||
names = [ "Noto Sans" "Noto Emoji" "Noto Color Emoji" ];
|
||||
size = 10.0;
|
||||
};
|
||||
colors = {
|
||||
background = "#0A0E14";
|
||||
statusline = "#FFFFFF";
|
||||
};
|
||||
}
|
||||
];
|
||||
|
||||
gaps = {
|
||||
smartGaps = false;
|
||||
|
|
@ -51,14 +65,5 @@ in
|
|||
"${modifier}+Shift+f" = "exec alacritty -e ranger";
|
||||
"${modifier}+Shift+d" = "exec emote";
|
||||
};
|
||||
|
||||
extraOptions = [
|
||||
"--unsupported-gpu"
|
||||
"--my-next-gpu-wont-be-nvidia"
|
||||
];
|
||||
|
||||
extraSessionCommands = ''
|
||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue