X-Git-Url: https://src.twobees.de/?a=blobdiff_plain;f=stow%2Fi3%2F.config%2Fi3%2Fconfig;h=2392d0eb8bf0884a621a43c6bf1e14e56a20ce33;hb=7da8178da9a7f58a4bfd07d1eae398bc0873c95f;hp=e81706112b375ab00f0d074cd588937b9714dbc7;hpb=0a99e0c8a071cac8999b9e9c4f8c679c6aef65c7;p=dotfiles.git diff --git a/stow/i3/.config/i3/config b/stow/i3/.config/i3/config index e817061..2392d0e 100644 --- a/stow/i3/.config/i3/config +++ b/stow/i3/.config/i3/config @@ -42,7 +42,8 @@ exec --no-startup-id nitrogen --restore exec --no-startup-id "/usr/bin/setxkbmap -layout us,de" exec --no-startup-id "/usr/bin/setxkbmap -option 'grp:alt_shift_toggle'" - +default_border pixel 8 +default_floating_border pixel 12 @@ -56,9 +57,9 @@ bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOU # Use Mouse+$mod to drag floating windows to their wanted position floating_modifier $mod -bindsym $mod+Return exec /usr/bin/i3-sensible-terminal +bindsym $mod+Return exec ~/.bin/sensible-terminal.sh # start a terminal -# use default and hope for the best. ... # bindsym $mod+Return exec /usr/bin/gnome-terminal +# use hefault and hope for the best. ... # bindsym $mod+Return exec /usr/bin/gnome-terminal # kill focused window bindsym $mod+Shift+q kill @@ -180,10 +181,10 @@ mode "resize" { # Pressing right will grow the window’s width. # Pressing up will shrink the window’s height. # Pressing down will grow the window’s height. - bindsym j resize shrink width 10 px or 10 ppt - bindsym k resize grow height 10 px or 10 ppt - bindsym l resize shrink height 10 px or 10 ppt - bindsym semicolon resize grow width 10 px or 10 ppt + bindsym h resize shrink width 10 px or 10 ppt + bindsym j resize grow height 10 px or 10 ppt + bindsym k resize shrink height 10 px or 10 ppt + bindsym l resize grow width 10 px or 10 ppt # same bindings, but for the arrow keys bindsym Left resize shrink width 10 px or 10 ppt @@ -206,3 +207,32 @@ bar { # status_command i3status } +set $transp #00000000 + +# NOTE: The secondary rgb color in the lines below is the fallback if +# i3 fails to get colors from Xresources. +set_from_resource $colorf i3wm.foreground #f8f8f2 +set_from_resource $colorb i3wm.background #181a26 +set_from_resource $color0 i3wm.color0 #282936 +set_from_resource $color8 i3wm.color8 #4d4f68 +set_from_resource $color1 i3wm.color1 #f087bd +set_from_resource $color9 i3wm.color9 #bd6a95 +set_from_resource $color2 i3wm.color2 #a5fb8f +set_from_resource $color10 i3wm.color10 #83c771 +set_from_resource $color3 i3wm.color3 #fae3b0 +set_from_resource $color11 i3wm.color11 #c7b58c +set_from_resource $color4 i3wm.color4 #96cdfb +set_from_resource $color12 i3wm.color12 #77a2c7 +set_from_resource $color5 i3wm.color5 #9183f7 +set_from_resource $color13 i3wm.color13 #7368c4 +set_from_resource $color6 i3wm.color6 #89dceb +set_from_resource $color14 i3wm.color14 #6bacb8 +set_from_resource $color7 i3wm.color7 #e9e9f4 +set_from_resource $color15 i3wm.color15 #f7f7fb + +# class border backgr. text indicator child_border +client.focused $color13 $color13 $color2 $color1 $color8 +client.focused_inactive $color13 $color8 $color1 $color1 $transp +client.unfocused $color8 $color8 $color7 $color1 $transp +client.urgent $color5 $color1 $color0 $color1 $transp +client.background $transp