From 3c617f833f81d203fe174e0dfe2b13eafe261e33 Mon Sep 17 00:00:00 2001 From: Daniel Holman Date: Wed, 24 Oct 2018 20:43:07 -0500 Subject: Added powerline stuffs to polybar --- .config/i3/config | 38 ++++++++++++++++++++++++-------------- 1 file changed, 24 insertions(+), 14 deletions(-) (limited to '.config/i3') diff --git a/.config/i3/config b/.config/i3/config index 493eb7f..44edc4d 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -17,7 +17,7 @@ set $mod Mod4 # 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 +#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 @@ -26,6 +26,9 @@ font pango:DejaVu Sans Mono 8 # 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 +font pango:xos4 Terminus 12 + # Use Mouse+$mod to drag floating windows to their wanted position floating_modifier $mod @@ -36,11 +39,11 @@ bindsym $mod+Return exec i3-sensible-terminal bindsym $mod+Shift+q kill # start dmenu (a program launcher) -bindsym $mod+d exec i3-dmenu-desktop +# 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 + bindsym $mod+d exec --no-startup-id i3-dmenu-desktop # alternatively, you can use the cursor keys: bindsym $mod+Left focus left @@ -164,26 +167,33 @@ 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 +#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 # Start helpful programs +exec --no-startup-id wal -i "$HOME/Pictures/wal/" 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 redshift-gtk -exec --no-startup-id xset dpms 600 -exec --no-startup-id xautolock -time 10 -locker "i3lock -c 000000" -exec --no-startup-id alsactl --file ~/.config/asound.state restore +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 dex -a # Play nice with Steam windows -for_window [class="^Steam$" title="^Friends List$"] floating enable +for_window [class="^Steam$" title="^Friends & Chat$"] floating enable for_window [class="^Steam$" title="Steam - News"] floating enable for_window [class="^Steam$" title=".* - Chat"] floating enable for_window [class="^Steam$" title=".* - event started"] floating enable -- cgit v1.2.3