Fixes for launching terminal and misc

This commit is contained in:
M1dgard 2018-08-19 16:48:28 +02:00
parent 99b1911f98
commit a3fd0ba7a7
Signed by untrusted user who does not match committer: midgard
GPG key ID: 511C112F1331BBB4
4 changed files with 6 additions and 6 deletions

View file

@ -125,7 +125,7 @@ alpha-step = 0.06;
# Fix tabbed windows
opacity-rule = [
#"95:class_g = 'xfce4-terminal' && !_NET_WM_STATE@:32a",
"82:class_g = 'Polybar'",
"80:class_g = 'Polybar'",
"90:class_g = 'Dunst'",
"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
];

View file

@ -102,7 +102,7 @@ bindsym $mod+KP_Enter exec $term
bindsym Ctrl+Mod4+t exec --no-startup-id "notify-send -a 'i3' -u normal 'You'\''re on i3, $usertitle.' 'Don'\''t try to Ctrl+Alt+T me. Use $mod+Enter like a real $usertype.'"
bindsym Ctrl+Mod1+t exec --no-startup-id "notify-send -a 'i3' -u normal 'You'\''re on i3, $usertitle.' 'Don'\''t try to Ctrl+Alt+T me. Use $mod+Enter like a real $usertype.'"
# start a terminal and execute the command `exec-with-shortcut` from your PATH in it
bindsym XF86Calculator exec "$termexec --zoom 3 -x bash -c 'exec-with-shortcut; zsh'"
bindsym XF86Calculator exec "$termexec -e bash -c 'exec-with-shortcut; zsh'"
# start web browser
set $browser TZ=UTC firefox
@ -126,7 +126,7 @@ set $openmode "open: [f]irefox, [e]mail, [i]rc, [I]DE, [m]pd client, [M]pd serve
mode $openmode {
bindsym f exec firefox, mode default
bindsym e exec $mailclient, mode default
bindsym i exec quasselclient, mode default
bindsym i exec $termexec -e weechat, mode default
bindsym shift+i exec idea.sh, mode default
bindsym m exec mpdclient, mode default
bindsym shift+m exec --no-startup-id mpd $HOME/.config/mpd/mpd.conf, mode default

View file

@ -17,7 +17,7 @@ fi
# Open terminal at specified path
cmd=i3-sensible-terminal
if [[ -n $path ]]; then
exec $cmd --default-working-directory="$path" "$@"
exec env -C "$path" $cmd "$@"
else
exec $cmd "$@"
fi

View file

@ -296,11 +296,11 @@ interval = 3
; <ramp-signal> show a signal strength icon
; This overlays the actual signal strength icon over the dark "full signal" icon
;format-connected = %{T7}%{F#333}%{F}%{T-}%{O-18}<ramp-signal> <label-connected>
format-connected = %{A:i3-sensible-terminal -x nmtui-connect:}%{A3:i3-sensible-terminal -x nmtui:}%{T7}%{F#333}%{F}%{T-}%{O-18}<ramp-signal>%{A}%{A}
format-connected = %{A:i3-sensible-terminal -e nmtui-connect:}%{A3:i3-sensible-terminal -e nmtui:}%{T7}%{F#333}%{F}%{T-}%{O-18}<ramp-signal>%{A}%{A}
format-connected-foreground = ${colors.foreground-alt}
label-connected = %essid%
format-disconnected = %{A1:i3-sensible-terminal -x nmtui-connect:}%{A3:i3-sensible-terminal -x nmtui:}<label-disconnected>%{A}%{A}
format-disconnected = %{A1:i3-sensible-terminal -e nmtui-connect:}%{A3:i3-sensible-terminal -e nmtui:}<label-disconnected>%{A}%{A}
label-disconnected =
label-disconnected-foreground = ${colors.foreground-alt}