From: Jakob Haufe Date: Thu, 22 Feb 2018 21:35:37 +0000 (+0000) Subject: Add i3 config for tizio as is X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1fe913d2d58be0e4394d871070c0e3886d6d7702;p=configfiles Add i3 config for tizio as is --- diff --git a/i3/.config/i3/config b/i3/.config/i3/config index bb844a0..b5a973b 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -1,24 +1,31 @@ -# This file has been auto-generated by i3-config-wizard(1). +# Thi filhas been auto-generated by i3-config-wizard(1). # It will not be overwritten, so edit it as you like. # -# Should you change your keyboard layout somewhen, delete +# Should you change your keyboard layout some time, delete # this file and re-run i3-config-wizard(1). # # i3 config file (v4) # -# Please see http://i3wm.org/docs/userguide.html for a complete reference! +# Please see https://i3wm.org/docs/userguide.html for a complete reference! set $mod Mod4 + # Font for window titles. Will also be used by the bar unless a different font -# is used in the bar {} block below. ISO 10646 = Unicode -font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 +# is used in the bar {} block below. +#font pango:monospace 8 + +# This font is widely installed, provides lots of unicode glyphs, right-to-left +# text rendering and scalability on retina/hidpi displays (thanks to pango). +#font pango:DejaVu Sans Mono 8 + +# Before i3 v4.8, we used to recommend this one as the default: +font -misc-fixed-medium-r-normal-*-13-120-*-*-*-70-iso10646-1 # The font above is very space-efficient, that is, it looks good, sharp and -# clear in small sizes. However, if you need a lot of unicode glyphs or -# right-to-left text rendering, you should instead use pango for rendering and -# chose a FreeType font, such as: -# font pango:DejaVu Sans Mono 10 +# clear in small sizes. However, its unicode glyph coverage is limited, the old +# X core fonts rendering does not support right-to-left and this being a bitmap +# font, it doesn’t scale on retina/hidpi displays. # Use Mouse+$mod to drag floating windows to their wanted position floating_modifier $mod @@ -30,11 +37,11 @@ bindsym $mod+Return exec i3-sensible-terminal bindsym $mod+c kill # start dmenu (a program launcher) -#bindsym $mod+d exec dmenu_run +bindsym $mod+d exec dmenu_run # There also is the (new) i3-dmenu-desktop which only displays applications # shipping a .desktop file. It is a wrapper around dmenu, so you need that # installed. -bindsym $mod+d exec --no-startup-id i3-dmenu-desktop +# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop # change focus bindsym $mod+j focus left @@ -67,7 +74,7 @@ bindsym $mod+h split h bindsym $mod+v split v # enter fullscreen mode for the focused container -bindsym $mod+f fullscreen +bindsym $mod+f fullscreen toggle # change container layout (stacked, tabbed, toggle split) bindsym $mod+s layout stacking @@ -121,16 +128,15 @@ bindsym $mod+Shift+e exit mode "resize" { # These bindings trigger as soon as you enter the resize mode + # Pressing left will shrink the window’s width. + # 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 Left resize shrink width 1 px or 1 ppt bindsym Down resize grow height 1 px or 1 ppt bindsym Up resize shrink height 1 px or 1 ppt bindsym Right resize grow width 1 px or 1 ppt - bindsym Shift+Left resize shrink width 10 px or 10 ppt - bindsym Shift+Down resize grow height 10 px or 10 ppt - bindsym Shift+Up resize shrink height 10 px or 10 ppt - bindsym Shift+Right resize grow width 10 px or 10 ppt - # back to normal: Enter or Escape bindsym Return mode "default" bindsym Escape mode "default" @@ -144,19 +150,12 @@ bar { status_command i3status } -bindsym XF86ScreenSaver exec "i3lock -c 008000" -bindsym XF86AudioMute exec "amixer sset Master toggle" -bindsym XF86AudioLowerVolume exec "amixer sset Master 1%-" -bindsym XF86AudioRaiseVolume exec "amixer sset Master 1%+" -bindsym Shift+Print exec "scrot" -bindsym Ctrl+Print exec "scrot -s" - -for_window [class="^Galculator$"] floating enable -for_window [class="^fstl$"] floating enable -for_window [class="^pinentry$"] floating enable -for_window [class="^X128$"] floating enable - -exec --no-startup-id feh --bg-fill 21125.jpg - -bindsym $mod+Shift+s sticky toggle +bindsym XF86ScreenSaver exec i3lock -c 004400 +bindsym XF86MonBrightnessDown exec sysbacklight - 1 +bindsym XF86MonBrightnessUp exec sysbacklight + 1 +bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -1% +bindsym Shift+XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -10% +bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +1% +bindsym Shift+XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +10% +bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle