From fde07441f75488f37a8171c76c06569b9abb4463 Mon Sep 17 00:00:00 2001 From: Sebastian Schulze Date: Fri, 22 Mar 2019 10:07:17 +0100 Subject: [PATCH] [i3] Show i3 some love again --- home/.config/i3/config | 6 +++++- home/.config/polybar/config | 28 ++++++++++++++++++++++------ home/.config/sxhkd/sxhkdrc | 4 ++-- 3 files changed, 29 insertions(+), 9 deletions(-) diff --git a/home/.config/i3/config b/home/.config/i3/config index 662062e..28c08ee 100644 --- a/home/.config/i3/config +++ b/home/.config/i3/config @@ -200,7 +200,7 @@ mode "resize" { } # class border backgr. text indicator -client.focused $base0D $base0D $base07 $base08 +client.focused $base0C $base0C $base07 $base08 client.focused_inactive $base02 $base02 $base06 $base03 client.unfocused $base04 $base04 $base01 $base06 client.urgent $base08 $base08 $base07 $baseXX @@ -225,6 +225,10 @@ bindsym Shift+XF86AudioLowerVolume exec --no-startup-id amixer -c 0 set Master 1 bindsym XF86MonBrightnessUp exec brightnessctl set 5%+ bindsym XF86MonBrightnessDown exec brightnessctl set 5%- +bindsym Control+Mod1+Shift+t exec tdrop -ma -w -4 -y "30" -h 70% -s dropdown termite +bindsym Control+Mod1+Shift+e exec tdrop -ma -w 50% -h 50% -y 25% -x 25% -s dropdown emacs +bindsym Control+Mod1+Shift+o exec tdrop -ma -w 800 -h 400 -y -500 -x -900 nautilus + # Toggle Gaps https://github.com/Airblader/i3#gaps set $mode_gaps Gaps: (o) outer, (i) inner set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global) diff --git a/home/.config/polybar/config b/home/.config/polybar/config index 68fb397..774f142 100644 --- a/home/.config/polybar/config +++ b/home/.config/polybar/config @@ -85,8 +85,23 @@ label-mounted = %mountpoint%: %percentage_free% label-unmounted = %mountpoint%: not mounted label-unmounted-foreground = ${colors.foreground-alt} +; [module/ewmh] +; type = internal/bspwm +; index-sort = true +; wrapping-scroll = false +; strip-wsnumbers = false +; pin-workspaces = true +; enable-click = true +; inline-mode = false + +; label-focused = "● %icon%" +; label-empty = "○" +; label-occupied = "◍ %icon%" +; label-urgent = ● %icon% +; label-separator = " " + [module/ewmh] -type = internal/bspwm +type = internal/i3 index-sort = true wrapping-scroll = false strip-wsnumbers = false @@ -94,11 +109,12 @@ pin-workspaces = true enable-click = true inline-mode = false -label-focused = "● %icon%" -label-empty = "○" -label-occupied = "◍ %icon%" -label-urgent = ● %icon% -label-urgen-foreground = #ffb600 +label-focused = "● %name%" +label-visible = "● v%name%" +label-unfocused = "○ %name%" +label-empty = "○ %name%" +label-occupied = "◍ %name%" +label-urgent = "● %name%" label-separator = " " label-occupied-padding = 1 diff --git a/home/.config/sxhkd/sxhkdrc b/home/.config/sxhkd/sxhkdrc index 0ae048c..a000ecc 100644 --- a/home/.config/sxhkd/sxhkdrc +++ b/home/.config/sxhkd/sxhkdrc @@ -183,10 +183,10 @@ control + shift + alt + p rofi-pass control + shift + alt + o - dolphin + tdrop -ma -w 800 -h 400 -y -500 -x -900 nautilus control + shift + alt + t - tdrop -ma -w -4 -y "$PANEL_HEIGHT" -h 70% -s dropdown termite + tdrop -ma -w -4 -y "30" -h 70% -s dropdown termite control + shift + alt + e tdrop -ma -w 50% -h 50% -y 25% -x 25% -s dropdown emacs