From 48ea632e741dcd831df456fca993e33b47a81aa9 Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Mon, 27 May 2019 22:32:06 -0500 Subject: General updates General updates to things due to package differences since last update. --- .config/i3/config | 82 ++++++++++++------------------------------------------- 1 file changed, 17 insertions(+), 65 deletions(-) (limited to '.config/i3') diff --git a/.config/i3/config b/.config/i3/config index 44edc4d..4d53a3e 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -1,69 +1,34 @@ -# This file has 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 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! +# Danny's i3 config 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. -#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-75-75-C-70-iso10646-1 -# The font above is very space-efficient, that is, it looks good, sharp and -# 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. - -# My font +# Default font font pango:xos4 Terminus 12 # Use Mouse+$mod to drag floating windows to their wanted position floating_modifier $mod -# start a terminal bindsym $mod+Return exec i3-sensible-terminal - -# kill focused window bindsym $mod+Shift+q kill +bindsym $mod+d exec --no-startup-id i3-dmenu-desktop -# start dmenu (a program launcher) -# bindsym $mod+d exec dmenu -# 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 - -# alternatively, you can use the cursor keys: +# Focus windows bindsym $mod+Left focus left bindsym $mod+Down focus down bindsym $mod+Up focus up bindsym $mod+Right focus right -# alternatively, you can use the cursor keys: +# Move windows 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 in horizontal orientation +# Split horizontal/vertical bindsym $mod+h split h - -# split in vertical orientation bindsym $mod+v split v -# enter fullscreen mode for the focused container +# Fullscreen toggle bindsym $mod+f fullscreen toggle # change container layout (stacked, tabbed, toggle split) @@ -80,9 +45,6 @@ bindsym $mod+space focus mode_toggle # focus the parent container bindsym $mod+a focus parent -# focus the child container -#bindsym $mod+d focus child - # switch to workspace bindsym $mod+1 workspace 1 bindsym $mod+2 workspace 2 @@ -111,8 +73,6 @@ bindsym $mod+Shift+0 move container to workspace 10 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" { @@ -138,6 +98,7 @@ mode "resize" { bindsym Escape mode "default" } +# logout, lock screen, etc. 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 xautolock -locknow, mode "default" @@ -161,35 +122,26 @@ bindsym XF86AudioLowerVolume exec --no-startup-id amixer sset Master 5%- bindsym XF86AudioMute exec --no-startup-id amixer sset Master toggle bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 10% bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 10% -bindsym $mod+Print exec --no-startup-id gnome-screenshot -bindsym $mod+Shift+p exec --no-startup-id gnome-screenshot -w +bindsym $mod+Print exec --no-startup-id scrot bindsym $mod+Shift+s mode "$mode_system" bindsym $mod+Tab workspace next bindsym $mod+Shift+Tab workspace prev -# Colors -set $bg-color #2f343f -set $inactive-bg-color #2f343f -set $text-color #f3f3f5 -set $inactive-text-color #676e7d -set $urgent-bg-color #e53935 - # Gap stuff -#hide_edge_borders both -#new_window 1pixel -#gaps inner 15 -#gaps outer 15 - -# Make displays nice -#exec --no-startup-id xrandr --output HDMI-0 --mode 1920x1080 --output DVI-I-0 --right-of HDMI-0 +hide_edge_borders both +new_window 1pixel +gaps inner 15 +gaps outer 15 # Start helpful programs exec --no-startup-id wal -i "$HOME/Pictures/wal/" -exec --no-startup-id polybar -r main0 exec --no-startup-id redshift exec --no-startup-id xautolock -time 5 -locker "i3lock -c 000000" -exec --no-startup-id nitrogen --restore exec --no-startup-id compton +exec --no-startup-id tilda +exec --no-startup-id polybar -r main0 +exec --no-startup-id polybar -r main1 +exec --no-startup-id polybar -r main2 exec --no-startup-id dex -a # Play nice with Steam windows -- cgit v1.2.3