Skip to content

Instantly share code, notes, and snippets.

@pdonadeo
Created October 13, 2019 10:04

Revisions

  1. pdonadeo created this gist Oct 13, 2019.
    185 changes: 185 additions & 0 deletions app-icons.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,185 @@
    [
    {
    "window_class": "gvim",
    "fa_icon": "pen-nib"
    },
    {
    "window_class": "telegramdesktop",
    "fa_icon": "telegram"
    },
    {
    "window_class": "firefox",
    "fa_icon": "firefox"
    },
    {
    "window_class": "chrome",
    "fa_icon": "chrome"
    },
    {
    "window_class": "google-chrome",
    "fa_icon": "chrome"
    },
    {
    "window_class": "gnome-terminal",
    "fa_icon": "terminal"
    },
    {
    "window_class": "nautilus",
    "fa_icon": "folder-open"
    },
    {
    "window_class": "vlc",
    "fa_icon": "play"
    },
    {
    "window_class": "pavucontrol",
    "fa_icon": "volume-up"
    },
    {
    "window_class": "steam",
    "fa_icon": "steam-symbol"
    },
    {
    "window_class": "teamspeak 3",
    "fa_icon": "teamspeak"
    },
    {
    "window_class": "spotify",
    "fa_icon": "spotify"
    },
    {
    "window_class": "gnome-calculator",
    "fa_icon": "calculator"
    },
    {
    "window_class": "code",
    "fa_icon": "code"
    },
    {
    "window_class": "evince",
    "fa_icon": "file-pdf"
    },
    {
    "window_class": "rdesktop",
    "fa_icon": "desktop-alt"
    },
    {
    "window_class": "simplescreenrecorder",
    "fa_icon": "desktop-alt"
    },
    {
    "window_class": "kmymoney",
    "fa_icon": "euro-sign"
    },
    {
    "window_class": "inkscape",
    "fa_icon": "bezier-curve"
    },
    {
    "window_class": "gimp-2.10",
    "fa_icon": "camera-retro"
    },
    {
    "window_class": "rocketleague",
    "fa_icon": "rocket"
    },
    {
    "window_class": "transmission-gtk",
    "fa_icon": "share-alt-square"
    },
    {
    "window_class": "digikam",
    "fa_icon": "camera-retro"
    },
    {
    "window_class": "darktable",
    "fa_icon": "camera-alt"
    },
    {
    "window_class": "libreoffice-calc",
    "fa_icon": "file-spreadsheet"
    },
    {
    "window_class": "slack",
    "fa_icon": "slack"
    },
    {
    "window_class": "virt-manager",
    "fa_icon": "monitor-heart-rate"
    },
    {
    "window_class": "virtualbox manager",
    "fa_icon": "box"
    },
    {
    "window_class": "tor browser",
    "fa_icon": "skull-crossbones"
    },
    {
    "window_class": "Google-chrome",
    "window_instance": "www.brilliant.org",
    "fa_icon": "lightbulb-on"
    },
    {
    "window_class": "Google-chrome",
    "window_instance": "app.n26.com",
    "fa_icon": "piggy-bank"
    },
    {
    "window_class": "Google-chrome",
    "window_instance": "scrigno.popso.it",
    "fa_icon": "piggy-bank"
    },
    {
    "window_class": "Google-chrome",
    "window_instance": "www.reddit.com",
    "fa_icon": "reddit"
    },
    {
    "window_class": "Google-chrome",
    "window_instance": "gitlab.4sigma.it",
    "fa_icon": "gitlab"
    },
    {
    "window_class": "Google-chrome",
    "window_instance": "github.com",
    "fa_icon": "github-alt"
    },
    {
    "window_class": "Google-chrome",
    "window_instance": "mail.google.com",
    "fa_icon": "inbox-in"
    },
    {
    "window_class": "Google-chrome",
    "window_instance": "www.youtube.com",
    "fa_icon": "youtube"
    },
    {
    "window_class": "Google-chrome",
    "window_instance": "open.spotify.com",
    "fa_icon": "spotify"
    },
    {
    "window_class": "Gnome-control-center",
    "fa_icon": "cogs"
    },
    {
    "window_class": "Google-chrome",
    "window_instance": "drive.google.com",
    "fa_icon": "google-drive"
    },
    {
    "window_class": "Shotcut",
    "fa_icon": "film-alt"
    },
    {
    "window_class": "Syncthing GTK",
    "fa_icon": "sync"
    },
    {
    "window_class": "Google-chrome",
    "window_instance": "crx_pofekaindcmmojfnfgbpklepkjfilcep",
    "fa_icon": "youtube"
    }
    ]
    92 changes: 92 additions & 0 deletions config_py3status
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,92 @@
    general {
    colors = true
    interval = 5
    color_good = "#39B258"
    color_degraded = "#CC9246"
    color_bad = "#9B51FF"
    color_separator = "#C5C8C6"
    separator = "|"
    output_format = "i3bar"
    }

    order += spotify
    order += "disk /"
    order += "disk /home"
    order += "wireless _first_"
    order += "whatismyip"
    order += "vpn_status"
    order += "path_exists PostgreSQL"
    order += "path_exists docker"
    order += "sysdata"
    order += "clock"
    order += "volume master"

    spotify {
    nagbar_font = 'pango:Hack 13'
    cache_timeout = 1
    format = ' {artist} — {title}'
    format_down = ''
    button_next = 3
    button_play_pause = 1
    }

    disk "/" {
    prefix_type = "binary"
    threshold_type = "percentage_free"
    low_threshold = 15
    format = " %percentage_used"
    }

    disk "/home" {
    prefix_type = "binary"
    threshold_type = "percentage_free"
    low_threshold = 15
    format = " %percentage_used"
    }

    wireless _first_ {
    format_up = " (%quality %essid)"
    format_down = ""
    }

    whatismyip {
    format = ' {ip}'
    expected = {"country":"Italy"}
    icon_on = ''
    icon_off = ''
    mode = 'status'
    }

    vpn_status {
    format = ': {name}|'
    }

    path_exists PostgreSQL {
    path = "/run/postgresql/.s.PGSQL.5432.lock"
    format = ""
    format_down = ""
    }

    path_exists docker {
    path = "/run/docker.pid"
    format = ""
    format_down = ""
    }

    load {
    format = "%1min"
    }

    sysdata {
    format = "[\?color=cpu  {load1}] [\?color=cpu  {cpu_usage}%]"
    }

    clock {
    format_time = "\?color=#de935f  %d/%m/%Y  %H:%M"
    }

    volume master {
    format = "♪: %volume"
    format_muted = "♪: muted (%volume)"
    device = "default"
    }
    27 changes: 27 additions & 0 deletions i3config
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,27 @@
    exec --no-startup-id i3-ws-rename -c ~/.config/i3/app-icons.json -d

    bar {
    status_command py3status -c ~/.config/i3status/config_py3status
    i3bar_command i3bar -t
    mode dock
    position top
    separator_symbol "❚"
    binding_mode_indicator yes

    font pango:Hack, Font Awesome 5 Pro 13

    colors {
    # WAL PALETTE ##########################################################
    background $bg
    separator $fg
    statusline $fg

    # State Border BG Text
    focused_workspace $fg $bg $fg
    active_workspace $fg $bg $fg
    inactive_workspace $bg $bg $fg
    urgent_workspace $fg $bg $fg
    binding_mode $fg $bg $fg
    ########################################################################
    }
    }