Skip to content

Commit

Permalink
Add github url to all files
Browse files Browse the repository at this point in the history
  • Loading branch information
justbuchanan committed Aug 8, 2018
1 parent 7570a3e commit b619793
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 14 deletions.
4 changes: 3 additions & 1 deletion autoname_workspaces.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env python3

#
# github.com/justbuchanan/i3scripts
#
# This script listens for i3 events and updates workspace names to show icons
# for running programs. It contains icons for a few programs, but more can
# easily be added by adding them to WINDOW_ICONS below.
Expand Down
18 changes: 10 additions & 8 deletions i3splat.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
import subprocess
import os
import json
import time
import shlex
import sys

# github.com/justbuchanan/i3scripts/i3splat.py
#!/usr/bin/env python3
#
# github.com/justbuchanan/i3scripts
#
# This module provides a compact way to specify layouts for i3wm and launch the
# corresponding programs. Create a Workspace object with the containers and apps
Expand Down Expand Up @@ -41,6 +36,13 @@
# * This module provides functions for a few common apps, but you will likely
# want to add your own. See the ones at the bottom of this file as examples.

import subprocess
import os
import json
import time
import shlex
import sys


class Node:
def __init__(self):
Expand Down
2 changes: 2 additions & 0 deletions new_workspace.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/usr/bin/env python3
#
# github.com/justbuchanan/i3scripts

import i3ipc
import argparse
Expand Down
4 changes: 2 additions & 2 deletions rename_workspace.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3

# https://github.com/justbuchanan/i3scripts
#
# github.com/justbuchanan/i3scripts
#
# This script is used to dynamically rename workspaces in i3. When run, it
# presents a text field popup using zenity, in which you can type a new name for
Expand Down
5 changes: 2 additions & 3 deletions util.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# github.com/justbuchanan/i3scripts

import re
import logging
import subprocess as proc

# https://github.com/justbuchanan/i3scripts


def focused_workspace(i3):
return [w for w in i3.get_workspaces() if w.focused][0]

Expand Down

0 comments on commit b619793

Please sign in to comment.