Added floating layout commands. Fixed zsh color
This commit is contained in:
parent
745d76cb93
commit
5e7ebebe96
@ -7,6 +7,10 @@ set $mod Mod4
|
|||||||
set $CONFIG /home/w0ryn/.config/wryn
|
set $CONFIG /home/w0ryn/.config/wryn
|
||||||
set $UTILS /home/w0ryn/.config/wryn/i3utils
|
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
|
font pango:monospace 6
|
||||||
|
|
||||||
# for use after any command which should refresh the statusbar
|
# for use after any command which should refresh the statusbar
|
||||||
@ -73,8 +77,6 @@ mode "resize" {
|
|||||||
|
|
||||||
bindsym $mod+r mode "resize"
|
bindsym $mod+r mode "resize"
|
||||||
|
|
||||||
|
|
||||||
# change container layout (stacked, tabbed, toggle split)
|
|
||||||
bindsym $mod+s layout stacking
|
bindsym $mod+s layout stacking
|
||||||
bindsym $mod+w layout tabbed
|
bindsym $mod+w layout tabbed
|
||||||
bindsym $mod+e layout toggle split
|
bindsym $mod+e layout toggle split
|
||||||
@ -83,14 +85,15 @@ bindsym $mod+e layout toggle split
|
|||||||
bindsym $mod+Shift+Tab move scratchpad
|
bindsym $mod+Shift+Tab move scratchpad
|
||||||
bindsym $mod+Tab scratchpad show
|
bindsym $mod+Tab scratchpad show
|
||||||
|
|
||||||
# toggle tiling / floating
|
bindsym $mod+shift+s [title=$SLACK_CLIENT_TITLE] scratchpad show
|
||||||
bindsym $mod+Shift+space floating toggle
|
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
|
floating_modifier $mod
|
||||||
|
|
||||||
# change focus between tiling / floating windows
|
|
||||||
bindsym $mod+d focus mode_toggle
|
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
@ -6,7 +6,7 @@ alias ls='ls --color=auto';
|
|||||||
|
|
||||||
# zsh prompt
|
# zsh prompt
|
||||||
COFFEE="☕";
|
COFFEE="☕";
|
||||||
PREVIOUS_COMMAND_CONDITION="%B%(?.%F{yellow}.%F{210}) $COFFEE";
|
PREVIOUS_COMMAND_CONDITION="%B%(?.%F{yellow}.%F{red}) $COFFEE";
|
||||||
|
|
||||||
USER='%B%F{green}%n';
|
USER='%B%F{green}%n';
|
||||||
|
|
||||||
@ -27,7 +27,7 @@ PS1="$PREVIOUS_COMMAND_CONDITION $USER $SEPARATOR $DIRECTORY $GIT_BRANCH $PROMPT
|
|||||||
|
|
||||||
|
|
||||||
######################################################################################
|
######################################################################################
|
||||||
#
|
|
||||||
function KITTY_CHANGE_THEME () {
|
function KITTY_CHANGE_THEME () {
|
||||||
[ ! $1 ] && echo no filename given :c && return 1;
|
[ ! $1 ] && echo no filename given :c && return 1;
|
||||||
[ ! -f "$DOTWRYN/config/colorschemes/kitty/$1" ] \
|
[ ! -f "$DOTWRYN/config/colorschemes/kitty/$1" ] \
|
||||||
|
Loading…
Reference in New Issue
Block a user