migrate to rofi
This commit is contained in:
parent
22379f8a23
commit
49b45a2356
@ -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
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user