diff --git a/.config/i3/blocks/clock b/.config/i3/blocks/clock index cc33a64..32f3d27 100755 --- a/.config/i3/blocks/clock +++ b/.config/i3/blocks/clock @@ -1,5 +1,5 @@ case $BLOCK_BUTTON in 1) printf " "$(date '+%d/%m/%y') ; exit ;; - 2|3) i3-sensible-terminal -e "$SHELL -c 'cal -y $(date +'%Y')';$SHELL" &;; + 2|3) i3-sensible-terminal -r i3blocks-clock-term --geometry 68x35 -e "$SHELL -c \"cal -y $(date +'%Y');$SHELL\"" &>/dev/null & ;; *) printf " "$(date '+%H:%M') esac diff --git a/.config/i3/blocks/updates b/.config/i3/blocks/updates index 2f58109..cfaaa21 100755 --- a/.config/i3/blocks/updates +++ b/.config/i3/blocks/updates @@ -5,7 +5,7 @@ import os button = os.environ.get('BLOCK_BUTTON') if button == '1': - os.system("i3-sensible-terminal -e 'pacaur -Syu'") + os.system("i3-sensible-terminal -r i3blocks-update-term -e 'pacaur -Syu'") updates = commands.getstatusoutput("/usr/bin/checkupdates | wc -l")[1] if updates and updates != '0': diff --git a/.config/i3/config b/.config/i3/config index 5723fb2..1afc47b 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -110,6 +110,12 @@ bar { } } +# Window rules +for_window [title="Volume Control"] floating enable +for_window [window_role="floating-term"] floating enable +for_window [window_role="i3blocks-update-term"] floating enable +for_window [window_role="i3blocks-clock-term"] floating enable + new_window pixel 6 new_float none @@ -124,9 +130,10 @@ focus_follows_mouse yes bindsym $mod+Shift+j reload bindsym $mod+Shift+p restart bindsym $mod+c exec google-chrome-stable -bindsym $mod+v exec "i3-sensible-terminal -e \\"$SHELL -c vim;$SHELL\\"" +bindsym $mod+v exec "i3-sensible-terminal -e \\"$SHELL -c vim;$SHELL\\" bindsym Mod1+Tab exec ~/.config/i3/alt-tab.sh bindsym $mod+Return exec i3-sensible-terminal +bindsym $mod+Ctrl+Return exec i3-sensible-terminal -r floating-term --geometry 96x30 bindsym $mod+l exec ~/.config/i3/lock.sh bindsym $mod+space exec rofi -show run -fg "#D3DAE3" -bg "#383C4A" -hlbg "#5294E2" bindsym --release Print exec imgur-screenshot -s