Fix rofi, eww and gpg

This commit is contained in:
marc
2024-11-05 21:52:07 +01:00
parent e4bf731436
commit 6ba393d433
9 changed files with 14 additions and 11 deletions

View File

@@ -2,5 +2,5 @@
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}'

View File

@@ -6,6 +6,6 @@ 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
done

View File

@@ -4,7 +4,7 @@
*
**/
@import "../../theme.rasi"
@import "~/.config/rofi/theme.rasi"
/*****----- Configuration -----*****/
configuration {

View File

@@ -4,7 +4,7 @@
*
**/
@import "../../theme.rasi"
@import "~/.config/rofi/theme.rasi"
/*****----- Configuration -----*****/
configuration {

View File

@@ -4,7 +4,7 @@
*
**/
@import "../../theme.rasi"
@import "~/.config/rofi/theme.rasi"
/*****----- Configuration -----*****/
configuration {

View File

@@ -4,7 +4,7 @@
*
**/
@import "../../theme.rasi"
@import "~/.config/rofi/theme.rasi"
/*****----- Configuration -----*****/
configuration {

View File

@@ -4,7 +4,7 @@
*
**/
@import "../../theme.rasi"
@import "~/.config/rofi/theme.rasi"
/*****----- Configuration -----*****/
configuration {

View File

@@ -10,9 +10,12 @@ in
enable = lib.mkEnableOption "rofi";
};
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
rofi
];
environment.systemPackages = with pkgs;
if hyprCfg.enable then [
rofi-wayland
] else [
rofi
];
hm.xdg.configFile."rofi/menus".source = ../../config/rofi/menus;
hm.xdg.configFile."rofi/nix.png".source = nix-colors-lib.nixWallpaperFromScheme {

View File

@@ -11,7 +11,7 @@ in
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
pinentryPackage = pkgs.pinentry-rofi;
pinentryPackage = pkgs.pinentry-qt;
};
environment.systemPackages = with pkgs; [
pinentry