i3: disable rofi to follow mouse

This commit is contained in:
thek4n 2024-01-31 10:55:24 +03:00
parent 27d4f0a45a
commit 0c216e7b50
4 changed files with 4 additions and 5 deletions

View File

@ -65,7 +65,7 @@ bindsym $mod+Return exec alacritty
# kill focused window
bindsym $mod+Shift+q kill
bindsym $mod+d exec --no-startup-id rofi -show drun -m -4
bindsym $mod+d exec --no-startup-id rofi -show drun -m -1
bindsym $mod+i exec --no-startup-id i3_switch_workspace.sh
bindsym $mod+o exec --no-startup-id slm_rofi.sh
bindsym $mod+p exec --no-startup-id power_rofi.sh

View File

@ -5,7 +5,7 @@ gen_workspaces()
i3-msg -t get_workspaces | tr ',' '\n' | grep "name" | sed 's/"name":"\(.*\)"/\1/g'
}
choosed_workspace=$(gen_workspaces | rofi -dmenu -m -4 -i -p "Select workspace")
choosed_workspace=$(gen_workspaces | rofi -dmenu -m -1 -i -p "Select workspace")
if [ -n "${choosed_workspace}" ]
then

View File

@ -6,5 +6,4 @@ reboot
shutdown -h now
systemctl suspend
i3lock -enf -c 1e1e1e
convert canvas:none PNG:- | feh -YF -" | rofi -dmenu -m -4 -i -p "Power")"
convert canvas:none PNG:- | feh -YF -" | rofi -dmenu -m -1 -i -p "Power")"

View File

@ -1,4 +1,4 @@
#!/bin/bash
choosed_screen_layout="$(slm ls | rofi -dmenu -m -4 -i -p "Select screen layout")"
choosed_screen_layout="$(slm ls | rofi -dmenu -m -1 -i -p "Select screen layout")"
slm load "$choosed_screen_layout"