Fix rofi, eww and gpg
This commit is contained in:
@@ -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}'
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
**/
|
||||
|
||||
@import "../../theme.rasi"
|
||||
@import "~/.config/rofi/theme.rasi"
|
||||
|
||||
/*****----- Configuration -----*****/
|
||||
configuration {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
**/
|
||||
|
||||
@import "../../theme.rasi"
|
||||
@import "~/.config/rofi/theme.rasi"
|
||||
|
||||
/*****----- Configuration -----*****/
|
||||
configuration {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
**/
|
||||
|
||||
@import "../../theme.rasi"
|
||||
@import "~/.config/rofi/theme.rasi"
|
||||
|
||||
/*****----- Configuration -----*****/
|
||||
configuration {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
**/
|
||||
|
||||
@import "../../theme.rasi"
|
||||
@import "~/.config/rofi/theme.rasi"
|
||||
|
||||
/*****----- Configuration -----*****/
|
||||
configuration {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
**/
|
||||
|
||||
@import "../../theme.rasi"
|
||||
@import "~/.config/rofi/theme.rasi"
|
||||
|
||||
/*****----- Configuration -----*****/
|
||||
configuration {
|
||||
|
||||
@@ -10,7 +10,10 @@ in
|
||||
enable = lib.mkEnableOption "rofi";
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
environment.systemPackages = with pkgs;
|
||||
if hyprCfg.enable then [
|
||||
rofi-wayland
|
||||
] else [
|
||||
rofi
|
||||
];
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user