diff options
author | René 'Necoro' Neumann <necoro@necoro.eu> | 2018-06-10 17:39:35 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.eu> | 2018-06-10 17:39:35 +0200 |
commit | 4e8992266f11ce8008f5fce460cc64110b15c99b (patch) | |
tree | 144cbfd1bd1f71db77cd828ede1d6e56f3c1af1a | |
parent | ba18a34dff9d2b6cc59a82643b61705b4f9937df (diff) | |
download | dotfiles-4e8992266f11ce8008f5fce460cc64110b15c99b.tar.gz dotfiles-4e8992266f11ce8008f5fce460cc64110b15c99b.tar.bz2 dotfiles-4e8992266f11ce8008f5fce460cc64110b15c99b.zip |
[i3] Remove obsolete pidgin stuff
-rw-r--r-- | .i3/config | 7 | ||||
-rwxr-xr-x | .i3/scripts/start_pidgin.sh | 29 |
2 files changed, 0 insertions, 36 deletions
@@ -208,7 +208,6 @@ bindsym $mod+Ctrl+p exec passmenu --type --user -b -fn $dmenu_font bindsym $mod+Ctrl+Shift+p exec passmenu --type --both -b -fn $dmenu_font # Misc (minus shift are the focus options) -bindsym $mod+Shift+i exec $script/start_pidgin.sh bindsym $mod+Shift+b exec firefox bindsym $mod+Shift+m exec thunderbird @@ -240,12 +239,6 @@ assign [class="^Firefox$"] → 0: ff for_window [class="^Firefox$" instance="Browser"] floating enable bindsym $mod+b [class="^Firefox$" instance="^Navigator$"] focus -# Pidgin stuff -assign [class="^Pidgin$"] → im -for_window [class="^Pidgin$" window_role="buddy_list"] layout splith, resize shrink width 0 px or 30 ppt, move right -for_window [class="^Pidgin$" window_role="conversation"] resize grow width 0 px or 30 ppt, move left -bindsym $mod+i [class="^Pidgin$" window_role="(?i)conversation"] focus; [class="^Pidgin$"] focus - # Steam assign [class="Steam"] → steam diff --git a/.i3/scripts/start_pidgin.sh b/.i3/scripts/start_pidgin.sh deleted file mode 100755 index 8261113..0000000 --- a/.i3/scripts/start_pidgin.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/zsh -# -# Start Pidgin and make sure, that the buddylist is shown. -# - -# test for pidgin already running -(( `pgrep -xc pidgin` )) && return - -# start dbus-monitor -coproc dbus-monitor --profile "interface=im.pidgin.purple.PurpleInterface" -dbus_pid=$! - -# kill it on exit -TRAPEXIT() { kill $dbus_pid } - -# start pidgin in background -pidgin & - -# wait for the DBus-Service to be available -# we use '--profile' because it renders nicer output -while read -p line; do - [[ $line =~ 'UpdateIdle$' ]] && break - # if the blist is automatically shown, we exit - # else we would move the focus, which is bad - [[ $line =~ 'GtkblistUnhiding$' ]] && return -done - -# if we are here, pidgin is running and the blist is not yet visible -exec purple-send-async PurpleBlistSetVisible int32:1 |