commit e78356a1bee063da2df2e23e72edd6932a6dea5c
parent a697f9886b232e5e6c3aa8b213466634c1e01093
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date: Thu, 21 Nov 2019 12:43:35 -0500
Use networkmanager-rofi as network menu
Diffstat:
3 files changed, 34 insertions(+), 1 deletion(-)
diff --git a/.config/i3/config b/.config/i3/config
@@ -17,7 +17,7 @@ set $menu rofi -i -show drun
set $clipboard rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}'
set $screenlocker swaylock -c 85ad8580 -u
set $screenshot swaygrab
-set $networkmenu $TERMINAL -e nmtui
+set $networkmenu networkmanager_dmenu
set $file_manager $TERMINAL -e lf
set $music_player $TERMINAL -e ncmpcpp
## System Commands
diff --git a/.config/networkmanager-dmenu/config.ini b/.config/networkmanager-dmenu/config.ini
@@ -0,0 +1,30 @@
+[dmenu]
+fn = -*-terminus-medium-*-*-*-16-*-*-*-*-*-*-*
+dmenu_command = rofi
+# # Note that dmenu_command can contain arguments as well like `rofi -width 30`
+# # Rofi and dmenu are set to case insensitive by default `-i`
+# l = number of lines to display, defaults to number of total network options
+# fn = font string
+# nb = normal background (name, #RGB, or #RRGGBB)
+# nf = normal foreground
+# sb = selected background
+# sf = selected foreground
+# b = (just set to empty value and menu will appear at the bottom
+# m = number of monitor to display on
+# p = Custom Prompt for the networks menu
+# pinentry = Pinentry command
+# rofi_highlight = <True or False> # (Default: False) use rofi highlighting instead of '**'
+# compact = <True or False> # (Default: False). Remove extra spacing from display
+
+# # override normal foreground and background colors (dmenu) or use the
+# # -password option (rofi) to obscure passphrase entry
+# [dmenu_passphrase]
+# nf = #222222
+# nb = #222222
+# rofi_obscure = True
+
+[editor]
+terminal = alacritty
+gui_if_available = True
+# terminal = <name of terminal program>
+# gui_if_available = <True or False>+
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
@@ -35,6 +35,8 @@
!.config/mpd
!.config/mpd/mpd.conf
!.config/mpd/playlists
+!.config/networkmanager-dmenu
+!.config/networkmanager-dmenu/*
!.config/rofi
!.config/rofi-pass
!.config/rofi-pass/*