aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2022-08-16 18:57:58 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2022-08-16 18:57:58 +0300
commit93129292fd45e4eb2d50f5f17a245ba9ee36480a (patch)
tree9e2bc26df0f1965f1d132798f3279d32e5b6bd24
parent32c36a769cbbdf916f393f4b40770a224975d6d3 (diff)
downloadswayrice-93129292fd45e4eb2d50f5f17a245ba9ee36480a.tar.gz
swayrice-93129292fd45e4eb2d50f5f17a245ba9ee36480a.zip
networkmanager_dmenu with rofi
-rwxr-xr-xartix.sh3
-rw-r--r--dotfiles/.config/networkmanager-dmenu/config.ini24
-rw-r--r--dotfiles/.config/rofi/config.rasi8
-rw-r--r--dotfiles/.config/sway/config5
4 files changed, 33 insertions, 7 deletions
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 = <True or False> # (Default: False) use rofi highlighting instead of '=='
+rofi_highlight = True
+# compact = <True or False> # (Default: False). Remove extra spacing from display
+# pinentry = <Pinentry command> # (Default: None) e.g. `pinentry-gtk`
+# wifi_chars = <string of 4 unicode characters representing 1-4 bars strength>
+# wifi_chars = ▂▄▆█
+# list_saved = <True or False> # (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 = <name of terminal program>
+# gui_if_available = <True or False> (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