Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # i3 config file (v4)
- #
- # Please see http://i3wm.org/docs/userguide.html for a complete reference!
- # == Variables ==
- set $mod Mod4
- font pango:Terminus 9
- floating_modifier $mod
- set $locker xflock4
- # == Gaps ==
- gaps inner 14
- gaps outer 4
- for_window [class="^.*"] border pixel 4
- smart_borders on
- smart_gaps on
- # == Colors ==
- # class border backgr. text indicator
- # bindsym $mod+d exec dmenu_run -h 19 -fn "Terminus-9" -nb \#2d2d2d -nf \#dcdcdc -sb \#d64937 -sf \#2d2d2d
- # NUMIX
- client.focused #d64937 #d64937 #ffffff #ff9000
- client.unfocused #2d2d2d #2d2d2d #ffffff #2d2d2d
- client.focused_inactive #303030 #303030 #d64937 #2d2d2d
- client.urgent #e75959 #e75959 #d64937 #900000
- client.placeholder #000000 #6a3c00 #ffffff #000000
- # ORANGE
- # client.focused #ff9000 #ff9000 #ffffff #ff9000
- # client.unfocused #303030 #303030 #ffffff #303030
- # client.focused_inactive #303030 #303030 #ffffff #303030
- # client.urgent #e75959 #e75959 #ffffff #900000
- # client.placeholder #000000 #6a3c00 #ffffff #000000
- # BLUE
- # client.focused #cc9966 #39c6fe #F7F7F7 #39c6fe
- # client.focused_inactive #1c727d #1c727d #F7F7F7 #1c727d
- # client.unfocused #1c727d #1c727d #F7F7F7 #1c727d
- # client.urgent #C75646 #C75646 #F7F7F7 #C75646
- # client.placeholder #1c727d #1c727d #F7F7F7 #1c727d
- # GREY
- # client.focused #a0a0a0 #a0a0a0 #ffffff #a0a0a0
- # client.unfocused #404040 #404040 #ffffff #404040
- # client.focused_inactive #404040 #404040 #ffffff #404040
- # client.urgent #e75959 #e75959 #ffffff #900000
- # client.placeholder #000000 #404040 #ffffff #000000
- # == Keybinds ==
- bindsym $mod+Return exec xfce4-terminal
- bindsym $mod+Shift+q kill
- bindsym Mod1+F4 kill
- #bindsym $mod+d exec xfrun4
- #bindsym Mod1+F2 exec xfrun4
- #bindsym $mod+d exec dmenu_run
- bindsym $mod+d exec dmenu_run -h 19 -fn "Terminus-9" -nb \#2d2d2d -nf \#dcdcdc -sb \#d64937 -sf \#2d2d2d
- bindsym Mod1+F2 exec dmenu_run
- bindsym $mod+space exec xfce4-appfinder
- bindsym $mod+e exec thunar
- bindsym Mod1+ctrl+t exec xfce4-terminal
- bindsym Mod1+ctrl+w exec chromium
- bindsym Mod1+ctrl+l exec $locker
- bindsym XF86ScreenSaver exec $locker
- bindsym $mod+l exec $locker
- bindsym XF86TaskPane exec xfce4-appfinder
- bindsym XF86RotateWindows exec onboard
- # screenshot tools
- bindsym Print exec /media/Daten/Skripte/screenshot --desktop
- bindsym ctrl+Print exec /media/Daten/Skripte/screenshot --window
- bindsym shift+Print exec /media/Daten/Skripte/screenshot --area
- # audacious control
- bindsym $mod+F1 exec /media/Daten/Skripte/audmultitool playpause
- bindsym $mod+F2 exec /media/Daten/Skripte/audmultitool stop
- bindsym $mod+F3 exec /media/Daten/Skripte/audmultitool prev
- bindsym $mod+F4 exec /media/Daten/Skripte/audmultitool next
- bindsym $mod+F5 exec /media/Daten/Skripte/audmultitool voldown
- bindsym $mod+F6 exec /media/Daten/Skripte/audmultitool volup
- bindsym $mod+F7 exec /media/Daten/Skripte/audmultitool mute
- bindsym $mod+F8 exec audacious
- # volume control
- bindsym XF86AudioMute exec pactl set-sink-mute 0 toggle
- bindsym XF86AudioLowerVolume exec "pactl set-sink-mute 0 false; pactl -- set-sink-volume 0 -5%"
- bindsym XF86AudioRaiseVolume exec "pactl set-sink-mute 0 false; pactl -- set-sink-volume 0 +5%"
- # change focus
- bindsym $mod+Left focus left
- bindsym $mod+Down focus down
- bindsym $mod+Up focus up
- bindsym $mod+Right focus right
- # move focused window
- bindsym $mod+Shift+Left move left
- bindsym $mod+Shift+Down move down
- bindsym $mod+Shift+Up move up
- bindsym $mod+Shift+Right move right
- # split
- bindsym $mod+h split h
- bindsym $mod+v split v
- # fullscreen for focused container
- bindsym $mod+f fullscreen toggle
- bindsym Mod1+Return fullscreen toggle
- # change container layout (stacked, tabbed, toggle split)
- bindsym $mod+s layout stacking
- bindsym $mod+w layout tabbed
- bindsym $mod+t layout toggle split
- # toggle tiling / floating
- bindsym $mod+Shift+f floating toggle
- bindsym $mod+Shift+space floating toggle
- # open whisker menu
- # bindsym $mod+space exec xfce4-popup-whiskermenu
- # focus the parent container
- bindsym $mod+a focus parent
- # focus the child container
- bindsym $mod+c focus child
- # switch to workspace
- bindsym $mod+1 workspace 1
- bindsym $mod+2 workspace 2
- bindsym $mod+3 workspace 3
- bindsym $mod+4 workspace 4
- bindsym $mod+5 workspace 5
- bindsym $mod+6 workspace 6
- bindsym $mod+7 workspace 7
- bindsym $mod+8 workspace 8
- bindsym $mod+9 workspace 9
- bindsym $mod+0 workspace 10
- # semi alt-tab behaviour
- bindsym Mod1+Tab focus right
- bindsym Mod1+Shift+Tab focus left
- bindsym $mod+Tab workspace next
- bindsym $mod+Shift+Tab workspace prev
- # move focused container to workspace
- bindsym $mod+Shift+1 move container to workspace 1
- bindsym $mod+Shift+2 move container to workspace 2
- bindsym $mod+Shift+3 move container to workspace 3
- bindsym $mod+Shift+4 move container to workspace 4
- bindsym $mod+Shift+5 move container to workspace 5
- bindsym $mod+Shift+6 move container to workspace 6
- bindsym $mod+Shift+7 move container to workspace 7
- bindsym $mod+Shift+8 move container to workspace 8
- bindsym $mod+Shift+9 move container to workspace 9
- bindsym $mod+Shift+0 move container to workspace 10
- # move workspace to screen
- bindsym $mod+Mod1+Left move workspace to output left
- bindsym $mod+Mod1+Right move workspace to output right
- # reload the configuration file
- bindsym $mod+Shift+c reload
- # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
- bindsym $mod+Shift+r restart
- # exit i3 (logs you out of your X session)
- bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
- # resize window (you can also use the mouse for that)
- 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 grow the window’s height.
- # Pressing down will shrink the window’s height.
- bindsym Left resize shrink width 2 px or 2 ppt
- bindsym Down resize shrink height 2 px or 2 ppt
- bindsym Up resize grow height 2 px or 2 ppt
- bindsym Right resize grow width 2 px or 2 ppt
- bindsym plus resize grow width 2 px or 2 ppt
- bindsym underscore resize shrink width 2 px or 2 ppt
- # back to normal: Enter or Escape
- bindsym Return mode "default"
- bindsym Escape mode "default"
- }
- bindsym $mod+r mode "resize"
- # == Power menu ==
- set $mode_system System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (Shift+s) shutdown
- mode "$mode_system" {
- bindsym l exec --no-startup-id $locker, mode "default"
- bindsym e exec --no-startup-id i3-msg exit, mode "default"
- bindsym s exec --no-startup-id $locker && sleep 2 && systemctl suspend, mode "default"
- bindsym h exec --no-startup-id $locker && sleep 2 && systemctl hibernate, mode "default"
- bindsym r exec --no-startup-id systemctl reboot, mode "default"
- bindsym Shift+s exec --no-startup-id systemctl poweroff -i, mode "default"
- bindsym Return mode "default"
- bindsym Escape mode "default"
- bindsym Mod1+Ctrl+Delete mode "default"
- }
- # the first two don't seem to work...
- bindsym XF86PowerOff mode "$mode_system"
- bindsym XF86Sleep exec $locker && sleep 2 && systemctl suspend
- bindsym Mod1+Ctrl+Delete mode "$mode_system"
- # == Bar ==
- bar {
- position top
- status_command py3status -c /home/emkay/.config/i3status/config
- height 20
- # tray_output primary
- colors {
- background #2d2d2d
- statusline #ffffff
- focused_workspace #ffffff #d64937 #ffffff
- active_workspace #000000 #d64937 #000000
- inactive_workspace #2d2d2d #2d2d2d #ffffff
- urgent_workspace #ff9000 #800000 #ff9000
- }
- }
- # == Special things (floating, automove, borders) ===
- for_window [title="xfce4-notifyd"] floating enable, border none
- # for_window [class="Thunderbird"] move to workspace 3, floating enable
- for_window [class="Audacious"] move to workspace 6
- for_window [class="Pidgin"] move to workspace 1
- for_window [class="Kodi"] move to workspace 6, fullscreen
- for_window [class="VLC"] move to workspace 6
- # for_window [class="Audacious"] border none
- for_window [class="Xfrun4"] floating enable
- for_window [class="Xfce4-appfinder"] floating enable
- for_window [class="Wrapper-1.0"] border none
- for_window [class="Pnmixer"] border none, floating enable
- for_window [class="KeePass2"] move to workspace 10
- for_window [class="Steam" title="Freunde"] floating enable
- for_window [class="Steam" title="Steam - Update-News"] floating enable
- # == Wallpaper ==
- # exec --no-startup-id xsetroot -solid "#202020"
- exec --no-startup-id feh --bg-fill /media/Daten/Bilder/.wallpaper
- # == Autostart applications ==
- exec --no-startup-id i3-msg 'workspace 3; exec thunderbird'
- exec --no-startup-id i3-msg 'workspace 1; exec pidgin'
- exec --no-startup-id i3-msg 'workspace 10; exec keepass -keyfile:/media/Daten/ownCloud/Privat/kpass.key /media/Daten/ownCloud/Privat/kpass.kdbx'
- exec --no-startup-id pnmixer
- exec --no-startup-id xinput set-prop "SynPS/2 Synaptics TouchPad" "Synaptics Edge Scrolling" 1 1 1
- exec --no-startup-id xinput set-prop "SynPS/2 Synaptics TouchPad" "Device Accel Profile" -1
- exec --no-startup-id xinput set-prop "SynPS/2 Synaptics TouchPad" "Device Accel Velocity Scaling" 12.5
- exec --no-startup-id xset r
- exec --no-startup-id xset r 500
- exec --no-startup-id xset b off
- exec --no-startup-id compton
- exec --no-startup-id owncloud
- exec --no-startup-id xscreensaver -no-splash
- exec --no-startup-id /media/Daten/Skripte/startup_disablekeyboard
- exec --no-startup-id xmodmap -e "pointer = 1 2 3 4 5 6 7 9 8"
- exec --no-startup-id xfce4-power-manager
- exec --no-startup-id /media/Daten/Skripte/nm-applet-autorestart
Advertisement
Add Comment
Please, Sign In to add comment