i3: disable rofi to follow mouse
This commit is contained in:
parent
27d4f0a45a
commit
0c216e7b50
@ -65,7 +65,7 @@ bindsym $mod+Return exec alacritty
|
|||||||
# kill focused window
|
# kill focused window
|
||||||
bindsym $mod+Shift+q kill
|
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+i exec --no-startup-id i3_switch_workspace.sh
|
||||||
bindsym $mod+o exec --no-startup-id slm_rofi.sh
|
bindsym $mod+o exec --no-startup-id slm_rofi.sh
|
||||||
bindsym $mod+p exec --no-startup-id power_rofi.sh
|
bindsym $mod+p exec --no-startup-id power_rofi.sh
|
||||||
|
|||||||
@ -5,7 +5,7 @@ gen_workspaces()
|
|||||||
i3-msg -t get_workspaces | tr ',' '\n' | grep "name" | sed 's/"name":"\(.*\)"/\1/g'
|
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}" ]
|
if [ -n "${choosed_workspace}" ]
|
||||||
then
|
then
|
||||||
|
|||||||
@ -6,5 +6,4 @@ reboot
|
|||||||
shutdown -h now
|
shutdown -h now
|
||||||
systemctl suspend
|
systemctl suspend
|
||||||
i3lock -enf -c 1e1e1e
|
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")"
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/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"
|
slm load "$choosed_screen_layout"
|
||||||
Loading…
x
Reference in New Issue
Block a user