use rofi instead of albert now

This commit is contained in:
Ingolf Wagner 2024-04-19 20:27:25 +02:00
parent 353cb14efa
commit 8da88a8ea5
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B

View file

@ -258,7 +258,7 @@ in
set -o pipefail set -o pipefail
${pkgs.i3}/bin/i3-msg -t get_workspaces | \ ${pkgs.i3}/bin/i3-msg -t get_workspaces | \
${pkgs.jq}/bin/jq --raw-output '.[] | .name' | \ ${pkgs.jq}/bin/jq --raw-output '.[] | .name' | \
${pkgs.rofi}/bin/rofi -dmenu -p 'Select Workspace' | \ ${pkgs.rofi}/bin/rofi -dmenu -p 'Select Workspace ' | \
while read line while read line
do do
${pkgs.i3}/bin/i3-msg workspace "$line" ${pkgs.i3}/bin/i3-msg workspace "$line"
@ -274,7 +274,7 @@ in
set -o pipefail set -o pipefail
${pkgs.i3}/bin/i3-msg -t get_workspaces | \ ${pkgs.i3}/bin/i3-msg -t get_workspaces | \
${pkgs.jq}/bin/jq --raw-output '.[] | .name' | \ ${pkgs.jq}/bin/jq --raw-output '.[] | .name' | \
${pkgs.rofi}/bin/rofi -dmenu -p 'Move to Workspace' | \ ${pkgs.rofi}/bin/rofi -dmenu -p 'Move to Workspace ' | \
while read line while read line
do do
${pkgs.i3}/bin/i3-msg move container to workspace "$line" ${pkgs.i3}/bin/i3-msg move container to workspace "$line"
@ -283,7 +283,7 @@ in
in in
"exec ${script}"; "exec ${script}";
"${cfg.config.modifier}+space" = "exec ${pkgs.rofi}/bin/rofi -show drun"; "${cfg.config.modifier}+space" = "exec ${pkgs.rofi}/bin/rofi -show drun -display-drun ''";
"${cfg.config.modifier}+Shift+c" = "reload"; "${cfg.config.modifier}+Shift+c" = "reload";
"${cfg.config.modifier}+Shift+r" = "restart"; "${cfg.config.modifier}+Shift+r" = "restart";
"${cfg.config.modifier}+Shift+e" = "exec i3-nagbar -t warning -m 'Do you want to exit i3?' -b 'Yes' 'i3-msg exit'"; "${cfg.config.modifier}+Shift+e" = "exec i3-nagbar -t warning -m 'Do you want to exit i3?' -b 'Yes' 'i3-msg exit'";