Skip to content
Snippets Groups Projects
Commit bb72c0f5 authored by JiriKalvoda's avatar JiriKalvoda
Browse files

I3 Add toggle-border and floating WUI.

parent 1fd07b0d
No related branches found
No related tags found
No related merge requests found
......@@ -188,6 +188,7 @@ bindsym $mod+c exec chromium-browser --password-store=gnome
bindsym $mod+z exec zathura
bindsym $mod+Shift+comma workspace WUI;exec ~/dev/runWUI/run.sh
bindsym $mod+comma workspace WUI
for_window [title="WebUpdatingIndicator compare"] floating enable
bindsym $mod+Shift+m workspace MAIL,exec mailspring
bindsym $mod+m workspace MAIL
bindsym $mod+n exec nemo
......@@ -198,6 +199,7 @@ exec numlockx on
floating_modifier $mod
bindsym $outmod+w exec light - 0.9 ; exec lightGUI
bindsym $outmod+e exec light - 0.15; exec lightGUI
bindsym $outmod+r exec light + 0.15; exec lightGUI
......@@ -216,3 +218,8 @@ bindsym $outmod+m exec xrandr --auto; exec xrandr --output HDMI-1 --pos 0x0 --o
bindsym Control+Print exec gnome-screenshot -i
exec --no-startup-id /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &
for_window [class=".*"] border pixel 1
bindsym $mod+p exec ~/.config/i3/i3-toggle-border
if [[ $(id -u) -ne 0 ]] ; then echo "Please run as root" ; exit 1 ; fi
apt install numlockx
apt install jq
cp config ~/.config/i3/config
cp toggle-border ~/.config/i3/i3-toggle-border
#!/bin/bash
MODE=$(i3-msg -t get_tree | jq -r '.. | .nodes? | .[]? | select(.window!=null and .focused==true).border')
if [ $MODE = "normal" ]; then
i3-msg border pixel 1
else
i3-msg border normal 1
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment