diff --git a/home/user/.config/i3/config b/home/user/.config/i3/config index 07f883b..faede1d 100644 --- a/home/user/.config/i3/config +++ b/home/user/.config/i3/config @@ -49,8 +49,7 @@ bindsym $mod+Return exec alacritty --working-directory ~ # kill focused window bindsym $mod+Shift+q kill -# start dmenu (a program launcher) -bindsym $mod+d exec --no-startup-id dmenu_run -i -b -p "Program to run: " -fn xft:FiraCode:size=$font_size +bindsym $mod+d exec --no-startup-id rofi -show drun -show-icons -theme gruvbox-dark # change focus bindsym $mod+h focus left diff --git a/home/user/.local/bin/bluetooth b/home/user/.local/bin/bluetooth index 1d0232b..b1ecda7 100755 --- a/home/user/.local/bin/bluetooth +++ b/home/user/.local/bin/bluetooth @@ -1,6 +1,6 @@ #!/bin/sh -bssid="$(bluetoothctl devices | dmenu -b -p "Devices: " -l 20 | cut -d' ' -f2)" +bssid="$(bluetoothctl devices | rofi -dmenu -p "Devices: " -l 20 | cut -d' ' -f2)" exit_counter=0 until bluetoothctl connect "$bssid" diff --git a/home/user/.local/bin/wifi b/home/user/.local/bin/wifi index 8077ecd..bf7de6e 100755 --- a/home/user/.local/bin/wifi +++ b/home/user/.local/bin/wifi @@ -2,6 +2,6 @@ set -eo pipefail -bssid="$(nmcli -f BSSID,SSID,SIGNAL,RATE,BARS,SECURITY dev wifi list | sed -n '1!p' | dmenu -b -p "WiFi: " -l 20 | cut -d' ' -f1)" -pass="$(echo "" | dmenu -b -p "Password: ")" +bssid="$(nmcli -f BSSID,SSID,SIGNAL,RATE,BARS,SECURITY dev wifi list | sed -n '1!p' | rofi -dmenu -p "WiFi: " -l 20 | cut -d' ' -f1)" +pass="$(echo "" | rofi -dmenu -p "Password: ")" nmcli device wifi connect "$bssid" "password" "$pass"