aboutsummaryrefslogtreecommitdiff
path: root/.config/i3
diff options
context:
space:
mode:
Diffstat (limited to '.config/i3')
-rw-r--r--.config/i3/config35
-rw-r--r--.config/i3/i3blocks.conf24
-rw-r--r--.config/i3/music.lua8
-rw-r--r--.config/i3/music.sh20
4 files changed, 42 insertions, 45 deletions
diff --git a/.config/i3/config b/.config/i3/config
index fddda7f..c6a5693 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -11,7 +11,7 @@
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
-font pango:Maple Mono NF 8
+font pango:Mononoki Nerd Font Mono 10
# This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango).
@@ -86,10 +86,10 @@ bindsym $mod+$up focus up
bindsym $mod+$right focus right
# alternatively, you can use the cursor keys:
-bindsym $mod+Left focus left
-bindsym $mod+Down focus down
-bindsym $mod+Up focus up
-bindsym $mod+Right focus right
+# 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
@@ -98,10 +98,10 @@ bindsym $mod+Shift+$up move up
bindsym $mod+Shift+$right move right
# alternatively, you can use the cursor keys:
-bindsym $mod+Shift+Left move left
-bindsym $mod+Shift+Down move down
-bindsym $mod+Shift+Up move up
-bindsym $mod+Shift+Right move right
+# 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
bindsym $mod+g split h
@@ -207,10 +207,27 @@ mode "resize" {
bindsym $mod+r mode "resize"
+set $yellow #ffd866
+set $dyellow #f48f3d
+set $gray #333333
+set $lgray #888888
+set $black #000000
+set $white #ffffff
+
+# class border backgr. text indicator child_border
+client.focused $yellow $yellow $black #2e9ef4 $dyellow
+client.focused_inactive $dyellow $dyellow $black #484e50 $gray
+client.unfocused $gray $gray $lgray #292d2e $gray
+client.urgent #2f343a #900000 #ffffff #900000 #900000
+client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c
+
+client.background #ffffff
+
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
status_command i3blocks -c ~/.config/i3/i3blocks.conf
+
# mode hide
colors {
diff --git a/.config/i3/i3blocks.conf b/.config/i3/i3blocks.conf
index 981c368..c83d8c3 100644
--- a/.config/i3/i3blocks.conf
+++ b/.config/i3/i3blocks.conf
@@ -2,12 +2,12 @@
full_text=
align=center
separator=false
-separator_block_width=1
+separator_block_width=0
[time]
instance=ny
TZ=America/New_York
-command=date +" %H:%M "
+command=date +"  %H:%M "
interval=1
background=#99FFFF
color=#000000
@@ -15,31 +15,31 @@ color=#000000
[date]
instance=ny
TZ=America/New_York
-command=date +" %y/%m/%d %b "
+command=date +"  %y/%m/%d %b "
interval=3600
background=#999999
color=#000000
[packages]
-command=echo " PKGS: $(pacman -Q | wc -l) "
+command=echo "  $(pacman -Q | wc -l) "
interval=3600
background=#FF9999
color=#000000
[volume]
-command=echo " VOLUME: $(pactl get-sink-volume @DEFAULT_SINK@ | awk -F"/" '{print $2}' | xargs) "
+command=echo " 󰕾 $(pactl get-sink-volume @DEFAULT_SINK@ | awk -F"/" '{print $2}' | xargs) "
interval=repeat
background=#55CC77
color=#000000
-[music]
-command=lua ~/.config/i3/music.lua
-interval=2
-background=#99FF99
-color=#000000
-
[weather]
-command=echo " $(curl -Ss 'https://wttr.in?0&T&Q&M' | cut -c 16- | head -2 | xargs) "
+command=echo " 󰖐 $(curl -Ss 'https://wttr.in?0&T&Q&M' | cut -c 16- | head -2 | xargs) "
interval=3600
background=#009999
color=#000000
+
+[media]
+command=lua ~/.config/i3/music.lua
+interval=2
+background=#99FF99
+color=#000000
diff --git a/.config/i3/music.lua b/.config/i3/music.lua
index 1960f9b..5f60a4b 100644
--- a/.config/i3/music.lua
+++ b/.config/i3/music.lua
@@ -10,9 +10,9 @@ if #album ~= 0 then
end
if status == "Playing" then
- print((" Playing | %s by %s %s"):format(song, artist, album))
+ print((" 󰐊 Playing | %s by %s %s"):format(song, artist, album))
elseif status == "Paused" then
- print((" Paused | %s by %s %s"):format(song, artist, album))
+ print(("  Paused | %s by %s %s"):format(song, artist, album))
else
- print((" Stopped "):format(status))
-end \ No newline at end of file
+ print(("  Stopped "):format(status))
+end
diff --git a/.config/i3/music.sh b/.config/i3/music.sh
deleted file mode 100644
index d678ed1..0000000
--- a/.config/i3/music.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-
-status=$(playerctl status)
-song=$(playerctl metadata title)
-album=" (`playerctl metadata album`)"
-
-if [ "$album" == " ()" ]
-then
- album=""
-fi
-
-if [ $status = "Playing" ]
-then
- echo " Playing | $song$album by $(playerctl metadata artist) "
-elif [ $status = "Paused" ]
-then
- echo " Paused | $song$album by $(playerctl metadata artist) "
-else
- echo " Stopped "
-fi \ No newline at end of file