Fix rofi, eww and gpg
This commit is contained in:
@@ -2,5 +2,5 @@
|
|||||||
|
|
||||||
hyprctl monitors -j | jq '.[] | select(.focused) | .activeWorkspace.id'
|
hyprctl monitors -j | jq '.[] | select(.focused) | .activeWorkspace.id'
|
||||||
|
|
||||||
socat -u UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - |
|
socat -u UNIX-CONNECT:$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - |
|
||||||
stdbuf -o0 awk -F '>>|,' -e '/^workspace>>/ {print $2}' -e '/^focusedmon>>/ {print $3}'
|
stdbuf -o0 awk -F '>>|,' -e '/^workspace>>/ {print $2}' -e '/^focusedmon>>/ {print $3}'
|
||||||
|
|||||||
@@ -6,6 +6,6 @@ spaces (){
|
|||||||
}
|
}
|
||||||
|
|
||||||
spaces
|
spaces
|
||||||
socat -u UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - | while read -r line; do
|
socat -u UNIX-CONNECT:$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - | while read -r line; do
|
||||||
spaces
|
spaces
|
||||||
done
|
done
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
|
|
||||||
@import "../../theme.rasi"
|
@import "~/.config/rofi/theme.rasi"
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
/*****----- Configuration -----*****/
|
||||||
configuration {
|
configuration {
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
|
|
||||||
@import "../../theme.rasi"
|
@import "~/.config/rofi/theme.rasi"
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
/*****----- Configuration -----*****/
|
||||||
configuration {
|
configuration {
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
|
|
||||||
@import "../../theme.rasi"
|
@import "~/.config/rofi/theme.rasi"
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
/*****----- Configuration -----*****/
|
||||||
configuration {
|
configuration {
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
|
|
||||||
@import "../../theme.rasi"
|
@import "~/.config/rofi/theme.rasi"
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
/*****----- Configuration -----*****/
|
||||||
configuration {
|
configuration {
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
|
|
||||||
@import "../../theme.rasi"
|
@import "~/.config/rofi/theme.rasi"
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
/*****----- Configuration -----*****/
|
||||||
configuration {
|
configuration {
|
||||||
|
|||||||
@@ -10,9 +10,12 @@ in
|
|||||||
enable = lib.mkEnableOption "rofi";
|
enable = lib.mkEnableOption "rofi";
|
||||||
};
|
};
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs;
|
||||||
rofi
|
if hyprCfg.enable then [
|
||||||
];
|
rofi-wayland
|
||||||
|
] else [
|
||||||
|
rofi
|
||||||
|
];
|
||||||
|
|
||||||
hm.xdg.configFile."rofi/menus".source = ../../config/rofi/menus;
|
hm.xdg.configFile."rofi/menus".source = ../../config/rofi/menus;
|
||||||
hm.xdg.configFile."rofi/nix.png".source = nix-colors-lib.nixWallpaperFromScheme {
|
hm.xdg.configFile."rofi/nix.png".source = nix-colors-lib.nixWallpaperFromScheme {
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ in
|
|||||||
programs.gnupg.agent = {
|
programs.gnupg.agent = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableSSHSupport = true;
|
enableSSHSupport = true;
|
||||||
pinentryPackage = pkgs.pinentry-rofi;
|
pinentryPackage = pkgs.pinentry-qt;
|
||||||
};
|
};
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
pinentry
|
pinentry
|
||||||
|
|||||||
Reference in New Issue
Block a user