mirror of
https://github.com/FAUSheppy/config
synced 2025-12-06 23:21:34 +01:00
lalalaallal
This commit is contained in:
@@ -6,10 +6,14 @@ import os
|
||||
import subprocess
|
||||
import shlex
|
||||
import re
|
||||
import socket
|
||||
from hl_constants import *
|
||||
|
||||
def hlpath(addition=""):
|
||||
return os.path.join(os.path.expanduser("~"),".config/herbstluftwm/"+addition)
|
||||
def hlpath(addition="",use_hostname=True):
|
||||
host=""
|
||||
if use_hostname:
|
||||
host=socket.gethostname()+"_"
|
||||
return os.path.join(os.path.expanduser("~"),".config/herbstluftwm/"+host+addition)
|
||||
|
||||
def color_remove(s):
|
||||
'''removes colorcodes from inputstring'''
|
||||
|
||||
Reference in New Issue
Block a user