dimmaski / i3-icons

Golang daemon to update i3 workspace icons

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

i3-icons-daemon

Is a lightweight golang daemon service that updates your i3 workspace based on the programs that are running in your workspace's windows.

i3

go build .
~ » cat ~/.i3/icons.json
{
    "firefox": "\uf269",
    "spotify": "\uf1bc",
    "chrome": "\uf268",
    "code": "\uf121",
    "edit": "\uf044",
    "nautilus": "\uf07b",
    "vlc": "\uf04b",
    "terminal": "\uf120",
    "_wildcard": "\uf128"
}

i3 conf

# add the following line in your i3 config
exec_always i3-icons -separator "|" -config ~/.i3/icons.json
# change the following confis in order to allow switching and moving workspaces

# from this
bindsym $mod+N workspace N
bindsym $mod+Shift+N move container to workspace N

# to this
bindsym $mod+N workspace number N
bindsym $mod+Shift+N move container to workspace number N

About

Golang daemon to update i3 workspace icons

License:MIT License


Languages

Language:Go 98.7%Language:Makefile 1.3%