switch to rofi
This commit is contained in:
parent
0b04d298ac
commit
f7d596a488
6 changed files with 95 additions and 19 deletions
|
@ -3,7 +3,7 @@ let
|
|||
inherit (import ./variables.nix) key theme color accent font;
|
||||
pulse_sink = pkgs.writeShellScriptBin "pulse_sink" ''
|
||||
#!/bin/sh
|
||||
output=$(printf "HDMI\nHeadphones" | ${pkgs.bmenu}/bin/bmenu -b)
|
||||
output=$(printf "HDMI\nHeadphones" | rofi -dmenu)
|
||||
vol=$(${pkgs.pamixer}/bin/pamixer --get-volume)
|
||||
case "$output" in
|
||||
HDMI)
|
||||
|
@ -120,7 +120,7 @@ in {
|
|||
};
|
||||
keybindings = let
|
||||
mod = "Mod4";
|
||||
menu = "${pkgs.bmenu}/bin/bmenu run";
|
||||
menu = "rofi -show drun";
|
||||
terminal = "alacritty";
|
||||
|
||||
# Utility funcion
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue