diff --git a/config/i3/config b/config/i3/config index 0a07c06..8c51360 100644 --- a/config/i3/config +++ b/config/i3/config @@ -7,6 +7,10 @@ set $mod Mod4 set $CONFIG /home/w0ryn/.config/wryn set $UTILS /home/w0ryn/.config/wryn/i3utils +set $SLACK_CLIENT_TITLE ^Slack.*$ +set $MESSAGE_CLIENT_TITLE ^Android.Messages$ +set $MEDIA_CLIENT_TITLE ^.*YouTube.Music.*$ + font pango:monospace 6 # for use after any command which should refresh the statusbar @@ -73,8 +77,6 @@ mode "resize" { bindsym $mod+r mode "resize" - -# change container layout (stacked, tabbed, toggle split) bindsym $mod+s layout stacking bindsym $mod+w layout tabbed bindsym $mod+e layout toggle split @@ -83,14 +85,15 @@ bindsym $mod+e layout toggle split bindsym $mod+Shift+Tab move scratchpad bindsym $mod+Tab scratchpad show -# toggle tiling / floating -bindsym $mod+Shift+space floating toggle +bindsym $mod+shift+s [title=$SLACK_CLIENT_TITLE] scratchpad show +bindsym $mod+shift+m [title=$MESSAGE_CLIENT_TITLE] scratchpad show +bindsym $mod+m [title=$MEDIA_CLIENT_TITLE] scratchpad show + +bindsym $mod+Shift+space floating toggle +bindsym $mod+d focus mode_toggle -# Use Mouse+$mod to drag floating windows to their wanted position floating_modifier $mod -# change focus between tiling / floating windows -bindsym $mod+d focus mode_toggle ################################################################################ diff --git a/zsh/colors b/zsh/colors index acfaaff..149a61b 100644 --- a/zsh/colors +++ b/zsh/colors @@ -6,7 +6,7 @@ alias ls='ls --color=auto'; # zsh prompt COFFEE="☕"; -PREVIOUS_COMMAND_CONDITION="%B%(?.%F{yellow}.%F{210}) $COFFEE"; +PREVIOUS_COMMAND_CONDITION="%B%(?.%F{yellow}.%F{red}) $COFFEE"; USER='%B%F{green}%n'; @@ -27,7 +27,7 @@ PS1="$PREVIOUS_COMMAND_CONDITION $USER $SEPARATOR $DIRECTORY $GIT_BRANCH $PROMPT ###################################################################################### -# + function KITTY_CHANGE_THEME () { [ ! $1 ] && echo no filename given :c && return 1; [ ! -f "$DOTWRYN/config/colorschemes/kitty/$1" ] \