From 93129292fd45e4eb2d50f5f17a245ba9ee36480a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Tue, 16 Aug 2022 18:57:58 +0300 Subject: networkmanager_dmenu with rofi --- artix.sh | 3 ++- dotfiles/.config/networkmanager-dmenu/config.ini | 24 ++++++++++++++++++++++++ dotfiles/.config/rofi/config.rasi | 8 ++++---- dotfiles/.config/sway/config | 5 +++-- 4 files changed, 33 insertions(+), 7 deletions(-) create mode 100644 dotfiles/.config/networkmanager-dmenu/config.ini diff --git a/artix.sh b/artix.sh index 828d70e..353ea1c 100755 --- a/artix.sh +++ b/artix.sh @@ -174,5 +174,6 @@ yay -S --noconfirm \ compiledb \ rofi-lbonn-wayland \ rofi-calc \ - rofi-file-browser-extended-git + rofi-file-browser-extended-git \ + networkmanager-dmenu-git diff --git a/dotfiles/.config/networkmanager-dmenu/config.ini b/dotfiles/.config/networkmanager-dmenu/config.ini new file mode 100644 index 0000000..0dba762 --- /dev/null +++ b/dotfiles/.config/networkmanager-dmenu/config.ini @@ -0,0 +1,24 @@ +[dmenu] +dmenu_command = rofi -dmenu -i +# # Note that dmenu_command can contain arguments as well like: +# # `dmenu_command = rofi -dmenu -i -theme nmdm` +# # `dmenu_command = rofi -dmenu -width 30 -i` +# # `dmenu_command = dmenu -i -l 25 -b -nb #909090 -nf #303030` +# rofi_highlight = # (Default: False) use rofi highlighting instead of '==' +rofi_highlight = True +# compact = # (Default: False). Remove extra spacing from display +# pinentry = # (Default: None) e.g. `pinentry-gtk` +# wifi_chars = +# wifi_chars = ▂▄▆█ +# list_saved = # (Default: False) list saved connections + +[dmenu_passphrase] +# # Uses the -password flag for Rofi, -x for bemenu. For dmenu, sets -nb and +# # -nf to the same color or uses -P if the dmenu password patch is applied +# # https://tools.suckless.org/dmenu/patches/password/ +# obscure = True +# obscure_color = #222222 + +[editor] +# terminal = +# gui_if_available = (Default: True) diff --git a/dotfiles/.config/rofi/config.rasi b/dotfiles/.config/rofi/config.rasi index 7941d48..6a69f28 100644 --- a/dotfiles/.config/rofi/config.rasi +++ b/dotfiles/.config/rofi/config.rasi @@ -22,9 +22,9 @@ configuration { /* drun-url-launcher: "xdg-open";*/ /* disable-history: false;*/ /* ignored-prefixes: "";*/ -/* sort: false;*/ -/* sorting-method: "normal";*/ -/* case-sensitive: false;*/ + sort: true; + sorting-method: "fzf"; + case-sensitive: false; /* cycle: true;*/ /* sidebar-mode: false;*/ /* hover-select: false;*/ @@ -42,7 +42,7 @@ configuration { /* scroll-method: 0;*/ /* window-format: "{w} {c} {t}";*/ /* click-to-exit: true;*/ -/* max-history-size: 25;*/ + max-history-size: 30; /* combi-hide-mode-prefix: false;*/ /* combi-display-format: "{mode} {text}";*/ /* matching-negate-char: '-' /* unsupported */;*/ diff --git a/dotfiles/.config/sway/config b/dotfiles/.config/sway/config index 01484c5..91e41c3 100644 --- a/dotfiles/.config/sway/config +++ b/dotfiles/.config/sway/config @@ -115,8 +115,8 @@ seat * hide_cursor when-typing enable # X200 Trackpoint input 2:10:TPPS/2_IBM_TrackPoint { - accel_profile adaptive - pointer_accel 0 + accel_profile flat + pointer_accel 1 middle_emulation enabled } @@ -185,6 +185,7 @@ bindsym --to-code { $mod+F2 exec menumako $mod+F3 exec rofi -show display -modi "display:rofidisplay" $mod+F4 exec menublk + $mod+F9 exec networkmanager_dmenu $mod+F10 exec chcolors $mod+F12 exec rofi -show tz -modi "tz:rofitz" $mod+t exec toggletorrent -- cgit v1.2.3