This commit is contained in:
msnie
2024-02-03 11:58:42 +01:00
parent 17ca1c805f
commit 5b0b5f548c
706 changed files with 135245 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
.vscode
sprattle/node_modules
bitbot_v6-master/frontend/node_modules
bitbot_v6-master/backend/node_modules
test/node_modules
+2
View File
@@ -0,0 +1,2 @@
DOMAIN_NAME=knast.cc
DEFAULT_NETWORK=traefik
+105
View File
@@ -0,0 +1,105 @@
# Copyright 2020 Wayback Archiver. All rights reserved.
# Use of this source code is governed by the GNU GPL v3
# license that can be found in the LICENSE file.
#
# syntax=docker/dockerfile:1.2
ARG GO_VERSION=1.20
FROM --platform=$BUILDPLATFORM golang:${GO_VERSION}-alpine AS builder
COPY --from=tonistiigi/xx:golang / /
RUN apk add --no-cache -U build-base ca-certificates linux-headers musl-dev git tar
ARG TARGETPLATFORM
ARG WAYBACK_IPFS_APIKEY
WORKDIR /src
ENV WAYBACK_IPFS_APIKEY ${WAYBACK_IPFS_APIKEY}
COPY . .
RUN --mount=type=bind,target=/src,rw \
--mount=type=cache,target=/root/.cache/go-build \
--mount=type=cache,target=/go/pkg/mod \
sh ./build/binary.sh $TARGETPLATFORM \
&& rm -rf .build/binary/wayback-* \
&& mv ./build/binary/wayback-* /wayback
# Application layer
FROM alpine:3.17
LABEL org.wabarc.homepage="http://github.com/wabarc" \
org.wabarc.repository="http://github.com/wabarc/wayback" \
org.opencontainers.image.title=wayback \
org.opencontainers.image.description="A toolkit for snapshot webpage to Internet Archive, archive.today, IPFS and beyond" \
org.opencontainers.image.url=https://wabarc.eu.org \
org.opencontainers.image.licenses=GPLv3 \
org.opencontainers.image.source="https://github.com/wabarc/wayback"
ARG TOR_EXCLUDE_NODE="{cn},{hk},{mo},{sg},{th},{pk},{by},{ru},{ir},{sy},{vn},{ph},{my},{cu}"
ARG TOR_EXCLUDE_EXIT_NODE="{cn},{hk},{mo},{sg},{kp},{th},{pk},{by},{ru},{ir},{sy},{vn},{ph},{my},{cu},{au},{ca},{nz},{gb},{us},{fr},{dk},{nl},{no},{be},{de},{it},{es}"
ENV BASE_DIR /wayback
ENV PUSER wayback
ENV PGROUP wayback
ENV LANG en_US.UTF-8
ENV LC_ALL en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
WORKDIR $BASE_DIR
RUN set -o pipefail; \
addgroup --system "${PGROUP}"; \
adduser --system --no-create-home --disabled-password \
--gecos '' --home "${BASE_DIR}" --ingroup "${PGROUP}" "${PUSER}"; \
chown -R "${PUSER}:${PGROUP}" "${BASE_DIR}"; \
chmod -R g+w "${BASE_DIR}"
COPY --from=builder /wayback /usr/local/bin
RUN set -o pipefail; \
apk add --no-cache -U ca-certificates libressl wget tor; \
rm -rf /var/cache/apk/*; \
\
cp /etc/tor/torrc.sample /etc/tor/torrc; \
#echo "ExcludeNodes ${TOR_EXCLUDE_NODE}" >> /etc/tor/torrc; \
#echo "ExcludeExitNodes ${TOR_EXCLUDE_EXIT_NODE}" >> /etc/tor/torrc; \
#echo 'StrictNodes 1' >> /etc/tor/torrc; \
echo 'SocksPort 9050' >> /etc/tor/torrc; \
echo 'ExitRelay 0' >> /etc/tor/torrc; \
echo 'LongLivedPorts 8964' >> /etc/tor/torrc; \
echo 'User tor' >> /etc/tor/torrc; \
chown tor:nogroup /var/lib/tor/ /var/log/tor/; \
chmod 700 /var/lib/tor
EXPOSE 8964
# Trigger on downstream build, only support for docker,
# add flag `--format=docker` if using podman.
# Ref: https://wiki.alpinelinux.org/wiki/Fonts
ONBUILD RUN set -o pipefail; \
apk add --no-cache -U \
chromium \
dbus \
dumb-init \
ffmpeg \
freetype \
libstdc++ \
harfbuzz \
nss \
you-get \
rtmpdump \
youtube-dl \
libwebp-tools \
ttf-freefont \
ttf-font-awesome \
font-noto \
font-noto-arabic \
font-noto-emoji \
font-noto-cjk \
font-noto-extra \
font-noto-lao \
font-noto-myanmar \
font-noto-thai \
font-noto-tibetan; \
rm -rf /var/cache/apk/* /tmp/* /var/tmp/*
+231
View File
@@ -0,0 +1,231 @@
version: "3"
services:
browser:
image: chromedp/headless-shell
ports:
- 9222:9222
networks:
- back-tier
volumes:
- /dev/shm:/dev/shm
restart: unless-stopped
hostname: browser
meilisearch:
image: getmeili/meilisearch:v1.1.0
ports:
- 7700:7700
networks:
- back-tier
volumes:
- storage:/meili_data
restart: unless-stopped
hostname: meilisearch
environment:
- MEILI_NO_ANALYTICS=true
- MEILI_HTTP_ADDR=0.0.0.0:7700
- MEILI_ENV=production
wayback:
image: wabarc/wayback
ports:
- 8964:8964
networks:
- back-tier
volumes:
- storage:/data
depends_on:
- browser
- meilisearch
environment:
- WAYBACK_STORAGE_DIR=/data
- CHROME_REMOTE_ADDR=browser:9222
- WAYBACK_MEILI_ENDPOINT=http://meilisearch:7700
- PLAYBACK_MEILI_ENDPOINT=http://meilisearch:7700
command: wayback -d web
restart: unless-stopped
build: ./
networks:
back-tier:
volumes:
storage:
driver: local
# # Usage:
# # docker compose run archivebox init --setup
# # docker compose up
# # echo "https://example.com" | docker compose run archivebox archivebox add
# # docker compose run archivebox add --depth=1 https://example.com/some/feed.rss
# # docker compose run archivebox config --set MEDIA_MAX_SIZE=750m
# # docker compose run archivebox help
# # Documentation:
# # https://github.com/ArchiveBox/ArchiveBox/wiki/Docker#docker-compose
# version: '3.9'
# services:
# archivebox:
# #image: ${DOCKER_IMAGE:-archivebox/archivebox:dev}
# image: archivebox/archivebox:dev
# command: server --quick-init 0.0.0.0:8000
# # ports:
# # - 8765:8000
# volumes:
# - /srv/archive_box/data:/data
# # - ./etc/crontabs:/var/spool/cron/crontabs # uncomment this and archivebox_scheduler below to set up automatic recurring archive jobs
# # - ./archivebox:/app/archivebox # uncomment this to mount the ArchiveBox source code at runtime (for developers working on archivebox)
# # build: . # uncomment this to build the image from source code at buildtime (for developers working on archivebox)
# environment:
# - ALLOWED_HOSTS=* # restrict this to only accept incoming traffic via specific domain name
# - PUBLIC_INDEX=False # set to False to prevent anonymous users from viewing snapshot list
# - PUBLIC_SNAPSHOTS=False # set to False to prevent anonymous users from viewing snapshot content
# - PUBLIC_ADD_VIEW=False # set to True to allow anonymous users to submit new URLs to archive
# # - ADMIN_USERNAME=admin # create an admin user on first run with the given user/pass combo
# # - ADMIN_PASSWORD=SomeSecretPassword
# # - PUID=911 # set to your host user's UID & GID if you encounter permissions issues
# # - PGID=911
# # - SEARCH_BACKEND_ENGINE=sonic # uncomment these and sonic container below for better full-text search
# # - SEARCH_BACKEND_HOST_NAME=sonic
# # - SEARCH_BACKEND_PASSWORD=SomeSecretPassword
# - MEDIA_MAX_SIZE=750m # increase this filesize limit to allow archiving larger audio/video files
# # - TIMEOUT=60 # increase this number to 120+ seconds if you see many slow downloads timing out
# # - CHECK_SSL_VALIDITY=True # set to False to disable strict SSL checking (allows saving URLs w/ broken certs)
# - SAVE_ARCHIVE_DOT_ORG=True # set to False to disable submitting all URLs to Archive.org when archiving
# labels:
# - "traefik.enable=true"
# - "traefik.http.routers.archive.entrypoints=websecure"
# - "traefik.http.routers.archive.rule=Host(`archive.$DOMAIN_NAME`)"
# - "traefik.http.routers.archive.tls.certresolver=letsencr"
# - "traefik.http.services.archive.loadbalancer.server.port=8000"
# restart: unless-stopped
# # ...
# # add further configuration options from archivebox/config.py as needed (to apply them only to this container)
# # or set using `docker compose run archivebox config --set SOME_KEY=someval` (to persist config across all containers)
# # For ad-blocking during archiving, uncomment this section and pihole service section below
# # networks:
# # - dns
# # dns:
# # - 172.20.0.53
# ######## Optional Addons: tweak examples below as needed for your specific use case ########
# ### Example: To run the Sonic full-text search backend, first download the config file to sonic.cfg
# # $ curl -O https://raw.githubusercontent.com/ArchiveBox/ArchiveBox/master/etc/sonic.cfg
# # After starting, backfill any existing Snapshots into the full-text index:
# # $ docker-compose run archivebox update --index-only
# # sonic:
# # image: valeriansaliou/sonic:latest
# # expose:
# # - 1491
# # environment:
# # - SEARCH_BACKEND_PASSWORD=SomeSecretPassword
# # volumes:
# # - ./sonic.cfg:/etc/sonic.cfg:ro
# # - ./data/sonic:/var/lib/sonic/store
# ### Example: To run pihole in order to block ad/tracker requests during archiving,
# # uncomment this block and set up pihole using its admin interface
# # pihole:
# # image: pihole/pihole:latest
# # ports:
# # - 127.0.0.1:8090:80 # uncomment to access the admin HTTP interface on http://localhost:8090
# # environment:
# # - WEBPASSWORD=SET_THIS_TO_SOME_SECRET_PASSWORD_FOR_ADMIN_DASHBOARD
# # - DNSMASQ_LISTENING=all
# # dns:
# # - 127.0.0.1
# # - 1.1.1.1
# # networks:
# # dns:
# # ipv4_address: 172.20.0.53
# # volumes:
# # - ./etc/pihole:/etc/pihole
# # - ./etc/dnsmasq:/etc/dnsmasq.d
# ### Example: Enable ability to run regularly scheduled archiving tasks by uncommenting this container
# # $ docker compose run archivebox schedule --every=day --depth=1 'https://example.com/some/rss/feed.xml'
# # then restart the scheduler container to apply the changes to the schedule
# # $ docker compose restart archivebox_scheduler
# # archivebox_scheduler:
# # image: ${DOCKER_IMAGE:-archivebox/archivebox:dev}
# # command: schedule --foreground
# # environment:
# # - MEDIA_MAX_SIZE=750m # increase this number to allow archiving larger audio/video files
# # # - TIMEOUT=60 # increase if you see timeouts often during archiving / on slow networks
# # # - ONLY_NEW=True # set to False to retry previously failed URLs when re-adding instead of skipping them
# # # - CHECK_SSL_VALIDITY=True # set to False to allow saving URLs w/ broken SSL certs
# # # - SAVE_ARCHIVE_DOT_ORG=True # set to False to disable submitting URLs to Archive.org when archiving
# # # - PUID=502 # set to your host user's UID & GID if you encounter permissions issues
# # # - PGID=20
# # volumes:
# # - ./data:/data
# # - ./etc/crontabs:/var/spool/cron/crontabs
# # # cpus: 2 # uncomment / edit these values to limit container resource consumption
# # # mem_limit: 2048m
# # # shm_size: 1024m
# ### Example: Put Nginx in front of the ArchiveBox server for SSL termination
# # nginx:
# # image: nginx:alpine
# # ports:
# # - 443:443
# # - 80:80
# # volumes:
# # - ./etc/nginx.conf:/etc/nginx/nginx.conf
# # - ./data:/var/www
# ### Example: run all your ArchiveBox traffic through a WireGuard VPN tunnel
# # wireguard:
# # image: linuxserver/wireguard:latest
# # network_mode: 'service:archivebox'
# # cap_add:
# # - NET_ADMIN
# # - SYS_MODULE
# # sysctls:
# # - net.ipv4.conf.all.rp_filter=2
# # - net.ipv4.conf.all.src_valid_mark=1
# # volumes:
# # - /lib/modules:/lib/modules
# # - ./wireguard.conf:/config/wg0.conf:ro
# ### Example: Run PYWB in parallel and auto-import WARCs from ArchiveBox
# # pywb:
# # image: webrecorder/pywb:latest
# # entrypoint: /bin/sh -c '(wb-manager init default || test $$? -eq 2) && wb-manager add default /archivebox/archive/*/warc/*.warc.gz; wayback;'
# # environment:
# # - INIT_COLLECTION=archivebox
# # ports:
# # - 8080:8080
# # volumes:
# # - ./data:/archivebox
# # - ./data/wayback:/webarchive
# networks:
# traefik:
# external: true
# # networks:
# # # network needed for pihole container to offer :53 dns resolving on fixed ip for archivebox container
# # dns:
# # ipam:
# # driver: default
# # config:
# # - subnet: 172.20.0.0/24
+15
View File
@@ -0,0 +1,15 @@
version: "2.1"
services:
changedetection:
image: lscr.io/linuxserver/changedetection.io:latest
container_name: changedetection
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/London
- BASE_URL= #optional
volumes:
- /srv/changedetection/config:/config
ports:
- 5000:5000
restart: unless-stopped
+230
View File
@@ -0,0 +1,230 @@
###########
# EXPORTS #
###########
export GOPATH=~/go
export PATH="$PATH:$GOPATH/bin"
export PATH=~/opt/:$PATH
export PATH=$PATH:/usr/bin/node
export LV2_PATH=~/.lv2
#export NVM_DIR="$HOME/.nvm"
#[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
#[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
#echo "0" | sudo tee /sys/module/hid_apple/parameters/fnmode
###########
# ALIASES #
###########
alias fixit='echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p'
alias lll='ls -Alhtr' # sorts files in dir by date
alias cl='clear'
alias lz='lazygit'
alias reload-polybar='/home/null/Documents/scripts/docked_polybars.sh'
alias btn-light='echo 1 | sudo tee /sys/class/leds/tpacpi::kbd_backlight/brightness'
alias btn-light-off='echo 0 | sudo tee /sys/class/leds/tpacpi::kbd_backlight/brightness'
alias dc='docker-compose '
alias mi='micro '
alias nicer='python -m json.tool'
alias ccat='pygmentize -g -O style=colorful,linenos=1'
alias catline='pygmentize -g -O style=colorful,linenos=1'
alias xx='sudo systemctl start mariadb.service'
alias xxx='sudo systemctl stop mariadb.service'
alias zz='screen -dmS mongod mongod'
alias shh='sudo rmmod pcspkr'
alias cod='conda deactivate'
alias dock_load="sh /home/null/Documents/scripts/reconfig_to_docked.sh"
alias gwa-staging='git add . && git commit -m "new UI staging build" && git push'
alias gwa-production='git add . && git commit -m "new UI production build" && git push'
#############
# FUNCTIONS #
#############
function portkill { kill $(lsof -t -i:$1) }
function getport() { lsof -t -i:$1 }
function into() {
docker exec -it $1 /bin/bash
}
function intoo() {
docker exec -it $1 /bin/sh
}
function cmmt() {
git commit -m "$1"
}
function hist() {
history | grep $1
}
function gitter() {
git add . && git commit -m "$1" && git push
}
function gittag() {
git tag -a $1 -m 'version $1' && git push origin $1
}
function timezsh() {
shell=${1-$SHELL}
for i in $(seq 1 10); do /usr/bin/time $shell -i -c exit; done
}
########
# MISC #
########
# If you come from bash you might have to change your $PATH.
export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=/home/null/.oh-my-zsh
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
#ZSH_THEME="xiong-chiamiov"
#ZSH_THEME="crcandy"
ZSH_THEME="sonicradish"
# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"
# Uncomment the following line to use hyphen-insensitive completion. Case
# sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true"
# Uncomment the following line to disable bi-weekly auto-update checks.
# DISABLE_AUTO_UPDATE="true"
# Uncomment the following line to change how often to auto-update (in days).
# export UPDATE_ZSH_DAYS=13
# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"
# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"
# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"
# Uncomment the following line to display red dots whilst waiting for completion.
# COMPLETION_WAITING_DOTS="true"
# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="true"
# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.
# The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
HIST_STAMPS="yyyy-mm-dd"
# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
#plugins=(git docker node yarn sudo ng wd)
#
# P L U G I N S
#
plugins=(git sudo screen rsync docker docker-compose zsh-autosuggestions wd)
source $ZSH/oh-my-zsh.sh
# User configuration
# export MANPATH="/usr/local/man:$MANPATH"
# You may need to manually set your language environment
# export LANG=en_US.UTF-8
# Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
# export EDITOR='vim'
# else
# export EDITOR='mvim'
# fi
# Compilation flags
# export ARCHFLAGS="-arch x86_64"
# ssh
# export SSH_KEY_PATH="~/.ssh/rsa_id"
# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
#
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This
#loads nvm bash_completion
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
setxkbmap us
#autoload -U +X bashcompinit && bashcompinit
#complete -o nospace -C /usr/local/bin/bitcomplete bit
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/home/null/miniconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/home/null/miniconda3/etc/profile.d/conda.sh" ]; then
. "/home/null/miniconda3/etc/profile.d/conda.sh"
else
export PATH="/home/null/miniconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<
# Load Angular CLI autocompletion.
#source <(ng completion script)
+152
View File
@@ -0,0 +1,152 @@
#!/bin/sh
sxhkd &
#exec setxkbmap dk &
numlockx &
#volumeicon &
#light-locker-settings &
lxpolkit &
#autorandr &
bspc config border_width 1
bspc config window_gap 25
#bspc monitor -d I II III IV V VI VII VIII IX X
bspc monitor DP-2-3 -d DEV
bspc monitor DP-2-2 -d WEB TERM FILES RAND SOC MEDIA EXTR REMOTE
bspc monitor eDP-1 -d MORE
#bspc monitor DP2-3 -d LEFT
#bspc monitor eDP1 -d RIGHT
#xrandr --output VGA-1-1 --auto --left-of monitor
#sudo xrandr --output VGA-1 --mode 1050x1680 --rotate right --left-of LVDS-1 &
#i=1
#for monitor in $(bspc query -M); do
#bspc monitor $monitor \
# -n "$i" \
# -d {RIGHT}
# -d {DEV,WEB,TERM,FILES,RAND,MEDIA,SOC,EXTR,REMOTE}
# -d {LEFT}
# let i++
#done
#NMON=$i
#unset i
bspc config top_padding 15
# Visual options
bspc config split_ratio 0.50
bspc config borderless_monocle true
bspc config gapless_monocle true
bspc config focus_follows_pointer true
bspc config auto_alternate true
bspc config auto_cancel true
bspc config normal_border_color "#332d29"
bspc config active_border_color "#817267"
bspc config focused_border_color "#504339"
bspc config presel_border_color "#9a875f"
bspc config urgent_border_color "#9f7155"
bspc config focused_locked_border_color "#9a875f"
bspc config normal_frame_opacity 0.0
bspc config focused_frame_opacity 0.1
# Rules
bspc rule -a Skype pseudo_tiled=on
bspc rule -a rofi pseudo_tiled=on
bspc rule -a Infinit pseudo_tiled=on
bspc rule -a Spotify pseudo_tiled=on
bspc rule -a sun-awt-X11-XFramePeer pseudo_tiled=on
bspc rule -a Renoise pseudo_tiled=on
bspc rule -a Skype pseudo_tiled=on
bspc rule -a File-roller pseudo_tiled=on
bspc rule -a Transmission-gtk pseudo_tiled=on
bspc rule -a albert pseudo_tiled=on
bspc rule -a Conky sticky=on manage=off lower=on
bspc rule -a astime sticky=on
bspc rule -a feh floating=on manage=off
# panel &
compton &
radiotray-ng &
nm-applet &
lxappearance &
syncthing-gtk &
#setWMName "LG3D"
wmname LG3D
# xcompmgr &
picom --no-fading-openclose &
# run_keybase &
budgie-polkit-dialog &
#insync start &
#digitalocean-indicator &
#feh --bg-fill /home/null/Pictures/wallpapers/papers.co-mn32-forest-wood-fog-flare-nature-green-25-wallpaper.jpg &
#feh --bg-scale /home/null/Pictures/wallpapers/overflow.png
#feh --bg-center /home/null/Pictures/wallpapers/grass_fog_light_dark_background_49885_1920x1080.jpg &
#feh --bg-center /home/null/Pictures/wallpapers/fHFDkjY_copy.jpg
#feh --bg-scale /home/null/Pictures/wallpapers/papers.co-mo50-forest-green-nature-tree-jonas-nilsson-lee-25-wallpaper_deux.jpg &
#feh --bg-scale /home/null/Pictures/wallpapers/1g8pWTZ.jpg &
sleep 1
#sudo xrandr --output VGA-1 --mode 1680x1050 --left-of LVDS-1 &
autorandr dockered &
sleep 3
/home/null/Documents/scripts/reconfig_to_docked.sh
#/usr/bin/polybar bar -c ~/.config/polybar/config &
#sleep 1
#polybar main -c /home/null/.config/polybar/config.left.ini &
#sleep 1
#polybar main -c /home/null/.config/polybar/config.teal.right &
# polybar bar -c ~/.config/polybar/config
#./home/null/.bin/panel/panel
#sleep 3
#screen -S rightpanel -dm /home/null/.bin/panel/dzen2_bar.sh &
#sleep 1
#screen -S tray -dm /home/null/.bin/panel/tray.sh &
#$HOME/.config/polybar/launch.sh
#lxsession &
sleep 1
#feh --bg-scale ~/Pictures/wallpapers/papers.co-mz92-green-moss-flower-nature-25-wallpaper.jpg &
#feh --bg-scale ~/Pictures/papers.co-nq09-earthview-wood-forest-nature-1920x1080.jpg &
# feh --bg-scale ~/Pictures/wallpapers/1989.png &
feh --bg-scale ~/Pictures/wallpapers/papers.co-ne30-truevine-dark-nature-green-flower-leaf-1920x1080.jpg
orage &
#feh --bg-scale /home/null/Pictures/circuit_tree_dark_orange.png &
sleep 1
pamac-tray &
caffeine &
/usr/bin/caffeine &
/usr/bin/sh /home/null/Documents/scripts/gitsync.sh &
+633
View File
@@ -0,0 +1,633 @@
;###################################################################
;
;
; - uNd0xR polybar config -
;
;
;###################################################################
;----------------------------------------------------------
; C O L O R S
;----------------------------------------------------------
[colors]
background = #222
background-alt = #444
foreground = #dfdfdf
foreground-alt = #cbcbcb
primary = #ffb52a
secondary = #e60053
alert = #bd2c40
;----------------------------------------------------------
; G L O B A L
;----------------------------------------------------------
[global/wm]
margin-top = 0
margin-bottom = 2
[bar/bar]
monitor = ${env:MONITOR:DP-2-2}
width = 100%
height = 22
offset-x = 0
offset-y = 0
;dock = true
;background = ${xrdb:color9}
background = ${colors.background}
foreground = ${colors.foreground}
overline-size = 1
overline-color = #f00
underline-size = 1
underline-color = #00f
border-bottom-size = 1
border-bottom-color = #333
border-color-foreground = #FFFFFF
spacing = 0
padding-left = 0
padding-right = 1
module-margin-left = 0
module-margin-right = 1
;----------------------------------------------------------
; F O N T S
;----------------------------------------------------------
;font-0 = Terminus:size=12;0
font-0 = Terminus:size=12;0
;font-0 = Roboto:pixelsize=14;0
font-1 = Roboto:size=11:weight=bold
font-2 = -*-gohufont-medium-*-*-*-11-*-*-*-*-*-*-*
font-3 = FontAwesome:size=8;0
font-4 = PowerlineSymbols:size=9;0
font-5 = siji:pixelsize=10;0
font-6 = GohuFont:pixelsize=14:weight=bold
;----------------------------------------------------------
; M A I N M O D U L E L A Y O U T
;----------------------------------------------------------
;modules-left = bspwm quickmenu menu
modules-left = bspwm powermenu menu
modules-center = xwindow
modules-right = volume memory battery temperature date
;----------------------------------------------------------
; M E N U
;----------------------------------------------------------
[module/menu]
type = custom/text
content = "  "
content-foreground = #f57900
;label-open = " "
;label-open-foreground = #85e178
;alt-icon =
content-padding = 1
;content-background = ${color.acolor}
;content-foreground = ${color.fg}
click-left = $HOME/.config/polybar/scripts/menu
;click-middle = $HOME/.config/polybar/scripts/menu_full
click-right = $HOME/.config/polybar/scripts/menu
;/home/null/.config/polybar/scripts/menu
;----------------------------------------------------------
; T R A Y
;----------------------------------------------------------
;tray-position = center
;cursor-click = pointer
tray-position = center
tray-padding = 10
tray-offset-x = 21%
;tray-transparent = false
;tray-background = #0063ff
;enable-ipc = true
wm-restack = bspwm
;tray-scale = 1.0
;override-redirect = true
;dpi-x = 96
;dpi-y = 96
;scroll-up = bspwm-desknext
;scroll-down = bspwm-deskprev
;----------------------------------------------------------
; X W I N D O W
;----------------------------------------------------------
[module/xwindow]
type = internal/xwindow
label = - %title:0:30:...%
format-padding = 2
label-padding-left = 2
label-padding-right = 2
label-background = #1d1f1d
;----------------------------------------------------------
; X K E Y B O A R D
;----------------------------------------------------------
[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock
format-underline = ${colors.secondary}
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
label-layout = %layout%
label-indicator-padding = 2
label-indicator-background = ${colors.secondary}
label-indicator-underline = ${colors.secondary}
;----------------------------------------------------------
; F I L E S Y S T E M
;----------------------------------------------------------
[module/filesystem]
type = internal/fs
interval = 25
mount-0 = /home
;mount-1 = /home
;mount-2 = /invalid/mountpoint
format-mounted-prefix = "/HOME:"
format-mounted-foreground = #FFFFFF
;format-mounted-overline = #73d216
label-mounted = %percentage_used%
label-mounted-padding = 1
;label-mounted-underline= #73d216
;label-mounted-overline= #73d216
label-unmounted = %mountpoint%: not mounted
label-unmounted-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; B S P W M M O D U L E
;----------------------------------------------------------
[module/bspwm]
type = internal/bspwm
; Only show workspaces defined on the same output as the bar
pin-workspaces = true
; Create click handler used to focus workspace
; Default: true
enable-click = true
; Create scroll handlers used to cycle workspaces
; Default: true
enable-scroll = true
; Set the scroll cycle direction
; Default: true
reverse-scroll = false
label-focused = %name%
label-focused-background = #3d3e3b
;label-focused-underline= ${colors.primary}
;label-focused-overline= ${colors.primary}
label-focused-foreground = #8ae234
label-focused-padding = 2
label-occupied = %name%
label-occupied-padding = 2
label-occupied-foreground = #e89a4e
label-urgent = %name%!
label-urgent-background = ${colors.alert}
label-urgent-padding = 2
label-empty = %name%
label-empty-foreground = ${colors.foreground-alt}
label-empty-padding = 2
;----------------------------------------------------------
; M P D
;----------------------------------------------------------
[module/mpd]
type = internal/mpd
format-online = <label-song> <icon-prev> <icon-seekb> <icon-stop> <toggle> <icon-seekf> <icon-next> <icon-repeat> <icon-random>
label-song-maxlen = 25
label-song-ellipsis = true
icon-prev = <
icon-seekb = «
icon-stop = <>
icon-play = |>
icon-pause = ll
icon-next = >
icon-seekf = »
icon-random = ½
icon-repeat = O
toggle-on-foreground = ${colors.primary}
toggle-off-foreground = #66
;----------------------------------------------------------
; B A C K L I G H T
;----------------------------------------------------------
[module/backlight]
type = internal/light
format = <label> <bar>
label = BL
bar-width = 10
bar-indicator = │
bar-indicator-foreground = #ff
bar-indicator-font = 2
bar-fill = ─
bar-fill-font = 2
bar-fill-foreground = #9f78e1
bar-empty = ─
bar-empty-font = 2
bar-empty-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; C P U
;----------------------------------------------------------
[module/cpu]
type = internal/cpu
interval = 2
;format-prefix = " "
format-prefix = " CPU"
;format-prefix-underline = #edd400
;format-prefix-overline = #edd400
format-prefix-foreground = #FFFFFF
format-prefix-background = #222
format-suffix-foreground = #c98080
;label-underline = #edd400
;label-overline = #edd400
label = %percentage%
label-background = #222
label-foreground = #FFFFFF
label-padding = 1
;----------------------------------------------------------
; M E M O R Y
;----------------------------------------------------------
[module/memory]
type = internal/memory
interval = 2
;format-prefix = " "
format-prefix = " RAM:"
format-suffix = "% "
format-prefix-background = #222
format-prefix-foreground = #FFFFFF
;format-prefix-underline = #f57900
;format-prefix-overline = #f57900
format-margin-top = -5
format-suffix-height = 100%
format-suffix-foreground = #FFFFFF
label-background = #222
;format-underline = #475753
label = %percentage_used%
label-foreground = #FFFFFF
label-padding = 1
;label-underline = #f57900
;label-overline = #f57900
;----------------------------------------------------------
; T E X T M O D U L E S
;----------------------------------------------------------
[module/arrow]
type = custom/text
content = ""
content-background = #222
;content-background = #55aa55
content-foreground = #222
content-padding = 0
[module/bluelike]
type = custom/text
content = ""
;content-background = #2e3436
content-background = #58ffef
content-foreground = #555753
content-padding = 0
;----------------------------------------------------------
; W L A N
;----------------------------------------------------------
[module/wlan]
type = internal/network
interface = wlp3s0
interval = 3.0
format-connected-prefix = " "
format-connected-suffix = " "
format-connected-background = #222
format-connected-foreground = #FFFFFF
format-prefix-foreground = #FFFFFF
format-connected = <ramp-signal> <label-connected>
;format-connected-underline = #495858
;format-disconnected-underline = ${self.format-connected-underline}
;format-connected-underline = #37b7a0
;format-connected-overline = #37b7a0
label-connected-padding = 1
label-connected = %signal%
label-connected-foreground = #FFFFFF
label-disconnected = %ifname% disconnected
label-disconnected-foreground = ${colors.foreground-alt}
ramp-signal-0 = +
;ramp-signal-1 = 
;ramp-signal-2 = 
;ramp-signal-3 = 
;ramp-signal-4 = 
ramp-signal-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; E T H E R N E T
;----------------------------------------------------------
[module/eth]
type = internal/network
interface = enp4s0
interval = 3.0
format-connected-underline = #55aa55
format-connected-prefix = " "
format-connected-foreground-foreground = ${colors.foreground-alt}
label-connected = %local_ip%
format-disconnected-underline = ${self.format-connected-underline}
label-disconnected = %ifname% disconnected
label-disconnected-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; T I M E
;----------------------------------------------------------
[module/date]
type = internal/date
interval = 5
date =
date-alt = " %Y-%m-%d "
time-foreground-font = 1
time = %H:%M
time-alt = %H:%M:%S
;format-prefix = " "
format-prefix-foreground = #FFFFFF
;format-overline = #0a6cf5
label = %date% %time%
label-font = 1
;----------------------------------------------------------
; V O L U M E
;----------------------------------------------------------
[module/volume]
type = internal/alsa
format-volume = <label-volume> <bar-volume>
;format-volume = <bar-volume>
label-volume = VOL
label-volume-foreground = #FFFFFF
label-volume-background = #222
;label-volume-underline= #58ffef
;label-volume-overline= #58ffef
format-muted-prefix = " "
format-muted-suffix = " "
format-muted-foreground = #000000
format-muted-background = #ff8c8c
label-muted = MUTE
label-volume-padding = 1
;bar-volume-padding = 1
bar-volume-width = 10
,bar-volume-background = #495858
bar-volume-foreground-0 = #55aa55
bar-volume-foreground-1 = #55aa55
bar-volume-foreground-2 = #55aa55
bar-volume-foreground-3 = #55aa55
bar-volume-foreground-4 = #55aa55
bar-volume-foreground-5 = #f5a70a
bar-volume-foreground-6 = #ff5555
bar-volume-gradient = true
bar-volume-indicator = "|"
bar-volume-indicator-font = 1
bar-volume-indicator-foreground = #95d595
bar-volume-indicator-background = #222
bar-volume-fill-background = #222
bar-volume-fill = ─
bar-volume-fill-font = 5
bar-volume-empty-background = #222
bar-volume-empty-padding = 1
bar-volume-empty = ─
bar-volume-empty-font = 5
bar-volume-empty-foreground = ${colors.foreground-alt}
;bar-volume-indicator-underline= #58ffef
;bar-volume-indicator-overline= #58ffef
;bar-volume-fill-underline= #58ffef
;bar-volume-fill-overline= #58ffef
;bar-volume-empty-underline= #58ffef
;bar-volume-empty-overline= #58ffef
;----------------------------------------------------------
; B A T T E R Y
;----------------------------------------------------------
[module/battery]
type = internal/battery
battery = BAT0
adapter = AC0
full-at = 98
format-charging = <animation-charging> <label-charging>
;format-charging-underline = #4e5942
;ormat-charging-background = #4e5942
format-discharging = <ramp-capacity> <label-discharging>
;format-discharging-underline = #7ab737
;format-discharging-overline = #7ab737
format-full-prefix = " "
;format-full-prefix-foreground = #8ae234
format-full-suffix = " "
format-charging-suffix = " "
format-charging-prefix = " "
format-charging-prefix-foreground = #FFFFFF
;format-charging-suffix-background = #222
;format-charging-background = #4e5942
format-discharging-prefix = " "
format-discharging-prefix-foreground = #FFFFFF
format-discharging-suffix-background = #222
format-discharging-background = #222
format-discharging-padding = 1
format-full-prefix-foreground = #8ae234
format-full-prefix-background = #222
format-full-suffix-background = #222
format-full-background = #222
;format-full-underline = ${self.format-charging-underline}
;format-full-overline = ${self.format-charging-underline}
label-padding = 1
label-full-background = #222
ramp-capacity-0 =
ramp-capacity-1 =
ramp-capacity-2 =
ramp-capacity-foreground = ${colors.foreground-alt}
animation-charging-0 =
animation-charging-1 =
animation-charging-2 =
animation-charging-foreground = ${colors.foreground-alt}
animation-charging-framerate = 750
;----------------------------------------------------------
; T E M P
;----------------------------------------------------------
[module/temperature]
type = internal/temperature
thermal-zone = 0
warn-temperature = 82
format-prefix = "  "
format-prefix-foreground = #FFFFFF
format-prefix-background = #222
format = <ramp> <label>
;format-underline = #c17d11
;format-overline = #c17d11
format-warn = <ramp> <label-warn>
;format-warn-underline = ${self.format-underline}
label = %temperature-c%
label-background = #222
label-warn = %temperature-c%
label-foreground = #FFFFFF
label-warn-foreground = ${colors.secondary}
label-padding = 1
ramp-0 =
ramp-1 =
ramp-2 =
ramp-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; P O W E R M E N U
;----------------------------------------------------------
[module/powermenu]
type = custom/menu
label-open = " o "
label-open-foreground = #FFFFFF
;label-open-overline = #ef2929
label-close = " cancel "
label-close-foreground = #fc4444
label-separator = |
label-separator-foreground = ${colors.foreground-alt}
menu-0-0 = reboot
menu-0-0-exec = menu-open-1
menu-0-1 = power off
menu-0-1-exec = menu-open-2
menu-1-0 = cancel
menu-1-0-exec = menu-open-0
menu-1-1 = reboot
menu-1-1-exec = sudo reboot
menu-2-0 = power off
menu-2-0-exec = sudo poweroff
menu-2-1 = cancel
menu-2-1-exec = menu-open-0
;----------------------------------------------------------
; M E N U
;----------------------------------------------------------
;----------------------------------------------------------
; Q U I C K M E N U
;----------------------------------------------------------
[module/quickmenu]
type = custom/menu
label-padding-left = 2
label-padding-right = 2
label-open = "  "
label-open-foreground = #85e178
label-close = " cancel "
label-close-foreground = #fc4444
label-separator = |
label-separator-foreground = ${colors.foreground-alt}
menu-0-0 = " term "
menu-0-0-exec = mate-terminal &
menu-0-1 = " files "
menu-0-1-exec = pcmanfm &
menu-0-2 = " text "
menu-0-2-exec = gedit &
menu-0-3 = " cal "
menu-0-3-exec = gnome-calendar &
menu-1-0 = cancel
menu-1-0-exec = menu-open-0
; vim:ft=dosini
+486
View File
@@ -0,0 +1,486 @@
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;;
;; ____ __ __
;; / __ \____ / /_ __/ /_ ____ ______
;; / /_/ / __ \/ / / / / __ \/ __ `/ ___/
;; / ____/ /_/ / / /_/ / /_/ / /_/ / /
;; /_/ \____/_/\__, /_.___/\__,_/_/
;; /____/
;;
;; Created By Aditya Shakya @adi1090x
;;
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;; COLORS
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[color]
; Active Shade
shade1 = #B71C1C
shade2 = #C62828
shade3 = #D32F2F
shade4 = #E53935
shade5 = #EE413D
shade6 = #EF5350
shade7 = #E57373
shade8 = #EF9A9A
;; Active Colors
bground = #1D1F28
fground = #f7f7f7
;borderbg = #f7f7f7
accent = #E53935
modulefg = #f7f7f7
modulefg-alt = #f7f7f7
;; Other
trans = #00000000
white = #FFFFFF
black = #000000
;; Material Colors
red = #e53935
pink = #d81b60
purple = #8e24aa
deep-purple = #5e35b1
indigo = #3949ab
blue = #1e88e5
light-blue = #039be5
cyan = #00acc1
teal = #00897b
green = #43a047
light-green = #7cb342
lime = #c0ca33
yellow = #fdd835
amber = #ffb300
orange = #fb8c00
deep-orange = #f4511e
brown = #6d4c41
grey = #757575
blue-gray = #546e7a
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;; BAR
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[global/wm]
;margin-bottom = 0
;margin-top = 0
[bar/main]
;monitor =
monitor-fallback =
monitor-strict = false
override-redirect = false
monitor = DP-2-3
bottom = false
fixed-center = true
;width = 98%
;height = 22
;offset-x = 1%
;offset-y = 2%
width = 100%
height = 18
offset-x = 0%
offset-y = 0%
background = ${color.bground}
foreground = ${color.fground}
radius-top = 0.0
radius-bottom = 0.0
overline-size = 0
overline-color = ${color.accent}
;border-bottom-size = 2
;border-color = ${color.borderbg}
padding = 0
module-margin-left = 0
module-margin-right = 0
;font-0 = Terminus:size=12;0
font-0 = Terminus:size=10;0
;font-0 = Roboto:pixelsize=14;0
font-1 = Roboto:size=12:weight=bold
font-2 = -*-gohufont-medium-*-*-*-10-*-*-*-*-*-*-*
font-3 = FontAwesome:size=12;0
font-4 = PowerlineSymbols:size=11;0
font-5 = siji:pixelsize=10;0
font-6 = GohuFont:pixelsize=10:weight=bold
modules-left =
modules-center = powermenu
modules-right = right7 launcher right6 left1 right2 date
separator =
spacing = 0
dim-value = 1.0
wm-name =
locale =
tray-position = none
tray-detached = false
tray-maxsize = 16
tray-transparent = false
tray-background = ${color.bground}
tray-offset-x = 0
tray-offset-y = 0
tray-padding = 0
tray-scale = 1.0
enable-ipc = true
[settings]
throttle-output = 5
throttle-output-for = 10
throttle-input-for = 30
screenchange-reload = false
compositing-background = source
compositing-foreground = over
compositing-overline = over
compositing-underline = over
compositing-border = over
pseudo-transparency = false
[module/filesystem]
type = internal/fs
; Mountpoints to display
mount-0 = /
;mount-1 = /home/null
;mount-2 = /var
; Seconds to sleep between updates
; Default: 30
interval = 10
; Display fixed precision values
; Default: false
fixed-values = true
; Spacing between entries
; Default: 2
spacing = 4
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;; MODULES
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/left1]
type = custom/text
content-background = ${color.shade2}
content-foreground = ${color.shade1}
content = "%{T3}%{T-}"
[module/left2]
type = custom/text
content-background = ${color.bground}
content-foreground = ${color.shade2}
content = "%{T3}%{T-}"
#+++++++++++++++++++++++++++++++++++++++
[module/right1]
type = custom/text
content-background = ${color.shade2}
content-foreground = ${color.shade1}
content = "%{T3}%{T-}"
[module/right2]
type = custom/text
content-background = ${color.shade3}
content-foreground = ${color.shade2}
content = "%{T3}%{T-}"
[module/right3]
type = custom/text
content-background = ${color.shade4}
content-foreground = ${color.shade3}
content = "%{T3}%{T-}"
[module/right4]
type = custom/text
content-background = ${color.shade5}
content-foreground = ${color.shade4}
content = "%{T3}%{T-}"
[module/right5]
type = custom/text
content-background = ${color.shade6}
content-foreground = ${color.shade5}
content = "%{T3}%{T-}"
[module/right6]
type = custom/text
content-background = ${color.shade7}
content-foreground = ${color.shade6}
content = "%{T3}%{T-}"
[module/right7]
type = custom/text
content-background = ${color.bground}
content-foreground = ${color.shade7}
content = "%{T3}%{T-}"
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/launcher]
type = custom/text
content = -
content-background = ${color.shade1}
content-foreground = ${color.modulefg}
content-padding = 1
click-left = jgmenu_run
;click-left = dmenu_run -b -l 5 -p Search -fn "Misc Termsyn" -nb "#1D1F28" -nf "#f7f7f7" -sb "#1E88E5" -sf "#202020"
;click-left = rofi -show run -fullscreen True -lines 5 -line-margin 5 -padding 300 -bw 0
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/title]
type = internal/xwindow
format = <label>
format-background = ${color.shade2}
format-foreground = ${color.modulefg}
format-padding = 1
label = %title%
label-maxlen = 30
;;label-empty = Arch Linux
;;label-empty-foreground = #707880
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/workspaces]
type = internal/xworkspaces
pin-workspaces = true
enable-click = true
enable-scroll = true
label-active =
label-occupied =
label-urgent =
label-empty =
format = <label-state>
label-monitor = %name%
label-active-foreground = ${color.accent}
label-occupied-foreground = ${color.yellow}
label-urgent-foreground = ${color.red}
label-empty-foreground = ${color.modulefg-alt}
label-active-padding = 1
label-urgent-padding = 1
label-occupied-padding = 1
label-empty-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/alsa]
type = internal/alsa
format-volume = <ramp-volume> <label-volume>
format-volume-background = ${color.shade6}
format-volume-foreground = ${color.modulefg}
format-volume-padding = 1
label-volume = %percentage%%
format-muted-prefix =
label-muted = " Muted"
format-muted-background = ${color.shade6}
format-muted-foreground = ${color.modulefg}
format-muted-padding = 1
ramp-volume-0 =
ramp-volume-1 =
ramp-volume-2 =
ramp-volume-3 =
ramp-volume-4 =
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/backlight]
type = internal/xbacklight
card = intel_backlight
format = <ramp> <label>
format-background = ${color.shade4}
format-foreground = ${color.modulefg}
format-padding = 1
label = %percentage%%
ramp-0 =
ramp-1 =
ramp-2 =
ramp-3 =
ramp-4 =
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/battery]
type = internal/battery
full-at = 99
battery = BAT1
adapter = ACAD
poll-interval = 2
time-format = %H:%M
format-charging = <animation-charging> <label-charging>
format-charging-background = ${color.shade5}
format-charging-foreground = ${color.modulefg}
format-charging-padding = 1
format-discharging = <ramp-capacity> <label-discharging>
format-discharging-background = ${color.shade5}
format-discharging-foreground = ${color.modulefg}
format-discharging-padding = 1
label-charging = %percentage%%
label-discharging = %percentage%%
label-full = Fully Charged
label-full-background = ${color.shade5}
label-full-foreground = ${color.modulefg}
label-full-padding = 1
ramp-capacity-0 =
ramp-capacity-1 =
ramp-capacity-2 =
ramp-capacity-3 =
ramp-capacity-4 =
ramp-capacity-5 =
ramp-capacity-6 =
ramp-capacity-7 =
ramp-capacity-8 =
ramp-capacity-9 =
animation-charging-0 =
animation-charging-1 =
animation-charging-2 =
animation-charging-3 =
animation-charging-4 =
animation-charging-5 =
animation-charging-6 =
animation-charging-7 =
animation-charging-8 =
animation-charging-framerate = 750
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/date]
type = internal/date
interval = 1.0
time = %H:%M
time-alt = %H:%M:%S
format = <label>
format-background = ${color.shade2}
format-foreground = ${color.modulefg}
format-padding = 1
label = %time%
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/powermenu]
type = custom/menu
expand-right = true
menu-0-0 = reboot
menu-0-0-exec = menu-open-1
menu-0-1 = shutdown
menu-0-1-exec = menu-open-2
menu-1-0 = back
menu-1-0-exec = menu-open-0
menu-1-1 = reboot
menu-1-1-exec = systemctl reboot
menu-2-0 = shutdown
menu-2-0-exec = systemctl poweroff
menu-2-1 = back
menu-2-1-exec = menu-open-0
format-spacing = 1
format-background = ${color.shade1}
format-foreground = ${color.modulefg}
format-padding = 1
label-open = |||
label-close = cancel
label-separator = |
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/network]
type = internal/network
interface = wlp3s0
interval = 1.0
accumulate-stats = true
unknown-as-up = true
format-connected = <ramp-signal> <label-connected>
format-connected-background = ${color.shade3}
format-connected-foreground = ${color.modulefg}
format-connected-padding = 1
format-disconnected = <label-disconnected>
format-disconnected-background = ${color.shade3}
format-disconnected-foreground = ${color.modulefg}
format-disconnected-padding = 1
label-connected = "%essid%"
label-disconnected =  "Not Connected"
ramp-signal-0 =
ramp-signal-1 =
ramp-signal-2 =
ramp-signal-3 =
ramp-signal-4 =
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/colors]
type = custom/text
content =
content-background = ${color.shade7}
content-foreground = ${color.modulefg}
content-padding = 1
click-left = ~/.config/polybar/scripts/color-switch.sh &
click-right = ~/.config/polybar/scripts/type-switch.sh &
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;; __________ ______
;; / ____/ __ \/ ____/
;; / __/ / / / / /_
;; / /___/ /_/ / __/
;; /_____/\____/_/
;;
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
+292
View File
@@ -0,0 +1,292 @@
;==========================================================
;
;
; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
;
;
; Created By Aditya Shakya.
;
;==========================================================
[color]
trans = #00000000
white = #FFFFFF
black = #000000
bg = #1F1F1F
fg = #FFFFFF
fg-alt = #A9ABB0
acolor = #FFFFFF
curgent = #EF5350
coccupied = #42A5F5
shade1 = #004D40
shade2 = #00695C
shade3 = #00796B
shade4 = #00897B
shade5 = #009688
shade6 = #26A69A
shade7 = #4DB6AC
shade8 = #80CBC4
ashade8 = #2C2C2C
## Material Colors
red = #e53935
pink = #d81b60
purple = #8e24aa
deep-purple = #5e35b1
indigo = #3949ab
blue = #1e88e5
light-blue = #039be5
cyan = #00acc1
teal = #00897b
green = #43a047
light-green = #7cb342
lime = #c0ca33
yellow = #fdd835
amber = #ffb300
orange = #fb8c00
deep-orange = #f4511e
brown = #6d4c41
grey = #757575
blue-gray = #546e7a
;==========================================================
[bar/main]
width = 100%
height = 22
offset-x = 0%
offset-y = 0%
bottom = false
fixed-center = false
line-size = 2
monitor = eDP-1
background = ${color.bg}
foreground = ${color.fg}
;==========================================================
font-0 = "Fantasque Sans Mono:pixelsize=10;3"
font-1 = "Iosevka Nerd Font:pixelsize=13;3"
;==========================================================
cursor-click = pointer
cursor-scroll = ns-resize
scroll-up = i3wm-wsnext
scroll-down = i3wm-wsprev
;== Module Location ========================================================
modules-left = bspwm
modules-right = date powermenu
;== Modules ========================================================
[module/arch]
type = custom/text
content = 
;alt icons = 
content-padding = 2
content-background = ${color.shade1}
content-foreground = ${color.fg}
click-left = rmenu_1
click-right = rmenu_wi_1
[module/workspaces]
type = internal/xworkspaces
pin-workspaces = false
enable-click = true
enable-scroll = true
format-padding = 1
;icon-0 = 1;❶
;icon-1 = 2;❷
;icon-2 = 3;❸
;icon-3 = 4;❹
;icon-4 = 5;❺
;icon-5 = 6;❻
;icon-6 = 7;❼
;icon-7 = 8;❽
;icon-8 = 9;❾
;icon-9 = 10;❿
icon-default = 
format = <label-state>
format-background = ${color.shade2}
label-active = 
label-occupied = 
label-urgent = 
label-empty = 
label-empty-padding = 1
label-active-padding = 1
label-urgent-padding = 1
label-occupied-padding = 1
label-empty-foreground = ${color.fg}
label-active-foreground = ${color.acolor}
label-urgent-foreground = ${color.curgent}
label-occupied-foreground = ${color.coccupied}
[module/google]
type = custom/text
content = 
content-padding = 2
content-foreground = ${color.fg-alt}
click-left = xdg-open https://www.google.com/
[module/github]
type = custom/text
content = 
content-padding = 2
content-foreground = ${color.fg-alt}
click-left = xdg-open https://www.github.com/
[module/reddit]
type = custom/text
content = 
content-padding = 2
content-foreground = ${color.fg-alt}
click-left = xdg-open https://www.reddit.com/
[module/facebook]
type = custom/text
content = 
content-padding = 2
content-foreground = ${color.fg-alt}
click-left = xdg-open https://www.facebook.com/
[module/youtube]
type = custom/text
content = 
content-padding = 2
content-foreground = ${color.fg-alt}
click-left = xdg-open https://www.youtube.com/
;==========================================================
[module/mpd]
type = internal/mpd
format-online = <toggle> <label-song>
;format-online =  <label-song>
;alt icons =   
format-online-foreground = ${color.ashade8}
format-online-background = ${color.shade8}
format-online-padding = 2
icon-play = 喇
icon-pause = 
label-song-maxlen = 25
label-song-ellipsis = true
;==========================================================
[module/pkg]
type = custom/script
exec = updates.sh
format-background = ${color.shade7}
format-padding = 2
tail = true
[module/battery]
type = internal/battery
full-at = 99
time-format = %H:%M
battery = BAT1
adapter = AC
format-charging = <animation-charging> <label-charging>
format-charging-background = ${color.shade5}
format-charging-padding = 2
label-charging = %percentage%%
format-discharging = <ramp-capacity> <label-discharging>
format-discharging-background = ${color.shade5}
format-discharging-padding = 2
label-discharging = %percentage%%
format-full = <label-full>
format-full-prefix = " "
ramp-capacity-0 = 
ramp-capacity-1 = 
ramp-capacity-2 = 
ramp-capacity-3 = 
ramp-capacity-4 = 
ramp-capacity-5 = 
ramp-capacity-6 = 
ramp-capacity-7 = 
ramp-capacity-8 = 
ramp-capacity-9 = 
ramp-capacity-0-foreground = ${color.red}
ramp-capacity-1-foreground = ${color.red}
ramp-capacity-foreground = ${color.fg}
bar-capacity-width = 10
animation-charging-0 = 
animation-charging-1 = 
animation-charging-2 = 
animation-charging-3 = 
animation-charging-4 = 
animation-charging-5 = 
animation-charging-6 = 
animation-charging-framerate = 750
[module/volume]
type = internal/alsa
format-volume = <ramp-volume> <label-volume>
format-volume-padding = 2
format-volume-background = ${color.shade6}
label-volume = %percentage%%
label-muted = "婢"
label-muted-background = ${color.shade6}
label-muted-padding = 2
ramp-volume-0 = 奄
ramp-volume-1 = 奄
ramp-volume-2 = 奔
ramp-volume-3 = 奔
ramp-volume-4 = 墳
ramp-volume-5 = 墳
ramp-volume-6 = 墳
[module/network]
type = custom/script
exec = check-network
format-background = ${color.shade4}
format-padding = 2
click-left = networkmanager_dmenu &
click-right = networkmanager_dmenu &
tail = true
[module/date]
type = internal/date
interval = 30
label = %time%
label-padding = 2
label-background = ${color.shade3}
time = %H:%M
time-alt = %H:%M:%S
[module/powermenu]
type = custom/text
content = 襤
content-padding = 2
content-background = ${color.shade2}
content-foreground = ${color.fg}
click-left = pmenu_1
click-right = pmenu_1
;== EOF ========================================================
+713
View File
@@ -0,0 +1,713 @@
;###################################################################
;
;
; - null4bl3 new bspwm config mess -
;
;
;###################################################################
;----------------------------------------------------------
; C O L O R S
;----------------------------------------------------------
[colors]
background = #222
background-alt = #444
foreground = #dfdfdf
foreground-alt = #cbcbcb
primary = #ffb52a
secondary = #e60053
alert = #bd2c40
;----------------------------------------------------------
; G L O B A L
;----------------------------------------------------------
[global/wm]
margin-top = 5
margin-bottom = 5
[bar/bar]
#monitor = ${env:MONITOR:eDP1}
monitor = ${env:MONITOR:DP-2-2}
width = 100%
height = 22
offset-x = 0
offset-y = 0
;dock = true
;background = ${xrdb:color9}
background = ${colors.background}
foreground = ${colors.foreground}
enable-ipc = true
overline-size = 1
overline-color = #f00
underline-size = 1
underline-color = #00f
border-bottom = 2
border-bottom-color = #333
border-color-foreground = #FFFFFF
spacing = 0
padding-left = 0
padding-right = 1
module-margin-left = 0
module-margin-right = 1
;----------------------------------------------------------
; F O N T S
;----------------------------------------------------------
;font-0 = Terminus:size=12;0
font-0 = Terminus:size=12.4;
font-1 = Terminus:size=10;0
font-2 = Terminus:size=11;0
;font-0 = Terminus:pixelsize=14;0
;font-1 = Terminus:size=11:weight=bold
;font-2 = -*-gohufont-medium-*-*-*-11-*-*-*-*-*-*-*
;font-2 = -*-gohufont-medium-*-*-*-11-*-*-*-*-*-*-*
;font-2 = Vera:size=11:0
;font-3 = fa-regular:size=8;0
font-3 = FontAwesome5Free:style=Regular:size=10;4
font-4 = PowerlineSymbols:size=11;0
font-5 = FontAwesome5Free:style=Regular:size=10;4
font-6 = GohuFont:pixelsize=14:weight=bold
font-7 = Font Awesome 5 Free Solid:style=Solid:size=10;4
font-8 = FontAwesome:style=Solid:size=10;4
font-9 = FontAwesome5FreeSolid:size=10;4
;font pango:"Font Awesome 5 Free", Solid 9
;----------------------------------------------------------
; M A I N M O D U L E L A Y O U T
;----------------------------------------------------------
modules-left = bspwm menu
modules-center = xwindow pomobar
modules-right = volume cpu memory battery temperature date
;----------------------------------------------------------
; T R A Y
;----------------------------------------------------------
;tray-position = center
tray-position = center
tray-padding = 2
tray-offset-x = 20%
;tray-transparent = true
;tray-background = #0063ff
;wm-restack = i3
wm-restack = bspwm
;override-redirect = true
#scroll-up = bspwm-desknext
#scroll-down = bspwm-deskprev
;----------------------------------------------------------
; M E N U
;----------------------------------------------------------
[module/menu]
type = custom/text
content = " = "
content-foreground = #f57900
;label-open = " "
;label-open-foreground = #85e178
;alt-icon =
content-padding = 1
;content-background = ${color.acolor}
;content-foreground = ${color.fg}
click-left = $HOME/.config/polybar/scripts/menu
;click-middle = $HOME/.config/polybar/scripts/menu_full
click-right = $HOME/.config/polybar/scripts/menu
;/home/null/.config/polybar/scripts/menu
;----------------------------------------------------------
; P O W E R M E N U
;----------------------------------------------------------
[module/powermenu]
type = custom/menu
label-open = 
label-open-foreground = #FFFFFF
;label-open-overline = #ef2929
label-close = " cancel "
label-close-foreground = #fc4444
label-separator = |
label-separator-foreground = ${colors.foreground-alt}
menu-0-0 = reboot
menu-0-0-exec = menu-open-1
menu-0-1 = power off
menu-0-1-exec = menu-open-2
menu-1-0 = cancel
menu-1-0-exec = menu-open-0
menu-1-1 = reboot
menu-1-1-exec = sudo reboot
menu-2-0 = power off
menu-2-0-exec = sudo poweroff
menu-2-1 = cancel
menu-2-1-exec = menu-open-0
;----------------------------------------------------------
; X W I N D O W
;----------------------------------------------------------
[module/xwindow]
type = internal/xwindow
label = - %title:0:50:...%
format-padding = 2
label-padding-left = 2
label-padding-right = 2
label-background = #3b3c3b
;----------------------------------------------------------
; X K E Y B O A R D
;----------------------------------------------------------
[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock
format-underline = ${colors.secondary}
format-prefix = "
format-prefix-foreground = ${colors.foreground-alt}
label-layout = %layout%
label-indicator-padding = 2
label-indicator-background = ${colors.secondary}
label-indicator-underline = ${colors.secondary}
;----------------------------------------------------------
; F I L E S Y S T E M
;----------------------------------------------------------
[module/filesystem]
type = internal/fs
interval = 25
mount-0 = /home
;mount-1 = /home
;mount-2 = /invalid/mountpoint
format-mounted-prefix = "/HOME:"
format-mounted-foreground = #FFFFFF
;format-mounted-overline = #73d216
label-mounted = %percentage_used%
label-mounted-padding = 1
;label-mounted-underline= #73d216
;label-mounted-overline= #73d216
label-unmounted = %mountpoint%: not mounted
label-unmounted-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; i3 M O D U L E
;----------------------------------------------------------
[module/i3]
type = internal/i3
; Only show workspaces defined on the same output as the bar
;
; Useful if you want to show monitor specific workspaces
; on different bars
;
; Default: false
pin-workspaces = false
; This will split the workspace name on ':'
; Default: false
strip-wsnumbers = true
; Sort the workspaces by index instead of the default
; sorting that groups the workspaces by output
; Default: false
index-sort = true
; Create click handler used to focus workspace
; Default: true
enable-click = true
; Create scroll handlers used to cycle workspaces
; Default: true
enable-scroll = true
; Wrap around when reaching the first/last workspace
; Default: true
wrapping-scroll = false
; Set the scroll cycle direction
; Default: true
reverse-scroll = false
; Use fuzzy (partial) matching on labels when assigning
; icons to workspaces
; Example: code;♚ will apply the icon to all workspaces
; containing 'code' in the label
; Default: false
fuzzy-match = true
label-padding = 2
label-unfocused = %name%
label-unfocused-foreground = #e89a4e
label-unfocused-padding = 2
label-mode = %mode%
label-mode-padding = 2
label-mode-background = #e60053
label-focused = %name%
label-focused-background = #3d3e3b
label-focused-overline= ${colors.primary}
label-focused-foreground = #8ae234
label-focused-padding = 2
label-urgent = %name%!
label-urgent-background = ${colors.alert}
label-urgent-padding = 2
;----------------------------------------------------------
; B S P W M M O D U L E
;----------------------------------------------------------
[module/bspwm]
type = internal/bspwm
; Only show workspaces defined on the same output as the bar
pin-workspaces = true
; Create click handler used to focus workspace
; Default: true
enable-click = true
; Create scroll handlers used to cycle workspaces
; Default: true
enable-scroll = true
; Set the scroll cycle direction
; Default: true
reverse-scroll = false
label-focused = %name%
label-focused-background = #3d3e3b
;label-focused-underline= ${colors.primary}
;label-focused-overline= ${colors.primary}
label-focused-foreground = #8ae234
label-focused-padding = 2
label-occupied = %name%
label-occupied-padding = 2
label-occupied-foreground = #e89a4e
label-urgent = %name%!
label-urgent-background = ${colors.alert}
label-urgent-padding = 2
label-empty = %name%
label-empty-foreground = ${colors.foreground-alt}
label-empty-padding = 2
enable-ipc = true
;----------------------------------------------------------
; M P D
;----------------------------------------------------------
[module/mpd]
type = internal/mpd
format-online = <label-song> <icon-prev> <icon-seekb> <icon-stop> <toggle> <icon-seekf> <icon-next> <icon-repeat> <icon-random>
label-song-maxlen = 25
label-song-ellipsis = true
icon-stop = <>
icon-random = ½
icon-repeat = O
toggle-on-foreground = ${colors.primary}
toggle-off-foreground = #66
;----------------------------------------------------------
; B A C K L I G H T
;----------------------------------------------------------
[module/backlight]
type = internal/light
format = <label> <bar>
label = BL
bar-width = 10
bar-indicator = │
bar-indicator-foreground = #ff
bar-indicator-font = 2
bar-fill = ─
bar-fill-font = 2
bar-fill-foreground = #9f78e1
bar-empty = ─
bar-empty-font = 2
bar-empty-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; C P U
;----------------------------------------------------------
[module/cpu]
type = internal/cpu
interval = 2
;format-prefix = " "
format-prefix = " CPU:"
format-suffix = "% "
;format-prefix-underline = #edd400
;format-prefix-overline = #edd400
format-prefix-foreground = #85e178
format-prefix-background = #222
format-suffix-foreground = #85e178
;label-underline = #edd400
;label-overline = #edd400
label = %percentage%
label-background = #222
label-foreground = #85e178
label-padding = 1
;----------------------------------------------------------
; M E M O R Y
;----------------------------------------------------------
[module/memory]
type = internal/memory
interval = 2
;format-prefix = " "
format-prefix = " RAM:"
;format-prefix-font = 7
format-font = 9
;format-prefix = " RAM:"
format-suffix = "%"
format-prefix-background = #222
format-prefix-foreground = #6bdcbd
;format-prefix-underline = #f57900
;format-prefix-overline = #f57900
format-margin-top = -5
format-suffix-height = 100%
format-suffix-foreground = #6bdcbd
label-background = #222
;format-underline = #475753
label = %percentage_used%
label-foreground = #6bdcbd
label-padding = 1
;label-underline = #f57900
;label-overline = #f57900
;----------------------------------------------------------
; T E X T M O D U L E S
;----------------------------------------------------------
[module/arrow]
type = custom/text
content = ""
content-background = #222
;content-background = #55aa55
content-foreground = #222
content-padding = 0
[module/bluelike]
type = custom/text
content = ""
;content-background = #2e3436
content-background = #58ffef
content-foreground = #555753
content-padding = 0
;----------------------------------------------------------
; W L A N
;----------------------------------------------------------
[module/wlan]
type = internal/network
interface = wlp3s0
interval = 3.0
format-connected-prefix = " "
format-connected-background = #222
format-connected-foreground = #FFFFFF
format-prefix-foreground = #FFFFFF
format-connected = <ramp-signal> <label-connected>
;format-connected-underline = #495858
;format-disconnected-underline = ${self.format-connected-underline}
;format-connected-underline = #37b7a0
;format-connected-overline = #37b7a0
label-connected-padding = 1
label-connected = %signal%
label-connected-foreground = #FFFFFF
label-disconnected = %ifname% disconnected
label-disconnected-foreground = ${colors.foreground-alt}
ramp-signal-0 =
;ramp-signal-1 =
;ramp-signal-2 =
;ramp-signal-3 =
;ramp-signal-4 =
ramp-signal-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; E T H E R N E T
;----------------------------------------------------------
[module/eth]
type = internal/network
interface = enp4s0
interval = 3.0
format-connected-underline = #55aa55
format-connected-prefix = " "
format-connected-foreground-foreground = ${colors.foreground-alt}
label-connected = %local_ip%
format-disconnected-underline = ${self.format-connected-underline}
label-disconnected = %ifname% disconnected
label-disconnected-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; T I M E
;----------------------------------------------------------
[module/date]
type = internal/date
interval = 5
date =
date-alt = " %Y-%m-%d "
time-foreground-font = 1
time = %H:%M
time-alt = %H:%M:%S
format-prefix = " "
format-prefix-foreground = #FFFFFF
;format-overline = #0a6cf5
label = %date% %time%
label-font = 1
label-color = #000000
;----------------------------------------------------------
; V O L U M E
;----------------------------------------------------------
[module/volume]
type = internal/volume
format-volume = <label-volume> <bar-volume>
;format-volume = <bar-volume>
label-volume = VOL
label-volume-foreground = #FFFFFF
label-volume-background = #222
;label-volume-underline= #58ffef
;label-volume-overline= #58ffef
format-muted-prefix = " "
format-muted-suffix = " "
format-muted-foreground = #000000
format-muted-background = #ff8c8c
label-muted = MUTE
label-volume-padding = 1
;bar-volume-padding = 1
bar-volume-width = 10
,bar-volume-background = #495858
bar-volume-foreground-0 = #55aa55
bar-volume-foreground-1 = #55aa55
bar-volume-foreground-2 = #55aa55
bar-volume-foreground-3 = #55aa55
bar-volume-foreground-4 = #55aa55
bar-volume-foreground-5 = #f5a70a
bar-volume-foreground-6 = #ff5555
bar-volume-gradient = true
bar-volume-indicator = "|"
bar-volume-indicator-font = 1
bar-volume-indicator-foreground = #95d595
bar-volume-indicator-background = #222
bar-volume-fill-background = #222
bar-volume-fill = ─
bar-volume-fill-font = 5
bar-volume-empty-background = #222
bar-volume-empty-padding = 1
bar-volume-empty = ─
bar-volume-empty-font = 5
bar-volume-empty-foreground = ${colors.foreground-alt}
;bar-volume-indicator-underline= #58ffef
;bar-volume-indicator-overline= #58ffef
;bar-volume-fill-underline= #58ffef
;bar-volume-fill-overline= #58ffef
;bar-volume-empty-underline= #58ffef
;bar-volume-empty-overline= #58ffef
;----------------------------------------------------------
; B A T T E R Y
;----------------------------------------------------------
[module/battery]
type = internal/battery
battery = BAT0
adapter = AC0
full-at = 98
format-charging = <animation-charging> <label-charging>
;format-charging-underline = #4e5942
;format-charging-background = #4e5942
format-discharging = <ramp-capacity> <label-discharging>
format-discharging-foreground = #f19b47
;format-discharging-overline = #7ab737
format-prefix = "PWR: "
;format-full-prefix-foreground = #f19b47
; format-full-suffix = "PWR: "
format-charging-suffix = " "
;format-full-prefix = "PWR: "
format-charging-prefix-foreground = #f19b47
;format-charging-suffix-background = #222
;format-charging-background = #4e5942
format-discharging-prefix = " PWR: "
format-discharging-prefix-foreground = #f19b47
format-discharging-suffix-background = #222
format-discharging-background = #222
format-discharging-padding = 1
format-full-prefix = " PWR: "
format-full-prefix-foreground = #f19b47
format-full-prefix-background = #222
format-full-suffix-background = #222
format-full-background = #222
;format-full-underline = ${self.format-charging-underline}
;format-full-overline = ${self.format-charging-underline}
label-padding = 1
label-full-background = #222
ramp-capacity-0 =
ramp-capacity-1 =
ramp-capacity-2 =
ramp-capacity-foreground = ${colors.foreground-alt}
animation-charging-0 =
animation-charging-1 =
animation-charging-2 =
animation-charging-foreground = ${colors.foreground-alt}
animation-charging-framerate = 750
;----------------------------------------------------------
; T E M P
;----------------------------------------------------------
[module/temperature]
type = internal/temperature
thermal-zone = 0
warn-temperature = 82
format-prefix = " TMP:"
format-prefix-foreground = #83baf4
format-suffix-foreground = #83baf4
format-prefix-background = #222
format = <ramp> <label>
;format-underline = #c17d11
;format-overline = #c17d11
format-warn = <ramp> <label-warn>
;format-warn-underline = ${self.format-underline}
label = %temperature-c%
label-background = #222
label-warn = %temperature-c%
label-foreground = #83baf4
label-warn-foreground = ${colors.secondary}
label-padding = 1
ramp-0 =
ramp-1 =
ramp-2 =
ramp-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; Q U I C K M E N U
;----------------------------------------------------------
[module/quickmenu]
type = custom/menu
label-padding-left = 2
label-padding-right = 2
label-open = " "
label-open-foreground = #85e178
label-close =  cancel
label-close-foreground = #fc4444
label-separator = |
label-separator-foreground = ${colors.foreground-alt}
menu-0-0 = " term "
menu-0-0-exec = mate-terminal &
menu-0-1 = " files "
menu-0-1-exec = pcmanfm &
menu-0-2 = " text "
menu-0-2-exec = gedit &
menu-1-0 = cancel
menu-1-0-exec = menu-open-0
; vim:ft=dosini
;----------------------------------------------------------
; P O M O D O R O M E N U
;----------------------------------------------------------
[module/pomobar]
type=custom/ipc
hook-0 = cat ~/.pomobaroutput
initial=1
click-left = ~/Documents/pomobar.py --action=new &
click-middle= ~/Documents/pomobar.py --action=kill &
click-right = ~/Documents/pomobar.py --action=break &
+645
View File
@@ -0,0 +1,645 @@
;###################################################################
;
;
; - uNd0xR polybar config -
;
;
;###################################################################
;----------------------------------------------------------
; C O L O R S
;----------------------------------------------------------
[colors]
background = #222
background-alt = #444
foreground = #dfdfdf
foreground-alt = #cbcbcb
primary = #ffb52a
secondary = #e60053
alert = #bd2c40
;----------------------------------------------------------
; G L O B A L
;----------------------------------------------------------
[global/wm]
margin-top = 0
margin-bottom = 2
[bar/bar]
monitor = ${env:MONITOR:eDP-1}
width = 100%
height = 22
offset-x = 0
offset-y = 0
;dock = true
;background = ${xrdb:color9}
background = ${colors.background}
foreground = ${colors.foreground}
overline-size = 1
overline-color = #f00
underline-size = 1
underline-color = #00f
border-bottom-size = 1
border-bottom-color = #333
border-color-foreground = #FFFFFF
spacing = 0
padding-left = 0
padding-right = 1
module-margin-left = 0
module-margin-right = 1
;----------------------------------------------------------
; F O N T S
;----------------------------------------------------------
;font-0 = Terminus:size=12;0
font-0 = Terminus:size=12;0
;font-0 = Roboto:pixelsize=14;0
font-1 = Roboto:size=11:weight=bold
font-2 = -*-gohufont-medium-*-*-*-11-*-*-*-*-*-*-*
font-3 = FontAwesome:size=8;0
font-4 = PowerlineSymbols:size=9;0
font-5 = siji:pixelsize=10;0
font-6 = GohuFont:pixelsize=14:weight=bold
;----------------------------------------------------------
; M A I N M O D U L E L A Y O U T
;----------------------------------------------------------
;modules-left = bspwm quickmenu menu
modules-left = ewmh
modules-center = xwindow
modules-right = volume memory battery temperature date
;----------------------------------------------------------
; M E N U
;----------------------------------------------------------
[module/menu]
type = custom/text
content = "  "
content-foreground = #f57900
;label-open = " "
;label-open-foreground = #85e178
;alt-icon =
content-padding = 1
;content-background = ${color.acolor}
;content-foreground = ${color.fg}
click-left = $HOME/.config/polybar/scripts/menu
;click-middle = $HOME/.config/polybar/scripts/menu_full
click-right = $HOME/.config/polybar/scripts/menu
;/home/null/.config/polybar/scripts/menu
;----------------------------------------------------------
; X W O R K S P A C E S
;----------------------------------------------------------
[module/ewmh]
type = internal/xworkspaces
; Only show workspaces defined on the same output as the bar
;
; Useful if you want to show monitor specific workspaces
; on different bars
;
; Default: false
pin-workspaces = false
; Create click handler used to focus desktop
; Default: true
enable-click = true
; Create scroll handlers used to cycle desktops
; Default: true
enable-scroll = true
label-active-foreground = #8ae234
label-active-padding = 2
label-occupied-padding = 2
label-occupied-foreground = #e89a4e
label-urgent-background = ${colors.alert}
label-urgent-padding = 2
label-empty-foreground = ${colors.foreground-alt}
label-empty-padding = 2
;----------------------------------------------------------
; T R A Y
;----------------------------------------------------------
;tray-position = center
;cursor-click = pointer
tray-position = center
tray-padding = 10
tray-offset-x = 21%
;tray-transparent = false
;tray-background = #0063ff
;enable-ipc = true
wm-restack = bspwm
;tray-scale = 1.0
;override-redirect = true
;dpi-x = 96
;dpi-y = 96
;scroll-up = bspwm-desknext
;scroll-down = bspwm-deskprev
;----------------------------------------------------------
; X W I N D O W
;----------------------------------------------------------
[module/xwindow]
type = internal/xwindow
label = - %title:0:30:...%
format-padding = 2
label-padding-left = 2
label-padding-right = 2
label-background = #1d1f1d
;----------------------------------------------------------
; X K E Y B O A R D
;----------------------------------------------------------
[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock
format-underline = ${colors.secondary}
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
label-layout = %layout%
label-indicator-padding = 2
label-indicator-background = ${colors.secondary}
label-indicator-underline = ${colors.secondary}
;----------------------------------------------------------
; F I L E S Y S T E M
;----------------------------------------------------------
[module/filesystem]
type = internal/fs
interval = 25
mount-0 = /home
;mount-1 = /home
;mount-2 = /invalid/mountpoint
format-mounted-prefix = "/HOME:"
format-mounted-foreground = #FFFFFF
;format-mounted-overline = #73d216
label-mounted = %percentage_used%
label-mounted-padding = 1
;label-mounted-underline= #73d216
;label-mounted-overline= #73d216
label-unmounted = %mountpoint%: not mounted
label-unmounted-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; B S P W M M O D U L E
;----------------------------------------------------------
[module/bspwm]
type = internal/bspwm
; Only show workspaces defined on the same output as the bar
pin-workspaces = true
; Create click handler used to focus workspace
; Default: true
enable-click = true
; Create scroll handlers used to cycle workspaces
; Default: true
enable-scroll = true
; Set the scroll cycle direction
; Default: true
reverse-scroll = false
label-focused = %name%
label-focused-background = #3d3e3b
;label-focused-underline= ${colors.primary}
;label-focused-overline= ${colors.primary}
label-focused-foreground = #8ae234
label-focused-padding = 2
label-occupied = %name%
label-occupied-padding = 2
label-occupied-foreground = #e89a4e
label-urgent = %name%!
label-urgent-background = ${colors.alert}
label-urgent-padding = 2
label-empty = %name%
label-empty-foreground = ${colors.foreground-alt}
label-empty-padding = 2
;----------------------------------------------------------
; M P D
;----------------------------------------------------------
[module/mpd]
type = internal/mpd
format-online = <label-song> <icon-prev> <icon-seekb> <icon-stop> <toggle> <icon-seekf> <icon-next> <icon-repeat> <icon-random>
label-song-maxlen = 25
label-song-ellipsis = true
icon-prev = <
icon-seekb = «
icon-stop = <>
icon-play = |>
icon-pause = ll
icon-next = >
icon-seekf = »
icon-random = ½
icon-repeat = O
toggle-on-foreground = ${colors.primary}
toggle-off-foreground = #66
;----------------------------------------------------------
; B A C K L I G H T
;----------------------------------------------------------
[module/backlight]
type = internal/light
format = <label> <bar>
label = BL
bar-width = 10
bar-indicator = │
bar-indicator-foreground = #ff
bar-indicator-font = 2
bar-fill = ─
bar-fill-font = 2
bar-fill-foreground = #9f78e1
bar-empty = ─
bar-empty-font = 2
bar-empty-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; C P U
;----------------------------------------------------------
[module/cpu]
type = internal/cpu
interval = 2
;format-prefix = " "
format-prefix = " CPU"
;format-prefix-underline = #edd400
;format-prefix-overline = #edd400
format-prefix-foreground = #FFFFFF
format-prefix-background = #222
format-suffix-foreground = #c98080
;label-underline = #edd400
;label-overline = #edd400
label = %percentage%
label-background = #222
label-foreground = #FFFFFF
label-padding = 1
;----------------------------------------------------------
; M E M O R Y
;----------------------------------------------------------
[module/memory]
type = internal/memory
interval = 2
;format-prefix = " "
format-prefix = " RAM:"
format-suffix = "% "
format-prefix-background = #222
format-prefix-foreground = #FFFFFF
;format-prefix-underline = #f57900
;format-prefix-overline = #f57900
format-margin-top = -5
format-suffix-height = 100%
format-suffix-foreground = #FFFFFF
label-background = #222
;format-underline = #475753
label = %percentage_used%
label-foreground = #FFFFFF
label-padding = 1
;label-underline = #f57900
;label-overline = #f57900
;----------------------------------------------------------
; T E X T M O D U L E S
;----------------------------------------------------------
[module/arrow]
type = custom/text
content = ""
content-background = #222
;content-background = #55aa55
content-foreground = #222
content-padding = 0
[module/bluelike]
type = custom/text
content = ""
;content-background = #2e3436
content-background = #58ffef
content-foreground = #555753
content-padding = 0
;----------------------------------------------------------
; W L A N
;----------------------------------------------------------
[module/wlan]
type = internal/network
interface = wlp3s0
interval = 3.0
format-connected-prefix = " "
format-connected-suffix = " "
format-connected-background = #222
format-connected-foreground = #FFFFFF
format-prefix-foreground = #FFFFFF
format-connected = <ramp-signal> <label-connected>
;format-connected-underline = #495858
;format-disconnected-underline = ${self.format-connected-underline}
;format-connected-underline = #37b7a0
;format-connected-overline = #37b7a0
label-connected-padding = 1
label-connected = %signal%
label-connected-foreground = #FFFFFF
label-disconnected = %ifname% disconnected
label-disconnected-foreground = ${colors.foreground-alt}
ramp-signal-0 = +
;ramp-signal-1 = 
;ramp-signal-2 = 
;ramp-signal-3 = 
;ramp-signal-4 = 
ramp-signal-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; E T H E R N E T
;----------------------------------------------------------
[module/eth]
type = internal/network
interface = enp4s0
interval = 3.0
format-connected-underline = #55aa55
format-connected-prefix = " "
format-connected-foreground-foreground = ${colors.foreground-alt}
label-connected = %local_ip%
format-disconnected-underline = ${self.format-connected-underline}
label-disconnected = %ifname% disconnected
label-disconnected-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; T I M E
;----------------------------------------------------------
[module/date]
type = internal/date
interval = 5
date =
date-alt = " %Y-%m-%d "
time-foreground-font = 1
time = %H:%M
time-alt = %H:%M:%S
;format-prefix = " "
format-prefix-foreground = #FFFFFF
;format-overline = #0a6cf5
label = %date% %time%
label-font = 1
;----------------------------------------------------------
; V O L U M E
;----------------------------------------------------------
[module/volume]
type = internal/alsa
format-volume = <label-volume> <bar-volume>
;format-volume = <bar-volume>
label-volume = VOL
label-volume-foreground = #FFFFFF
label-volume-background = #222
;label-volume-underline= #58ffef
;label-volume-overline= #58ffef
format-muted-prefix = " "
format-muted-suffix = " "
format-muted-foreground = #000000
format-muted-background = #ff8c8c
label-muted = MUTE
label-volume-padding = 1
;bar-volume-padding = 1
bar-volume-width = 10
,bar-volume-background = #495858
bar-volume-foreground-0 = #55aa55
bar-volume-foreground-1 = #55aa55
bar-volume-foreground-2 = #55aa55
bar-volume-foreground-3 = #55aa55
bar-volume-foreground-4 = #55aa55
bar-volume-foreground-5 = #f5a70a
bar-volume-foreground-6 = #ff5555
bar-volume-gradient = true
bar-volume-indicator = "|"
bar-volume-indicator-font = 1
bar-volume-indicator-foreground = #95d595
bar-volume-indicator-background = #222
bar-volume-fill-background = #222
bar-volume-fill = ─
bar-volume-fill-font = 5
bar-volume-empty-background = #222
bar-volume-empty-padding = 1
bar-volume-empty = ─
bar-volume-empty-font = 5
bar-volume-empty-foreground = ${colors.foreground-alt}
;bar-volume-indicator-underline= #58ffef
;bar-volume-indicator-overline= #58ffef
;bar-volume-fill-underline= #58ffef
;bar-volume-fill-overline= #58ffef
;bar-volume-empty-underline= #58ffef
;bar-volume-empty-overline= #58ffef
;----------------------------------------------------------
; B A T T E R Y
;----------------------------------------------------------
[module/battery]
type = internal/battery
battery = BAT0
adapter = AC0
full-at = 98
format-charging = <animation-charging> <label-charging>
;format-charging-underline = #4e5942
;ormat-charging-background = #4e5942
format-discharging = <ramp-capacity> <label-discharging>
;format-discharging-underline = #7ab737
;format-discharging-overline = #7ab737
format-full-prefix = " "
;format-full-prefix-foreground = #8ae234
format-full-suffix = " "
format-charging-suffix = " "
format-charging-prefix = " "
format-charging-prefix-foreground = #FFFFFF
;format-charging-suffix-background = #222
;format-charging-background = #4e5942
format-discharging-prefix = " "
format-discharging-prefix-foreground = #FFFFFF
format-discharging-suffix-background = #222
format-discharging-background = #222
format-discharging-padding = 1
format-full-prefix-foreground = #8ae234
format-full-prefix-background = #222
format-full-suffix-background = #222
format-full-background = #222
;format-full-underline = ${self.format-charging-underline}
;format-full-overline = ${self.format-charging-underline}
label-padding = 1
label-full-background = #222
ramp-capacity-0 =
ramp-capacity-1 =
ramp-capacity-2 =
ramp-capacity-foreground = ${colors.foreground-alt}
animation-charging-0 =
animation-charging-1 =
animation-charging-2 =
animation-charging-foreground = ${colors.foreground-alt}
animation-charging-framerate = 750
;----------------------------------------------------------
; T E M P
;----------------------------------------------------------
[module/temperature]
type = internal/temperature
thermal-zone = 0
warn-temperature = 82
format-prefix = "  "
format-prefix-foreground = #FFFFFF
format-prefix-background = #222
format = <ramp> <label>
;format-underline = #c17d11
;format-overline = #c17d11
format-warn = <ramp> <label-warn>
;format-warn-underline = ${self.format-underline}
label = %temperature-c%
label-background = #222
label-warn = %temperature-c%
label-foreground = #FFFFFF
label-warn-foreground = ${colors.secondary}
label-padding = 1
ramp-0 =
ramp-1 =
ramp-2 =
ramp-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; P O W E R M E N U
;----------------------------------------------------------
[module/powermenu]
type = custom/menu
label-open = " o "
label-open-foreground = #FFFFFF
;label-open-overline = #ef2929
label-close = " cancel "
label-close-foreground = #fc4444
label-separator = |
label-separator-foreground = ${colors.foreground-alt}
menu-0-0 = reboot
menu-0-0-exec = menu-open-1
menu-0-1 = power off
menu-0-1-exec = menu-open-2
menu-1-0 = cancel
menu-1-0-exec = menu-open-0
menu-1-1 = reboot
menu-1-1-exec = sudo reboot
menu-2-0 = power off
menu-2-0-exec = sudo poweroff
menu-2-1 = cancel
menu-2-1-exec = menu-open-0
;----------------------------------------------------------
; M E N U
;----------------------------------------------------------
;----------------------------------------------------------
; Q U I C K M E N U
;----------------------------------------------------------
; vim:ft=dosini
+645
View File
@@ -0,0 +1,645 @@
;###################################################################
;
;
; - uNd0xR polybar config -
;
;
;###################################################################
;----------------------------------------------------------
; C O L O R S
;----------------------------------------------------------
[colors]
background = #222
background-alt = #444
foreground = #dfdfdf
foreground-alt = #cbcbcb
primary = #ffb52a
secondary = #e60053
alert = #bd2c40
;----------------------------------------------------------
; G L O B A L
;----------------------------------------------------------
[global/wm]
margin-top = 0
margin-bottom = 2
[bar/bar]
monitor = ${env:MONITOR:DP-2-2}
width = 100%
height = 22
offset-x = 0
offset-y = 0
;dock = true
;background = ${xrdb:color9}
background = ${colors.background}
foreground = ${colors.foreground}
overline-size = 1
overline-color = #f00
underline-size = 1
underline-color = #00f
border-bottom-size = 1
border-bottom-color = #333
border-color-foreground = #FFFFFF
spacing = 0
padding-left = 0
padding-right = 1
module-margin-left = 0
module-margin-right = 1
;----------------------------------------------------------
; F O N T S
;----------------------------------------------------------
;font-0 = Terminus:size=12;0
font-0 = Terminus:size=12;0
;font-0 = Roboto:pixelsize=14;0
font-1 = Roboto:size=11:weight=bold
font-2 = -*-gohufont-medium-*-*-*-11-*-*-*-*-*-*-*
font-3 = FontAwesome:size=8;0
font-4 = PowerlineSymbols:size=9;0
font-5 = siji:pixelsize=10;0
font-6 = GohuFont:pixelsize=14:weight=bold
;----------------------------------------------------------
; M A I N M O D U L E L A Y O U T
;----------------------------------------------------------
;modules-left = bspwm quickmenu menu
modules-left = ewmh
modules-center = xwindow
modules-right = volume memory battery temperature date
;----------------------------------------------------------
; M E N U
;----------------------------------------------------------
[module/menu]
type = custom/text
content = "  "
content-foreground = #f57900
;label-open = " "
;label-open-foreground = #85e178
;alt-icon =
content-padding = 1
;content-background = ${color.acolor}
;content-foreground = ${color.fg}
click-left = $HOME/.config/polybar/scripts/menu
;click-middle = $HOME/.config/polybar/scripts/menu_full
click-right = $HOME/.config/polybar/scripts/menu
;/home/null/.config/polybar/scripts/menu
;----------------------------------------------------------
; X W O R K S P A C E S
;----------------------------------------------------------
[module/ewmh]
type = internal/xworkspaces
; Only show workspaces defined on the same output as the bar
;
; Useful if you want to show monitor specific workspaces
; on different bars
;
; Default: false
pin-workspaces = false
; Create click handler used to focus desktop
; Default: true
enable-click = true
; Create scroll handlers used to cycle desktops
; Default: true
enable-scroll = true
label-active-foreground = #8ae234
label-active-padding = 2
label-occupied-padding = 2
label-occupied-foreground = #e89a4e
label-urgent-background = ${colors.alert}
label-urgent-padding = 2
label-empty-foreground = ${colors.foreground-alt}
label-empty-padding = 2
;----------------------------------------------------------
; T R A Y
;----------------------------------------------------------
;tray-position = center
;cursor-click = pointer
tray-position = center
tray-padding = 10
tray-offset-x = 21%
;tray-transparent = false
;tray-background = #0063ff
;enable-ipc = true
wm-restack = bspwm
;tray-scale = 1.0
;override-redirect = true
;dpi-x = 96
;dpi-y = 96
;scroll-up = bspwm-desknext
;scroll-down = bspwm-deskprev
;----------------------------------------------------------
; X W I N D O W
;----------------------------------------------------------
[module/xwindow]
type = internal/xwindow
label = - %title:0:30:...%
format-padding = 2
label-padding-left = 2
label-padding-right = 2
label-background = #1d1f1d
;----------------------------------------------------------
; X K E Y B O A R D
;----------------------------------------------------------
[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock
format-underline = ${colors.secondary}
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
label-layout = %layout%
label-indicator-padding = 2
label-indicator-background = ${colors.secondary}
label-indicator-underline = ${colors.secondary}
;----------------------------------------------------------
; F I L E S Y S T E M
;----------------------------------------------------------
[module/filesystem]
type = internal/fs
interval = 25
mount-0 = /home
;mount-1 = /home
;mount-2 = /invalid/mountpoint
format-mounted-prefix = "/HOME:"
format-mounted-foreground = #FFFFFF
;format-mounted-overline = #73d216
label-mounted = %percentage_used%
label-mounted-padding = 1
;label-mounted-underline= #73d216
;label-mounted-overline= #73d216
label-unmounted = %mountpoint%: not mounted
label-unmounted-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; B S P W M M O D U L E
;----------------------------------------------------------
[module/bspwm]
type = internal/bspwm
; Only show workspaces defined on the same output as the bar
pin-workspaces = true
; Create click handler used to focus workspace
; Default: true
enable-click = true
; Create scroll handlers used to cycle workspaces
; Default: true
enable-scroll = true
; Set the scroll cycle direction
; Default: true
reverse-scroll = false
label-focused = %name%
label-focused-background = #3d3e3b
;label-focused-underline= ${colors.primary}
;label-focused-overline= ${colors.primary}
label-focused-foreground = #8ae234
label-focused-padding = 2
label-occupied = %name%
label-occupied-padding = 2
label-occupied-foreground = #e89a4e
label-urgent = %name%!
label-urgent-background = ${colors.alert}
label-urgent-padding = 2
label-empty = %name%
label-empty-foreground = ${colors.foreground-alt}
label-empty-padding = 2
;----------------------------------------------------------
; M P D
;----------------------------------------------------------
[module/mpd]
type = internal/mpd
format-online = <label-song> <icon-prev> <icon-seekb> <icon-stop> <toggle> <icon-seekf> <icon-next> <icon-repeat> <icon-random>
label-song-maxlen = 25
label-song-ellipsis = true
icon-prev = <
icon-seekb = «
icon-stop = <>
icon-play = |>
icon-pause = ll
icon-next = >
icon-seekf = »
icon-random = ½
icon-repeat = O
toggle-on-foreground = ${colors.primary}
toggle-off-foreground = #66
;----------------------------------------------------------
; B A C K L I G H T
;----------------------------------------------------------
[module/backlight]
type = internal/light
format = <label> <bar>
label = BL
bar-width = 10
bar-indicator = │
bar-indicator-foreground = #ff
bar-indicator-font = 2
bar-fill = ─
bar-fill-font = 2
bar-fill-foreground = #9f78e1
bar-empty = ─
bar-empty-font = 2
bar-empty-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; C P U
;----------------------------------------------------------
[module/cpu]
type = internal/cpu
interval = 2
;format-prefix = " "
format-prefix = " CPU"
;format-prefix-underline = #edd400
;format-prefix-overline = #edd400
format-prefix-foreground = #FFFFFF
format-prefix-background = #222
format-suffix-foreground = #c98080
;label-underline = #edd400
;label-overline = #edd400
label = %percentage%
label-background = #222
label-foreground = #FFFFFF
label-padding = 1
;----------------------------------------------------------
; M E M O R Y
;----------------------------------------------------------
[module/memory]
type = internal/memory
interval = 2
;format-prefix = " "
format-prefix = " RAM:"
format-suffix = "% "
format-prefix-background = #222
format-prefix-foreground = #FFFFFF
;format-prefix-underline = #f57900
;format-prefix-overline = #f57900
format-margin-top = -5
format-suffix-height = 100%
format-suffix-foreground = #FFFFFF
label-background = #222
;format-underline = #475753
label = %percentage_used%
label-foreground = #FFFFFF
label-padding = 1
;label-underline = #f57900
;label-overline = #f57900
;----------------------------------------------------------
; T E X T M O D U L E S
;----------------------------------------------------------
[module/arrow]
type = custom/text
content = ""
content-background = #222
;content-background = #55aa55
content-foreground = #222
content-padding = 0
[module/bluelike]
type = custom/text
content = ""
;content-background = #2e3436
content-background = #58ffef
content-foreground = #555753
content-padding = 0
;----------------------------------------------------------
; W L A N
;----------------------------------------------------------
[module/wlan]
type = internal/network
interface = wlp3s0
interval = 3.0
format-connected-prefix = " "
format-connected-suffix = " "
format-connected-background = #222
format-connected-foreground = #FFFFFF
format-prefix-foreground = #FFFFFF
format-connected = <ramp-signal> <label-connected>
;format-connected-underline = #495858
;format-disconnected-underline = ${self.format-connected-underline}
;format-connected-underline = #37b7a0
;format-connected-overline = #37b7a0
label-connected-padding = 1
label-connected = %signal%
label-connected-foreground = #FFFFFF
label-disconnected = %ifname% disconnected
label-disconnected-foreground = ${colors.foreground-alt}
ramp-signal-0 = +
;ramp-signal-1 = 
;ramp-signal-2 = 
;ramp-signal-3 = 
;ramp-signal-4 = 
ramp-signal-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; E T H E R N E T
;----------------------------------------------------------
[module/eth]
type = internal/network
interface = enp4s0
interval = 3.0
format-connected-underline = #55aa55
format-connected-prefix = " "
format-connected-foreground-foreground = ${colors.foreground-alt}
label-connected = %local_ip%
format-disconnected-underline = ${self.format-connected-underline}
label-disconnected = %ifname% disconnected
label-disconnected-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; T I M E
;----------------------------------------------------------
[module/date]
type = internal/date
interval = 5
date =
date-alt = " %Y-%m-%d "
time-foreground-font = 1
time = %H:%M
time-alt = %H:%M:%S
;format-prefix = " "
format-prefix-foreground = #FFFFFF
;format-overline = #0a6cf5
label = %date% %time%
label-font = 1
;----------------------------------------------------------
; V O L U M E
;----------------------------------------------------------
[module/volume]
type = internal/alsa
format-volume = <label-volume> <bar-volume>
;format-volume = <bar-volume>
label-volume = VOL
label-volume-foreground = #FFFFFF
label-volume-background = #222
;label-volume-underline= #58ffef
;label-volume-overline= #58ffef
format-muted-prefix = " "
format-muted-suffix = " "
format-muted-foreground = #000000
format-muted-background = #ff8c8c
label-muted = MUTE
label-volume-padding = 1
;bar-volume-padding = 1
bar-volume-width = 10
,bar-volume-background = #495858
bar-volume-foreground-0 = #55aa55
bar-volume-foreground-1 = #55aa55
bar-volume-foreground-2 = #55aa55
bar-volume-foreground-3 = #55aa55
bar-volume-foreground-4 = #55aa55
bar-volume-foreground-5 = #f5a70a
bar-volume-foreground-6 = #ff5555
bar-volume-gradient = true
bar-volume-indicator = "|"
bar-volume-indicator-font = 1
bar-volume-indicator-foreground = #95d595
bar-volume-indicator-background = #222
bar-volume-fill-background = #222
bar-volume-fill = ─
bar-volume-fill-font = 5
bar-volume-empty-background = #222
bar-volume-empty-padding = 1
bar-volume-empty = ─
bar-volume-empty-font = 5
bar-volume-empty-foreground = ${colors.foreground-alt}
;bar-volume-indicator-underline= #58ffef
;bar-volume-indicator-overline= #58ffef
;bar-volume-fill-underline= #58ffef
;bar-volume-fill-overline= #58ffef
;bar-volume-empty-underline= #58ffef
;bar-volume-empty-overline= #58ffef
;----------------------------------------------------------
; B A T T E R Y
;----------------------------------------------------------
[module/battery]
type = internal/battery
battery = BAT0
adapter = AC0
full-at = 98
format-charging = <animation-charging> <label-charging>
;format-charging-underline = #4e5942
;ormat-charging-background = #4e5942
format-discharging = <ramp-capacity> <label-discharging>
;format-discharging-underline = #7ab737
;format-discharging-overline = #7ab737
format-full-prefix = " "
;format-full-prefix-foreground = #8ae234
format-full-suffix = " "
format-charging-suffix = " "
format-charging-prefix = " "
format-charging-prefix-foreground = #FFFFFF
;format-charging-suffix-background = #222
;format-charging-background = #4e5942
format-discharging-prefix = " "
format-discharging-prefix-foreground = #FFFFFF
format-discharging-suffix-background = #222
format-discharging-background = #222
format-discharging-padding = 1
format-full-prefix-foreground = #8ae234
format-full-prefix-background = #222
format-full-suffix-background = #222
format-full-background = #222
;format-full-underline = ${self.format-charging-underline}
;format-full-overline = ${self.format-charging-underline}
label-padding = 1
label-full-background = #222
ramp-capacity-0 =
ramp-capacity-1 =
ramp-capacity-2 =
ramp-capacity-foreground = ${colors.foreground-alt}
animation-charging-0 =
animation-charging-1 =
animation-charging-2 =
animation-charging-foreground = ${colors.foreground-alt}
animation-charging-framerate = 750
;----------------------------------------------------------
; T E M P
;----------------------------------------------------------
[module/temperature]
type = internal/temperature
thermal-zone = 0
warn-temperature = 82
format-prefix = "  "
format-prefix-foreground = #FFFFFF
format-prefix-background = #222
format = <ramp> <label>
;format-underline = #c17d11
;format-overline = #c17d11
format-warn = <ramp> <label-warn>
;format-warn-underline = ${self.format-underline}
label = %temperature-c%
label-background = #222
label-warn = %temperature-c%
label-foreground = #FFFFFF
label-warn-foreground = ${colors.secondary}
label-padding = 1
ramp-0 =
ramp-1 =
ramp-2 =
ramp-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; P O W E R M E N U
;----------------------------------------------------------
[module/powermenu]
type = custom/menu
label-open = " o "
label-open-foreground = #FFFFFF
;label-open-overline = #ef2929
label-close = " cancel "
label-close-foreground = #fc4444
label-separator = |
label-separator-foreground = ${colors.foreground-alt}
menu-0-0 = reboot
menu-0-0-exec = menu-open-1
menu-0-1 = power off
menu-0-1-exec = menu-open-2
menu-1-0 = cancel
menu-1-0-exec = menu-open-0
menu-1-1 = reboot
menu-1-1-exec = sudo reboot
menu-2-0 = power off
menu-2-0-exec = sudo poweroff
menu-2-1 = cancel
menu-2-1-exec = menu-open-0
;----------------------------------------------------------
; M E N U
;----------------------------------------------------------
;----------------------------------------------------------
; Q U I C K M E N U
;----------------------------------------------------------
; vim:ft=dosini
+645
View File
@@ -0,0 +1,645 @@
;###################################################################
;
;
; - uNd0xR polybar config -
;
;
;###################################################################
;----------------------------------------------------------
; C O L O R S
;----------------------------------------------------------
[colors]
background = #222
background-alt = #444
foreground = #dfdfdf
foreground-alt = #cbcbcb
primary = #ffb52a
secondary = #e60053
alert = #bd2c40
;----------------------------------------------------------
; G L O B A L
;----------------------------------------------------------
[global/wm]
margin-top = 0
margin-bottom = 2
[bar/bar]
monitor = ${env:MONITOR:eDP-1}
width = 100%
height = 22
offset-x = 0
offset-y = 0
;dock = true
;background = ${xrdb:color9}
background = ${colors.background}
foreground = ${colors.foreground}
overline-size = 1
overline-color = #f00
underline-size = 1
underline-color = #00f
border-bottom-size = 1
border-bottom-color = #333
border-color-foreground = #FFFFFF
spacing = 0
padding-left = 0
padding-right = 1
module-margin-left = 0
module-margin-right = 1
;----------------------------------------------------------
; F O N T S
;----------------------------------------------------------
;font-0 = Terminus:size=12;0
font-0 = Terminus:size=12;0
;font-0 = Roboto:pixelsize=14;0
font-1 = Roboto:size=11:weight=bold
font-2 = -*-gohufont-medium-*-*-*-11-*-*-*-*-*-*-*
font-3 = FontAwesome:size=8;0
font-4 = PowerlineSymbols:size=9;0
font-5 = siji:pixelsize=10;0
font-6 = GohuFont:pixelsize=14:weight=bold
;----------------------------------------------------------
; M A I N M O D U L E L A Y O U T
;----------------------------------------------------------
;modules-left = bspwm quickmenu menu
modules-left = ewmh
modules-center = xwindow
modules-right = volume memory battery temperature date
;----------------------------------------------------------
; M E N U
;----------------------------------------------------------
[module/menu]
type = custom/text
content = "  "
content-foreground = #f57900
;label-open = " "
;label-open-foreground = #85e178
;alt-icon =
content-padding = 1
;content-background = ${color.acolor}
;content-foreground = ${color.fg}
click-left = $HOME/.config/polybar/scripts/menu
;click-middle = $HOME/.config/polybar/scripts/menu_full
click-right = $HOME/.config/polybar/scripts/menu
;/home/null/.config/polybar/scripts/menu
;----------------------------------------------------------
; X W O R K S P A C E S
;----------------------------------------------------------
[module/ewmh]
type = internal/xworkspaces
; Only show workspaces defined on the same output as the bar
;
; Useful if you want to show monitor specific workspaces
; on different bars
;
; Default: false
pin-workspaces = false
; Create click handler used to focus desktop
; Default: true
enable-click = true
; Create scroll handlers used to cycle desktops
; Default: true
enable-scroll = true
label-active-foreground = #8ae234
label-active-padding = 2
label-occupied-padding = 2
label-occupied-foreground = #e89a4e
label-urgent-background = ${colors.alert}
label-urgent-padding = 2
label-empty-foreground = ${colors.foreground-alt}
label-empty-padding = 2
;----------------------------------------------------------
; T R A Y
;----------------------------------------------------------
;tray-position = center
;cursor-click = pointer
tray-position = center
tray-padding = 10
tray-offset-x = 21%
;tray-transparent = false
;tray-background = #0063ff
;enable-ipc = true
wm-restack = bspwm
;tray-scale = 1.0
;override-redirect = true
;dpi-x = 96
;dpi-y = 96
;scroll-up = bspwm-desknext
;scroll-down = bspwm-deskprev
;----------------------------------------------------------
; X W I N D O W
;----------------------------------------------------------
[module/xwindow]
type = internal/xwindow
label = - %title:0:30:...%
format-padding = 2
label-padding-left = 2
label-padding-right = 2
label-background = #1d1f1d
;----------------------------------------------------------
; X K E Y B O A R D
;----------------------------------------------------------
[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock
format-underline = ${colors.secondary}
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
label-layout = %layout%
label-indicator-padding = 2
label-indicator-background = ${colors.secondary}
label-indicator-underline = ${colors.secondary}
;----------------------------------------------------------
; F I L E S Y S T E M
;----------------------------------------------------------
[module/filesystem]
type = internal/fs
interval = 25
mount-0 = /home
;mount-1 = /home
;mount-2 = /invalid/mountpoint
format-mounted-prefix = "/HOME:"
format-mounted-foreground = #FFFFFF
;format-mounted-overline = #73d216
label-mounted = %percentage_used%
label-mounted-padding = 1
;label-mounted-underline= #73d216
;label-mounted-overline= #73d216
label-unmounted = %mountpoint%: not mounted
label-unmounted-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; B S P W M M O D U L E
;----------------------------------------------------------
[module/bspwm]
type = internal/bspwm
; Only show workspaces defined on the same output as the bar
pin-workspaces = true
; Create click handler used to focus workspace
; Default: true
enable-click = true
; Create scroll handlers used to cycle workspaces
; Default: true
enable-scroll = true
; Set the scroll cycle direction
; Default: true
reverse-scroll = false
label-focused = %name%
label-focused-background = #3d3e3b
;label-focused-underline= ${colors.primary}
;label-focused-overline= ${colors.primary}
label-focused-foreground = #8ae234
label-focused-padding = 2
label-occupied = %name%
label-occupied-padding = 2
label-occupied-foreground = #e89a4e
label-urgent = %name%!
label-urgent-background = ${colors.alert}
label-urgent-padding = 2
label-empty = %name%
label-empty-foreground = ${colors.foreground-alt}
label-empty-padding = 2
;----------------------------------------------------------
; M P D
;----------------------------------------------------------
[module/mpd]
type = internal/mpd
format-online = <label-song> <icon-prev> <icon-seekb> <icon-stop> <toggle> <icon-seekf> <icon-next> <icon-repeat> <icon-random>
label-song-maxlen = 25
label-song-ellipsis = true
icon-prev = <
icon-seekb = «
icon-stop = <>
icon-play = |>
icon-pause = ll
icon-next = >
icon-seekf = »
icon-random = ½
icon-repeat = O
toggle-on-foreground = ${colors.primary}
toggle-off-foreground = #66
;----------------------------------------------------------
; B A C K L I G H T
;----------------------------------------------------------
[module/backlight]
type = internal/light
format = <label> <bar>
label = BL
bar-width = 10
bar-indicator = │
bar-indicator-foreground = #ff
bar-indicator-font = 2
bar-fill = ─
bar-fill-font = 2
bar-fill-foreground = #9f78e1
bar-empty = ─
bar-empty-font = 2
bar-empty-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; C P U
;----------------------------------------------------------
[module/cpu]
type = internal/cpu
interval = 2
;format-prefix = " "
format-prefix = " CPU"
;format-prefix-underline = #edd400
;format-prefix-overline = #edd400
format-prefix-foreground = #FFFFFF
format-prefix-background = #222
format-suffix-foreground = #c98080
;label-underline = #edd400
;label-overline = #edd400
label = %percentage%
label-background = #222
label-foreground = #FFFFFF
label-padding = 1
;----------------------------------------------------------
; M E M O R Y
;----------------------------------------------------------
[module/memory]
type = internal/memory
interval = 2
;format-prefix = " "
format-prefix = " RAM:"
format-suffix = "% "
format-prefix-background = #222
format-prefix-foreground = #FFFFFF
;format-prefix-underline = #f57900
;format-prefix-overline = #f57900
format-margin-top = -5
format-suffix-height = 100%
format-suffix-foreground = #FFFFFF
label-background = #222
;format-underline = #475753
label = %percentage_used%
label-foreground = #FFFFFF
label-padding = 1
;label-underline = #f57900
;label-overline = #f57900
;----------------------------------------------------------
; T E X T M O D U L E S
;----------------------------------------------------------
[module/arrow]
type = custom/text
content = ""
content-background = #222
;content-background = #55aa55
content-foreground = #222
content-padding = 0
[module/bluelike]
type = custom/text
content = ""
;content-background = #2e3436
content-background = #58ffef
content-foreground = #555753
content-padding = 0
;----------------------------------------------------------
; W L A N
;----------------------------------------------------------
[module/wlan]
type = internal/network
interface = wlp3s0
interval = 3.0
format-connected-prefix = " "
format-connected-suffix = " "
format-connected-background = #222
format-connected-foreground = #FFFFFF
format-prefix-foreground = #FFFFFF
format-connected = <ramp-signal> <label-connected>
;format-connected-underline = #495858
;format-disconnected-underline = ${self.format-connected-underline}
;format-connected-underline = #37b7a0
;format-connected-overline = #37b7a0
label-connected-padding = 1
label-connected = %signal%
label-connected-foreground = #FFFFFF
label-disconnected = %ifname% disconnected
label-disconnected-foreground = ${colors.foreground-alt}
ramp-signal-0 = +
;ramp-signal-1 = 
;ramp-signal-2 = 
;ramp-signal-3 = 
;ramp-signal-4 = 
ramp-signal-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; E T H E R N E T
;----------------------------------------------------------
[module/eth]
type = internal/network
interface = enp4s0
interval = 3.0
format-connected-underline = #55aa55
format-connected-prefix = " "
format-connected-foreground-foreground = ${colors.foreground-alt}
label-connected = %local_ip%
format-disconnected-underline = ${self.format-connected-underline}
label-disconnected = %ifname% disconnected
label-disconnected-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; T I M E
;----------------------------------------------------------
[module/date]
type = internal/date
interval = 5
date =
date-alt = " %Y-%m-%d "
time-foreground-font = 1
time = %H:%M
time-alt = %H:%M:%S
;format-prefix = " "
format-prefix-foreground = #FFFFFF
;format-overline = #0a6cf5
label = %date% %time%
label-font = 1
;----------------------------------------------------------
; V O L U M E
;----------------------------------------------------------
[module/volume]
type = internal/alsa
format-volume = <label-volume> <bar-volume>
;format-volume = <bar-volume>
label-volume = VOL
label-volume-foreground = #FFFFFF
label-volume-background = #222
;label-volume-underline= #58ffef
;label-volume-overline= #58ffef
format-muted-prefix = " "
format-muted-suffix = " "
format-muted-foreground = #000000
format-muted-background = #ff8c8c
label-muted = MUTE
label-volume-padding = 1
;bar-volume-padding = 1
bar-volume-width = 10
,bar-volume-background = #495858
bar-volume-foreground-0 = #55aa55
bar-volume-foreground-1 = #55aa55
bar-volume-foreground-2 = #55aa55
bar-volume-foreground-3 = #55aa55
bar-volume-foreground-4 = #55aa55
bar-volume-foreground-5 = #f5a70a
bar-volume-foreground-6 = #ff5555
bar-volume-gradient = true
bar-volume-indicator = "|"
bar-volume-indicator-font = 1
bar-volume-indicator-foreground = #95d595
bar-volume-indicator-background = #222
bar-volume-fill-background = #222
bar-volume-fill = ─
bar-volume-fill-font = 5
bar-volume-empty-background = #222
bar-volume-empty-padding = 1
bar-volume-empty = ─
bar-volume-empty-font = 5
bar-volume-empty-foreground = ${colors.foreground-alt}
;bar-volume-indicator-underline= #58ffef
;bar-volume-indicator-overline= #58ffef
;bar-volume-fill-underline= #58ffef
;bar-volume-fill-overline= #58ffef
;bar-volume-empty-underline= #58ffef
;bar-volume-empty-overline= #58ffef
;----------------------------------------------------------
; B A T T E R Y
;----------------------------------------------------------
[module/battery]
type = internal/battery
battery = BAT0
adapter = AC0
full-at = 98
format-charging = <animation-charging> <label-charging>
;format-charging-underline = #4e5942
;ormat-charging-background = #4e5942
format-discharging = <ramp-capacity> <label-discharging>
;format-discharging-underline = #7ab737
;format-discharging-overline = #7ab737
format-full-prefix = " "
;format-full-prefix-foreground = #8ae234
format-full-suffix = " "
format-charging-suffix = " "
format-charging-prefix = " "
format-charging-prefix-foreground = #FFFFFF
;format-charging-suffix-background = #222
;format-charging-background = #4e5942
format-discharging-prefix = " "
format-discharging-prefix-foreground = #FFFFFF
format-discharging-suffix-background = #222
format-discharging-background = #222
format-discharging-padding = 1
format-full-prefix-foreground = #8ae234
format-full-prefix-background = #222
format-full-suffix-background = #222
format-full-background = #222
;format-full-underline = ${self.format-charging-underline}
;format-full-overline = ${self.format-charging-underline}
label-padding = 1
label-full-background = #222
ramp-capacity-0 =
ramp-capacity-1 =
ramp-capacity-2 =
ramp-capacity-foreground = ${colors.foreground-alt}
animation-charging-0 =
animation-charging-1 =
animation-charging-2 =
animation-charging-foreground = ${colors.foreground-alt}
animation-charging-framerate = 750
;----------------------------------------------------------
; T E M P
;----------------------------------------------------------
[module/temperature]
type = internal/temperature
thermal-zone = 0
warn-temperature = 82
format-prefix = "  "
format-prefix-foreground = #FFFFFF
format-prefix-background = #222
format = <ramp> <label>
;format-underline = #c17d11
;format-overline = #c17d11
format-warn = <ramp> <label-warn>
;format-warn-underline = ${self.format-underline}
label = %temperature-c%
label-background = #222
label-warn = %temperature-c%
label-foreground = #FFFFFF
label-warn-foreground = ${colors.secondary}
label-padding = 1
ramp-0 =
ramp-1 =
ramp-2 =
ramp-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; P O W E R M E N U
;----------------------------------------------------------
[module/powermenu]
type = custom/menu
label-open = " o "
label-open-foreground = #FFFFFF
;label-open-overline = #ef2929
label-close = " cancel "
label-close-foreground = #fc4444
label-separator = |
label-separator-foreground = ${colors.foreground-alt}
menu-0-0 = reboot
menu-0-0-exec = menu-open-1
menu-0-1 = power off
menu-0-1-exec = menu-open-2
menu-1-0 = cancel
menu-1-0-exec = menu-open-0
menu-1-1 = reboot
menu-1-1-exec = sudo reboot
menu-2-0 = power off
menu-2-0-exec = sudo poweroff
menu-2-1 = cancel
menu-2-1-exec = menu-open-0
;----------------------------------------------------------
; M E N U
;----------------------------------------------------------
;----------------------------------------------------------
; Q U I C K M E N U
;----------------------------------------------------------
; vim:ft=dosini
+645
View File
@@ -0,0 +1,645 @@
;###################################################################
;
;
; - uNd0xR polybar config -
;
;
;###################################################################
;----------------------------------------------------------
; C O L O R S
;----------------------------------------------------------
[colors]
background = #222
background-alt = #444
foreground = #dfdfdf
foreground-alt = #cbcbcb
primary = #ffb52a
secondary = #e60053
alert = #bd2c40
;----------------------------------------------------------
; G L O B A L
;----------------------------------------------------------
[global/wm]
margin-top = 0
margin-bottom = 2
[bar/bar]
monitor = ${env:MONITOR:eDP-1}
width = 100%
height = 22
offset-x = 0
offset-y = 0
;dock = true
;background = ${xrdb:color9}
background = ${colors.background}
foreground = ${colors.foreground}
overline-size = 1
overline-color = #f00
underline-size = 1
underline-color = #00f
border-bottom-size = 1
border-bottom-color = #333
border-color-foreground = #FFFFFF
spacing = 0
padding-left = 0
padding-right = 1
module-margin-left = 0
module-margin-right = 1
;----------------------------------------------------------
; F O N T S
;----------------------------------------------------------
;font-0 = Terminus:size=12;0
font-0 = Terminus:size=12;0
;font-0 = Roboto:pixelsize=14;0
font-1 = Roboto:size=11:weight=bold
font-2 = -*-gohufont-medium-*-*-*-11-*-*-*-*-*-*-*
font-3 = FontAwesome:size=8;0
font-4 = PowerlineSymbols:size=9;0
font-5 = siji:pixelsize=10;0
font-6 = GohuFont:pixelsize=14:weight=bold
;----------------------------------------------------------
; M A I N M O D U L E L A Y O U T
;----------------------------------------------------------
;modules-left = bspwm quickmenu menu
modules-left = ewmh
modules-center = xwindow
modules-right = volume memory battery temperature date
;----------------------------------------------------------
; M E N U
;----------------------------------------------------------
[module/menu]
type = custom/text
content = "  "
content-foreground = #f57900
;label-open = " "
;label-open-foreground = #85e178
;alt-icon =
content-padding = 1
;content-background = ${color.acolor}
;content-foreground = ${color.fg}
click-left = $HOME/.config/polybar/scripts/menu
;click-middle = $HOME/.config/polybar/scripts/menu_full
click-right = $HOME/.config/polybar/scripts/menu
;/home/null/.config/polybar/scripts/menu
;----------------------------------------------------------
; X W O R K S P A C E S
;----------------------------------------------------------
[module/ewmh]
type = internal/xworkspaces
; Only show workspaces defined on the same output as the bar
;
; Useful if you want to show monitor specific workspaces
; on different bars
;
; Default: false
pin-workspaces = false
; Create click handler used to focus desktop
; Default: true
enable-click = true
; Create scroll handlers used to cycle desktops
; Default: true
enable-scroll = true
label-active-foreground = #8ae234
label-active-padding = 2
label-occupied-padding = 2
label-occupied-foreground = #e89a4e
label-urgent-background = ${colors.alert}
label-urgent-padding = 2
label-empty-foreground = ${colors.foreground-alt}
label-empty-padding = 2
;----------------------------------------------------------
; T R A Y
;----------------------------------------------------------
;tray-position = center
;cursor-click = pointer
tray-position = center
tray-padding = 10
tray-offset-x = 21%
;tray-transparent = false
;tray-background = #0063ff
;enable-ipc = true
wm-restack = bspwm
;tray-scale = 1.0
;override-redirect = true
;dpi-x = 96
;dpi-y = 96
;scroll-up = bspwm-desknext
;scroll-down = bspwm-deskprev
;----------------------------------------------------------
; X W I N D O W
;----------------------------------------------------------
[module/xwindow]
type = internal/xwindow
label = - %title:0:30:...%
format-padding = 2
label-padding-left = 2
label-padding-right = 2
label-background = #1d1f1d
;----------------------------------------------------------
; X K E Y B O A R D
;----------------------------------------------------------
[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock
format-underline = ${colors.secondary}
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
label-layout = %layout%
label-indicator-padding = 2
label-indicator-background = ${colors.secondary}
label-indicator-underline = ${colors.secondary}
;----------------------------------------------------------
; F I L E S Y S T E M
;----------------------------------------------------------
[module/filesystem]
type = internal/fs
interval = 25
mount-0 = /home
;mount-1 = /home
;mount-2 = /invalid/mountpoint
format-mounted-prefix = "/HOME:"
format-mounted-foreground = #FFFFFF
;format-mounted-overline = #73d216
label-mounted = %percentage_used%
label-mounted-padding = 1
;label-mounted-underline= #73d216
;label-mounted-overline= #73d216
label-unmounted = %mountpoint%: not mounted
label-unmounted-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; B S P W M M O D U L E
;----------------------------------------------------------
[module/bspwm]
type = internal/bspwm
; Only show workspaces defined on the same output as the bar
pin-workspaces = true
; Create click handler used to focus workspace
; Default: true
enable-click = true
; Create scroll handlers used to cycle workspaces
; Default: true
enable-scroll = true
; Set the scroll cycle direction
; Default: true
reverse-scroll = false
label-focused = %name%
label-focused-background = #3d3e3b
;label-focused-underline= ${colors.primary}
;label-focused-overline= ${colors.primary}
label-focused-foreground = #8ae234
label-focused-padding = 2
label-occupied = %name%
label-occupied-padding = 2
label-occupied-foreground = #e89a4e
label-urgent = %name%!
label-urgent-background = ${colors.alert}
label-urgent-padding = 2
label-empty = %name%
label-empty-foreground = ${colors.foreground-alt}
label-empty-padding = 2
;----------------------------------------------------------
; M P D
;----------------------------------------------------------
[module/mpd]
type = internal/mpd
format-online = <label-song> <icon-prev> <icon-seekb> <icon-stop> <toggle> <icon-seekf> <icon-next> <icon-repeat> <icon-random>
label-song-maxlen = 25
label-song-ellipsis = true
icon-prev = <
icon-seekb = «
icon-stop = <>
icon-play = |>
icon-pause = ll
icon-next = >
icon-seekf = »
icon-random = ½
icon-repeat = O
toggle-on-foreground = ${colors.primary}
toggle-off-foreground = #66
;----------------------------------------------------------
; B A C K L I G H T
;----------------------------------------------------------
[module/backlight]
type = internal/light
format = <label> <bar>
label = BL
bar-width = 10
bar-indicator = │
bar-indicator-foreground = #ff
bar-indicator-font = 2
bar-fill = ─
bar-fill-font = 2
bar-fill-foreground = #9f78e1
bar-empty = ─
bar-empty-font = 2
bar-empty-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; C P U
;----------------------------------------------------------
[module/cpu]
type = internal/cpu
interval = 2
;format-prefix = " "
format-prefix = " CPU"
;format-prefix-underline = #edd400
;format-prefix-overline = #edd400
format-prefix-foreground = #FFFFFF
format-prefix-background = #222
format-suffix-foreground = #c98080
;label-underline = #edd400
;label-overline = #edd400
label = %percentage%
label-background = #222
label-foreground = #FFFFFF
label-padding = 1
;----------------------------------------------------------
; M E M O R Y
;----------------------------------------------------------
[module/memory]
type = internal/memory
interval = 2
;format-prefix = " "
format-prefix = " RAM:"
format-suffix = "% "
format-prefix-background = #222
format-prefix-foreground = #FFFFFF
;format-prefix-underline = #f57900
;format-prefix-overline = #f57900
format-margin-top = -5
format-suffix-height = 100%
format-suffix-foreground = #FFFFFF
label-background = #222
;format-underline = #475753
label = %percentage_used%
label-foreground = #FFFFFF
label-padding = 1
;label-underline = #f57900
;label-overline = #f57900
;----------------------------------------------------------
; T E X T M O D U L E S
;----------------------------------------------------------
[module/arrow]
type = custom/text
content = ""
content-background = #222
;content-background = #55aa55
content-foreground = #222
content-padding = 0
[module/bluelike]
type = custom/text
content = ""
;content-background = #2e3436
content-background = #58ffef
content-foreground = #555753
content-padding = 0
;----------------------------------------------------------
; W L A N
;----------------------------------------------------------
[module/wlan]
type = internal/network
interface = wlp3s0
interval = 3.0
format-connected-prefix = " "
format-connected-suffix = " "
format-connected-background = #222
format-connected-foreground = #FFFFFF
format-prefix-foreground = #FFFFFF
format-connected = <ramp-signal> <label-connected>
;format-connected-underline = #495858
;format-disconnected-underline = ${self.format-connected-underline}
;format-connected-underline = #37b7a0
;format-connected-overline = #37b7a0
label-connected-padding = 1
label-connected = %signal%
label-connected-foreground = #FFFFFF
label-disconnected = %ifname% disconnected
label-disconnected-foreground = ${colors.foreground-alt}
ramp-signal-0 = +
;ramp-signal-1 = 
;ramp-signal-2 = 
;ramp-signal-3 = 
;ramp-signal-4 = 
ramp-signal-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; E T H E R N E T
;----------------------------------------------------------
[module/eth]
type = internal/network
interface = enp4s0
interval = 3.0
format-connected-underline = #55aa55
format-connected-prefix = " "
format-connected-foreground-foreground = ${colors.foreground-alt}
label-connected = %local_ip%
format-disconnected-underline = ${self.format-connected-underline}
label-disconnected = %ifname% disconnected
label-disconnected-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; T I M E
;----------------------------------------------------------
[module/date]
type = internal/date
interval = 5
date =
date-alt = " %Y-%m-%d "
time-foreground-font = 1
time = %H:%M
time-alt = %H:%M:%S
;format-prefix = " "
format-prefix-foreground = #FFFFFF
;format-overline = #0a6cf5
label = %date% %time%
label-font = 1
;----------------------------------------------------------
; V O L U M E
;----------------------------------------------------------
[module/volume]
type = internal/alsa
format-volume = <label-volume> <bar-volume>
;format-volume = <bar-volume>
label-volume = VOL
label-volume-foreground = #FFFFFF
label-volume-background = #222
;label-volume-underline= #58ffef
;label-volume-overline= #58ffef
format-muted-prefix = " "
format-muted-suffix = " "
format-muted-foreground = #000000
format-muted-background = #ff8c8c
label-muted = MUTE
label-volume-padding = 1
;bar-volume-padding = 1
bar-volume-width = 10
,bar-volume-background = #495858
bar-volume-foreground-0 = #55aa55
bar-volume-foreground-1 = #55aa55
bar-volume-foreground-2 = #55aa55
bar-volume-foreground-3 = #55aa55
bar-volume-foreground-4 = #55aa55
bar-volume-foreground-5 = #f5a70a
bar-volume-foreground-6 = #ff5555
bar-volume-gradient = true
bar-volume-indicator = "|"
bar-volume-indicator-font = 1
bar-volume-indicator-foreground = #95d595
bar-volume-indicator-background = #222
bar-volume-fill-background = #222
bar-volume-fill = ─
bar-volume-fill-font = 5
bar-volume-empty-background = #222
bar-volume-empty-padding = 1
bar-volume-empty = ─
bar-volume-empty-font = 5
bar-volume-empty-foreground = ${colors.foreground-alt}
;bar-volume-indicator-underline= #58ffef
;bar-volume-indicator-overline= #58ffef
;bar-volume-fill-underline= #58ffef
;bar-volume-fill-overline= #58ffef
;bar-volume-empty-underline= #58ffef
;bar-volume-empty-overline= #58ffef
;----------------------------------------------------------
; B A T T E R Y
;----------------------------------------------------------
[module/battery]
type = internal/battery
battery = BAT0
adapter = AC0
full-at = 98
format-charging = <animation-charging> <label-charging>
;format-charging-underline = #4e5942
;ormat-charging-background = #4e5942
format-discharging = <ramp-capacity> <label-discharging>
;format-discharging-underline = #7ab737
;format-discharging-overline = #7ab737
format-full-prefix = " "
;format-full-prefix-foreground = #8ae234
format-full-suffix = " "
format-charging-suffix = " "
format-charging-prefix = " "
format-charging-prefix-foreground = #FFFFFF
;format-charging-suffix-background = #222
;format-charging-background = #4e5942
format-discharging-prefix = " "
format-discharging-prefix-foreground = #FFFFFF
format-discharging-suffix-background = #222
format-discharging-background = #222
format-discharging-padding = 1
format-full-prefix-foreground = #8ae234
format-full-prefix-background = #222
format-full-suffix-background = #222
format-full-background = #222
;format-full-underline = ${self.format-charging-underline}
;format-full-overline = ${self.format-charging-underline}
label-padding = 1
label-full-background = #222
ramp-capacity-0 =
ramp-capacity-1 =
ramp-capacity-2 =
ramp-capacity-foreground = ${colors.foreground-alt}
animation-charging-0 =
animation-charging-1 =
animation-charging-2 =
animation-charging-foreground = ${colors.foreground-alt}
animation-charging-framerate = 750
;----------------------------------------------------------
; T E M P
;----------------------------------------------------------
[module/temperature]
type = internal/temperature
thermal-zone = 0
warn-temperature = 82
format-prefix = "  "
format-prefix-foreground = #FFFFFF
format-prefix-background = #222
format = <ramp> <label>
;format-underline = #c17d11
;format-overline = #c17d11
format-warn = <ramp> <label-warn>
;format-warn-underline = ${self.format-underline}
label = %temperature-c%
label-background = #222
label-warn = %temperature-c%
label-foreground = #FFFFFF
label-warn-foreground = ${colors.secondary}
label-padding = 1
ramp-0 =
ramp-1 =
ramp-2 =
ramp-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; P O W E R M E N U
;----------------------------------------------------------
[module/powermenu]
type = custom/menu
label-open = " o "
label-open-foreground = #FFFFFF
;label-open-overline = #ef2929
label-close = " cancel "
label-close-foreground = #fc4444
label-separator = |
label-separator-foreground = ${colors.foreground-alt}
menu-0-0 = reboot
menu-0-0-exec = menu-open-1
menu-0-1 = power off
menu-0-1-exec = menu-open-2
menu-1-0 = cancel
menu-1-0-exec = menu-open-0
menu-1-1 = reboot
menu-1-1-exec = sudo reboot
menu-2-0 = power off
menu-2-0-exec = sudo poweroff
menu-2-1 = cancel
menu-2-1-exec = menu-open-0
;----------------------------------------------------------
; M E N U
;----------------------------------------------------------
;----------------------------------------------------------
; Q U I C K M E N U
;----------------------------------------------------------
; vim:ft=dosini
+668
View File
@@ -0,0 +1,668 @@
;###################################################################
;
;
; - null4bl3 i3 config -
;
;
;###################################################################
;----------------------------------------------------------
; C O L O R S
;----------------------------------------------------------
[colors]
background = #222
background-alt = #444
foreground = #dfdfdf
foreground-alt = #cbcbcb
primary = #ffb52a
secondary = #e60053
alert = #bd2c40
;----------------------------------------------------------
; G L O B A L
;----------------------------------------------------------
[global/wm]
margin-top = 5
margin-bottom = 5
[bar/bar]
#monitor = ${env:MONITOR:eDP1}
monitor = DP-2-2
width = 100%
height = 22
offset-x = 0
offset-y = 0
;dock = true
;background = ${xrdb:color9}
background = ${colors.background}
foreground = ${colors.foreground}
overline-size = 1
overline-color = #f00
underline-size = 1
underline-color = #00f
border-bottom = 2
border-bottom-color = #333
border-color-foreground = #FFFFFF
spacing = 0
padding-left = 0
padding-right = 1
module-margin-left = 0
module-margin-right = 1
;----------------------------------------------------------
; F O N T S
;----------------------------------------------------------
;font-0 = Terminus:size=12;0
font-0 = Terminus:size=12.4;
font-1 = Terminus:size=10;0
font-2 = Terminus:size=11;0
;font-0 = Terminus:pixelsize=14;0
;font-1 = Terminus:size=11:weight=bold
;font-2 = -*-gohufont-medium-*-*-*-11-*-*-*-*-*-*-*
;font-2 = -*-gohufont-medium-*-*-*-11-*-*-*-*-*-*-*
;font-2 = Vera:size=11:0
font-3 = fa-regular:size=8;0
font-4 = PowerlineSymbols:size=11;0
;font-5 = siji:pixelsize=10;0
font-6 = GohuFont:pixelsize=14:weight=bold
;----------------------------------------------------------
; M A I N M O D U L E L A Y O U T
;----------------------------------------------------------
modules-left = i3
modules-center = xwindow
modules-right = volume memory battery temperature date
;----------------------------------------------------------
; T R A Y
;----------------------------------------------------------
;tray-position = center
tray-position = center
tray-padding = 2
tray-offset-x = 19%
;tray-transparent = true
;tray-background = #0063ff
wm-restack = i3
;wm-restack = bspwm
;override-redirect = true
#scroll-up = bspwm-desknext
#scroll-down = bspwm-deskprev
;----------------------------------------------------------
; X W I N D O W
;----------------------------------------------------------
[module/xwindow]
type = internal/xwindow
label = - %title:0:50:...%
format-padding = 2
label-padding-left = 2
label-padding-right = 2
label-background = #3b3c3b
;----------------------------------------------------------
; X K E Y B O A R D
;----------------------------------------------------------
[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock
format-underline = ${colors.secondary}
format-prefix = "
format-prefix-foreground = ${colors.foreground-alt}
label-layout = %layout%
label-indicator-padding = 2
label-indicator-background = ${colors.secondary}
label-indicator-underline = ${colors.secondary}
;----------------------------------------------------------
; F I L E S Y S T E M
;----------------------------------------------------------
[module/filesystem]
type = internal/fs
interval = 25
mount-0 = /home
;mount-1 = /home
;mount-2 = /invalid/mountpoint
format-mounted-prefix = "/HOME:"
format-mounted-foreground = #FFFFFF
;format-mounted-overline = #73d216
label-mounted = %percentage_used%
label-mounted-padding = 1
;label-mounted-underline= #73d216
;label-mounted-overline= #73d216
label-unmounted = %mountpoint%: not mounted
label-unmounted-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; i3 M O D U L E
;----------------------------------------------------------
[module/i3]
type = internal/i3
; Only show workspaces defined on the same output as the bar
;
; Useful if you want to show monitor specific workspaces
; on different bars
;
; Default: false
pin-workspaces = false
; This will split the workspace name on ':'
; Default: false
strip-wsnumbers = true
; Sort the workspaces by index instead of the default
; sorting that groups the workspaces by output
; Default: false
index-sort = true
; Create click handler used to focus workspace
; Default: true
enable-click = true
; Create scroll handlers used to cycle workspaces
; Default: true
enable-scroll = true
; Wrap around when reaching the first/last workspace
; Default: true
wrapping-scroll = false
; Set the scroll cycle direction
; Default: true
reverse-scroll = false
; Use fuzzy (partial) matching on labels when assigning
; icons to workspaces
; Example: code;♚ will apply the icon to all workspaces
; containing 'code' in the label
; Default: false
fuzzy-match = true
label-padding = 2
label-unfocused = %name%
label-unfocused-foreground = #e89a4e
label-unfocused-padding = 2
label-mode = %mode%
label-mode-padding = 2
label-mode-background = #e60053
label-focused = %name%
label-focused-background = #3d3e3b
label-focused-overline= ${colors.primary}
label-focused-foreground = #8ae234
label-focused-padding = 2
label-urgent = %name%!
label-urgent-background = ${colors.alert}
label-urgent-padding = 2
;----------------------------------------------------------
; B S P W M M O D U L E
;----------------------------------------------------------
[module/bspwm]
type = internal/bspwm
; Only show workspaces defined on the same output as the bar
pin-workspaces = true
; Create click handler used to focus workspace
; Default: true
enable-click = true
; Create scroll handlers used to cycle workspaces
; Default: true
enable-scroll = true
; Set the scroll cycle direction
; Default: true
reverse-scroll = false
label-focused = %name%
label-focused-background = #3d3e3b
;label-focused-underline= ${colors.primary}
;label-focused-overline= ${colors.primary}
label-focused-foreground = #8ae234
label-focused-padding = 2
label-occupied = %name%
label-occupied-padding = 2
label-occupied-foreground = #e89a4e
label-urgent = %name%!
label-urgent-background = ${colors.alert}
label-urgent-padding = 2
label-empty = %name%
label-empty-foreground = ${colors.foreground-alt}
label-empty-padding = 2
;----------------------------------------------------------
; M P D
;----------------------------------------------------------
[module/mpd]
type = internal/mpd
format-online = <label-song> <icon-prev> <icon-seekb> <icon-stop> <toggle> <icon-seekf> <icon-next> <icon-repeat> <icon-random>
label-song-maxlen = 25
label-song-ellipsis = true
icon-stop = <>
icon-random = ½
icon-repeat = O
toggle-on-foreground = ${colors.primary}
toggle-off-foreground = #66
;----------------------------------------------------------
; B A C K L I G H T
;----------------------------------------------------------
[module/backlight]
type = internal/light
format = <label> <bar>
label = BL
bar-width = 10
bar-indicator = │
bar-indicator-foreground = #ff
bar-indicator-font = 2
bar-fill = ─
bar-fill-font = 2
bar-fill-foreground = #9f78e1
bar-empty = ─
bar-empty-font = 2
bar-empty-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; C P U
;----------------------------------------------------------
[module/cpu]
type = internal/cpu
interval = 2
;format-prefix = " "
format-prefix = " CPU"
;format-prefix-underline = #edd400
;format-prefix-overline = #edd400
format-prefix-foreground = #FFFFFF
format-prefix-background = #222
format-suffix-foreground = #c98080
;label-underline = #edd400
;label-overline = #edd400
label = %percentage%
label-background = #222
label-foreground = #FFFFFF
label-padding = 1
;----------------------------------------------------------
; M E M O R Y
;----------------------------------------------------------
[module/memory]
type = internal/memory
interval = 2
;format-prefix = " "
;format-prefix-font = 3
format-prefix = " RAM:"
format-prefix-background = #222
format-prefix-foreground = #FFFFFF
;format-prefix-underline = #f57900
;format-prefix-overline = #f57900
format-margin-top = -5
format-suffix-height = 100%
format-suffix-foreground = #FFFFFF
label-background = #222
;format-underline = #475753
label = %percentage_used%
label-foreground = #FFFFFF
label-padding = 1
;label-underline = #f57900
;label-overline = #f57900
;----------------------------------------------------------
; T E X T M O D U L E S
;----------------------------------------------------------
[module/arrow]
type = custom/text
content = ""
content-background = #222
;content-background = #55aa55
content-foreground = #222
content-padding = 0
[module/bluelike]
type = custom/text
content = ""
;content-background = #2e3436
content-background = #58ffef
content-foreground = #555753
content-padding = 0
;----------------------------------------------------------
; W L A N
;----------------------------------------------------------
[module/wlan]
type = internal/network
interface = wlp3s0
interval = 3.0
format-connected-prefix = " "
format-connected-background = #222
format-connected-foreground = #FFFFFF
format-prefix-foreground = #FFFFFF
format-connected = <ramp-signal> <label-connected>
;format-connected-underline = #495858
;format-disconnected-underline = ${self.format-connected-underline}
;format-connected-underline = #37b7a0
;format-connected-overline = #37b7a0
label-connected-padding = 1
label-connected = %signal%
label-connected-foreground = #FFFFFF
label-disconnected = %ifname% disconnected
label-disconnected-foreground = ${colors.foreground-alt}
ramp-signal-0 =
;ramp-signal-1 =
;ramp-signal-2 =
;ramp-signal-3 =
;ramp-signal-4 =
ramp-signal-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; E T H E R N E T
;----------------------------------------------------------
[module/eth]
type = internal/network
interface = enp4s0
interval = 3.0
format-connected-underline = #55aa55
format-connected-prefix = " "
format-connected-foreground-foreground = ${colors.foreground-alt}
label-connected = %local_ip%
format-disconnected-underline = ${self.format-connected-underline}
label-disconnected = %ifname% disconnected
label-disconnected-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; T I M E
;----------------------------------------------------------
[module/date]
type = internal/date
interval = 5
date =
date-alt = " %Y-%m-%d "
time-foreground-font = 1
time = %H:%M
time-alt = %H:%M:%S
format-prefix = " "
format-prefix-foreground = #FFFFFF
;format-overline = #0a6cf5
label = %date% %time%
label-font = 1
label-color = #000000
;----------------------------------------------------------
; V O L U M E
;----------------------------------------------------------
[module/volume]
type = internal/volume
format-volume = <label-volume> <bar-volume>
;format-volume = <bar-volume>
label-volume = VOL
label-volume-foreground = #FFFFFF
label-volume-background = #222
;label-volume-underline= #58ffef
;label-volume-overline= #58ffef
format-muted-prefix = " "
format-muted-suffix = " "
format-muted-foreground = #000000
format-muted-background = #ff8c8c
label-muted = MUTE
label-volume-padding = 1
;bar-volume-padding = 1
bar-volume-width = 10
,bar-volume-background = #495858
bar-volume-foreground-0 = #55aa55
bar-volume-foreground-1 = #55aa55
bar-volume-foreground-2 = #55aa55
bar-volume-foreground-3 = #55aa55
bar-volume-foreground-4 = #55aa55
bar-volume-foreground-5 = #f5a70a
bar-volume-foreground-6 = #ff5555
bar-volume-gradient = true
bar-volume-indicator = "|"
bar-volume-indicator-font = 1
bar-volume-indicator-foreground = #95d595
bar-volume-indicator-background = #222
bar-volume-fill-background = #222
bar-volume-fill = ─
bar-volume-fill-font = 5
bar-volume-empty-background = #222
bar-volume-empty-padding = 1
bar-volume-empty = ─
bar-volume-empty-font = 5
bar-volume-empty-foreground = ${colors.foreground-alt}
;bar-volume-indicator-underline= #58ffef
;bar-volume-indicator-overline= #58ffef
;bar-volume-fill-underline= #58ffef
;bar-volume-fill-overline= #58ffef
;bar-volume-empty-underline= #58ffef
;bar-volume-empty-overline= #58ffef
;----------------------------------------------------------
; B A T T E R Y
;----------------------------------------------------------
[module/battery]
type = internal/battery
battery = BAT0
adapter = AC0
full-at = 98
format-charging = <animation-charging> <label-charging>
;format-charging-underline = #4e5942
;ormat-charging-background = #4e5942
format-discharging = <ramp-capacity> <label-discharging>
;format-discharging-underline = #7ab737
;format-discharging-overline = #7ab737
format-full-prefix = " "
;format-full-prefix-foreground = #8ae234
format-full-suffix = " "
format-charging-suffix = " "
format-charging-prefix = " "
format-charging-prefix-foreground = #FFFFFF
;format-charging-suffix-background = #222
;format-charging-background = #4e5942
format-discharging-prefix = " "
format-discharging-prefix-foreground = #FFFFFF
format-discharging-suffix-background = #222
format-discharging-background = #222
format-discharging-padding = 1
format-full-prefix-foreground = #8ae234
format-full-prefix-background = #222
format-full-suffix-background = #222
format-full-background = #222
;format-full-underline = ${self.format-charging-underline}
;format-full-overline = ${self.format-charging-underline}
label-padding = 1
label-full-background = #222
ramp-capacity-0 =
ramp-capacity-1 =
ramp-capacity-2 =
ramp-capacity-foreground = ${colors.foreground-alt}
animation-charging-0 =
animation-charging-1 =
animation-charging-2 =
animation-charging-foreground = ${colors.foreground-alt}
animation-charging-framerate = 750
;----------------------------------------------------------
; T E M P
;----------------------------------------------------------
[module/temperature]
type = internal/temperature
thermal-zone = 0
warn-temperature = 82
format-prefix = "  "
format-prefix-foreground = #FFFFFF
format-prefix-background = #222
format = <ramp> <label>
;format-underline = #c17d11
;format-overline = #c17d11
format-warn = <ramp> <label-warn>
;format-warn-underline = ${self.format-underline}
label = %temperature-c%
label-background = #222
label-warn = %temperature-c%
label-foreground = #FFFFFF
label-warn-foreground = ${colors.secondary}
label-padding = 1
ramp-0 =
ramp-1 =
ramp-2 =
ramp-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; P O W E R M E N U
;----------------------------------------------------------
[module/powermenu]
type = custom/menu
label-open = "  "
label-open-foreground = #FFFFFF
;label-open-overline = #ef2929
label-close =  cancel -
label-close-foreground = #fc4444
label-separator = |
label-separator-foreground = ${colors.foreground-alt}
menu-0-0 = " reboot "
menu-0-0-exec = menu-open-1
menu-0-1 = " shutdown "
menu-0-1-exec = menu-open-2
menu-1-0 = " cancel "
menu-1-0-exec = menu-open-0
menu-1-1 = " reboot "
menu-1-1-exec = sudo reboot
menu-2-0 = " shutdown "
menu-2-0-exec = sudo poweroff
menu-2-1 = cancel
menu-2-1-exec = menu-open-0
;----------------------------------------------------------
; Q U I C K M E N U
;----------------------------------------------------------
[module/quickmenu]
type = custom/menu
label-padding-left = 2
label-padding-right = 2
label-open = " "
label-open-foreground = #85e178
label-close =  cancel
label-close-foreground = #fc4444
label-separator = |
label-separator-foreground = ${colors.foreground-alt}
menu-0-0 = " term "
menu-0-0-exec = mate-terminal &
menu-0-1 = " files "
menu-0-1-exec = pcmanfm &
menu-0-2 = " text "
menu-0-2-exec = gedit &
menu-1-0 = cancel
menu-1-0-exec = menu-open-0
; vim:ft=dosini
+668
View File
@@ -0,0 +1,668 @@
;###################################################################
;
;
; - null4bl3 i3 config -
;
;
;###################################################################
;----------------------------------------------------------
; C O L O R S
;----------------------------------------------------------
[colors]
background = #222
background-alt = #444
foreground = #dfdfdf
foreground-alt = #cbcbcb
primary = #ffb52a
secondary = #e60053
alert = #bd2c40
;----------------------------------------------------------
; G L O B A L
;----------------------------------------------------------
[global/wm]
margin-top = 5
margin-bottom = 5
[bar/bar]
#monitor = ${env:MONITOR:eDP1}
monitor = eDP-1
width = 100%
height = 22
offset-x = 0
offset-y = 0
;dock = true
;background = ${xrdb:color9}
background = ${colors.background}
foreground = ${colors.foreground}
overline-size = 1
overline-color = #f00
underline-size = 1
underline-color = #00f
border-bottom = 2
border-bottom-color = #333
border-color-foreground = #FFFFFF
spacing = 0
padding-left = 0
padding-right = 1
module-margin-left = 0
module-margin-right = 1
;----------------------------------------------------------
; F O N T S
;----------------------------------------------------------
;font-0 = Terminus:size=12;0
font-0 = Terminus:size=12.4;
font-1 = Terminus:size=10;0
font-2 = Terminus:size=11;0
;font-0 = Terminus:pixelsize=14;0
;font-1 = Terminus:size=11:weight=bold
;font-2 = -*-gohufont-medium-*-*-*-11-*-*-*-*-*-*-*
;font-2 = -*-gohufont-medium-*-*-*-11-*-*-*-*-*-*-*
;font-2 = Vera:size=11:0
font-3 = fa-regular:size=8;0
font-4 = PowerlineSymbols:size=11;0
;font-5 = siji:pixelsize=10;0
font-6 = GohuFont:pixelsize=14:weight=bold
;----------------------------------------------------------
; M A I N M O D U L E L A Y O U T
;----------------------------------------------------------
modules-left = i3
modules-center = xwindow
modules-right = volume memory battery temperature date
;----------------------------------------------------------
; T R A Y
;----------------------------------------------------------
;tray-position = center
tray-position = center
tray-padding = 2
tray-offset-x = 19%
;tray-transparent = true
;tray-background = #0063ff
wm-restack = i3
;wm-restack = bspwm
;override-redirect = true
#scroll-up = bspwm-desknext
#scroll-down = bspwm-deskprev
;----------------------------------------------------------
; X W I N D O W
;----------------------------------------------------------
[module/xwindow]
type = internal/xwindow
label = - %title:0:50:...%
format-padding = 2
label-padding-left = 2
label-padding-right = 2
label-background = #3b3c3b
;----------------------------------------------------------
; X K E Y B O A R D
;----------------------------------------------------------
[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock
format-underline = ${colors.secondary}
format-prefix = "
format-prefix-foreground = ${colors.foreground-alt}
label-layout = %layout%
label-indicator-padding = 2
label-indicator-background = ${colors.secondary}
label-indicator-underline = ${colors.secondary}
;----------------------------------------------------------
; F I L E S Y S T E M
;----------------------------------------------------------
[module/filesystem]
type = internal/fs
interval = 25
mount-0 = /home
;mount-1 = /home
;mount-2 = /invalid/mountpoint
format-mounted-prefix = "/HOME:"
format-mounted-foreground = #FFFFFF
;format-mounted-overline = #73d216
label-mounted = %percentage_used%
label-mounted-padding = 1
;label-mounted-underline= #73d216
;label-mounted-overline= #73d216
label-unmounted = %mountpoint%: not mounted
label-unmounted-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; i3 M O D U L E
;----------------------------------------------------------
[module/i3]
type = internal/i3
; Only show workspaces defined on the same output as the bar
;
; Useful if you want to show monitor specific workspaces
; on different bars
;
; Default: false
pin-workspaces = false
; This will split the workspace name on ':'
; Default: false
strip-wsnumbers = true
; Sort the workspaces by index instead of the default
; sorting that groups the workspaces by output
; Default: false
index-sort = true
; Create click handler used to focus workspace
; Default: true
enable-click = true
; Create scroll handlers used to cycle workspaces
; Default: true
enable-scroll = true
; Wrap around when reaching the first/last workspace
; Default: true
wrapping-scroll = false
; Set the scroll cycle direction
; Default: true
reverse-scroll = false
; Use fuzzy (partial) matching on labels when assigning
; icons to workspaces
; Example: code;♚ will apply the icon to all workspaces
; containing 'code' in the label
; Default: false
fuzzy-match = true
label-padding = 2
label-unfocused = %name%
label-unfocused-foreground = #e89a4e
label-unfocused-padding = 2
label-mode = %mode%
label-mode-padding = 2
label-mode-background = #e60053
label-focused = %name%
label-focused-background = #3d3e3b
label-focused-overline= ${colors.primary}
label-focused-foreground = #8ae234
label-focused-padding = 2
label-urgent = %name%!
label-urgent-background = ${colors.alert}
label-urgent-padding = 2
;----------------------------------------------------------
; B S P W M M O D U L E
;----------------------------------------------------------
[module/bspwm]
type = internal/bspwm
; Only show workspaces defined on the same output as the bar
pin-workspaces = true
; Create click handler used to focus workspace
; Default: true
enable-click = true
; Create scroll handlers used to cycle workspaces
; Default: true
enable-scroll = true
; Set the scroll cycle direction
; Default: true
reverse-scroll = false
label-focused = %name%
label-focused-background = #3d3e3b
;label-focused-underline= ${colors.primary}
;label-focused-overline= ${colors.primary}
label-focused-foreground = #8ae234
label-focused-padding = 2
label-occupied = %name%
label-occupied-padding = 2
label-occupied-foreground = #e89a4e
label-urgent = %name%!
label-urgent-background = ${colors.alert}
label-urgent-padding = 2
label-empty = %name%
label-empty-foreground = ${colors.foreground-alt}
label-empty-padding = 2
;----------------------------------------------------------
; M P D
;----------------------------------------------------------
[module/mpd]
type = internal/mpd
format-online = <label-song> <icon-prev> <icon-seekb> <icon-stop> <toggle> <icon-seekf> <icon-next> <icon-repeat> <icon-random>
label-song-maxlen = 25
label-song-ellipsis = true
icon-stop = <>
icon-random = ½
icon-repeat = O
toggle-on-foreground = ${colors.primary}
toggle-off-foreground = #66
;----------------------------------------------------------
; B A C K L I G H T
;----------------------------------------------------------
[module/backlight]
type = internal/light
format = <label> <bar>
label = BL
bar-width = 10
bar-indicator = │
bar-indicator-foreground = #ff
bar-indicator-font = 2
bar-fill = ─
bar-fill-font = 2
bar-fill-foreground = #9f78e1
bar-empty = ─
bar-empty-font = 2
bar-empty-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; C P U
;----------------------------------------------------------
[module/cpu]
type = internal/cpu
interval = 2
;format-prefix = " "
format-prefix = " CPU"
;format-prefix-underline = #edd400
;format-prefix-overline = #edd400
format-prefix-foreground = #FFFFFF
format-prefix-background = #222
format-suffix-foreground = #c98080
;label-underline = #edd400
;label-overline = #edd400
label = %percentage%
label-background = #222
label-foreground = #FFFFFF
label-padding = 1
;----------------------------------------------------------
; M E M O R Y
;----------------------------------------------------------
[module/memory]
type = internal/memory
interval = 2
;format-prefix = " "
;format-prefix-font = 3
format-prefix = " RAM:"
format-prefix-background = #222
format-prefix-foreground = #FFFFFF
;format-prefix-underline = #f57900
;format-prefix-overline = #f57900
format-margin-top = -5
format-suffix-height = 100%
format-suffix-foreground = #FFFFFF
label-background = #222
;format-underline = #475753
label = %percentage_used%
label-foreground = #FFFFFF
label-padding = 1
;label-underline = #f57900
;label-overline = #f57900
;----------------------------------------------------------
; T E X T M O D U L E S
;----------------------------------------------------------
[module/arrow]
type = custom/text
content = ""
content-background = #222
;content-background = #55aa55
content-foreground = #222
content-padding = 0
[module/bluelike]
type = custom/text
content = ""
;content-background = #2e3436
content-background = #58ffef
content-foreground = #555753
content-padding = 0
;----------------------------------------------------------
; W L A N
;----------------------------------------------------------
[module/wlan]
type = internal/network
interface = wlp3s0
interval = 3.0
format-connected-prefix = " "
format-connected-background = #222
format-connected-foreground = #FFFFFF
format-prefix-foreground = #FFFFFF
format-connected = <ramp-signal> <label-connected>
;format-connected-underline = #495858
;format-disconnected-underline = ${self.format-connected-underline}
;format-connected-underline = #37b7a0
;format-connected-overline = #37b7a0
label-connected-padding = 1
label-connected = %signal%
label-connected-foreground = #FFFFFF
label-disconnected = %ifname% disconnected
label-disconnected-foreground = ${colors.foreground-alt}
ramp-signal-0 =
;ramp-signal-1 =
;ramp-signal-2 =
;ramp-signal-3 =
;ramp-signal-4 =
ramp-signal-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; E T H E R N E T
;----------------------------------------------------------
[module/eth]
type = internal/network
interface = enp4s0
interval = 3.0
format-connected-underline = #55aa55
format-connected-prefix = " "
format-connected-foreground-foreground = ${colors.foreground-alt}
label-connected = %local_ip%
format-disconnected-underline = ${self.format-connected-underline}
label-disconnected = %ifname% disconnected
label-disconnected-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; T I M E
;----------------------------------------------------------
[module/date]
type = internal/date
interval = 5
date =
date-alt = " %Y-%m-%d "
time-foreground-font = 1
time = %H:%M
time-alt = %H:%M:%S
format-prefix = " "
format-prefix-foreground = #FFFFFF
;format-overline = #0a6cf5
label = %date% %time%
label-font = 1
label-color = #000000
;----------------------------------------------------------
; V O L U M E
;----------------------------------------------------------
[module/volume]
type = internal/volume
format-volume = <label-volume> <bar-volume>
;format-volume = <bar-volume>
label-volume = VOL
label-volume-foreground = #FFFFFF
label-volume-background = #222
;label-volume-underline= #58ffef
;label-volume-overline= #58ffef
format-muted-prefix = " "
format-muted-suffix = " "
format-muted-foreground = #000000
format-muted-background = #ff8c8c
label-muted = MUTE
label-volume-padding = 1
;bar-volume-padding = 1
bar-volume-width = 10
,bar-volume-background = #495858
bar-volume-foreground-0 = #55aa55
bar-volume-foreground-1 = #55aa55
bar-volume-foreground-2 = #55aa55
bar-volume-foreground-3 = #55aa55
bar-volume-foreground-4 = #55aa55
bar-volume-foreground-5 = #f5a70a
bar-volume-foreground-6 = #ff5555
bar-volume-gradient = true
bar-volume-indicator = "|"
bar-volume-indicator-font = 1
bar-volume-indicator-foreground = #95d595
bar-volume-indicator-background = #222
bar-volume-fill-background = #222
bar-volume-fill = ─
bar-volume-fill-font = 5
bar-volume-empty-background = #222
bar-volume-empty-padding = 1
bar-volume-empty = ─
bar-volume-empty-font = 5
bar-volume-empty-foreground = ${colors.foreground-alt}
;bar-volume-indicator-underline= #58ffef
;bar-volume-indicator-overline= #58ffef
;bar-volume-fill-underline= #58ffef
;bar-volume-fill-overline= #58ffef
;bar-volume-empty-underline= #58ffef
;bar-volume-empty-overline= #58ffef
;----------------------------------------------------------
; B A T T E R Y
;----------------------------------------------------------
[module/battery]
type = internal/battery
battery = BAT0
adapter = AC0
full-at = 98
format-charging = <animation-charging> <label-charging>
;format-charging-underline = #4e5942
;ormat-charging-background = #4e5942
format-discharging = <ramp-capacity> <label-discharging>
;format-discharging-underline = #7ab737
;format-discharging-overline = #7ab737
format-full-prefix = " "
;format-full-prefix-foreground = #8ae234
format-full-suffix = " "
format-charging-suffix = " "
format-charging-prefix = " "
format-charging-prefix-foreground = #FFFFFF
;format-charging-suffix-background = #222
;format-charging-background = #4e5942
format-discharging-prefix = " "
format-discharging-prefix-foreground = #FFFFFF
format-discharging-suffix-background = #222
format-discharging-background = #222
format-discharging-padding = 1
format-full-prefix-foreground = #8ae234
format-full-prefix-background = #222
format-full-suffix-background = #222
format-full-background = #222
;format-full-underline = ${self.format-charging-underline}
;format-full-overline = ${self.format-charging-underline}
label-padding = 1
label-full-background = #222
ramp-capacity-0 =
ramp-capacity-1 =
ramp-capacity-2 =
ramp-capacity-foreground = ${colors.foreground-alt}
animation-charging-0 =
animation-charging-1 =
animation-charging-2 =
animation-charging-foreground = ${colors.foreground-alt}
animation-charging-framerate = 750
;----------------------------------------------------------
; T E M P
;----------------------------------------------------------
[module/temperature]
type = internal/temperature
thermal-zone = 0
warn-temperature = 82
format-prefix = "  "
format-prefix-foreground = #FFFFFF
format-prefix-background = #222
format = <ramp> <label>
;format-underline = #c17d11
;format-overline = #c17d11
format-warn = <ramp> <label-warn>
;format-warn-underline = ${self.format-underline}
label = %temperature-c%
label-background = #222
label-warn = %temperature-c%
label-foreground = #FFFFFF
label-warn-foreground = ${colors.secondary}
label-padding = 1
ramp-0 =
ramp-1 =
ramp-2 =
ramp-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; P O W E R M E N U
;----------------------------------------------------------
[module/powermenu]
type = custom/menu
label-open = "  "
label-open-foreground = #FFFFFF
;label-open-overline = #ef2929
label-close =  cancel -
label-close-foreground = #fc4444
label-separator = |
label-separator-foreground = ${colors.foreground-alt}
menu-0-0 = " reboot "
menu-0-0-exec = menu-open-1
menu-0-1 = " shutdown "
menu-0-1-exec = menu-open-2
menu-1-0 = " cancel "
menu-1-0-exec = menu-open-0
menu-1-1 = " reboot "
menu-1-1-exec = sudo reboot
menu-2-0 = " shutdown "
menu-2-0-exec = sudo poweroff
menu-2-1 = cancel
menu-2-1-exec = menu-open-0
;----------------------------------------------------------
; Q U I C K M E N U
;----------------------------------------------------------
[module/quickmenu]
type = custom/menu
label-padding-left = 2
label-padding-right = 2
label-open = " "
label-open-foreground = #85e178
label-close =  cancel
label-close-foreground = #fc4444
label-separator = |
label-separator-foreground = ${colors.foreground-alt}
menu-0-0 = " term "
menu-0-0-exec = mate-terminal &
menu-0-1 = " files "
menu-0-1-exec = pcmanfm &
menu-0-2 = " text "
menu-0-2-exec = gedit &
menu-1-0 = cancel
menu-1-0-exec = menu-open-0
; vim:ft=dosini
+677
View File
@@ -0,0 +1,677 @@
;###################################################################
;
;
; - uNd0xR polybar config -
;
;
;###################################################################
;----------------------------------------------------------
; C O L O R S
;----------------------------------------------------------
[colors]
background = #222
background-alt = #444
foreground = #dfdfdf
foreground-alt = #cbcbcb
primary = #ffb52a
secondary = #e60053
alert = #bd2c40
;----------------------------------------------------------
; G L O B A L
;----------------------------------------------------------
[global/wm]
margin-top = 0
margin-bottom = 2
[bar/bar]
monitor = ${env:MONITOR:eDP1}
width = 100%
height = 22
offset-x = 0
offset-y = 0
;dock = true
;background = ${xrdb:color9}
background = ${colors.background}
foreground = ${colors.foreground}
overline-size = 1
overline-color = #f00
underline-size = 1
underline-color = #00f
border-bottom-size = 1
border-bottom-color = #333
border-color-foreground = #FFFFFF
spacing = 0
padding-left = 0
padding-right = 1
module-margin-left = 0
module-margin-right = 1
;----------------------------------------------------------
; F O N T S
;----------------------------------------------------------
;font-0 = Terminus:size=12;0
font-0 = Terminus:size=12;0
;font-0 = Roboto:pixelsize=14;0
font-1 = Roboto:size=11:weight=bold
font-2 = -*-gohufont-medium-*-*-*-11-*-*-*-*-*-*-*
font-3 = FontAwesome:size=8;0
font-4 = PowerlineSymbols:size=9;0
font-5 = siji:pixelsize=10;0
font-6 = GohuFont:pixelsize=14:weight=bold
;----------------------------------------------------------
; M A I N M O D U L E L A Y O U T
;----------------------------------------------------------
modules-left = i3 quickmenu xwindow
modules-center =
modules-right = arrow volume memory battery temperature date
;----------------------------------------------------------
; T R A Y
;----------------------------------------------------------
;tray-position = center
tray-position = center
tray-padding = 2
tray-offset-x = 21%
;tray-transparent = true
;tray-background = #0063ff
;wm-restack = i3
;override-redirect = true
scroll-up = bspwm-desknext
scroll-down = bspwm-deskprev
;----------------------------------------------------------
; i3 M O D U L E
;----------------------------------------------------------
[module/i3]
type = internal/i3
; Only show workspaces defined on the same output as the bar
;
; Useful if you want to show monitor specific workspaces
; on different bars
;
; Default: false
pin-workspaces = false
; This will split the workspace name on ':'
; Default: false
strip-wsnumbers = true
; Sort the workspaces by index instead of the default
; sorting that groups the workspaces by output
; Default: false
index-sort = true
; Create click handler used to focus workspace
; Default: true
enable-click = true
; Create scroll handlers used to cycle workspaces
; Default: true
enable-scroll = true
; Wrap around when reaching the first/last workspace
; Default: true
wrapping-scroll = false
; Set the scroll cycle direction
; Default: true
reverse-scroll = false
; Use fuzzy (partial) matching on labels when assigning
; icons to workspaces
; Example: code;♚ will apply the icon to all workspaces
; containing 'code' in the label
; Default: false
fuzzy-match = true
label-padding = 2
label-focused = %name%
label-focused-background = #3d3e3b
;label-focused-underline= ${colors.primary}
;label-focused-overline= ${colors.primary}
label-focused-foreground = #8ae234
label-focused-padding = 2
label-occupied = %name%
label-occupied-padding = 4
label-occupied-foreground = #e89a4e
label-urgent = %name%!
label-urgent-background = ${colors.alert}
label-urgent-padding = 2
label-empty = %name%
label-empty-foreground = ${colors.foreground-alt}
label-empty-padding = 2
label-visible = %name%
label-visible-foreground = #e89a4e
label-visible-padding = 2
label-unfocused = %name%
label-unfocused-padding = 2
;----------------------------------------------------------
; X W I N D O W
;----------------------------------------------------------
[module/xwindow]
type = internal/xwindow
label = - %title:0:50:...%
format-padding = 2
label-padding-left = 2
label-padding-right = 2
label-background = #3b3c3b
;----------------------------------------------------------
; X K E Y B O A R D
;----------------------------------------------------------
[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock
format-underline = ${colors.secondary}
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
label-layout = %layout%
label-indicator-padding = 2
label-indicator-background = ${colors.secondary}
label-indicator-underline = ${colors.secondary}
;----------------------------------------------------------
; F I L E S Y S T E M
;----------------------------------------------------------
[module/filesystem]
type = internal/fs
interval = 25
mount-0 = /home
;mount-1 = /home
;mount-2 = /invalid/mountpoint
format-mounted-prefix = "/HOME:"
format-mounted-foreground = #FFFFFF
;format-mounted-overline = #73d216
label-mounted = %percentage_used%
label-mounted-padding = 1
;label-mounted-underline= #73d216
;label-mounted-overline= #73d216
label-unmounted = %mountpoint%: not mounted
label-unmounted-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; B S P W M M O D U L E
;----------------------------------------------------------
[module/bspwm]
type = internal/bspwm
; Only show workspaces defined on the same output as the bar
pin-workspaces = true
; Create click handler used to focus workspace
; Default: true
enable-click = true
; Create scroll handlers used to cycle workspaces
; Default: true
enable-scroll = true
; Set the scroll cycle direction
; Default: true
reverse-scroll = false
label-focused = %name%
label-focused-background = #3d3e3b
;label-focused-underline= ${colors.primary}
;label-focused-overline= ${colors.primary}
label-focused-foreground = #8ae234
label-focused-padding = 2
label-occupied = %name%
label-occupied-padding = 2
label-occupied-foreground = #e89a4e
label-urgent = %name%!
label-urgent-background = ${colors.alert}
label-urgent-padding = 2
label-empty = %name%
label-empty-foreground = ${colors.foreground-alt}
label-empty-padding = 2
;----------------------------------------------------------
; M P D
;----------------------------------------------------------
[module/mpd]
type = internal/mpd
format-online = <label-song> <icon-prev> <icon-seekb> <icon-stop> <toggle> <icon-seekf> <icon-next> <icon-repeat> <icon-random>
label-song-maxlen = 25
label-song-ellipsis = true
icon-prev = <
icon-seekb = «
icon-stop = <>
icon-play = |>
icon-pause = ll
icon-next = >
icon-seekf = »
icon-random = ½
icon-repeat = O
toggle-on-foreground = ${colors.primary}
toggle-off-foreground = #66
;----------------------------------------------------------
; B A C K L I G H T
;----------------------------------------------------------
[module/backlight]
type = internal/light
format = <label> <bar>
label = BL
bar-width = 10
bar-indicator = │
bar-indicator-foreground = #ff
bar-indicator-font = 2
bar-fill = ─
bar-fill-font = 2
bar-fill-foreground = #9f78e1
bar-empty = ─
bar-empty-font = 2
bar-empty-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; C P U
;----------------------------------------------------------
[module/cpu]
type = internal/cpu
interval = 2
;format-prefix = " "
format-prefix = " CPU"
;format-prefix-underline = #edd400
;format-prefix-overline = #edd400
format-prefix-foreground = #FFFFFF
format-prefix-background = #222
format-suffix-foreground = #c98080
;label-underline = #edd400
;label-overline = #edd400
label = %percentage%
label-background = #222
label-foreground = #FFFFFF
label-padding = 1
;----------------------------------------------------------
; M E M O R Y
;----------------------------------------------------------
[module/memory]
type = internal/memory
interval = 2
;format-prefix = " "
format-prefix = " RAM:"
format-suffix = "% "
format-prefix-background = #222
format-prefix-foreground = #FFFFFF
;format-prefix-underline = #f57900
;format-prefix-overline = #f57900
format-margin-top = -5
format-suffix-height = 100%
format-suffix-foreground = #FFFFFF
label-background = #222
;format-underline = #475753
label = %percentage_used%
label-foreground = #FFFFFF
label-padding = 1
;label-underline = #f57900
;label-overline = #f57900
;----------------------------------------------------------
; T E X T M O D U L E S
;----------------------------------------------------------
[module/arrow]
type = custom/text
content = ""
content-background = #222
;content-background = #55aa55
content-foreground = #222
content-padding = 0
[module/bluelike]
type = custom/text
content = ""
;content-background = #2e3436
content-background = #58ffef
content-foreground = #555753
content-padding = 0
;----------------------------------------------------------
; W L A N
;----------------------------------------------------------
[module/wlan]
type = internal/network
interface = wlp3s0
interval = 3.0
format-connected-prefix = " "
format-connected-suffix = " "
format-connected-background = #222
format-connected-foreground = #FFFFFF
format-prefix-foreground = #FFFFFF
format-connected = <ramp-signal> <label-connected>
;format-connected-underline = #495858
;format-disconnected-underline = ${self.format-connected-underline}
;format-connected-underline = #37b7a0
;format-connected-overline = #37b7a0
label-connected-padding = 1
label-connected = %signal%
label-connected-foreground = #FFFFFF
label-disconnected = %ifname% disconnected
label-disconnected-foreground = ${colors.foreground-alt}
ramp-signal-0 = +
;ramp-signal-1 = 
;ramp-signal-2 = 
;ramp-signal-3 = 
;ramp-signal-4 = 
ramp-signal-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; E T H E R N E T
;----------------------------------------------------------
[module/eth]
type = internal/network
interface = enp4s0
interval = 3.0
format-connected-underline = #55aa55
format-connected-prefix = " "
format-connected-foreground-foreground = ${colors.foreground-alt}
label-connected = %local_ip%
format-disconnected-underline = ${self.format-connected-underline}
label-disconnected = %ifname% disconnected
label-disconnected-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; T I M E
;----------------------------------------------------------
[module/date]
type = internal/date
interval = 5
date =
date-alt = " %Y-%m-%d "
time-foreground-font = 1
time = %H:%M
time-alt = %H:%M:%S
;format-prefix = " "
format-prefix-foreground = #FFFFFF
;format-overline = #0a6cf5
label = %date% %time%
label-font = 1
;----------------------------------------------------------
; V O L U M E
;----------------------------------------------------------
[module/volume]
type = internal/alsa
format-volume = <label-volume> <bar-volume>
;format-volume = <bar-volume>
label-volume = VOL
label-volume-foreground = #FFFFFF
label-volume-background = #222
;label-volume-underline= #58ffef
;label-volume-overline= #58ffef
format-muted-prefix = " "
format-muted-suffix = " "
format-muted-foreground = #000000
format-muted-background = #ff8c8c
label-muted = MUTE
label-volume-padding = 1
;bar-volume-padding = 1
bar-volume-width = 10
,bar-volume-background = #495858
bar-volume-foreground-0 = #55aa55
bar-volume-foreground-1 = #55aa55
bar-volume-foreground-2 = #55aa55
bar-volume-foreground-3 = #55aa55
bar-volume-foreground-4 = #55aa55
bar-volume-foreground-5 = #f5a70a
bar-volume-foreground-6 = #ff5555
bar-volume-gradient = true
bar-volume-indicator = "|"
bar-volume-indicator-font = 1
bar-volume-indicator-foreground = #95d595
bar-volume-indicator-background = #222
bar-volume-fill-background = #222
bar-volume-fill = ─
bar-volume-fill-font = 5
bar-volume-empty-background = #222
bar-volume-empty-padding = 1
bar-volume-empty = ─
bar-volume-empty-font = 5
bar-volume-empty-foreground = ${colors.foreground-alt}
;bar-volume-indicator-underline= #58ffef
;bar-volume-indicator-overline= #58ffef
;bar-volume-fill-underline= #58ffef
;bar-volume-fill-overline= #58ffef
;bar-volume-empty-underline= #58ffef
;bar-volume-empty-overline= #58ffef
;----------------------------------------------------------
; B A T T E R Y
;----------------------------------------------------------
[module/battery]
type = internal/battery
battery = BAT0
adapter = AC0
full-at = 98
format-charging = <animation-charging> <label-charging>
;format-charging-underline = #4e5942
;ormat-charging-background = #4e5942
format-discharging = <ramp-capacity> <label-discharging>
;format-discharging-underline = #7ab737
;format-discharging-overline = #7ab737
format-full-prefix = " "
;format-full-prefix-foreground = #8ae234
format-full-suffix = " "
format-charging-suffix = " "
format-charging-prefix = " "
format-charging-prefix-foreground = #FFFFFF
;format-charging-suffix-background = #222
;format-charging-background = #4e5942
format-discharging-prefix = " "
format-discharging-prefix-foreground = #FFFFFF
format-discharging-suffix-background = #222
format-discharging-background = #222
format-discharging-padding = 1
format-full-prefix-foreground = #8ae234
format-full-prefix-background = #222
format-full-suffix-background = #222
format-full-background = #222
;format-full-underline = ${self.format-charging-underline}
;format-full-overline = ${self.format-charging-underline}
label-padding = 1
label-full-background = #222
ramp-capacity-0 =
ramp-capacity-1 =
ramp-capacity-2 =
ramp-capacity-foreground = ${colors.foreground-alt}
animation-charging-0 =
animation-charging-1 =
animation-charging-2 =
animation-charging-foreground = ${colors.foreground-alt}
animation-charging-framerate = 750
;----------------------------------------------------------
; T E M P
;----------------------------------------------------------
[module/temperature]
type = internal/temperature
thermal-zone = 0
warn-temperature = 82
format-prefix = "  "
format-prefix-foreground = #FFFFFF
format-prefix-background = #222
format = <ramp> <label>
;format-underline = #c17d11
;format-overline = #c17d11
format-warn = <ramp> <label-warn>
;format-warn-underline = ${self.format-underline}
label = %temperature-c%
label-background = #222
label-warn = %temperature-c%
label-foreground = #FFFFFF
label-warn-foreground = ${colors.secondary}
label-padding = 1
ramp-0 =
ramp-1 =
ramp-2 =
ramp-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; P O W E R M E N U
;----------------------------------------------------------
[module/powermenu]
type = custom/menu
label-open = "  "
label-open-foreground = #FFFFFF
;label-open-overline = #ef2929
label-close =  cancel
label-close-foreground = #fc4444
label-separator = |
label-separator-foreground = ${colors.foreground-alt}
menu-0-0 = reboot
menu-0-0-exec = menu-open-1
menu-0-1 = power off
menu-0-1-exec = menu-open-2
menu-1-0 = cancel
menu-1-0-exec = menu-open-0
menu-1-1 = reboot
menu-1-1-exec = sudo reboot
menu-2-0 = power off
menu-2-0-exec = sudo poweroff
menu-2-1 = cancel
menu-2-1-exec = menu-open-0
;----------------------------------------------------------
; Q U I C K M E N U
;----------------------------------------------------------
[module/quickmenu]
type = custom/menu
label-padding-left = 2
label-padding-right = 2
label-open = "  "
label-open-foreground = #85e178
label-close = " cancel "
label-close-foreground = #fc4444
label-separator = |
label-separator-foreground = ${colors.foreground-alt}
menu-0-0 = " term "
menu-0-0-exec = mate-terminal &
menu-0-1 = " files "
menu-0-1-exec = pcmanfm &
menu-0-2 = " text "
menu-0-2-exec = gedit &
menu-1-0 = cancel
menu-1-0-exec = menu-open-0
; vim:ft=dosini
+611
View File
@@ -0,0 +1,611 @@
;###################################################################
;
;
; - uNd0xR bspwm config -
;
;
;###################################################################
;----------------------------------------------------------
; C O L O R S
;----------------------------------------------------------
[colors]
background = #222
background-alt = #444
foreground = #dfdfdf
foreground-alt = #cbcbcb
primary = #ffb52a
secondary = #e60053
alert = #bd2c40
;----------------------------------------------------------
; G L O B A L
;----------------------------------------------------------
[global/wm]
margin-top = 0
margin-bottom = 0
[bar/bar]
#monitor = ${env:MONITOR:LVDS-1-1}
monitor = eDP1
width = 100%
height = 18
offset-x = 0
offset-y = 0
;dock = true
;background = ${xrdb:color9}
background = ${colors.background}
foreground = ${colors.foreground}
overline-size = 1
overline-color = #f00
underline-size = 1
underline-color = #00f
border-bottom-size = 0
border-bottom-color = #333
border-color-foreground = #FFFFFF
spacing = 0
padding-left = 0
padding-right = 1
module-margin-left = 0
module-margin-right = 0
;----------------------------------------------------------
; F O N T S
;----------------------------------------------------------
;font-0 = Terminus:size=12;0
font-0 = Terminus:size=13;0
font-1 = Terminus:size=10;0
font-2 = Terminus:size=11;0
;font-0 = Terminus:pixelsize=14;0
;font-1 = Terminus:size=11:weight=bold
;font-2 = -*-gohufont-medium-*-*-*-11-*-*-*-*-*-*-*
;font-2 = -*-gohufont-medium-*-*-*-11-*-*-*-*-*-*-*
;font-2 = Vera:size=11:0
font-3 = FontAwesome:size=8;0
font-4 = PowerlineSymbols:size=11;0
;font-5 = siji:pixelsize=10;0
font-6 = GohuFont:pixelsize=14:weight=bold
;----------------------------------------------------------
; M A I N M O D U L E L A Y O U T
;----------------------------------------------------------
modules-left = bspwm
modules-center = xwindow
modules-right = volume memory wlan battery temperature powermenu date
;----------------------------------------------------------
; T R A Y
;----------------------------------------------------------
;tray-position = center
tray-position = center
tray-padding = 2
tray-offset-x = 23%
;tray-transparent = true
;tray-background = #0063ff
wm-restack = bspwm
;override-redirect = true
scroll-up = bspwm-desknext
scroll-down = bspwm-deskprev
;----------------------------------------------------------
; X W I N D O W
;----------------------------------------------------------
[module/xwindow]
type = internal/xwindow
label = - %title:0:50:...%
format-padding = 2
label-padding-left = 2
label-padding-right = 2
label-background = #3b3c3b
;----------------------------------------------------------
; X K E Y B O A R D
;----------------------------------------------------------
[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock
format-underline = ${colors.secondary}
;format-prefix = ""
format-prefix-foreground = ${colors.foreground-alt}
label-layout = %layout%
label-indicator-padding = 2
label-indicator-background = ${colors.secondary}
label-indicator-underline = ${colors.secondary}
;----------------------------------------------------------
; F I L E S Y S T E M
;----------------------------------------------------------
[module/filesystem]
type = internal/fs
interval = 25
mount-0 = /home
;mount-1 = /home
;mount-2 = /invalid/mountpoint
format-mounted-prefix = "/HOME:"
format-mounted-foreground = #FFFFFF
;format-mounted-overline = #73d216
label-mounted = %percentage_used%
label-mounted-padding = 1
;label-mounted-underline= #73d216
;label-mounted-overline= #73d216
label-unmounted = %mountpoint%: not mounted
label-unmounted-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; B S P W M M O D U L E
;----------------------------------------------------------
[module/bspwm]
type = internal/bspwm
; Only show workspaces defined on the same output as the bar
pin-workspaces = true
; Create click handler used to focus workspace
; Default: true
enable-click = true
; Create scroll handlers used to cycle workspaces
; Default: true
enable-scroll = true
; Set the scroll cycle direction
; Default: true
reverse-scroll = false
label-focused = %name%
label-focused-background = #3d3e3b
;label-focused-underline= ${colors.primary}
;label-focused-overline= ${colors.primary}
label-focused-foreground = #8ae234
label-focused-padding = 1
label-occupied = %name%
label-occupied-padding = 1
label-occupied-foreground = #e89a4e
label-urgent = %name%!
label-urgent-background = ${colors.alert}
label-urgent-padding = 1
label-empty = %name%
label-empty-foreground = ${colors.foreground-alt}
label-empty-padding = 1
;----------------------------------------------------------
; M P D
;----------------------------------------------------------
[module/mpd]
type = internal/mpd
format-online = <label-song> <icon-prev> <icon-seekb> <icon-stop> <toggle> <icon-seekf> <icon-next> <icon-repeat> <icon-random>
label-song-maxlen = 25
label-song-ellipsis = true
icon-prev =
icon-seekb =
icon-stop = <>
icon-play =
icon-pause =l
icon-next =
icon-seekf =»
icon-random = ½
icon-repeat
toggle-on-foreground = ${colors.primary}
toggle-off-foreground = #66
;----------------------------------------------------------
; B A C K L I G H T
;----------------------------------------------------------
[module/backlight]
type = internal/light
format = <label> <bar>
label = BL
bar-width = 10
bar-indicator = │
bar-indicator-foreground = #ff
bar-indicator-font = 2
bar-fill = ─
bar-fill-font = 2
bar-fill-foreground = #9f78e1
bar-empty = ─
bar-empty-font = 2
bar-empty-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; C P U
;----------------------------------------------------------
[module/cpu]
type = internal/cpu
interval = 2
;format-prefix = ""
format-prefix = " CPU"
;format-prefix-underline = #edd400
;format-prefix-overline = #edd400
format-prefix-foreground = #FFFFFF
format-prefix-background = #222
format-suffix-foreground = #c98080
;label-underline = #edd400
;label-overline = #edd400
label = %percentage%
label-background = #222
label-foreground = #FFFFFF
label-padding = 1
;----------------------------------------------------------
; M E M O R Y
;----------------------------------------------------------
[module/memory]
type = internal/memory
interval = 2
;format-prefix = ""
;format-prefix-font = 3
;format-prefix = " RAM:"
format-prefix-background = #222
format-prefix-foreground = #e6b265
;format-prefix-underline = #e6b265
;format-prefix-overline = #e6b265
format-margin-top = -5
format-suffix-height = 100%
format-suffix = "% "
format-suffix-foreground = #e6b265
label-background = #222
;format-underline = #475753
label =%percentage_used%
label-foreground = #e6b265
label-padding = 1
;label-underline = #f57900
;label-overline = #f57900
;----------------------------------------------------------
; T E X T M O D U L E S
;----------------------------------------------------------
[module/arrow]
type = custom/text
;content = " "
content-background = #222
;content-background = #55aa55
content-foreground = #222
content-padding = 1
[module/bluelike]
type = custom/text
;content = " "
;content-background = #2e3436
content-background = #58ffef
content-foreground = #555753
content-padding = 0
;----------------------------------------------------------
; W L A N
;----------------------------------------------------------
[module/wlan]
type = internal/network
interface = wlp3s0
interval = 3.0
;format-connected-prefix = ""
format-connected-suffix = "% "
format-connected-suffix-foreground = #69cfc5
format-connected-prefix-font = 3
format-connected-background = #222
format-connected-foreground = #69cfc5
format-prefix-foreground = #FFFFFF
format-connected =<ramp-signal><label-connected>
;format-connected-underline = #495858
;format-disconnected-underline = ${self.format-connected-underline}
;format-connected-underline = #37b7a0
;format-connected-overline = #37b7a0
label-connected-padding = 1
label-connected = %signal%
label-connected-foreground = #69cfc5
label-disconnected = -/-
label-disconnected-foreground = #bd2c40
ramp-signal-0 = -
;ramp-signal-1 = 
;ramp-signal-2 = 
;ramp-signal-3 = 
;ramp-signal-4 = 
ramp-signal-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; E T H E R N E T
;----------------------------------------------------------
[module/eth]
type = internal/network
interface = enp4s0
interval = 3.0
format-connected-underline = #55aa55
format-connected-prefix =
format-connected-foreground-foreground = ${colors.foreground-alt}
label-connected = %local_ip%
format-disconnected-underline = ${self.format-connected-underline}
label-disconnected = %ifname% disconnected
label-disconnected-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; T I M E
;----------------------------------------------------------
[module/date]
type = internal/date
interval = 5
date =
date-alt = " %Y-%m-%d "
time-foreground-font = 1
time-foreground-color = #FFFFFF
time = %H:%M
time-alt = %H:%M:%S
;format-prefix = " "
format-prefix-foreground = #FFFFFF
;format-overline = #0a6cf5
label = %date% %time%
label-font = 1
;----------------------------------------------------------
; V O L U M E
;----------------------------------------------------------
[module/volume]
type = internal/alsa
format-volume = <bar-volume>
;format-volume = <bar-volume>
;label-volume = ""
label-volume-font = 3
label-volume-foreground = #FFFFFF
label-volume-background = #222
;label-volume-underline= #58ffef
;label-volume-overline= #58ffef
format-muted-prefix = " "
format-muted-suffix = " "
format-muted-foreground = #000000
format-muted-background = #ff8c8c
label-muted = MUTE
label-volume-padding = 1
;bar-volume-padding = 1
bar-volume-width = 7
,bar-volume-background = #495858
bar-volume-foreground-0 = #55aa55
bar-volume-foreground-1 = #55aa55
bar-volume-foreground-2 = #55aa55
bar-volume-foreground-3 = #55aa55
bar-volume-foreground-4 = #55aa55
bar-volume-foreground-5 = #f5a70a
bar-volume-foreground-6 = #ff5555
bar-volume-gradient = true
bar-volume-indicator = "|"
bar-volume-indicator-font = 1
bar-volume-indicator-foreground = #95d595
bar-volume-indicator-background = #222
bar-volume-fill-background = #222
bar-volume-fill = ─
bar-volume-fill-font = 5
bar-volume-empty-background = #222
bar-volume-empty-padding = 1
bar-volume-empty = ─
bar-volume-empty-font = 5
bar-volume-empty-foreground = ${colors.foreground-alt}
;bar-volume-indicator-underline= #58ffef
;bar-volume-indicator-overline= #58ffef
;bar-volume-fill-underline= #58ffef
;bar-volume-fill-overline= #58ffef
;bar-volume-empty-underline= #58ffef
;bar-volume-empty-overline= #58ffef
;----------------------------------------------------------
; B A T T E R Y
;----------------------------------------------------------
[module/battery]
type = internal/battery
battery = BAT0
adapter = AC0
full-at = 98
format-charging = <animation-charging> <label-charging>
;format-charging-underline = #4e5942
;ormat-charging-background = #4e5942
format-discharging = <ramp-capacity> <label-discharging>
;format-discharging-underline = #7ab737
;format-discharging-overline = #7ab737
;format-full-prefix = "  "
format-full-prefix-font = 3
;format-full-prefix-foreground = #8ae234
;format-full-suffix = ""
;format-charging-suffix =
;format-charging-prefix = "  "
format-charging-prefix-foreground = #FFFFFF
;format-charging-suffix-background = #222
;format-charging-background = #4e5942
;format-discharging-prefix = "  "
format-discharging-prefix-foreground = #FFFFFF
format-discharging-suffix-background = #222
format-discharging-background = #222
format-discharging-padding = 1
format-full-prefix-foreground = #8ae234
format-full-prefix-background = #222
format-full-suffix-background = #222
format-full-background = #222
;format-full-underline = ${self.format-charging-underline}
;format-full-overline = ${self.format-charging-underline}
label-padding = 1
label-full-background = #222
ramp-capacity-0 = ">"
ramp-capacity-1 = "<"
ramp-capacity-2 = ">"
ramp-capacity-foreground = ${colors.foreground-alt}
animation-charging-0 = ">"
animation-charging-1 = "<"
animation-charging-2 = ">"
animation-charging-foreground = ${colors.foreground-alt}
animation-charging-framerate = 750
;----------------------------------------------------------
; T E M P
;----------------------------------------------------------
[module/temperature]
type = internal/temperature
thermal-zone = 0
warn-temperature = 82
format-prefix = " "
format-prefix-foreground = #FFFFFF
format-prefix-background = #222
format = <ramp><label>
;format-underline = #c17d11
;format-overline = #c17d11
format-warn = <ramp><label-warn>
;format-warn-underline = ${self.format-underline}
label = %temperature-c%
label-background = #222
label-warn = %temperature-c%
label-foreground = #84c986
label-warn-foreground = ${colors.secondary}
label-padding = 1
ramp-0 =
ramp-1 =
ramp-2 =
ramp-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; P O W E R M E N U
;----------------------------------------------------------
[module/powermenu]
type = custom/menu
label-open = " "
label-open-foreground = #FFFFFF
;label-open-overline = #ef2929
label-close = - cancel -
label-close-foreground = #fc4444
label-separator = |
label-separator-foreground = ${colors.foreground-alt}
menu-0-0 = " reboot "
menu-0-0-exec = menu-open-1
menu-0-1 = " shutdown "
menu-0-1-exec = menu-open-2
menu-1-0 = " cancel "
menu-1-0-exec = menu-open-0
menu-1-1 = " reboot "
menu-1-1-exec = sudo reboot
menu-2-0 = " shutdown "
menu-2-0-exec = sudo poweroff
menu-2-1 = cancel
menu-2-1-exec = menu-open-0
;----------------------------------------------------------
; Q U I C K M E N U
;----------------------------------------------------------
[module/quickmenu]
type = custom/menu
label-padding-left = 2
label-padding-right = 2
;label-open = "  "
label-open-foreground = #85e178
label-close = cancel
label-close-foreground = #fc4444
label-separator = |
label-separator-foreground = ${colors.foreground-alt}
menu-0-0 = " term "
menu-0-0-exec = mate-terminal &
menu-0-1 = " files "
menu-0-1-exec = pcmanfm &
menu-0-2 = " text "
menu-0-2-exec = gedit &
menu-1-0 = cancel
menu-1-0-exec = menu-open-0
; vim:ft=dosini
+611
View File
@@ -0,0 +1,611 @@
;###################################################################
;
;
; - uNd0xR bspwm config -
;
;
;###################################################################
;----------------------------------------------------------
; C O L O R S
;----------------------------------------------------------
[colors]
background = #222
background-alt = #444
foreground = #dfdfdf
foreground-alt = #cbcbcb
primary = #ffb52a
secondary = #e60053
alert = #bd2c40
;----------------------------------------------------------
; G L O B A L
;----------------------------------------------------------
[global/wm]
margin-top = 0
margin-bottom = 0
[bar/bar]
#monitor = ${env:MONITOR:LVDS-1-1}
monitor = eDP1
width = 100%
height = 18
offset-x = 0
offset-y = 0
;dock = true
;background = ${xrdb:color9}
background = ${colors.background}
foreground = ${colors.foreground}
overline-size = 1
overline-color = #f00
underline-size = 1
underline-color = #00f
border-bottom-size = 0
border-bottom-color = #333
border-color-foreground = #FFFFFF
spacing = 0
padding-left = 0
padding-right = 1
module-margin-left = 0
module-margin-right = 0
;----------------------------------------------------------
; F O N T S
;----------------------------------------------------------
;font-0 = Terminus:size=12;0
font-0 = Terminus:size=13;0
font-1 = Terminus:size=10;0
font-2 = Terminus:size=11;0
;font-0 = Terminus:pixelsize=14;0
;font-1 = Terminus:size=11:weight=bold
;font-2 = -*-gohufont-medium-*-*-*-11-*-*-*-*-*-*-*
;font-2 = -*-gohufont-medium-*-*-*-11-*-*-*-*-*-*-*
;font-2 = Vera:size=11:0
font-3 = FontAwesome:size=8;0
font-4 = PowerlineSymbols:size=11;0
;font-5 = siji:pixelsize=10;0
font-6 = GohuFont:pixelsize=14:weight=bold
;----------------------------------------------------------
; M A I N M O D U L E L A Y O U T
;----------------------------------------------------------
modules-left = bspwm
modules-center = xwindow
modules-right = volume memory wlan battery temperature powermenu date
;----------------------------------------------------------
; T R A Y
;----------------------------------------------------------
;tray-position = center
tray-position = center
tray-padding = 2
tray-offset-x = 23%
;tray-transparent = true
;tray-background = #0063ff
wm-restack = bspwm
;override-redirect = true
scroll-up = bspwm-desknext
scroll-down = bspwm-deskprev
;----------------------------------------------------------
; X W I N D O W
;----------------------------------------------------------
[module/xwindow]
type = internal/xwindow
label = - %title:0:50:...%
format-padding = 2
label-padding-left = 2
label-padding-right = 2
label-background = #3b3c3b
;----------------------------------------------------------
; X K E Y B O A R D
;----------------------------------------------------------
[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock
format-underline = ${colors.secondary}
;format-prefix = ""
format-prefix-foreground = ${colors.foreground-alt}
label-layout = %layout%
label-indicator-padding = 2
label-indicator-background = ${colors.secondary}
label-indicator-underline = ${colors.secondary}
;----------------------------------------------------------
; F I L E S Y S T E M
;----------------------------------------------------------
[module/filesystem]
type = internal/fs
interval = 25
mount-0 = /home
;mount-1 = /home
;mount-2 = /invalid/mountpoint
format-mounted-prefix = "/HOME:"
format-mounted-foreground = #FFFFFF
;format-mounted-overline = #73d216
label-mounted = %percentage_used%
label-mounted-padding = 1
;label-mounted-underline= #73d216
;label-mounted-overline= #73d216
label-unmounted = %mountpoint%: not mounted
label-unmounted-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; B S P W M M O D U L E
;----------------------------------------------------------
[module/bspwm]
type = internal/bspwm
; Only show workspaces defined on the same output as the bar
pin-workspaces = true
; Create click handler used to focus workspace
; Default: true
enable-click = true
; Create scroll handlers used to cycle workspaces
; Default: true
enable-scroll = true
; Set the scroll cycle direction
; Default: true
reverse-scroll = false
label-focused = %name%
label-focused-background = #3d3e3b
;label-focused-underline= ${colors.primary}
;label-focused-overline= ${colors.primary}
label-focused-foreground = #8ae234
label-focused-padding = 1
label-occupied = %name%
label-occupied-padding = 1
label-occupied-foreground = #e89a4e
label-urgent = %name%!
label-urgent-background = ${colors.alert}
label-urgent-padding = 1
label-empty = %name%
label-empty-foreground = ${colors.foreground-alt}
label-empty-padding = 1
;----------------------------------------------------------
; M P D
;----------------------------------------------------------
[module/mpd]
type = internal/mpd
format-online = <label-song> <icon-prev> <icon-seekb> <icon-stop> <toggle> <icon-seekf> <icon-next> <icon-repeat> <icon-random>
label-song-maxlen = 25
label-song-ellipsis = true
icon-prev =
icon-seekb =
icon-stop = <>
icon-play =
icon-pause =l
icon-next =
icon-seekf =»
icon-random = ½
icon-repeat
toggle-on-foreground = ${colors.primary}
toggle-off-foreground = #66
;----------------------------------------------------------
; B A C K L I G H T
;----------------------------------------------------------
[module/backlight]
type = internal/light
format = <label> <bar>
label = BL
bar-width = 10
bar-indicator = │
bar-indicator-foreground = #ff
bar-indicator-font = 2
bar-fill = ─
bar-fill-font = 2
bar-fill-foreground = #9f78e1
bar-empty = ─
bar-empty-font = 2
bar-empty-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; C P U
;----------------------------------------------------------
[module/cpu]
type = internal/cpu
interval = 2
;format-prefix = ""
format-prefix = " CPU"
;format-prefix-underline = #edd400
;format-prefix-overline = #edd400
format-prefix-foreground = #FFFFFF
format-prefix-background = #222
format-suffix-foreground = #c98080
;label-underline = #edd400
;label-overline = #edd400
label = %percentage%
label-background = #222
label-foreground = #FFFFFF
label-padding = 1
;----------------------------------------------------------
; M E M O R Y
;----------------------------------------------------------
[module/memory]
type = internal/memory
interval = 2
;format-prefix = ""
;format-prefix-font = 3
;format-prefix = " RAM:"
format-prefix-background = #222
format-prefix-foreground = #e6b265
;format-prefix-underline = #e6b265
;format-prefix-overline = #e6b265
format-margin-top = -5
format-suffix-height = 100%
format-suffix = "% "
format-suffix-foreground = #e6b265
label-background = #222
;format-underline = #475753
label =%percentage_used%
label-foreground = #e6b265
label-padding = 1
;label-underline = #f57900
;label-overline = #f57900
;----------------------------------------------------------
; T E X T M O D U L E S
;----------------------------------------------------------
[module/arrow]
type = custom/text
;content = " "
content-background = #222
;content-background = #55aa55
content-foreground = #222
content-padding = 1
[module/bluelike]
type = custom/text
;content = " "
;content-background = #2e3436
content-background = #58ffef
content-foreground = #555753
content-padding = 0
;----------------------------------------------------------
; W L A N
;----------------------------------------------------------
[module/wlan]
type = internal/network
interface = wlp3s0
interval = 3.0
;format-connected-prefix = ""
format-connected-suffix = "% "
format-connected-suffix-foreground = #69cfc5
format-connected-prefix-font = 3
format-connected-background = #222
format-connected-foreground = #69cfc5
format-prefix-foreground = #FFFFFF
format-connected =<ramp-signal><label-connected>
;format-connected-underline = #495858
;format-disconnected-underline = ${self.format-connected-underline}
;format-connected-underline = #37b7a0
;format-connected-overline = #37b7a0
label-connected-padding = 1
label-connected = %signal%
label-connected-foreground = #69cfc5
label-disconnected = -/-
label-disconnected-foreground = #bd2c40
ramp-signal-0 = -
;ramp-signal-1 = 
;ramp-signal-2 = 
;ramp-signal-3 = 
;ramp-signal-4 = 
ramp-signal-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; E T H E R N E T
;----------------------------------------------------------
[module/eth]
type = internal/network
interface = enp4s0
interval = 3.0
format-connected-underline = #55aa55
format-connected-prefix =
format-connected-foreground-foreground = ${colors.foreground-alt}
label-connected = %local_ip%
format-disconnected-underline = ${self.format-connected-underline}
label-disconnected = %ifname% disconnected
label-disconnected-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; T I M E
;----------------------------------------------------------
[module/date]
type = internal/date
interval = 5
date =
date-alt = " %Y-%m-%d "
time-foreground-font = 1
time-foreground-color = #FFFFFF
time = %H:%M
time-alt = %H:%M:%S
;format-prefix = " "
format-prefix-foreground = #FFFFFF
;format-overline = #0a6cf5
label = %date% %time%
label-font = 1
;----------------------------------------------------------
; V O L U M E
;----------------------------------------------------------
[module/volume]
type = internal/alsa
format-volume = <bar-volume>
;format-volume = <bar-volume>
;label-volume = ""
label-volume-font = 3
label-volume-foreground = #FFFFFF
label-volume-background = #222
;label-volume-underline= #58ffef
;label-volume-overline= #58ffef
format-muted-prefix = " "
format-muted-suffix = " "
format-muted-foreground = #000000
format-muted-background = #ff8c8c
label-muted = MUTE
label-volume-padding = 1
;bar-volume-padding = 1
bar-volume-width = 7
,bar-volume-background = #495858
bar-volume-foreground-0 = #55aa55
bar-volume-foreground-1 = #55aa55
bar-volume-foreground-2 = #55aa55
bar-volume-foreground-3 = #55aa55
bar-volume-foreground-4 = #55aa55
bar-volume-foreground-5 = #f5a70a
bar-volume-foreground-6 = #ff5555
bar-volume-gradient = true
bar-volume-indicator = "|"
bar-volume-indicator-font = 1
bar-volume-indicator-foreground = #95d595
bar-volume-indicator-background = #222
bar-volume-fill-background = #222
bar-volume-fill = ─
bar-volume-fill-font = 5
bar-volume-empty-background = #222
bar-volume-empty-padding = 1
bar-volume-empty = ─
bar-volume-empty-font = 5
bar-volume-empty-foreground = ${colors.foreground-alt}
;bar-volume-indicator-underline= #58ffef
;bar-volume-indicator-overline= #58ffef
;bar-volume-fill-underline= #58ffef
;bar-volume-fill-overline= #58ffef
;bar-volume-empty-underline= #58ffef
;bar-volume-empty-overline= #58ffef
;----------------------------------------------------------
; B A T T E R Y
;----------------------------------------------------------
[module/battery]
type = internal/battery
battery = BAT0
adapter = AC0
full-at = 98
format-charging = <animation-charging> <label-charging>
;format-charging-underline = #4e5942
;ormat-charging-background = #4e5942
format-discharging = <ramp-capacity> <label-discharging>
;format-discharging-underline = #7ab737
;format-discharging-overline = #7ab737
;format-full-prefix = "  "
format-full-prefix-font = 3
;format-full-prefix-foreground = #8ae234
;format-full-suffix = ""
;format-charging-suffix =
;format-charging-prefix = "  "
format-charging-prefix-foreground = #FFFFFF
;format-charging-suffix-background = #222
;format-charging-background = #4e5942
;format-discharging-prefix = "  "
format-discharging-prefix-foreground = #FFFFFF
format-discharging-suffix-background = #222
format-discharging-background = #222
format-discharging-padding = 1
format-full-prefix-foreground = #8ae234
format-full-prefix-background = #222
format-full-suffix-background = #222
format-full-background = #222
;format-full-underline = ${self.format-charging-underline}
;format-full-overline = ${self.format-charging-underline}
label-padding = 1
label-full-background = #222
ramp-capacity-0 = ">"
ramp-capacity-1 = "<"
ramp-capacity-2 = ">"
ramp-capacity-foreground = ${colors.foreground-alt}
animation-charging-0 = ">"
animation-charging-1 = "<"
animation-charging-2 = ">"
animation-charging-foreground = ${colors.foreground-alt}
animation-charging-framerate = 750
;----------------------------------------------------------
; T E M P
;----------------------------------------------------------
[module/temperature]
type = internal/temperature
thermal-zone = 0
warn-temperature = 82
format-prefix = " "
format-prefix-foreground = #FFFFFF
format-prefix-background = #222
format = <ramp><label>
;format-underline = #c17d11
;format-overline = #c17d11
format-warn = <ramp><label-warn>
;format-warn-underline = ${self.format-underline}
label = %temperature-c%
label-background = #222
label-warn = %temperature-c%
label-foreground = #84c986
label-warn-foreground = ${colors.secondary}
label-padding = 1
ramp-0 =
ramp-1 =
ramp-2 =
ramp-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; P O W E R M E N U
;----------------------------------------------------------
[module/powermenu]
type = custom/menu
label-open = " "
label-open-foreground = #FFFFFF
;label-open-overline = #ef2929
label-close = - cancel -
label-close-foreground = #fc4444
label-separator = |
label-separator-foreground = ${colors.foreground-alt}
menu-0-0 = " reboot "
menu-0-0-exec = menu-open-1
menu-0-1 = " shutdown "
menu-0-1-exec = menu-open-2
menu-1-0 = " cancel "
menu-1-0-exec = menu-open-0
menu-1-1 = " reboot "
menu-1-1-exec = sudo reboot
menu-2-0 = " shutdown "
menu-2-0-exec = sudo poweroff
menu-2-1 = cancel
menu-2-1-exec = menu-open-0
;----------------------------------------------------------
; Q U I C K M E N U
;----------------------------------------------------------
[module/quickmenu]
type = custom/menu
label-padding-left = 2
label-padding-right = 2
;label-open = "  "
label-open-foreground = #85e178
label-close = cancel
label-close-foreground = #fc4444
label-separator = |
label-separator-foreground = ${colors.foreground-alt}
menu-0-0 = " term "
menu-0-0-exec = mate-terminal &
menu-0-1 = " files "
menu-0-1-exec = pcmanfm &
menu-0-2 = " text "
menu-0-2-exec = gedit &
menu-1-0 = cancel
menu-1-0-exec = menu-open-0
; vim:ft=dosini
+669
View File
@@ -0,0 +1,669 @@
;###################################################################
;
;
; - uNd0xR bspwm config -
;
;
;###################################################################
;----------------------------------------------------------
; C O L O R S
;----------------------------------------------------------
[colors]
background = #222
background-alt = #444
foreground = #dfdfdf
foreground-alt = #cbcbcb
primary = #ffb52a
secondary = #e60053
alert = #bd2c40
;----------------------------------------------------------
; G L O B A L
;----------------------------------------------------------
[global/wm]
margin-top = 0
margin-bottom = 0
[bar/bar]
#monitor = ${env:MONITOR:LVDS-1-1}
monitor = eDP1
width = 100%
height = 18
offset-x = 0
offset-y = 0
;dock = true
;background = ${xrdb:color9}
background = ${colors.background}
foreground = ${colors.foreground}
overline-size = 1
overline-color = #f00
underline-size = 1
underline-color = #00f
border-bottom = 0
border-bottom-color = #333
border-color-foreground = #FFFFFF
spacing = 0
padding-left = 0
padding-right = 0
module-margin-left = 0
module-margin-right = 0
;----------------------------------------------------------
; F O N T S
;----------------------------------------------------------
;font-0 = Terminus:size=12;0
font-0 = Terminus:size=12;0
;font-0 = Roboto:pixelsize=14;0
font-1 = Roboto:size=11:weight=bold
font-2 = -*-gohufont-medium-*-*-*-11-*-*-*-*-*-*-*
font-3 = FontAwesome:size=8;0
font-4 = PowerlineSymbols:size=9;0
font-5 = siji:pixelsize=10;0
font-6 = GohuFont:pixelsize=14:weight=bold
;----------------------------------------------------------
; M A I N M O D U L E L A Y O U T
;----------------------------------------------------------
modules-left = ewmh
modules-center = xwindow
modules-right = arrow volume memory wlan battery temperature powermenu date
;----------------------------------------------------------
; D E S K T O P S E W M H
;----------------------------------------------------------
[module/ewmh]
type = internal/xworkspaces
pin-workspaces = true
enable-click = true
enable-scroll = true
label-active = %name%
label-active-foreground = #73d216
label-active-background = #222222
label-active-padding-left = 1
label-active-padding-right = 1
label-empty = %name%
label-empty-foreground = #d3d7cf
label-empty-background = #2222222
label-empty-padding-left = 1
label-empty-padding-right = 1
label-occupied = %name%
label-occupied-padding = 1
label-occupied-foreground = #f57900
label = %name%
label-padding = 1
label-foreground = #ce5c00
; Availalabel-urgent-background = #bd2c40
; label-urgent-underline = #9b0a20
; Available tokens:
; %name%
; %icon%
; %index%
; Defalabel-urgent-background = #bd2c40
; label-urgent-underline = #9b0a20
; Available tokens:
; %name%
; %icon%
; %index%
; Default: %icon%y = %icon%
;----------------------------------------------------------
; T R A Y
;----------------------------------------------------------
;tray-position = center
tray-position = center
tray-padding = 2
tray-offset-x = 23%
;tray-transparent = true
;tray-background = #0063ff
;wm-restack = bspwm
;override-redirect = true
scroll-up = bspwm-desknext
scroll-down = bspwm-deskprev
;----------------------------------------------------------
; X W I N D O W
;----------------------------------------------------------
[module/xwindow]
type = internal/xwindow
label = - %title:0:50:...%
format-padding = 2
label-padding-left = 2
label-padding-right = 2
label-background = #3b3c3b
;----------------------------------------------------------
; X K E Y B O A R D
;----------------------------------------------------------
[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock
format-underline = ${colors.secondary}
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
label-layout = %layout%
label-indicator-padding = 2
label-indicator-background = ${colors.secondary}
label-indicator-underline = ${colors.secondary}
;----------------------------------------------------------
; F I L E S Y S T E M
;----------------------------------------------------------
[module/filesystem]
type = internal/fs
interval = 25
mount-0 = /home
;mount-1 = /home
;mount-2 = /invalid/mountpoint
format-mounted-prefix = "/HOME:"
format-mounted-foreground = #FFFFFF
;format-mounted-overline = #73d216
label-mounted = %percentage_used%
label-mounted-padding = 1
;label-mounted-underline= #73d216
;label-mounted-overline= #73d216
label-unmounted = %mountpoint%: not mounted
label-unmounted-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; B S P W M M O D U L E
;----------------------------------------------------------
[module/bspwm]
type = internal/bspwm
; Only show workspaces defined on the same output as the bar
pin-workspaces = true
; Create click handler used to focus workspace
; Default: true
enable-click = true
; Create scroll handlers used to cycle workspaces
; Default: true
enable-scroll = true
; Set the scroll cycle direction
; Default: true
reverse-scroll = false
label-focused = %name%
label-focused-background = #3d3e3b
;label-focused-underline= ${colors.primary}
;label-focused-overline= ${colors.primary}
label-focused-foreground = #8ae234
label-focused-padding = 1
label-occupied = %name%
label-occupied-padding = 1
label-occupied-foreground = #e89a4e
label-urgent = %name%!
label-urgent-background = ${colors.alert}
label-urgent-padding = 1
label-empty = %name%
label-empty-foreground = ${colors.foreground-alt}
label-empty-padding = 1
;----------------------------------------------------------
; M P D
;----------------------------------------------------------
[module/mpd]
type = internal/mpd
format-online = <label-song> <icon-prev> <icon-seekb> <icon-stop> <toggle> <icon-seekf> <icon-next> <icon-repeat> <icon-random>
label-song-maxlen = 25
label-song-ellipsis = true
icon-prev =
icon-seekb =
icon-stop = <>
icon-play =
icon-pause =l
icon-next =
icon-seekf =»
icon-random = ½
icon-repeat
toggle-on-foreground = ${colors.primary}
toggle-off-foreground = #66
;----------------------------------------------------------
; B A C K L I G H T
;----------------------------------------------------------
[module/backlight]
type = internal/light
format = <label> <bar>
label = BL
bar-width = 10
bar-indicator = │
bar-indicator-foreground = #ff
bar-indicator-font = 2
bar-fill = ─
bar-fill-font = 2
bar-fill-foreground = #9f78e1
bar-empty = ─
bar-empty-font = 2
bar-empty-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; C P U
;----------------------------------------------------------
[module/cpu]
type = internal/cpu
interval = 2
;format-prefix = " "
format-prefix = " CPU"
;format-prefix-underline = #edd400
;format-prefix-overline = #edd400
format-prefix-foreground = #FFFFFF
format-prefix-background = #222
format-suffix-foreground = #c98080
;label-underline = #edd400
;label-overline = #edd400
label = %percentage%
label-background = #222
label-foreground = #FFFFFF
label-padding = 1
;----------------------------------------------------------
; M E M O R Y
;----------------------------------------------------------
[module/memory]
type = internal/memory
interval = 2
format-prefix = " "
;format-prefix-font = 3
;format-prefix = " RAM:"
format-prefix-background = #222
format-prefix-foreground = #e6b265
;format-prefix-underline = #e6b265
;format-prefix-overline = #e6b265
format-margin-top = -5
format-suffix-height = 100%
format-suffix = "% "
format-suffix-foreground = #e6b265
label-background = #222
;format-underline = #475753
label =%percentage_used%
label-foreground = #e6b265
label-padding = 1
;label-underline = #f57900
;label-overline = #f57900
;----------------------------------------------------------
; T E X T M O D U L E S
;----------------------------------------------------------
[module/arrow]
type = custom/text
content = " "
content-background = #222
;content-background = #55aa55
content-foreground = #222
content-padding = 1
[module/bluelike]
type = custom/text
content = " "
;content-background = #2e3436
content-background = #58ffef
content-foreground = #555753
content-padding = 0
;----------------------------------------------------------
; W L A N
;----------------------------------------------------------
[module/wlan]
type = internal/network
interface = wlp3s0
interval = 3.0
format-connected-prefix = " "
format-connected-suffix = "% "
format-connected-suffix-foreground = #69cfc5
format-connected-prefix-font = 3
format-connected-background = #222
format-connected-foreground = #69cfc5
format-prefix-foreground = #FFFFFF
format-connected =<ramp-signal><label-connected>
;format-connected-underline = #495858
;format-disconnected-underline = ${self.format-connected-underline}
;format-connected-underline = #37b7a0
;format-connected-overline = #37b7a0
label-connected-padding = 1
label-connected = %signal%
label-connected-foreground = #69cfc5
label-disconnected = -/-
label-disconnected-foreground = #bd2c40
ramp-signal-0 = 
;ramp-signal-1 = 
;ramp-signal-2 = 
;ramp-signal-3 = 
;ramp-signal-4 = 
ramp-signal-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; E T H E R N E T
;----------------------------------------------------------
[module/eth]
type = internal/network
interface = enp4s0
interval = 3.0
format-connected-underline = #55aa55
format-connected-prefix =
format-connected-foreground-foreground = ${colors.foreground-alt}
label-connected = %local_ip%
format-disconnected-underline = ${self.format-connected-underline}
label-disconnected = %ifname% disconnected
label-disconnected-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; T I M E
;----------------------------------------------------------
[module/date]
type = internal/date
interval = 5
date =
date-alt = " %Y-%m-%d "
time-foreground-font = 1
time-foreground-color = #FFFFFF
time = %H:%M
time-alt = %H:%M:%S
;format-prefix = " "
format-prefix-foreground = #FFFFFF
;format-overline = #0a6cf5
label = %date% %time%
label-font = 1
;----------------------------------------------------------
; V O L U M E
;----------------------------------------------------------
[module/volume]
type = internal/volume
format-volume = <bar-volume>
;format-volume = <bar-volume>
;label-volume = ""
label-volume-font = 3
label-volume-foreground = #FFFFFF
label-volume-background = #222
;label-volume-underline= #58ffef
;label-volume-overline= #58ffef
format-muted-prefix = " "
format-muted-suffix = " "
format-muted-foreground = #000000
format-muted-background = #ff8c8c
label-muted = MUTE
label-volume-padding = 1
;bar-volume-padding = 1
bar-volume-width = 7
,bar-volume-background = #495858
bar-volume-foreground-0 = #55aa55
bar-volume-foreground-1 = #55aa55
bar-volume-foreground-2 = #55aa55
bar-volume-foreground-3 = #55aa55
bar-volume-foreground-4 = #55aa55
bar-volume-foreground-5 = #f5a70a
bar-volume-foreground-6 = #ff5555
bar-volume-gradient = true
bar-volume-indicator = "|"
bar-volume-indicator-font = 1
bar-volume-indicator-foreground = #95d595
bar-volume-indicator-background = #222
bar-volume-fill-background = #222
bar-volume-fill = ─
bar-volume-fill-font = 5
bar-volume-empty-background = #222
bar-volume-empty-padding = 1
bar-volume-empty = ─
bar-volume-empty-font = 5
bar-volume-empty-foreground = ${colors.foreground-alt}
;bar-volume-indicator-underline= #58ffef
;bar-volume-indicator-overline= #58ffef
;bar-volume-fill-underline= #58ffef
;bar-volume-fill-overline= #58ffef
;bar-volume-empty-underline= #58ffef
;bar-volume-empty-overline= #58ffef
;----------------------------------------------------------
; B A T T E R Y
;----------------------------------------------------------
[module/battery]
type = internal/battery
battery = BAT0
adapter = AC0
full-at = 98
format-charging = <animation-charging> <label-charging>
;format-charging-underline = #4e5942
;ormat-charging-background = #4e5942
format-discharging = <ramp-capacity> <label-discharging>
;format-discharging-underline = #7ab737
;format-discharging-overline = #7ab737
format-full-prefix = "  "
format-full-prefix-font = 3
;format-full-prefix-foreground = #8ae234
;format-full-suffix = ""
;format-charging-suffix =
format-charging-prefix = "  "
format-charging-prefix-foreground = #FFFFFF
;format-charging-suffix-background = #222
;format-charging-background = #4e5942
format-discharging-prefix = "  "
format-discharging-prefix-foreground = #FFFFFF
format-discharging-suffix-background = #222
format-discharging-background = #222
format-discharging-padding = 1
format-full-prefix-foreground = #8ae234
format-full-prefix-background = #222
format-full-suffix-background = #222
format-full-background = #222
;format-full-underline = ${self.format-charging-underline}
;format-full-overline = ${self.format-charging-underline}
label-padding = 1
label-full-background = #222
ramp-capacity-0 = 
ramp-capacity-1 = 
ramp-capacity-2 = 
ramp-capacity-foreground = ${colors.foreground-alt}
animation-charging-0 = 
animation-charging-1 = 
animation-charging-2 = 
animation-charging-foreground = ${colors.foreground-alt}
animation-charging-framerate = 750
;----------------------------------------------------------
; T E M P
;----------------------------------------------------------
[module/temperature]
type = internal/temperature
thermal-zone = 0
warn-temperature = 82
format-prefix = " "
format-prefix-foreground = #FFFFFF
format-prefix-background = #222
format = <ramp><label>
;format-underline = #c17d11
;format-overline = #c17d11
format-warn = <ramp><label-warn>
;format-warn-underline = ${self.format-underline}
label = %temperature%
label-background = #222
label-warn = %temperature%
label-foreground = #84c986
label-warn-foreground = ${colors.secondary}
label-padding = 1
ramp-0 =
ramp-1 =
ramp-2 =
ramp-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; P O W E R M E N U
;----------------------------------------------------------
[module/powermenu]
type = custom/menu
label-open = "  "
label-open-foreground = #FFFFFF
;label-open-overline = #ef2929
label-close = cancel -
label-close-foreground = #fc4444
label-separator = |
label-separator-foreground = ${colors.foreground-alt}
menu-0-0 = " reboot "
menu-0-0-exec = menu-open-1
menu-0-1 = " shutdown "
menu-0-1-exec = menu-open-2
menu-1-0 = " cancel "
menu-1-0-exec = menu-open-0
menu-1-1 = " reboot "
menu-1-1-exec = sudo reboot
menu-2-0 = " shutdown "
menu-2-0-exec = sudo poweroff
menu-2-1 = cancel
menu-2-1-exec = menu-open-0
;----------------------------------------------------------
; Q U I C K M E N U
;----------------------------------------------------------
[module/quickmenu]
type = custom/menu
label-padding-left = 2
label-padding-right = 2
label-open = "  "
label-open-foreground = #85e178
label-close =  cancel
label-close-foreground = #fc4444
label-separator = |
label-separator-foreground = ${colors.foreground-alt}
menu-0-0 = " term "
menu-0-0-exec = mate-terminal &
menu-0-1 = " files "
menu-0-1-exec = pcmanfm &
menu-0-2 = " text "
menu-0-2-exec = gedit &
menu-1-0 = cancel
menu-1-0-exec = menu-open-0
; vim:ft=dosini
+317
View File
@@ -0,0 +1,317 @@
[colors]
#custom_foreground = ${xrdb:custom_foreground}
#custom_background_dark = ${xrdb:custom_background_dark}
#custom_background_light = ${xrdb:custom_background_light}
#custom_primary = ${xrdb:custom_primary}
#custom_warn = ${xrdb:custom_warn}
[bar/bar]
monitor = eDP1
height = 25
bottom = false
fixed-center = false
background = ${colors.custom_background_dark}
foreground = ${colors.custom_foreground}
font-0 = Iosevka Term:fontformat=truetype:pixelsize=8:antialias=true;2
font-1 = Iosevka Nerd Font Mono:fontformat=truetype:size=14:antialias=true;3
font-2 = Material Icons:fontformat=truetype:pixelsize=10:antialias=true;3
modules-left = left_end i3 right_end
modules-center = left_end mpd_controls divider mpd right_end
modules-right = left_end battery memory divider cpu divider temperature divider wifi_down wifi_up eth_down eth_up divider volume divider date divider time right_end
[module/i3]
type = internal/i3
index-sort = true
wrapping-scroll = true
strip-wsnumbers = false
pin-workspaces = true
ws-icon-0 = 1;%{T3}%{T-} :: %{T3}%{T-}
ws-icon-1 = 2;%{T3}%{T-} :: %{T3}%{T-}
ws-icon-2 = 3;%{T3}%{T-} :: %{T3}%{T-}
ws-icon-3 = 4;%{T3}%{T-} :: %{T3}%{T-}
ws-icon-4 = 5;%{T3}%{T-} :: %{T3}%{T-}
ws-icon-5 = 6;%{T3}%{T-} :: %{T3}%{T-}
ws-icon-6 = 7;%{T3}%{T-} :: %{T3}%{T-}
ws-icon-7 = 8;%{T3}%{T-} :: %{T3}%{T-}
ws-icon-8 = 9;%{T3}%{T-} :: %{T3}%{T-}
label-separator = |
label-separator-padding = 2
label-separator-foreground = ${colors.custom_background_light}
label-focused = %icon%
label-focused-foreground = ${colors.custom_primary}
label-focused-background = ${colors.custom_background_dark}
label-unfocused = %icon%
label-unfocused-foreground = ${colors.custom_background_light}
label-unfocused-background = ${colors.custom_background_dark}
label-visible = %icon%
label-visible-foreground = ${colors.custom_foreground}
label-visible-background = ${colors.custom_background_dark}
label-urgent = %icon%
label-urgent-foreground = ${colors.custom_warn}
label-urgent-background = ${colors.custom_background_dark}
[module/divider]
type = custom/text
content = " | "
content-foreground = ${colors.custom_background_light}
content-background = ${colors.custom_background_dark}
[module/left_end]
type = custom/text
content = " -----[ "
content-foreground = ${colors.custom_background_light}
content-background = ${colors.custom_background_dark}
[module/right_end]
type = custom/text
content = " ]----- "
content-foreground = ${colors.custom_background_light}
content-background = ${colors.custom_background_dark}
[module/mpd]
type = internal/mpd
format-playing = <label-song>
format-paused = <label-song>
format-stopped = <label-song>
format-playing-prefix = "%{T3}%{T-} "
format-playing-prefix-foreground = ${colors.custom_primary}
format-playing-prefix-background = ${colors.custom_background_dark}
format-paused-prefix = "%{T3}%{T-} "
format-paused-prefix-foreground = ${colors.custom_primary}
format-paused-prefix-background = ${colors.custom_background_dark}
format-stopped-prefix = "%{T3}%{T-} "
format-stopped-prefix-foreground = ${colors.custom_primary}
format-stopped-prefix-background = ${colors.custom_background_dark}
label-song-maxlen = 100
label-song-ellipsis = true
label-song = %artist% - %title%
label-song-foreground = ${colors.custom_foreground}
label-song-background = ${colors.custom_background_dark}
[module/mpd_controls]
type = internal/mpd
format-playing = <icon-prev><toggle><icon-next>
format-paused = <icon-prev><toggle><icon-next>
format-stopped = <icon-prev><toggle><icon-next>
icon-play = %{T3}%{T-}
icon-play-foreground = ${colors.custom_foreground}
icon-play-background = ${colors.custom_background_dark}
icon-pause = %{T3}%{T-}
icon-pause-foreground = ${colors.custom_foreground}
icon-pause-background = ${colors.custom_background_dark}
icon-prev = %{T3}%{T-}
icon-prev-foreground = ${colors.custom_foreground}
icon-prev-background = ${colors.custom_background_dark}
icon-next = %{T3}%{T-}
icon-next-foreground = ${colors.custom_foreground}
icon-next-background = ${colors.custom_background_dark}
[module/cpu]
type = internal/cpu
interval = 1
format-prefix = %{T3}%{T-}
format-prefix-foreground = ${colors.custom_primary}
format-prefix-background = ${colors.custom_background_dark}
label = " %percentage:3%%"
label-foreground = ${colors.custom_foreground}
label-background = ${colors.custom_background_dark}
[module/memory]
type = internal/memory
interval = 1
format-prefix = %{T3}%{T-}
format-prefix-foreground = ${colors.custom_primary}
format-prefix-background = ${colors.custom_background_dark}
label = " %percentage_used:3%%"
label-foreground = ${colors.custom_foreground}
label-background = ${colors.custom_background_dark}
[module/wifi_down]
type = internal/network
interface = wlp3s0
interval = 1.0
accumulate-stats = true
format-connected-prefix = %{T3}%{T-}
format-connected-prefix-foreground = ${colors.custom_primary}
format-connected-prefix-background = ${colors.custom_background_dark}
label-connected = " %downspeed:8% "
label-connected-foreground = ${colors.custom_foreground}
label-connected-background = ${colors.custom_background_dark}
[module/wifi_up]
type = internal/network
interface = wlp3s0
interval = 1.0
accumulate-stats = true
format-connected-prefix = %{T3}%{T-}
format-connected-prefix-foreground = ${colors.custom_primary}
format-connected-prefix-background = ${colors.custom_background_dark}
label-connected = " %upspeed:8%"
label-connected-foreground = ${colors.custom_foreground}
label-connected-background = ${colors.custom_background_dark}
[module/eth_down]
type = internal/network
interface = enp0s31f6
interval = 1.0
accumulate-stats = true
format-connected-prefix = %{T3}%{T-}
format-connected-prefix-foreground = ${colors.custom_primary}
format-connected-prefix-background = ${colors.custom_background_dark}
label-connected = " %downspeed:8% "
label-connected-foreground = ${colors.custom_foreground}
label-connected-background = ${colors.custom_background_dark}
[module/eth_up]
type = internal/network
interface = enp0s31f6
interval = 1.0
accumulate-stats = true
format-connected-prefix = %{T3}%{T-}
format-connected-prefix-foreground = ${colors.custom_primary}
format-connected-prefix-background = ${colors.custom_background_dark}
label-connected = " %upspeed:8%"
label-connected-foreground = ${colors.custom_foreground}
label-connected-background = ${colors.custom_background_dark}
[module/date]
type = internal/date
interval = 1
date = %d-%m-%Y
date-alt = %d-%m-%Y
format-prefix = %{T3}%{T-}
format-prefix-foreground = ${colors.custom_primary}
format-prefix-background = ${colors.custom_background_dark}
label = " %date%"
label-foreground = ${colors.custom_foreground}
label-background = ${colors.custom_background_dark}
[module/time]
type = internal/date
interval = 1
time = %H:%M
time-alt = %H:%M:%S
format-prefix = %{T3}%{T-}
format-prefix-foreground = ${colors.custom_primary}
format-prefix-background = ${colors.custom_background_dark}
label = " %time%"
label-foreground = ${colors.custom_foreground}
label-background = ${colors.custom_background_dark}
[module/volume]
type = internal/alsa
interval = 0.1
format-volume-prefix = %{T3}%{T-}
format-volume-prefix-foreground = ${colors.custom_primary}
format-volume-prefix-background = ${colors.custom_background_dark}
label-volume = " %percentage:3%%"
label-volume-foreground = ${colors.custom_foreground}
label-volume-background = ${colors.custom_background_dark}
format-muted-prefix = %{T3}%{T-}
format-muted-prefix-foreground = ${colors.custom_warn}
format-muted-prefix-background = ${colors.custom_background_dark}
label-muted = " %percentage:3%%"
label-muted-foreground = ${colors.custom_foreground}
label-muted-background = ${colors.custom_background_dark}
[module/battery]
type = internal/battery
battery = BAT0
adapter = AC
full-at = 100
format-charging = <label-charging>
format-charging-prefix = %{T3}%{T-}
format-charging-prefix-foreground = ${colors.custom_primary}
format-charging-prefix-background = ${colors.custom_background_dark}
format-charging-suffix = " | "
format-charging-suffix-foreground = ${colors.custom_background_light}
format-charging-suffix-background = ${colors.custom_background_dark}
format-discharging = <label-discharging>
format-discharging-prefix = %{T3}%{T-}
format-discharging-prefix-foreground = ${colors.custom_warn}
format-discharging-prefix-background = ${colors.custom_background_dark}
format-discharging-suffix = " | "
format-discharging-suffix-foreground = ${colors.custom_background_light}
format-discharging-suffix-background = ${colors.custom_background_dark}
format-full = <label-full>
format-full-prefix = %{T3}%{T-}
format-full-prefix-foreground = ${colors.custom_primary}
format-full-prefix-background = ${colors.custom_background_dark}
format-full-suffix = " | "
format-full-suffix-foreground = ${colors.custom_background_light}
format-full-suffix-background = ${colors.custom_background_dark}
label-charging = " %percentage:3%%"
label-charging-foreground = ${colors.custom_foreground}
label-charging-background = ${colors.custom_background_dark}
label-discharging = " %percentage:3%%"
label-discharging-foreground = ${colors.custom_foreground}
label-discharging-background = ${colors.custom_background_dark}
label-full = " %percentage:3%%"
label-full-foreground = ${colors.custom_foreground}
label-full-background = ${colors.custom_background_dark}
[module/temperature]
type = internal/temperature
thermal-zone = 0
warn-temperature = 70
format-prefix = %{T3}%{T-}
format-prefix-foreground = ${colors.custom_primary}
format-prefix-background = ${colors.custom_background_dark}
label = " %temperature:3%"
label-foreground = ${colors.custom_foreground}
label-background = ${colors.custom_background_dark}
format-warn-prefix = %{T3}%{T-}
format-warn-prefix-foreground = ${colors.custom_warn}
format-warn-prefix-background = ${colors.custom_background_dark}
label-warn = " %temperature:3%"
label-warn-foreground = ${colors.custom_foreground}
label-warn-background = ${colors.custom_background_dark}
[settings]
screenchange-reload = true
[global/wm]
margin-top = 0
margin-bottom = 0
+597
View File
@@ -0,0 +1,597 @@
;###################################################################
;
;
; - uNd0xR bspwm config -
;
;
;###################################################################
;----------------------------------------------------------
; C O L O R S
;----------------------------------------------------------
[colors]
background = #222
background-alt = #444
foreground = #dfdfdf
foreground-alt = #cbcbcb
primary = #ffb52a
secondary = #e60053
alert = #bd2c40
;----------------------------------------------------------
; G L O B A L
;----------------------------------------------------------
[global/wm]
margin-top = 5
margin-bottom = 5
[bar/bar]
#monitor = ${env:MONITOR:LVDS-1-1}
monitor = DP1
width = 100%
height = 22
offset-x = 0
offset-y = 0
;dock = true
;background = ${xrdb:color9}
background = ${colors.background}
foreground = ${colors.foreground}
overline-size = 1
overline-color = #f00
underline-size = 1
underline-color = #00f
border-bottom = 2
border-bottom-color = #333
border-color-foreground = #FFFFFF
spacing = 0
padding-left = 0
padding-right = 1
module-margin-left = 0
module-margin-right = 1
;----------------------------------------------------------
; F O N T S
;----------------------------------------------------------
;font-0 = Terminus:size=12;0
font-0 = GohuFont:size=9;0
;font-0 = Roboto:pixelsize=14;0
font-1 = Roboto:size=10:weight=bold
font-2 = -*-gohufont-medium-*-*-*-11-*-*-*-*-*-*-*
font-3 = FontAwesome:size=10;0
font-4 = PowerlineSymbols:size=11;0
font-5 = siji:pixelsize=10;0
font-6 = GohuFont:pixelsize=14:weight=bold
;----------------------------------------------------------
; M A I N M O D U L E L A Y O U T
;----------------------------------------------------------
modules-left = bspwm
modules-center =
modules-right = date
;----------------------------------------------------------
; T R A Y
;----------------------------------------------------------
;tray-position = center
tray-position = center
tray-padding = 2
tray-offset-x = 21%
;tray-transparent = true
;tray-background = #0063ff
wm-restack = bspwm
;override-redirect = true
scroll-up = bspwm-desknext
scroll-down = bspwm-deskprev
;----------------------------------------------------------
; X W I N D O W
;----------------------------------------------------------
[module/xwindow]
type = internal/xwindow
label = - %title:0:50:...%
format-padding = 2
label-padding-left = 2
label-padding-right = 2
label-background = #3b3c3b
;----------------------------------------------------------
; X K E Y B O A R D
;----------------------------------------------------------
[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock
format-underline = ${colors.secondary}
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
label-layout = %layout%
label-indicator-padding = 2
label-indicator-background = ${colors.secondary}
label-indicator-underline = ${colors.secondary}
;----------------------------------------------------------
; F I L E S Y S T E M
;----------------------------------------------------------
[module/filesystem]
type = internal/fs
interval = 25
mount-0 = /home
;mount-1 = /home
;mount-2 = /invalid/mountpoint
format-mounted-prefix = "/HOME:"
format-mounted-foreground = #FFFFFF
;format-mounted-overline = #73d216
label-mounted = %percentage_used%
label-mounted-padding = 1
;label-mounted-underline= #73d216
;label-mounted-overline= #73d216
label-unmounted = %mountpoint%: not mounted
label-unmounted-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; B S P W M M O D U L E
;----------------------------------------------------------
[module/bspwm]
type = internal/bspwm
; Only show workspaces defined on the same output as the bar
pin-workspaces = true
; Create click handler used to focus workspace
; Default: true
enable-click = true
; Create scroll handlers used to cycle workspaces
; Default: true
enable-scroll = true
; Set the scroll cycle direction
; Default: true
reverse-scroll = false
label-focused = %name%
label-focused-background = #3d3e3b
;label-focused-underline= ${colors.primary}
label-focused-overline= ${colors.primary}
label-focused-foreground = #8ae234
label-focused-padding = 2
label-occupied = %name%
label-occupied-padding = 2
label-occupied-foreground = #e89a4e
label-urgent = %name%!
label-urgent-background = ${colors.alert}
label-urgent-padding = 2
label-empty = %name%
label-empty-foreground = ${colors.foreground-alt}
label-empty-padding = 2
;----------------------------------------------------------
; M P D
;----------------------------------------------------------
[module/mpd]
type = internal/mpd
format-online = <label-song> <icon-prev> <icon-seekb> <icon-stop> <toggle> <icon-seekf> <icon-next> <icon-repeat> <icon-random>
label-song-maxlen = 25
label-song-ellipsis = true
icon-prev = <
icon-seekb = «
icon-stop = <>
icon-play = |>
icon-pause = ll
icon-next = >
icon-seekf = »
icon-random = ½
icon-repeat = O
toggle-on-foreground = ${colors.primary}
toggle-off-foreground = #66
;----------------------------------------------------------
; B A C K L I G H T
;----------------------------------------------------------
[module/backlight]
type = internal/light
format = <label> <bar>
label = BL
bar-width = 10
bar-indicator = │
bar-indicator-foreground = #ff
bar-indicator-font = 2
bar-fill = ─
bar-fill-font = 2
bar-fill-foreground = #9f78e1
bar-empty = ─
bar-empty-font = 2
bar-empty-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; C P U
;----------------------------------------------------------
[module/cpu]
type = internal/cpu
interval = 2
;format-prefix = " "
format-prefix = " CPU"
;format-prefix-underline = #edd400
;format-prefix-overline = #edd400
format-prefix-foreground = #FFFFFF
format-prefix-background = #222
format-suffix-foreground = #c98080
;label-underline = #edd400
;label-overline = #edd400
label = %percentage%
label-background = #222
label-foreground = #FFFFFF
label-padding = 1
;----------------------------------------------------------
; M E M O R Y
;----------------------------------------------------------
[module/memory]
type = internal/memory
interval = 2
;format-prefix = " "
format-prefix = " RAM:"
format-prefix-background = #222
format-prefix-foreground = #FFFFFF
;format-prefix-underline = #f57900
;format-prefix-overline = #f57900
format-margin-top = -5
format-suffix-height = 100%
format-suffix-foreground = #FFFFFF
label-background = #222
;format-underline = #475753
label = %percentage_used%
label-foreground = #FFFFFF
label-padding = 1
;label-underline = #f57900
;label-overline = #f57900
;----------------------------------------------------------
; T E X T M O D U L E S
;----------------------------------------------------------
[module/arrow]
type = custom/text
content = " "
content-background = #222
;content-background = #55aa55
content-foreground = #222
content-padding = 1
[module/bluelike]
type = custom/text
content = " "
;content-background = #2e3436
content-background = #58ffef
content-foreground = #555753
content-padding = 0
;----------------------------------------------------------
; W L A N
;----------------------------------------------------------
[module/wlan]
type = internal/network
interface = wlp3s0
interval = 3.0
format-connected-prefix = " "
format-connected-background = #222
format-connected-foreground = #FFFFFF
format-prefix-foreground = #FFFFFF
format-connected = <ramp-signal> <label-connected>
;format-connected-underline = #495858
;format-disconnected-underline = ${self.format-connected-underline}
;format-connected-underline = #37b7a0
;format-connected-overline = #37b7a0
label-connected-padding = 1
label-connected = %signal%
label-connected-foreground = #FFFFFF
label-disconnected = %ifname% disconnected
label-disconnected-foreground = ${colors.foreground-alt}
ramp-signal-0 = 
;ramp-signal-1 = 
;ramp-signal-2 = 
;ramp-signal-3 = 
;ramp-signal-4 = 
ramp-signal-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; E T H E R N E T
;----------------------------------------------------------
[module/eth]
type = internal/network
interface = enp4s0
interval = 3.0
format-connected-underline = #55aa55
format-connected-prefix = " "
format-connected-foreground-foreground = ${colors.foreground-alt}
label-connected = %local_ip%
format-disconnected-underline = ${self.format-connected-underline}
label-disconnected = %ifname% disconnected
label-disconnected-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; T I M E
;----------------------------------------------------------
[module/date]
type = internal/date
interval = 5
date =
date-alt = " %Y-%m-%d "
time-foreground-font = 1
time = %H:%M
time-alt = %H:%M:%S
;format-prefix = " "
format-prefix-foreground = #FFFFFF
;format-overline = #0a6cf5
label = %date% %time%
label-font = 1
;----------------------------------------------------------
; V O L U M E
;----------------------------------------------------------
[module/volume]
type = internal/volume
format-volume = <label-volume> <bar-volume>
;format-volume = <bar-volume>
label-volume = VOL
label-volume-foreground = #FFFFFF
label-volume-background = #222
;label-volume-underline= #58ffef
;label-volume-overline= #58ffef
format-muted-prefix = " "
format-muted-suffix = " "
format-muted-foreground = #000000
format-muted-background = #ff8c8c
label-muted = MUTE
label-volume-padding = 1
;bar-volume-padding = 1
bar-volume-width = 10
,bar-volume-background = #495858
bar-volume-foreground-0 = #55aa55
bar-volume-foreground-1 = #55aa55
bar-volume-foreground-2 = #55aa55
bar-volume-foreground-3 = #55aa55
bar-volume-foreground-4 = #55aa55
bar-volume-foreground-5 = #f5a70a
bar-volume-foreground-6 = #ff5555
bar-volume-gradient = true
bar-volume-indicator = "|"
bar-volume-indicator-font = 1
bar-volume-indicator-foreground = #95d595
bar-volume-indicator-background = #222
bar-volume-fill-background = #222
bar-volume-fill = ─
bar-volume-fill-font = 5
bar-volume-empty-background = #222
bar-volume-empty-padding = 1
bar-volume-empty = ─
bar-volume-empty-font = 5
bar-volume-empty-foreground = ${colors.foreground-alt}
;bar-volume-indicator-underline= #58ffef
;bar-volume-indicator-overline= #58ffef
;bar-volume-fill-underline= #58ffef
;bar-volume-fill-overline= #58ffef
;bar-volume-empty-underline= #58ffef
;bar-volume-empty-overline= #58ffef
;----------------------------------------------------------
; B A T T E R Y
;----------------------------------------------------------
[module/battery]
type = internal/battery
battery = BAT0
adapter = AC0
full-at = 98
format-charging = <animation-charging> <label-charging>
;format-charging-underline = #4e5942
;ormat-charging-background = #4e5942
format-discharging = <ramp-capacity> <label-discharging>
;format-discharging-underline = #7ab737
;format-discharging-overline = #7ab737
format-full-prefix = " "
;format-full-prefix-foreground = #8ae234
format-full-suffix = " "
format-charging-suffix = " "
format-charging-prefix = " "
format-charging-prefix-foreground = #FFFFFF
;format-charging-suffix-background = #222
;format-charging-background = #4e5942
format-discharging-prefix = " "
format-discharging-prefix-foreground = #FFFFFF
format-discharging-suffix-background = #222
format-discharging-background = #222
format-discharging-padding = 1
format-full-prefix-foreground = #8ae234
format-full-prefix-background = #222
format-full-suffix-background = #222
format-full-background = #222
;format-full-underline = ${self.format-charging-underline}
;format-full-overline = ${self.format-charging-underline}
label-padding = 1
label-full-background = #222
ramp-capacity-0 = 
ramp-capacity-1 = 
ramp-capacity-2 = 
ramp-capacity-foreground = ${colors.foreground-alt}
animation-charging-0 = 
animation-charging-1 = 
animation-charging-2 = 
animation-charging-foreground = ${colors.foreground-alt}
animation-charging-framerate = 750
;----------------------------------------------------------
; T E M P
;----------------------------------------------------------
[module/temperature]
type = internal/temperature
thermal-zone = 0
warn-temperature = 82
format-prefix = "  "
format-prefix-foreground = #FFFFFF
format-prefix-background = #222
format = <ramp> <label>
;format-underline = #c17d11
;format-overline = #c17d11
format-warn = <ramp> <label-warn>
;format-warn-underline = ${self.format-underline}
label = %temperature%
label-background = #222
label-warn = %temperature%
label-foreground = #FFFFFF
label-warn-foreground = ${colors.secondary}
label-padding = 1
ramp-0 = 
ramp-1 = 
ramp-2 = 
ramp-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; P O W E R M E N U
;----------------------------------------------------------
[module/powermenu]
type = custom/menu
label-open = "  "
label-open-foreground = #FFFFFF
;label-open-overline = #ef2929
label-close =  cancel -
label-close-foreground = #fc4444
label-separator = |
label-separator-foreground = ${colors.foreground-alt}
menu-0-0 = " reboot "
menu-0-0-exec = menu-open-1
menu-0-1 = " shutdown "
menu-0-1-exec = menu-open-2
menu-1-0 = " cancel "
menu-1-0-exec = menu-open-0
menu-1-1 = " reboot "
menu-1-1-exec = sudo reboot
menu-2-0 = " shutdown "
menu-2-0-exec = sudo poweroff
menu-2-1 = cancel
menu-2-1-exec = menu-open-0
;----------------------------------------------------------
; Q U I C K M E N U
;----------------------------------------------------------
[module/quickmenu]
type = custom/menu
label-padding-left = 2
label-padding-right = 2
label-open = "  "
label-open-foreground = #85e178
label-close =  cancel
label-close-foreground = #fc4444
label-separator = |
label-separator-foreground = ${colors.foreground-alt}
menu-0-0 = " term "
menu-0-0-exec = mate-terminal &
menu-0-1 = " files "
menu-0-1-exec = pcmanfm &
menu-0-2 = " text "
menu-0-2-exec = gedit &
menu-1-0 = cancel
menu-1-0-exec = menu-open-0
; vim:ft=dosini
+706
View File
@@ -0,0 +1,706 @@
;###################################################################
;
;
; - uNd0xR XFCE config -
;
;
;###################################################################
;----------------------------------------------------------
; C O L O R S
;----------------------------------------------------------
[colors]
background = #222
background-alt = #444
foreground = #dfdfdf
foreground-alt = #cbcbcb
primary = #ffb52a
secondary = #e60053
alert = #bd2c40
;----------------------------------------------------------
; G L O B A L
;----------------------------------------------------------
[global/wm]
margin-top = 0
margin-bottom = 0
[bar/bar]
#monitor = ${env:MONITOR:LVDS-1-1}
monitor = eDP1
width = 100%
height = 18
offset-x = 0
offset-y = 0
;dock = true
;background = ${xrdb:color9}
background = ${colors.background}
foreground = ${colors.foreground}
overline-size = 1
overline-color = #f00
underline-size = 1
underline-color = #00f
border-bottom = 0
border-bottom-color = #333
border-color-foreground = #FFFFFF
spacing = 0
padding-left = 0
padding-right = 0
module-margin-left = 0
module-margin-right = 0
;----------------------------------------------------------
; F O N T S
;----------------------------------------------------------
;font-0 = Terminus:size=12;0
font-0 = Terminus:size=13;0
font-1 = Terminus:size=10;0
font-2 = Terminus:size=11;0
;font-0 = Terminus:pixelsize=14;0
;font-1 = Terminus:size=11:weight=bold
;font-2 = -*-gohufont-medium-*-*-*-11-*-*-*-*-*-*-*
;font-2 = -*-gohufont-medium-*-*-*-11-*-*-*-*-*-*-*
;font-2 = Vera:size=11:0
font-3 = FontAwesome:size=8;0
font-4 = PowerlineSymbols:size=11;0
;font-5 = siji:pixelsize=10;0
font-6 = GohuFont:pixelsize=14:weight=bold
;----------------------------------------------------------
; M A I N M O D U L E L A Y O U T
;----------------------------------------------------------
modules-left = ewmh
modules-center = xwindow
modules-right = arrow volume memory wlan battery temperature powermenu date
;----------------------------------------------------------
; T R A Y
;----------------------------------------------------------
;tray-position = center
tray-position = center
tray-padding = 2
tray-offset-x = 23%
;tray-transparent = true
;tray-background = #0063ff
wm-restack = ewmh
;override-redirect = true
;scroll-up = bspwm-desknext
;scroll-down = bspwm-deskprev
;----------------------------------------------------------
; X W I N D O W
;----------------------------------------------------------
[module/xwindow]
type = internal/xwindow
label = - %title:0:50:...%
format-padding = 2
label-padding-left = 2
label-padding-right = 2
label-background = #3b3c3b
;----------------------------------------------------------
; X K E Y B O A R D
;----------------------------------------------------------
[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock
format-underline = ${colors.secondary}
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
label-layout = %layout%
label-indicator-padding = 2
label-indicator-background = ${colors.secondary}
label-indicator-underline = ${colors.secondary}
;----------------------------------------------------------
; F I L E S Y S T E M
;----------------------------------------------------------
[module/filesystem]
type = internal/fs
interval = 25
mount-0 = /home
;mount-1 = /home
;mount-2 = /invalid/mountpoint
format-mounted-prefix = "/HOME:"
format-mounted-foreground = #FFFFFF
;format-mounted-overline = #73d216
label-mounted = %percentage_used%
label-mounted-padding = 1
;label-mounted-underline= #73d216
;label-mounted-overline= #73d216
label-unmounted = %mountpoint%: not mounted
label-unmounted-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; B S P W M M O D U L E
;----------------------------------------------------------
[module/bspwm]
type = internal/bspwm
; Only show workspaces defined on the same output as the bar
pin-workspaces = true
; Create click handler used to focus workspace
; Default: true
enable-click = true
; Create scroll handlers used to cycle workspaces
; Default: true
enable-scroll = true
; Set the scroll cycle direction
; Default: true
reverse-scroll = false
label-focused = %name%
label-focused-background = #3d3e3b
;label-focused-underline= ${colors.primary}
;label-focused-overline= ${colors.primary}
label-focused-foreground = #8ae234
label-focused-padding = 1
label-occupied = %name%
label-occupied-padding = 1
label-occupied-foreground = #e89a4e
label-urgent = %name%!
label-urgent-background = ${colors.alert}
label-urgent-padding = 1
label-empty = %name%
label-empty-foreground = ${colors.foreground-alt}
label-empty-padding = 1
;----------------------------------------------------------
; M P D
;----------------------------------------------------------
[module/mpd]
type = internal/mpd
format-online = <label-song> <icon-prev> <icon-seekb> <icon-stop> <toggle> <icon-seekf> <icon-next> <icon-repeat> <icon-random>
label-song-maxlen = 25
label-song-ellipsis = true
icon-prev =
icon-seekb =
icon-stop = <>
icon-play =
icon-pause =l
icon-next =
icon-seekf =»
icon-random = ½
icon-repeat
toggle-on-foreground = ${colors.primary}
toggle-off-foreground = #66
;----------------------------------------------------------
; B A C K L I G H T
;----------------------------------------------------------
[module/backlight]
type = internal/light
format = <label> <bar>
label = BL
bar-width = 10
bar-indicator = │
bar-indicator-foreground = #ff
bar-indicator-font = 2
bar-fill = ─
bar-fill-font = 2
bar-fill-foreground = #9f78e1
bar-empty = ─
bar-empty-font = 2
bar-empty-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; C P U
;----------------------------------------------------------
[module/cpu]
type = internal/cpu
interval = 2
;format-prefix = " "
format-prefix = " CPU"
;format-prefix-underline = #edd400
;format-prefix-overline = #edd400
format-prefix-foreground = #FFFFFF
format-prefix-background = #222
format-suffix-foreground = #c98080
;label-underline = #edd400
;label-overline = #edd400
label = %percentage%
label-background = #222
label-foreground = #FFFFFF
label-padding = 1
;----------------------------------------------------------
; M E M O R Y
;----------------------------------------------------------
[module/memory]
type = internal/memory
interval = 2
format-prefix = " "
;format-prefix-font = 3
;format-prefix = " RAM:"
format-prefix-background = #222
format-prefix-foreground = #e6b265
;format-prefix-underline = #e6b265
;format-prefix-overline = #e6b265
format-margin-top = -5
format-suffix-height = 100%
format-suffix = "% "
format-suffix-foreground = #e6b265
label-background = #222
;format-underline = #475753
label =%percentage_used%
label-foreground = #e6b265
label-padding = 1
;label-underline = #f57900
;label-overline = #f57900
;----------------------------------------------------------
; T E X T M O D U L E S
;----------------------------------------------------------
[module/arrow]
type = custom/text
content = " "
content-background = #222
;content-background = #55aa55
content-foreground = #222
content-padding = 1
[module/bluelike]
type = custom/text
content = " "
;content-background = #2e3436
content-background = #58ffef
content-foreground = #555753
content-padding = 0
;----------------------------------------------------------
; W L A N
;----------------------------------------------------------
[module/wlan]
type = internal/network
interface = wlp3s0
interval = 3.0
format-connected-prefix = " "
format-connected-suffix = "% "
format-connected-suffix-foreground = #69cfc5
format-connected-prefix-font = 3
format-connected-background = #222
format-connected-foreground = #69cfc5
format-prefix-foreground = #FFFFFF
format-connected =<ramp-signal><label-connected>
;format-connected-underline = #495858
;format-disconnected-underline = ${self.format-connected-underline}
;format-connected-underline = #37b7a0
;format-connected-overline = #37b7a0
label-connected-padding = 1
label-connected = %signal%
label-connected-foreground = #69cfc5
label-disconnected = -/-
label-disconnected-foreground = #bd2c40
ramp-signal-0 =
;ramp-signal-1 =
;ramp-signal-2 =
;ramp-signal-3 =
;ramp-signal-4 =
ramp-signal-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; E T H E R N E T
;----------------------------------------------------------
[module/eth]
type = internal/network
interface = enp4s0
interval = 3.0
format-connected-underline = #55aa55
format-connected-prefix =
format-connected-foreground-foreground = ${colors.foreground-alt}
label-connected = %local_ip%
format-disconnected-underline = ${self.format-connected-underline}
label-disconnected = %ifname% disconnected
label-disconnected-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; T I M E
;----------------------------------------------------------
[module/date]
type = internal/date
interval = 5
date =
date-alt = " %Y-%m-%d "
time-foreground-font = 1
time-foreground-color = #FFFFFF
time = %H:%M
time-alt = %H:%M:%S
;format-prefix = " "
format-prefix-foreground = #FFFFFF
;format-overline = #0a6cf5
label = %date% %time%
label-font = 1
;----------------------------------------------------------
; V O L U M E
;----------------------------------------------------------
[module/volume]
type = internal/alsa
format-volume = <bar-volume>
;format-volume = <bar-volume>
;label-volume = ""
label-volume-font = 3
label-volume-foreground = #FFFFFF
label-volume-background = #222
;label-volume-underline= #58ffef
;label-volume-overline= #58ffef
format-muted-prefix = " "
format-muted-suffix = " "
format-muted-foreground = #000000
format-muted-background = #ff8c8c
label-muted = MUTE
label-volume-padding = 1
;bar-volume-padding = 1
bar-volume-width = 7
,bar-volume-background = #495858
bar-volume-foreground-0 = #55aa55
bar-volume-foreground-1 = #55aa55
bar-volume-foreground-2 = #55aa55
bar-volume-foreground-3 = #55aa55
bar-volume-foreground-4 = #55aa55
bar-volume-foreground-5 = #f5a70a
bar-volume-foreground-6 = #ff5555
bar-volume-gradient = true
bar-volume-indicator = "|"
bar-volume-indicator-font = 1
bar-volume-indicator-foreground = #95d595
bar-volume-indicator-background = #222
bar-volume-fill-background = #222
bar-volume-fill = ─
bar-volume-fill-font = 5
bar-volume-empty-background = #222
bar-volume-empty-padding = 1
bar-volume-empty = ─
bar-volume-empty-font = 5
bar-volume-empty-foreground = ${colors.foreground-alt}
;bar-volume-indicator-underline= #58ffef
;bar-volume-indicator-overline= #58ffef
;bar-volume-fill-underline= #58ffef
;bar-volume-fill-overline= #58ffef
;bar-volume-empty-underline= #58ffef
;bar-volume-empty-overline= #58ffef
;----------------------------------------------------------
; B A T T E R Y
;----------------------------------------------------------
[module/battery]
type = internal/battery
battery = BAT0
adapter = AC0
full-at = 98
format-charging = <animation-charging> <label-charging>
;format-charging-underline = #4e5942
;ormat-charging-background = #4e5942
format-discharging = <ramp-capacity> <label-discharging>
;format-discharging-underline = #7ab737
;format-discharging-overline = #7ab737
format-full-prefix = "  "
format-full-prefix-font = 3
;format-full-prefix-foreground = #8ae234
;format-full-suffix = ""
;format-charging-suffix =
format-charging-prefix = "  "
format-charging-prefix-foreground = #FFFFFF
;format-charging-suffix-background = #222
;format-charging-background = #4e5942
format-discharging-prefix = "  "
format-discharging-prefix-foreground = #FFFFFF
format-discharging-suffix-background = #222
format-discharging-background = #222
format-discharging-padding = 1
format-full-prefix-foreground = #8ae234
format-full-prefix-background = #222
format-full-suffix-background = #222
format-full-background = #222
;format-full-underline = ${self.format-charging-underline}
;format-full-overline = ${self.format-charging-underline}
label-padding = 1
label-full-background = #222
ramp-capacity-0 =
ramp-capacity-1 =
ramp-capacity-2 =
ramp-capacity-foreground = ${colors.foreground-alt}
animation-charging-0 =
animation-charging-1 =
animation-charging-2 =
animation-charging-foreground = ${colors.foreground-alt}
animation-charging-framerate = 750
;----------------------------------------------------------
; T E M P
;----------------------------------------------------------
[module/temperature]
type = internal/temperature
thermal-zone = 0
warn-temperature = 82
format-prefix = " "
format-prefix-foreground = #FFFFFF
format-prefix-background = #222
format = <ramp><label>
;format-underline = #c17d11
;format-overline = #c17d11
format-warn = <ramp><label-warn>
;format-warn-underline = ${self.format-underline}
label = %temperature-c%
label-background = #222
label-warn = %temperature-c%
label-foreground = #84c986
label-warn-foreground = ${colors.secondary}
label-padding = 1
ramp-0 =
ramp-1 =
ramp-2 =
ramp-foreground = ${colors.foreground-alt}
;----------------------------------------------------------
; P O W E R M E N U
;----------------------------------------------------------
[module/powermenu]
type = custom/menu
label-open = "  "
label-open-foreground = #FFFFFF
;label-open-overline = #ef2929
label-close = cancel -
label-close-foreground = #fc4444
label-separator = |
label-separator-foreground = ${colors.foreground-alt}
menu-0-0 = " reboot "
menu-0-0-exec = menu-open-1
menu-0-1 = " shutdown "
menu-0-1-exec = menu-open-2
menu-1-0 = " cancel "
menu-1-0-exec = menu-open-0
menu-1-1 = " reboot "
menu-1-1-exec = sudo reboot
menu-2-0 = " shutdown "
menu-2-0-exec = sudo poweroff
menu-2-1 = cancel
menu-2-1-exec = menu-open-0
;----------------------------------------------------------
; Q U I C K M E N U
;----------------------------------------------------------
[module/quickmenu]
type = custom/menu
label-padding-left = 2
label-padding-right = 2
label-open = "  "
label-open-foreground = #85e178
label-close = cancel
label-close-foreground = #fc4444
label-separator = |
label-separator-foreground = ${colors.foreground-alt}
menu-0-0 = " term "
menu-0-0-exec = mate-terminal &
menu-0-1 = " files "
menu-0-1-exec = pcmanfm &
menu-0-2 = " text "
menu-0-2-exec = gedit &
menu-1-0 = cancel
menu-1-0-exec = menu-open-0
; vim:ft=dosini
;----------------------------------------------------------
; E W M H W O R K S P A C E
;----------------------------------------------------------
[module/ewmh]
type = internal/xworkspaces
; Only show workspaces defined on the same output as the bar
;
; Useful if you want to show monitor specific workspaces
; on different bars
;
; Default: false
pin-workspaces = true
; Create click handler used to focus desktop
; Default: true
enable-click = true
; Create scroll handlers used to cycle desktops
; Default: true
enable-scroll = true
; icon-[0-9]+ = <desktop-name>;<icon>
; NOTE: The desktop name needs to match the name configured by the WM
; You can get a list of the defined desktops using:
; $ xprop -root _NET_DESKTOP_NAMES
; Available tags:
; <label-monitor>
; <label-state> - gets replaced with <label-(active|urgent|occupied|empty)>
; Default: <label-state>
format = <label-state>
; Available tokens:
; %name%
; Default: %name%
label-monitor = %name%
; Available tokens:
; %name%
; %icon%
; %index%
; Default: %icon% %name%
label-active-padding-left = 1
;label-active-padding-right = 1
label-active = %name%
label-active-foreground = #7cff60
label-active-background = #222
;label-active-underline = #fba922
; Available tokens:
; %name%
; %icon%
; %index%
; Default: %icon% %name%
;label-occupied = %icon%
label-occupied = %name%
label-occupied-padding-left = 1
label-occupied-padding-right = 1
;label-occupied-underline = #555555
;label-occupied-foreground = #da9258
label-occupied-background = #FFFFFF
;label-occupied-foreground = #da9258
;label-occupied = %name%
label-occupied-padding = 1
label-occupied-foreground = #e89a4e
label-occupied-underline = #555555
; Available tokens:
; %name%
; %icon%
; %index%
; Default: %icon% %name%
label-urgent = %icon%
label-urgent-foreground = #000000
label-urgent-background = #bd2c40
label-urgent-underline = #9b0a20
; Available tokens:
; %name%
; %icon%
; %index%
; Default: %icon% %name%
;label-empty = %icon%
label-empty-foreground = #55
+13
View File
@@ -0,0 +1,13 @@
#!/usr/bin/env sh
# Terminate already running bar instances
killall -q polybar
# Wait until the processes have been shut down
while pgrep -x polybar >/dev/null; do sleep 1; done
# Launch bar1 and bar2
polybar bar &
#polybar bar2 &
echo "Bars launched..."
+63
View File
@@ -0,0 +1,63 @@
#!/bin/bash
# Custom Rofi Script
BORDER="#1F1F1F"
SEPARATOR="#1F1F1F"
FOREGROUND="#FFFFFF"
BACKGROUND="#1F1F1F"
BACKGROUND_ALT="#252525"
HIGHLIGHT_BACKGROUND="#00897b"
HIGHLIGHT_FOREGROUND="#1F1F1F"
BLACK="#000000"
WHITE="#ffffff"
RED="#e53935"
GREEN="#43a047"
YELLOW="#fdd835"
BLUE="#1e88e5"
MAGENTA="#00897b"
CYAN="#00acc1"
PINK="#d81b60"
PURPLE="#8e24aa"
INDIGO="#3949ab"
TEAL="#00897b"
LIME="#c0ca33"
AMBER="#ffb300"
ORANGE="#fb8c00"
BROWN="#6d4c41"
GREY="#757575"
BLUE_GREY="#546e7a"
DEEP_PURPLE="#5e35b1"
DEEP_ORANGE="#f4511e"
LIGHT_BLUE="#039be5"
LIGHT_GREEN="#7cb342"
# Launch Rofi
rofi -no-lazy-grab -show drun \
-display-drun "Applications :" -drun-display-format "{name}" \
-hide-scrollbar true \
-bw 0 \
-lines 10 \
-line-padding 10 \
-padding 20 \
-width 30 \
-xoffset 0 -yoffset 21 \
-location 1 \
-columns 2 \
-show-icons -icon-theme "Papirus" \
-font "Fantasque Sans Mono 10" \
-color-enabled true \
-color-window "$BACKGROUND,$BORDER,$SEPARATOR" \
-color-normal "$BACKGROUND_ALT,$FOREGROUND,$BACKGROUND_ALT,$HIGHLIGHT_BACKGROUND,$HIGHLIGHT_FOREGROUND" \
-color-active "$BACKGROUND,$MAGENTA,$BACKGROUND_ALT,$HIGHLIGHT_BACKGROUND,$HIGHLIGHT_FOREGROUND" \
-color-urgent "$BACKGROUND,$YELLOW,$BACKGROUND_ALT,$HIGHLIGHT_BACKGROUND,$HIGHLIGHT_FOREGROUND"
# More Options
# -fullscreen \
# Theming help
# color window = background, border, separator
# color normal = background, foreground, background-alt, highlight-background, highlight-foreground
# color active = background, foreground, background-alt, highlight-background, highlight-foreground
# color urgent = background, foreground, background-alt, highlight-background, highlight-foreground
+335
View File
@@ -0,0 +1,335 @@
;=====================================================
;
; To learn more about how to configure Polybar
; go to https://github.com/jaagr/polybar
;
; The README contains alot of information
;
;=====================================================
[colors]
;background = ${xrdb:color0:#222}
background = ${xrdb:foreground:#FFF}
background-alt = ${xrdb:color0:#FFF}
;foreground = ${xrdb:color7:#222}
foreground = ${xrdb:background:#FFF}
foreground-alt = #5a5760
[bar/title]
monitor = ${env:MONITOR:LVDS1}
width = 600
height = 35
offset-x = 15
offset-y = 10
fixed-center = true
background =#00000000
foreground = ${colors.foreground}
border-size = 0
border-color = #00000000
padding-left = 1
padding-right = 1
module-margin-left = 1
module-margin-right = 2
font-0 = Iosevka Medium:pixelsize=13;2
font-1 = FontAwesome:size=11;3
modules-left = xwindow
[bar/cpu]
monitor = ${env:MONITOR:DVI-D-1}
width = 90
height = 35
offset-x = 817
offset-y = 10
fixed-center = true
radius = 5
background = ${colors.background}
foreground = ${colors.foreground}
border-size = 0
border-color = #00000000
padding-left = 0
padding-right = 2
module-margin-left = 1
module-margin-right = 2
font-0 = Iosevka Medium:pixelsize=13;2
font-1 = FontAwesome:size=11;3
modules-left = cpu
[bar/memory]
monitor = ${env:MONITOR:DVI-D-1}
width = 90
height = 35
offset-x = 917
offset-y = 10
fixed-center = true
radius = 5
background = ${colors.background}
foreground = ${colors.foreground}
border-size = 0
border-color = #00000000
padding-left = 0
padding-right = 2
module-margin-left = 1
module-margin-right = 2
font-0 = Iosevka Medium:pixelsize=13;2
font-1 = FontAwesome:size=11;3
modules-left = memory
[bar/temperature]
monitor = ${env:MONITOR:DVI-D-1}
width = 85
height = 35
offset-x = 1017
offset-y = 10
fixed-center = true
radius = 5
background = ${colors.background}
foreground = ${colors.foreground}
border-size = 0
border-color = #00000000
padding-left = 0
padding-right = 2
module-margin-left = 1
module-margin-right = 2
font-0 = Iosevka Medium:pixelsize=13;2
font-1 = FontAwesome:size=11;3
modules-left = temperature
[bar/workspace]
monitor = ${env:MONITOR:DVI-D-1}
width = 330
height = 35
offset-x = 1112
offset-y = 10
fixed-center = true
radius = 5
background = ${colors.background}
foreground = ${colors.foreground}
border-size = 0
border-color = #00000000
padding-left = 0
padding-right = 2
module-margin-left = 1
module-margin-right = 2
font-0 = Iosevka Medium:pixelsize=13;2
font-1 = FontAwesome:size=11;3
modules-center = bspwm
[bar/volume]
monitor = ${env:MONITOR:DVI-D-1}
width = 90
height = 35
offset-x = 1452
offset-y = 10
fixed-center = true
radius = 5
background = ${colors.background}
foreground = ${colors.foreground}
border-size = 0
border-color = #00000000
padding-left = 0
padding-right = 2
module-margin-left = 1
module-margin-right = 2
font-0 = Iosevka Medium:pixelsize=13;2
font-1 = FontAwesome:size=11;3
modules-left = volume
[bar/clock]
monitor = ${env:MONITOR:DVI-D-1}
width = 195
height = 35
offset-x = 1552
offset-y = 10
fixed-center = true
radius = 5
background = ${colors.background}
foreground = ${colors.foreground}
border-size = 0
border-color = #00000000
padding-left = 0
padding-right = 2
module-margin-left = 1
module-margin-right = 2
font-0 = Iosevka Medium:pixelsize=13;2
font-1 = FontAwesome:size=11;3
modules-left = date
[bar/tray]
monitor = ${env:MONITOR:DVI-D-1}
width = 500
height = 35
offset-x = 2045
offset-y = 10
fixed-center = true
background = #00000000
foreground = ${colors.background}
border-size = 0
border-color = #00000000
padding-left = 1
padding-right = 1
module-margin-left = 1
module-margin-right = 2
font-0 = Iosevka Medium:pixelsize=13;2
font-1 = FontAwesome:size=11;3
modules-left = emptymenu
tray-position = right
[module/xwindow]
type = internal/xwindow
label = %title:0:60:...%
[module/bspwm]
type = internal/bspwm
label-focused = 
label-focused-foreground = ${xrdb:color6:#FFF}
label-focused-padding = 1
label-occupied = 
label-occupied-foreground = ${colors.foreground}
label-occupied-padding = 1
label-urgent = 
label-urgent-background = ${xrdb:color1:#FFF}
label-urgent-padding = 1
label-empty = 
label-empty-foreground = ${colors.foreground}
label-empty-padding = 1
[module/cpu]
type = internal/cpu
interval = 1
format-prefix = " CPU "
format-prefix-foreground = ${colors.background}
format-prefix-background = ${xrdb:color0:#FFF}
label = " %percentage%%"
[module/memory]
type = internal/memory
interval = 1
format-prefix = " MEM "
format-prefix-foreground = ${colors.background}
format-prefix-background = ${xrdb:color0:#FFF}
label = " %percentage_used%%"
[module/date]
type = internal/date
interval = 1
date = %a %d %b
time = %H:%M
format-prefix = "  "
format-prefix-foreground = ${colors.background}
format-prefix-background = ${xrdb:color0:#FFF}
label = " %date% %time%"
[module/temperature]
type = internal/temperature
thermal-zone = 0
warn-temperature = 60
format = <label>
format-underline = #f50a4d
format-prefix = "  "
format-prefix-foreground = ${colors.background}
format-prefix-background = ${xrdb:color0:#FFF}
label = " %temperature%"
[module/volume]
type = internal/volume
master-soundcard = default
master-mixer = Master
mapping = true
label-muted = " MUTE"
label-volume = " %percentage%%"
format-volume = <label-volume>
format-volume-prefix = "  "
format-volume-prefix-foreground = ${colors.background}
format-volume-prefix-background = ${xrdb:color0:#FFF}
format-muted-prefix = "  "
format-muted-prefix-foreground = ${colors.background}
format-muted-prefix-background = ${xrdb:color0:#FFF}
[module/emptymenu]
type = custom/menu
label-open =
[settings]
screenchange-reload = true
;compositing-background = xor
;compositing-background = screen
;compositing-foreground = source
;compositing-border = under
[global/wm]
margin-top = 0
margin-bottom = 10
; vim:ft=dosini
+285
View File
@@ -0,0 +1,285 @@
#
# bspwm hotkeys
#
# add to tabbed container
ctrl + alt + {Left,Down,Up,Right}
tabc attach $(bspc query -N -n) {$(bspc query -N -n west),$(bspc query -N -n south),$(bspc query -N -n north),$(bspc query -N -n east)}
# create/remove from tabbed container
super + z
id=$(bspc query -N -n); \
[[ "$(tabc printclass $id)" == "tabbed" ]] \
&& tabc detach $id \
|| tabc create $id
# toggle autoattach in tabbed container
super + shift + z
tabc autoattach $(bspc query -N -n)
# super + alt + Escape
# bspc quit
super + shift + q
bspc quit
super + x
bspc node -c
super + m
bspc desktop -l next
super + a
bspc desktop -l next
# focus the next/previous node
#super + {_,shift + }c
# bspc node -f {next,prev}
super + b
bspc desktop -B
#super + shift + f
# bspc window -t {floating,fullscreen}
super + shift + r
pkill -usr1 -x sxhkd; notify-send 'sxhkd' 'Reloaded config'
alt + Tab
bspc {node,desktop} -f last
# bspc wm --dump-state | jq -r '.focusHistory[].nodeId' | sort | uniq -c
# jq -r ' .focusHistory | reverse | to_entries | unique_by(.value.nodeId) | sort_by(.key)[].value | select(.nodeId != 0).nodeId' < <(bspc wm -d)
# IDS="$(bspc wm -d | jshon -e focusHistory -a -e nodeId | tac | awk '!seen[$0]++' | tac | tail -$1 | head -1)"
# bspc node -f $IDS
super + apostrophe
bspc window -s last
super + {o,i}
#bspc control --record-history off; \
bspc NODE {older,newer} -f; \
bspc control --record-history on
super + y
bspc window -w last.manual
#super +
# bspc window -s biggest
super + {_,shift + }{h,j,k,l}
bspc node -{f,s} {left,down,up,right}
super + Tab
bspc node -f {next,prev}
super + {comma,period}
bspc desktop -C {backward,forward}
super + bracket{left,right}
bspc desktop -f {prev,next}
super + ctrl + {h,j,k,l}
bspc window -p {left,down,up,right}
super + ctrl + {_,shift + }space
bspc {window -p cancel,desktop -c}
#super + alt + {h,j,k,l}
# bspc window -e {left -10,down +10,up -10,right +10}
super + shift + {right,up,down,left}
bspc window -e {right -10,up +10,down -10,left +10}
super + ctrl + {1-9}
bspc node -r 0.{1-9}
super + {_,shift + }{1-9,0}
bspc {desktop -f,node -d} ^{1-9,10}
~button1
bspc pointer -g focus
super + button{4,5}
bspc desktop -f {next,prev}
#super + button{1-3}
# bspc pointer -g {move,resize_side,resize_corner}
super + !button{1-3}
bspc pointer -t %i %i
#super + @button{1-3}
# bspc pointer -u
super + {Right, Left}
bspc desktop -f {next,prev}
super + Escape
bspc desktop -f next
# Resize nodes
#ctrl + {Right,Left}
S={+,-}; \
bspc window -e left $\{S\}40 || \
bspc window -e right $\{S\}40
#ctrl + {Down,Up}
S={+,-}; \
bspc window -e down $\{S\}40 || \
bspc window -e up $\{S\}40
super + alt + shift + {h,j,k,l}
bspc node {@east -r -10,@north -r +10,@south -r -10,@west -r +10}
super + alt + shift + d
deepin-screenshot
# Hide all windows on all desktops
#super + z
# bspc control --toggle-visibility
ctrl + alt + shift + End
systemctl suspend
ctrl + alt + esc
systemctl suspend
ctrl + alt + delete
systemctl suspend
#dmenu_run
#ctrl + alt + space
# albert show
#XF86WakeUp
# ctrl
#ctrl + space
# gmrun
#
# wm independent hotkeys
#
super + Return
gnome-terminal
ctrl + alt + Home
setxkbmap dk
ctrl + alt + End
setxkbmap us
super + t
mate-terminal
super + p
screen -dm cvlc https://somafm.com/cliqhop.pls
super + shift + p
killall vlc
super + alt + Return
xfce4-terminal
super + shift + Return
terminator
super + s
code
super + g
gedit
super + shift + g
obsidian
super + f
pcmanfm
super + shift + f
sunflower
super + c
google-chrome-stable
super + n
obsidian
super + shift + b
code
super + shift + v
code
super + space
rofi -show run -font "Terminus 11" -lines 14 -bw 5 -theme ~/.config/rofi/theme.rasi
# rofi -show run -theme ~/.local/share/rofi/themes/squared-everforest.rasi
super + shift + space
xfce4-appfinder
Print
deepin-screenshot
ctrl + alt + \
deepin-screenshot
alt + esc
pkill -USR1 -x sxhkd
alt + Up
amixer -q sset Master 4%+
alt + Down
amixer -q sset Master 4%-
alt + m
amixer -q sset Master toggle
alt + end
amixer -q sset Master toggle
shift + alt + Right
light -A 5
shift + alt + Left
light -U 5
XF86MonBrightnessDown
light -A 5
XF86MonBrightnessUp
light -U 5
#ctrl + alt + space
# gdmenu_run
ctrl + alt + Up
/home/null/Documents/scripts/reconfig_to_mobile.sh
ctrl + alt + Down
/home/null/Documents/scripts/reconfig_to_docked.sh
+2
View File
@@ -0,0 +1,2 @@
DOMAIN_NAME=knast.cc
DEFAULT_NETWORK=traefik
+16
View File
@@ -0,0 +1,16 @@
version: "2.1"
services:
doublecommander:
image: lscr.io/linuxserver/doublecommander:latest
container_name: doublecommander
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
volumes:
- /srv/doublecommander:/config
- /home/null/shares/disk1:/data
ports:
- 3030:3000
- 3131:3001
restart: unless-stopped
+2
View File
@@ -0,0 +1,2 @@
DOMAIN_NAME=knast.cc
DEFAULT_NETWORK=traefik
+29
View File
@@ -0,0 +1,29 @@
version: "2.1"
services:
duplicati:
image: lscr.io/linuxserver/duplicati:latest
container_name: duplicati
networks:
- traefik
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
# - CLI_ARGS= #optional
volumes:
- /srv/duplicati/config:/config
- /srv/duplicati/backups:/backups
- /srv/duplicati/source:/source
ports:
- 8200:8200
restart: unless-stopped
labels:
- "traefik.enable=true"
- "traefik.http.routers.duplo.tls=true"
- "traefik.http.routers.duplo.entrypoints=websecure"
- "traefik.http.routers.duplo.rule=Host(`duplo.$DOMAIN_NAME`)"
- "traefik.http.routers.duplo.tls.certresolver=letsencr"
- "traefik.http.services.duplo.loadbalancer.server.port=8200"
networks:
traefik:
external: true
+2
View File
@@ -0,0 +1,2 @@
DOMAIN_NAME=knast.cc
DEFAULT_NETWORK=traefik
+40
View File
@@ -0,0 +1,40 @@
version: "2.3"
services:
emby:
# image: emby/embyserver
image: lscr.io/linuxserver/emby:latest
container_name: embyserver
networks:
- traefik
environment:
- UID=1010
- GID=101
- GIDLIST=101
- PUID=1234
- PGID=1234
- TZ=Europe/Copenhagen
volumes:
- /srv/emby:/config
- /home/knast/shares:/mnt/share1
ports:
- 8097:8097
- 8921:8921
devices:
- /dev/dri:/dev/dri
restart: unless-stopped
labels:
- "traefik.enable=true"
- "traefik.http.routers.emby.tls=true"
- "traefik.http.routers.emby.entrypoints=websecure"
- "traefik.http.routers.emby.rule=Host(`emby.$DOMAIN_NAME`)"
- "traefik.http.routers.emby.tls.certresolver=letsencr"
- "traefik.http.services.emby.loadbalancer.server.port=8097"
# - traefik.http.routers.emby.rule=Host(`emby.$DOMAIN_NAME`)
# - traefik.http.routers.emby.entrypoints=web
# - traefik.http.routers.emby.middlewares=tls-redirectscheme
networks:
traefik:
external: true
+2
View File
@@ -0,0 +1,2 @@
DOMAIN_NAME=knast.cc
DEFAULT_NETWORK=traefik
+31
View File
@@ -0,0 +1,31 @@
version: "2.1"
services:
emulatorjs:
networks:
- traefik
image: lscr.io/linuxserver/emulatorjs:latest
container_name: emulatorjs
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Copenhagen
- SUBFOLDER=/ #optional
volumes:
- /srv/emu/config:/config
- /srv/emu/data:/data
ports:
- 3003:3000
- 84:80
- 4001:4001 #optional
restart: unless-stopped
labels:
- "traefik.enable=true"
- "traefik.http.routers.emu.entrypoints=websecure"
- "traefik.http.routers.emu.rule=Host(`spil.$DOMAIN_NAME`)"
- "traefik.http.routers.emu.tls.certresolver=letsencr"
- "traefik.docker.network=traefik"
- "traefik.http.services.emu.loadbalancer.server.port=80"
networks:
traefik:
external: true
+8
View File
@@ -0,0 +1,8 @@
{
"port": 80,
"baseURL": "",
"address": "",
"log": "stdout",
"database": "/database.db",
"root": "/srv"
}
+4
View File
@@ -0,0 +1,4 @@
DOMAIN_NAME=knast.cc
DEFAULT_NETWORK=traefik
MYUID=docker
MYGID=users
+61
View File
@@ -0,0 +1,61 @@
version: "3"
services:
filebrowser:
image: hurlenko/filebrowser
user: "1000:1000"
ports:
- 8188:8080
volumes:
- nfs_data:/data
- /srv/file_browser/:/config
networks:
- traefik
labels:
- "traefik.enable=true"
- "traefik.http.routers.files.entrypoints=websecure"
- "traefik.http.routers.files.rule=Host(`files.$DOMAIN_NAME`)"
- "traefik.http.routers.files.tls.certresolver=letsencr"
# - traefik.http.middlewares.https_redirect.redirectscheme.scheme=https
# - traefik.http.routers.http_catchall.middlewares=https_redirect
- "traefik.http.services.files.loadbalancer.server.port=8080"
# - "traefik.http.routers.files.middlewares=files_auth"
# - "traefik.http.middlewares.files_auth.basicauth.users=admin:$$2a$$12$$MkhjqyuriyoE5.Mhz14ZXOkfjE7wUEDb46e9argix38VHZ5aAuGQC"
restart: always
# services:
# filebrowser:
# ports:
# - "8228:80"
# volumes:
# - "nfs_data:/srv"
# - "/srv/file_browser/database.db:/database.db:rw"
# - "/srv/file_browser/.filebrowser.json:/.filebrowser.json:ro"
# # - type: bind
# # source: /srv/file_browser/.filebrowser.json
# # target: /.filebrowser.json
# networks:
# - traefik
# labels:
# - "traefik.enable=true"
# - "traefik.http.routers.files.entrypoints=websecure"
# - "traefik.http.routers.files.rule=Host(`files.$DOMAIN_NAME`)"
# - "traefik.http.routers.files.tls.certresolver=letsencr"
# # - traefik.http.middlewares.https_redirect.redirectscheme.scheme=https
# # - traefik.http.routers.http_catchall.middlewares=https_redirect
# - "traefik.http.services.files.loadbalancer.server.port=80"
# - "traefik.http.routers.files.middlewares=files_auth"
# - "traefik.http.middlewares.files_auth.basicauth.users=admin:$$2a$$12$$MkhjqyuriyoE5.Mhz14ZXOkfjE7wUEDb46e9argix38VHZ5aAuGQC"
# restart: unless-stopped
# image: filebrowser/filebrowser
volumes:
nfs_data:
external: true
networks:
traefik:
external: true
+5
View File
@@ -0,0 +1,5 @@
DOMAIN_NAME=knast.cc
DEFAULT_NETWORK=traefik
MYSQL_ROOT_PASSWORD=RJbhYNaCEB3fu8cbtkteetxTR5LtZjnPsqATGgPZ
database__connection__password=DoBBczDcKDwcmnFARHkGvY4SfRiZr5JsDE9i5LB7
MYSQL_PASSWORD=yHXNfJ6XLkaoHTmyqMgx8inrLEadEWwBcTtuDyxo
+19
View File
@@ -0,0 +1,19 @@
version: '3'
services:
filebot:
container_name: filebot
image: coppit/filebot
env_file: .env
environment:
- WIDTH=1920
- HEIGHT=1080
- USER_ID=${PUID}
- GROUP_ID=${PGID}
ports:
- '${RDPPORT}:3389'
- '${WEBPORT}:8080'
volumes:
- '${APPDATA}:/config:rw'
- '${DOWNLOADSDIR}:/downloads:rw'
- '${MEDIADIR}:/media:rw'
restart: unless-stopped
+5
View File
@@ -0,0 +1,5 @@
DOMAIN_NAME=knast.cc
DEFAULT_NETWORK=traefik
MYSQL_ROOT_PASSWORD=RJbhYNaCEB3fu8cbtkteetxTR5LtZjnPsqATGgPZ
database__connection__password=DoBBczDcKDwcmnFARHkGvY4SfRiZr5JsDE9i5LB7
MYSQL_PASSWORD=yHXNfJ6XLkaoHTmyqMgx8inrLEadEWwBcTtuDyxo
+37
View File
@@ -0,0 +1,37 @@
version: "3"
services:
ghost:
image: ghost:latest
volumes:
- /srv/ghost:/var/lib/ghost/content
environment:
- url=https://read.knast.cc
- database__client=mysql
- database__connection__host=ghost_db
- database__connection__user=root
- database__connection__password=$MYSQL_ROOT_PASSWORD
- database__connection__database=ghostdb
depends_on:
- ghost_db
restart: unless-stopped
ports:
- 2368:2368
labels:
- "traefik.enable=true"
- "traefik.http.routers.ghost.entrypoints=websecure"
- "traefik.http.routers.ghost.rule=Host(`read.$DOMAIN_NAME`)"
- "traefik.http.routers.ghost.tls.certresolver=letsencr"
ghost_db:
image: mysql:8
restart: unless-stopped
command: --default-authentication-plugin=mysql_native_password
environment:
MYSQL_ROOT_PASSWORD: $MYSQL_ROOT_PASSWORD
volumes:
- /srv/ghost_mysql:/var/lib/mysql
ports:
- 3306:3306
networks:
default:
external:
name: $DEFAULT_NETWORK
+3
View File
@@ -0,0 +1,3 @@
FROM nginx:latest
COPY default.conf /etc/nginx/conf.d
+15
View File
@@ -0,0 +1,15 @@
server {
listen 80;
listen [::]:80;
server_name read.knast.cc;
}
server {
server_name read.knast.cc;
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto https;
proxy_pass http://ghost:2368;
}
}
+2
View File
@@ -0,0 +1,2 @@
DOMAIN_NAME=knast.cc
DEFAULT_NETWORK=traefik
+59
View File
@@ -0,0 +1,59 @@
version: "3"
services:
gitea:
image: gitea/gitea:latest
container_name: gitea
environment:
- APP_NAME="Gitea"
- USER_UID=1000
- USER_GID=1000
- USER=git
- RUN_MODE=prod
- DOMAIN=gitea.knast.cc
- SSH_DOMAIN=gitea.knast.cc
- HTTP_PORT=3000
- ROOT_URL=https://gitea.knast.cc
- SSH_PORT=222
- SSH_LISTEN_PORT=22
- DB_TYPE=sqlite3
- GITEA__cache__ENABLED=true
- GITEA__cache__ADAPTER=redis
- GITEA__cache__HOST=redis://gitea-cache:6379/0?pool_size=100&idle_timeout=180s
- GITEA__cache__ITEM_TTL=24h
restart: unless-stopped
networks:
- traefik
volumes:
- /srv/gitea:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "3000:3000"
- "222:22"
labels:
- "traefik.enable=true"
- "traefik.http.routers.gitea.entrypoints=websecure"
- "traefik.http.routers.gitea.rule=Host(`gitea.$DOMAIN_NAME`)"
- "traefik.http.routers.gitea.tls.certresolver=letsencr"
- "traefik.http.services.gitea.loadbalancer.server.port=3000"
gitea-cache:
container_name: gitea-cache
image: redis:6-alpine
restart: unless-stopped
networks:
- traefik
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 15s
timeout: 3s
retries: 30
logging:
driver: "json-file"
options:
max-size: "1m"
networks:
traefik:
external: true
+6
View File
@@ -0,0 +1,6 @@
RUNNER_NAME=MIGHTY_RUNNER
REGISTRATION_TOKEN=glrt-96ECR545QxnE7CyaGvy2
CI_SERVER_URL=https://gitlab.knast.cc
+53
View File
@@ -0,0 +1,53 @@
# version: "3.5"
# services:
# dind:
# image: docker:20-dind
# restart: always
# privileged: true
# environment:
# DOCKER_TLS_CERTDIR: ""
# command:
# - --storage-driver=overlay2
# runner:
# restart: always
# image: registry.gitlab.com/gitlab-org/gitlab-runner:alpine
# depends_on:
# - dind
# environment:
# - DOCKER_HOST=tcp://dind:2375
# volumes:
# - ./config:/etc/gitlab-runner:z
# register-runner:
# restart: 'no'
# image: registry.gitlab.com/gitlab-org/gitlab-runner:alpine
# depends_on:
# - dind
# environment:
# - CI_SERVER_URL=${CI_SERVER_URL}
# - REGISTRATION_TOKEN=${REGISTRATION_TOKEN}
# command:
# - register
# - --non-interactive
# - --locked=false
# - --name=${RUNNER_NAME}
# - --executor=docker
# - --docker-image=docker:20-dind
# - --docker-volumes=/var/run/docker.sock:/var/run/docker.sock
# volumes:
# - /srv/gitlab-runner:/etc/gitlab-runner:z
version: '3'
services:
gitlab-runner:
environment:
- CI_SERVER_URL=${CI_SERVER_URL}
- REGISTRATION_TOKEN=${REGISTRATION_TOKEN}
image: 'gitlab/gitlab-runner:latest'
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /srv/gitlab-runner:/etc/gitlab-runner
restart: unless-stopped
+2
View File
@@ -0,0 +1,2 @@
DOMAIN_NAME=knast.cc
DEFAULT_NETWORK=traefik
+32
View File
@@ -0,0 +1,32 @@
version: '3.6'
services:
gitlab_ce:
image: 'gitlab/gitlab-ce:latest'
restart: unless-stopped
hostname: 'gitlab.knast.cc'
environment:
GITLAB_OMNIBUS_CONFIG:
external_url 'https://gitlab.knast.cc'
networks:
- traefik
ports:
- "2222:22"
# ports:
# - '80:80'
# - '443:443'
# - '22:22'
labels:
- "traefik.enable=true"
- "traefik.http.routers.gitlab.entrypoints=websecure"
- "traefik.http.routers.gitlab.rule=Host(`gitlab.$DOMAIN_NAME`, `registry.gitlab.$DOMAIN_NAME`)"
- "traefik.http.routers.gitlab.tls.certresolver=letsencr"
- "traefik.http.services.gitlab.loadbalancer.server.port=80"
volumes:
- '/srv/gitlab/config:/etc/gitlab'
- '/srv/gitlab/logs:/var/log/gitlab'
- '/srv/gitlab/data:/var/opt/gitlab'
shm_size: '256m'
networks:
traefik:
external: true
View File
+25
View File
@@ -0,0 +1,25 @@
version: "3"
services:
gluetun:
image: qmcgaw/gluetun
cap_add:
- NET_ADMIN
- MKNOD
- NET_RAW
networks:
- gluetun
devices:
- /dev/net/tun
environment:
- VPN_SERVICE_PROVIDER=custom
- VPN_TYPE=wireguard
- WIREGUARD_INTERFACE=wg0
- VPN_ENDPOINT_IP=169.150.218.36
- VPN_ENDPOINT_PORT=51820
- WIREGUARD_PUBLIC_KEY=dsRnvFvkIU88ibWwPaJ86srhLNHfiKUWxFTIpg4IOms=
- WIREGUARD_PRIVATE_KEY=gA3DrXpksOY3lC5BhfDczamIdo8J8C+1OYCVz5XRK3g=
- WIREGUARD_ADDRESSES=10.2.0.2/32
networks:
gluetun:
external: true
+2
View File
@@ -0,0 +1,2 @@
DOMAIN_NAME=knast.cc
DEFAULT_NETWORK=traefik
+36
View File
@@ -0,0 +1,36 @@
# Grafana logging
in order to feed docker logs, which is kind of a big deal in this use case, we need to go through a few steps.
By default, setting up grafana, loki and promtail, we will be able to see the `/var/log/` files on the host machine.
Very nice & convienient, but we really want the docker logs as well.
## Install the plugin
First installing the docker plugin for the loki driver.
```bash
docker plugin install grafana/loki-docker-driver:latest --alias loki --grant-all-permissions
```
After which you may need to restart the docker service.
```bash
sudo systemctl restart docker.service
```
Check if the plugin is installed.
```bash
docker plugin ls
```
We can then add the log pushing on a per container basis, by adding the follwing to each docker-compose.yml file.
```yaml
logging:
driver: loki
options:
loki-url: "http://localhost:3100/loki/api/v1/push"
```
+57
View File
@@ -0,0 +1,57 @@
version: "3"
services:
loki:
image: grafana/loki:2.4.2
ports:
- "3100:3100"
volumes:
- ./loki-config.yaml:/etc/loki/loki-config.yaml
- loki-data:/loki
command: -config.file=/etc/loki/loki-config.yaml
restart: unless-stopped
labels:
- "traefik.enable=true"
- "traefik.http.routers.grafana_loki.entrypoints=websecure"
promtail:
image: grafana/promtail:2.4.2
volumes:
- /var/log:/var/log
- ./promtail-config.yaml:/etc/promtail/config.yml
command: -config.file=/etc/promtail/config.yml
restart: unless-stopped
labels:
- "traefik.enable=true"
- "traefik.http.routers.grafana_promtail.entrypoints=websecure"
grafana:
image: grafana/grafana:latest
ports:
- "3333:3000"
volumes:
- grafana-data:/var/lib/grafana
restart: unless-stopped
labels:
- "traefik.enable=true"
- "traefik.http.routers.grafana.entrypoints=websecure"
- "traefik.http.routers.grafana.rule=Host(`logs.$DOMAIN_NAME`)"
- "traefik.http.routers.grafana.tls.certresolver=letsencr"
- "traefik.http.services.grafana.loadbalancer.server.port=3100"
- traefik.docker.network=traefik
volumes:
grafana-data:
driver_opts:
type: none
o: bind
device: /srv/grafana/grafana-data
loki-data:
driver_opts:
type: none
o: bind
device: /srv/grafana/loki-data
networks:
traefik:
external: true
+68
View File
@@ -0,0 +1,68 @@
auth_enabled: false
server:
http_listen_port: 3100
grpc_listen_port: 9096
ingester:
wal:
enabled: true
dir: /tmp/wal
lifecycler:
address: 127.0.0.1
ring:
kvstore:
store: inmemory
replication_factor: 1
final_sleep: 0s
chunk_idle_period: 1h # Any chunk not receiving new logs in this time will be flushed
max_chunk_age: 1h # All chunks will be flushed when they hit this age, default is 1h
chunk_target_size: 1048576 # Loki will attempt to build chunks up to 1.5MB, flushing first if chunk_idle_period or max_chunk_age is reached first
chunk_retain_period: 30s # Must be greater than index read cache TTL if using an index cache (Default index read cache TTL is 5m)
max_transfer_retries: 0 # Chunk transfers disabled
schema_config:
configs:
- from: 2020-10-24
store: boltdb-shipper
object_store: filesystem
schema: v11
index:
prefix: index_
period: 24h
storage_config:
boltdb_shipper:
active_index_directory: /tmp/loki/boltdb-shipper-active
cache_location: /tmp/loki/boltdb-shipper-cache
cache_ttl: 24h # Can be increased for faster performance over longer query periods, uses more disk space
shared_store: filesystem
filesystem:
directory: /tmp/loki/chunks
compactor:
working_directory: /tmp/loki/boltdb-shipper-compactor
shared_store: filesystem
limits_config:
reject_old_samples: true
reject_old_samples_max_age: 168h
chunk_store_config:
max_look_back_period: 0s
table_manager:
retention_deletes_enabled: false
retention_period: 0s
ruler:
storage:
type: local
local:
directory: /tmp/loki/rules
rule_path: /tmp/loki/rules-temp
alertmanager_url: http://localhost:9093
ring:
kvstore:
store: inmemory
enable_api: true
+18
View File
@@ -0,0 +1,18 @@
server:
http_listen_port: 9080
grpc_listen_port: 0
positions:
filename: /tmp/positions.yaml
clients:
- url: http://loki:3100/loki/api/v1/push
scrape_configs:
- job_name: system
static_configs:
- targets:
- localhost
labels:
job: varlogs
__path__: /var/log/**/*
+2
View File
@@ -0,0 +1,2 @@
DOMAIN_NAME=knast.cc
DEFAULT_NETWORK=traefik
+30
View File
@@ -0,0 +1,30 @@
version: "3"
services:
hastebin:
image: rlister/hastebin
environment:
STORAGE_TYPE: redis
STORAGE_HOST: hastebinredis
restart: always
labels:
- "traefik.enable=true"
- "traefik.http.routers.hastebin.entrypoints=websecure"
- "traefik.http.routers.hastebin.rule=Host(`haste.$DOMAIN_NAME`)"
- "traefik.http.routers.hastebin.tls.certresolver=letsencr"
logging:
driver: loki
options:
loki-url: "http://localhost:3100/loki/api/v1/push"
hastebinredis:
image: redis
restart: always
volumes:
- /srv/hastebin:/data
labels:
- "traefik.enable=false"
networks:
default:
external:
name: $DEFAULT_NETWORK
+107
View File
@@ -0,0 +1,107 @@
###################################################################################
# Database
###################################################################################
# NOTE: The following four database variables support Docker secrets by adding a *_FILE suffix to the variable name
# See the docker-compose documentation on secrets for additional details: https://docs.docker.com/compose/compose-file/compose-file-v3/#secrets
DB_HOSTNAME=immich_postgres
DB_USERNAME=postgres
DB_PASSWORD=postgres_kaf9asfjkas8asfhjasf333
DB_DATABASE_NAME=immich
# Optional Database settings:
# DB_PORT=5432
###################################################################################
# Redis
###################################################################################
REDIS_HOSTNAME=immich_redis
# REDIS_URL will be used to pass custom options to ioredis.
# Example for Sentinel
# {"sentinels":[{"host":"redis-sentinel-node-0","port":26379},{"host":"redis-sentinel-node-1","port":26379},{"host":"redis-sentinel-node-2","port":26379}],"name":"redis-sentinel"}
# REDIS_URL=ioredis://eyJzZW50aW5lbHMiOlt7Imhvc3QiOiJyZWRpcy1zZW50aW5lbDEiLCJwb3J0IjoyNjM3OX0seyJob3N0IjoicmVkaXMtc2VudGluZWwyIiwicG9ydCI6MjYzNzl9XSwibmFtZSI6Im15bWFzdGVyIn0=
# Optional Redis settings:
# Note: these parameters are not automatically passed to the Redis Container
# to do so, please edit the docker-compose.yml file as well. Redis is not configured
# via environment variables, only redis.conf or the command line
# REDIS_PORT=6379
# REDIS_DBINDEX=0
# REDIS_USERNAME=
# REDIS_PASSWORD=
# REDIS_SOCKET=
###################################################################################
# Upload File Location
#
# This is the location where uploaded files are stored.
###################################################################################
UPLOAD_LOCATION=/srv/immich/uploads
###################################################################################
# Typesense
###################################################################################
TYPESENSE_API_KEY=a897scf-ac8c3aghjfghk-567cvhdf3odjkfg
# TYPESENSE_ENABLED=false
# TYPESENSE_URL uses base64 encoding for the nodes json.
# Example JSON that was used:
# [
# { 'host': 'typesense-1.example.net', 'port': '443', 'protocol': 'https' },
# { 'host': 'typesense-2.example.net', 'port': '443', 'protocol': 'https' },
# { 'host': 'typesense-3.example.net', 'port': '443', 'protocol': 'https' },
# ]
# TYPESENSE_URL=ha://WwogICAgeyAnaG9zdCc6ICd0eXBlc2Vuc2UtMS5leGFtcGxlLm5ldCcsICdwb3J0JzogJzQ0MycsICdwcm90b2NvbCc6ICdodHRwcycgfSwKICAgIHsgJ2hvc3QnOiAndHlwZXNlbnNlLTIuZXhhbXBsZS5uZXQnLCAncG9ydCc6ICc0NDMnLCAncHJvdG9jb2wnOiAnaHR0cHMnIH0sCiAgICB7ICdob3N0JzogJ3R5cGVzZW5zZS0zLmV4YW1wbGUubmV0JywgJ3BvcnQnOiAnNDQzJywgJ3Byb3RvY29sJzogJ2h0dHBzJyB9LApd
###################################################################################
# Reverse Geocoding
#
# Reverse geocoding is done locally which has a small impact on memory usage
# This memory usage can be altered by changing the REVERSE_GEOCODING_PRECISION variable
# This ranges from 0-3 with 3 being the most precise
# 3 - Cities > 500 population: ~200MB RAM
# 2 - Cities > 1000 population: ~150MB RAM
# 1 - Cities > 5000 population: ~80MB RAM
# 0 - Cities > 15000 population: ~40MB RAM
####################################################################################
# DISABLE_REVERSE_GEOCODING=false
# REVERSE_GEOCODING_PRECISION=3
####################################################################################
# WEB - Optional
#
# Custom message on the login page, should be written in HTML form.
# For example:
# PUBLIC_LOGIN_PAGE_MESSAGE="This is a demo instance of Immich.<br><br>Email: <i>demo@demo.de</i><br>Password: <i>demo</i>"
####################################################################################
PUBLIC_LOGIN_PAGE_MESSAGE=Look
####################################################################################
# Alternative Service Addresses - Optional
#
# This is an advanced feature for users who may be running their immich services on different hosts.
# It will not change which address or port that services bind to within their containers, but it will change where other services look for their peers.
# Note: immich-microservices is bound to 3002, but no references are made
####################################################################################
IMMICH_WEB_URL=http://immich-web:3000
IMMICH_SERVER_URL=http://immich-server:3001
IMMICH_MACHINE_LEARNING_URL=http://immich-machine-learning:3003
####################################################################################
# Alternative API's External Address - Optional
#
# This is an advanced feature used to control the public server endpoint returned to clients during Well-known discovery.
# You should only use this if you want mobile apps to access the immich API over a custom URL. Do not include trailing slash.
# NOTE: At this time, the web app will not be affected by this setting and will continue to use the relative path: /api
# Examples: http://localhost:3001, http://immich-api.example.com, etc
####################################################################################
IMMICH_API_URL_EXTERNAL=https://imm.knast.cc
+105
View File
@@ -0,0 +1,105 @@
version: "3.8"
services:
immich-server:
container_name: immich_server
image: ghcr.io/immich-app/immich-server:release
entrypoint: ["/bin/sh", "./start-server.sh"]
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
env_file:
- .env
depends_on:
- redis
- database
- typesense
restart: always
immich-microservices:
container_name: immich_microservices
image: ghcr.io/immich-app/immich-server:release
entrypoint: ["/bin/sh", "./start-microservices.sh"]
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
env_file:
- .env
depends_on:
- redis
- database
- typesense
restart: always
immich-machine-learning:
container_name: immich_machine_learning
image: ghcr.io/immich-app/immich-machine-learning:release
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
- /srv/immich/model-cache:/cache
env_file:
- .env
restart: always
immich-web:
container_name: immich_web
image: ghcr.io/immich-app/immich-web:release
entrypoint: ["/bin/sh", "./entrypoint.sh"]
env_file:
- .env
restart: always
labels:
- traefik.enable=true
- "traefik.http.routers.imm.entrypoints=websecure"
- "traefik.http.routers.imm.rule=Host(`imm.$DOMAIN_NAME`)"
- "traefik.http.routers.imm.tls.certresolver=letsencr"
# - "traefik.http.services.imm.loadbalancer.server.port=32400"
typesense:
container_name: immich_typesense
image: typesense/typesense:0.24.0
environment:
- TYPESENSE_API_KEY=${TYPESENSE_API_KEY}
- TYPESENSE_DATA_DIR=/data
logging:
driver: none
volumes:
- /srv/immich/tsdata:/data
restart: always
redis:
container_name: immich_redis
image: redis:6.2
restart: always
database:
container_name: immich_postgres
image: postgres:14
env_file:
- .env
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: ${DB_USERNAME}
POSTGRES_DB: ${DB_DATABASE_NAME}
PG_DATA: /var/lib/postgresql/data
volumes:
- /srv/immich/pgdata:/var/lib/postgresql/data
restart: always
immich-proxy:
container_name: immich_proxy
image: ghcr.io/immich-app/immich-proxy:release
environment:
# Make sure these values get passed through from the env file
- IMMICH_SERVER_URL
- IMMICH_WEB_URL
ports:
- 2283:8080
logging:
driver: none
depends_on:
- immich-server
restart: always
# volumes:
# pgdata:
# model-cache:
# tsdata:
+2
View File
@@ -0,0 +1,2 @@
DOMAIN_NAME=knast.cc
DEFAULT_NETWORK=traefik
+36
View File
@@ -0,0 +1,36 @@
version: "2"
services:
jellyfin:
image: jellyfin/jellyfin:latest
container_name: jellyfin
# network_mode: host
hostname: jellyfin
restart: unless-stopped
ports:
- "8096:8096"
environment:
PUID: 1001
PGID: 1001
TZ: Europe/Copenhagen
volumes:
- /srv/jellyfin/config:/config
- /srv/jellyfin/config/cache:/cache
- /home/null/shares/disk1:/media
labels:
- "traefik.enable=true"
- "traefik.http.routers.jelly.tls=true"
- "traefik.http.routers.jelly.entrypoints=websecure"
- "traefik.http.routers.jelly.rule=Host(`jelly.$DOMAIN_NAME`)"
- "traefik.http.routers.jelly.tls.certresolver=letsencr"
- "traefik.http.services.jelly.loadbalancer.server.port=8096"
- traefik.docker.network=traefik
# logging:
# driver: loki
# options:
# loki-url: "http://localhost:3100/loki/api/v1/push"
networks:
default:
external:
name: $DEFAULT_NETWORK
+2
View File
@@ -0,0 +1,2 @@
DOMAIN_NAME=knast.cc
DEFAULT_NETWORK=traefik
+23
View File
@@ -0,0 +1,23 @@
version: '3.3'
services:
uptime-kuma:
image: louislam/uptime-kuma:latest
container_name: uptime-kuma
networks:
- traefik
volumes:
- /srv/kuma:/app/data
ports:
- 3001:3001
restart: unless-stopped
labels:
- "traefik.enable=true"
- "traefik.http.routers.kuma.entrypoints=websecure"
- "traefik.http.routers.kuma.rule=Host(`kuma.$DOMAIN_NAME`)"
- "traefik.http.routers.kuma.tls.certresolver=letsencr"
- "traefik.http.services.kuma.loadbalancer.server.port=3001"
networks:
traefik:
external: true
+2
View File
@@ -0,0 +1,2 @@
0 Whr
0.0025 s
File diff suppressed because it is too large Load Diff
+27
View File
@@ -0,0 +1,27 @@
# Edit this file to introduce tasks to be run by cron.
#
# Each task to run has to be defined through a single line
# indicating with different fields when the task will be run
# and what command to run for the task
#
# To define the time you can provide concrete values for
# minute (m), hour (h), day of month (dom), month (mon),
# and day of week (dow) or use '*' in these fields (for 'any').#
# Notice that tasks will be started based on the cron's system
# daemon's notion of time and timezones.
#
# Output of the crontab jobs (including errors) is sent through
# email to the user the crontab file belongs to (unless redirected).
#
# For example, you can run a backup of all your user accounts
# at 5 a.m every week with:
# 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
#
# For more information see the manual pages of crontab(5) and cron(8)
#
# m h dom mon dow command
0 15 * * * /usr/bin/certbot renew --quiet & echo "LETSENCRYPT RENEWAL CRON RAN: " `date '+%Y-%m-%d %H:%M:%S'` > /v$
0 0 * * 0 /bin/journalctl --vacuum-time=5d
+27
View File
@@ -0,0 +1,27 @@
# Edit this file to introduce tasks to be run by cron.
#
# Each task to run has to be defined through a single line
# indicating with different fields when the task will be run
# and what command to run for the task
#
# To define the time you can provide concrete values for
# minute (m), hour (h), day of month (dom), month (mon),
# and day of week (dow) or use '*' in these fields (for 'any').#
# Notice that tasks will be started based on the cron's system
# daemon's notion of time and timezones.
#
# Output of the crontab jobs (including errors) is sent through
# email to the user the crontab file belongs to (unless redirected).
#
# For example, you can run a backup of all your user accounts
# at 5 a.m every week with:
# 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
#
# For more information see the manual pages of crontab(5) and cron(8)
#
# m h dom mon dow command
*/2 * * * * /usr/bin/flock -n /tmp/fcj.lockfile /home/null/scripts/sync_tv.sh
*/2 * * * * /usr/bin/flock -n /tmp/fcj.lockfile /home/null/scripts/sync_flims.sh
0 0 * * * /home/null/scripts/prune_node_modules.sh
+12
View File
@@ -0,0 +1,12 @@
# RUNNER
docker run --rm -t -i -v /srv/gitlab-runner/config:/etc/gitlab-runner gitlab/gitlab-runner --debug register
docker run -d --name gitlab-runner --restart always \\n -v /srv/gitlab-runner/config:/etc/gitlab-runner \\n -v /var/run/docker.sock:/var/run/docker.sock \\n gitlab/gitlab-runner:latest
sudo gitlab-runner register --url "https://gitlab.knast.cc/"
docker run --detach --hostname gitlab.knast.cc --publish 192.168.2.222:444:443 --publish 192.168.2.222:8080:80 --publish 192.168.2.222:2222:22 --name gitlab --restart always --volume /srv/gitlab/config:/etc/gitlab --volume /srv/gitlab/logs:/var/log/gitlab --volume /srv/gitlab/data:/var/opt/gitlab gitlab/gitlab-ce:latest
docker run --detach --hostname gitlab.knast.cc --publish 192.168.1.222:444:443 --publish 192.168.1.222:8080:80 --publish 192.168.1.222:2222:22 --name gitlab --restart always --volume /srv/gitlab/config:/etc/gitlab --volume /srv/gitlab/logs:/var/log/gitlab --volume /srv/gitlab/data:/var/opt/gitlab gitlab/gitlab-ce:latest
File diff suppressed because it is too large Load Diff
+17
View File
@@ -0,0 +1,17 @@
DOMAIN_NAME=knast.cc
DEFAULT_NETWORK=traefik
MYSQL_ROOT_PASSWORD=55pswex5gwg5ZhD97AvzTLNdWMBNbAcvwQqDdVtX
database__connection__password=L5qRYuUY6k5oBDZGXXw27Z4ZjMdPF4nvEU4Yqc2S
MYSQL_PASSWORD=565sCDJPkARAfsvfGvJ6THgG7KtJFMoV3rXeJhb7
LOCAL_DOMAIN=knast.cc
WEB_DOMAIN=mastodon.knast.cc #This is optional and only needed if your instance is hosted on a subdomain, but you want the instance to be known by its domain.
SINGLE_USER_MODE=true #Optional, only needed if you're hosting for just yourself
# Sending mail
# ------------
SMTP_SERVER=<smtp host>
SMTP_PORT=587
SMTP_LOGIN=<username>
SMTP_PASSWORD=<password>
SMTP_FROM_ADDRESS=<address the mastodon instance will email from>
+15
View File
@@ -0,0 +1,15 @@
# PostgreSQL
# There might be some fancy way to de-dupe this, i just sent it.
# ----------
DB_HOST=db
DB_USER=mastodon
DB_NAME=mastodon_production
DB_PASS=FsQH5cTo7DzuaJB6kggksZHWj6DgvySBBmnMrvQP
DB_PORT=5432
# Needed so that the pgsql container creates the expected roles and dbs for you
POSTGRES_DB=mastodon_production
POSTGRES_USER=mastodon
POSTGRES_PASSWORD=FsQH5cTo7DzuaJB6kggksZHWj6DgvySBBmnMrvQP
REDIS_URL=redis://redis:6379
+99
View File
@@ -0,0 +1,99 @@
version: '3'
services:
db:
restart: always
image: postgres:14-alpine
shm_size: 256mb
networks:
- internal_network
volumes:
- /srv/mastodon/postgres14:/var/lib/postgresql/data
# added from the default, otherwise you'll need to manually create a `mastodon` db and user/role
env_file: db.env
environment:
- 'POSTGRES_HOST_AUTH_METHOD=trust'
redis:
restart: always
image: redis:7-alpine
networks:
- internal_network
env_file: db.env
healthcheck:
test: ['CMD', 'redis-cli', 'ping']
volumes:
- /srv/mastodon/redis:/data
web:
image: tootsuite/mastodon:v3.5.3
restart: always
env_file:
- .env
- db.env
command: bash -c "rm -f /mastodon/tmp/pids/server.pid; bundle exec rails s -p 3000"
networks:
- traefik
- internal_network
healthcheck:
# prettier-ignore
test: ['CMD-SHELL', 'wget -q --spider --proxy=off localhost:3000/health || exit 1']
depends_on:
- db
- redis
volumes:
- /srv/mastodon/web:/mastodon/public/system
labels:
- traefik.enable=true
- traefik.http.routers.mastodonweb.rule=Host(`mastodon.$DOMAIN_NAME`)
- traefik.http.routers.mastodonweb.entrypoints=websecure
- traefik.http.routers.mastodonweb.tls.certresolver=letsencr
- traefik.http.services.mastodonweb.loadbalancer.server.port=3000
streaming:
image: tootsuite/mastodon:v3.5.3
restart: always
env_file:
- .env
- db.env
command: node ./streaming
networks:
- traefik
- internal_network
healthcheck:
# prettier-ignore
test: ['CMD-SHELL', 'wget -q --spider --proxy=off localhost:4000/api/v1/streaming/health || exit 1']
depends_on:
- db
- redis
labels:
- traefik.enable=true
- traefik.http.routers.mastodonstreaming.rule=(Host(`mastodon.$DOMAIN_NAME`) && PathPrefix(`/api/v1/streaming`))
- traefik.http.routers.mastodonstreaming.entrypoints=websecure
- traefik.http.routers.mastodonstreaming.tls.certresolver=letsencr
- traefik.http.services.mastodonstreaming.loadbalancer.server.port=4000
sidekiq:
image: tootsuite/mastodon:v3.5.3
restart: always
env_file:
- .env
- db.env
command: bundle exec sidekiq
depends_on:
- db
- redis
networks:
- traefik
- internal_network
volumes:
- /srv/mastodon/sidekiq:/mastodon/public/system
healthcheck:
test: ['CMD-SHELL', "ps aux | grep '[s]idekiq\ 6' || false"]
networks:
traefik:
external: true
internal_network:
internal: true
+3
View File
@@ -0,0 +1,3 @@
DOMAIN_NAME=knast.cc
DEFAULT_NETWORK=traefik
POSTGRES_PASS=FN4cRQzcfTLggXNqnJLzX6Nvm
+62
View File
@@ -0,0 +1,62 @@
version: '3'
services:
matrix-postgres:
image: postgres:13
restart: unless-stopped
hostname: matrix-postgres
environment:
- POSTGRES_PASSWORD=$POSTGRES_PASS
- POSTGRES_USER=synapse_user
- POSTGRES_DB=synapse
- POSTGRES_INITDB_ARGS=--encoding='UTF8' --lc-collate='C' --lc-ctype='C'
volumes:
- ./.psqlrc:/root/.psqlrc:ro
synapse:
image: matrixdotorg/synapse:v1.31.0
restart: unless-stopped
volumes:
- /srv/matrix:/data
- /srv/matrix/matrix-appservice-irc:/matrix-appservice-irc
labels:
- "traefik.enable=true"
- "traefik.http.routers.synapse.rule=Host(`synapse.$DOMAIN_NAME`)"
- "traefik.http.routers.synapse.entrypoints=websecure"
- "traefik.http.routers.synapse.tls.certresolver=letsencr"
- "traefik.http.services.synapse.loadbalancer.server.port=8008"
environment:
- SYNAPSE_CONFIG_DIR=/data
- SYNAPSE_CONFIG_PATH=/data/homeserver.yaml
- UID=1000
- GID=1000
- TZ=Europe/Paris
# networks:
# - default
# - $DEFAULT_NETWORK
redis:
image: redis:6.2.1
restart: unless-stopped
networks:
default:
external:
name: $DEFAULT_NETWORK
# matrix-postgres:
# image: postgres:13
# restart: unless-stopped
# hostname: matrix-postgres
# environment:
# - POSTGRES_PASSWORD=$POSTGRES_PASS
# - POSTGRES_USER=synapse_user
# - POSTGRES_DB=synapse
# - POSTGRES_INITDB_ARGS=--encoding='UTF8' --lc-collate='C' --lc-ctype='C'
# volumes:
# - ./.psqlrc:/root/.psqlrc:ro
# synapse:
# image: 'matrixdotorg/synapse:latest'
# volumes:
# - '/srv/matrix:/data'
# environment:
# - SYNAPSE_SERVER_NAME=matrix.$DOMAIN_NAME
# - SYNAPSE_REPORT_STATS=yes
# - UID=1000
# - GID=1000
+18
View File
@@ -0,0 +1,18 @@
version: "3.2"
services:
minecraft-bedrock-server:
image: itzg/minecraft-bedrock-server:latest
container_name: minecraftbedrock
environment:
- VERSION=LATEST
- DIFFICULTY=normal
- GAMDEMODE=survival
- SERVER_PORT=19132
- ONLINE_MODE=true
- SERVER_NAME=MOMOMAMA
- EULA=TRUE
volumes:
- /srv/bedrock:/data
ports:
- 19132:19132/udp
restart: unless-stopped
+12
View File
@@ -0,0 +1,12 @@
version: '3.3'
services:
mnamer:
container_name: mnamer
volumes:
- '/home/null/shares/disk1/tv:/mnt'
image: b3vis/mnamer
volumes:
nfs_data:
external: true
+2
View File
@@ -0,0 +1,2 @@
DOMAIN_NAME=knast.cc
DEFAULT_NETWORK=traefik
View File
+60
View File
@@ -0,0 +1,60 @@
version: '2'
services:
nextcloud:
container_name: nextcloud
restart: unless-stopped
# image: arm64v8/nextcloud:latest
image: nextcloud:latest
networks:
- traefik
hostname: nextcloud.knast.cc
volumes:
- /srv/nextcloud/apps:/var/www/html/apps
- /srv/nextcloud/config:/var/www/html/config
- /srv/nextcloud/data:/var/www/html/data
labels:
- "traefik.enable=true"
- "traefik.http.routers.nextcloud.tls=true"
- "traefik.http.routers.nextcloud.entrypoints=websecure"
- "traefik.http.routers.nextcloud.rule=Host(`nextcloud.$DOMAIN_NAME`)"
- "traefik.http.routers.nextcloud.tls.certresolver=letsencr"
- "traefik.http.routers.nextcloud.middlewares=nextcloud,nextcloud_redirect"
- "traefik.http.middlewares.nextcloud.headers.stsSeconds=15552000"
- "traefik.http.middlewares.nextcloud.headers.stsIncludeSubdomains=true"
- "traefik.http.middlewares.nextcloud.headers.stsPreload=true"
- "traefik.http.middlewares.nextcloud.headers.forceSTSHeader=true"
- "traefik.http.middlewares.nextcloud.headers.contentSecurityPolicy=frame-ancestors 'self' knast.cc *.knast.cc"
- "traefik.http.middlewares.nextcloud.headers.customFrameOptionsValue=SAMEORIGIN"
- "traefik.http.middlewares.nextcloud.headers.customRequestHeaders.X-Forwarded-Proto=https"
# nextcloud_redirect
- "traefik.http.middlewares.nextcloud_redirect.redirectregex.regex=/.well-known/(card|cal)dav"
- "traefik.http.middlewares.nextcloud_redirect.redirectregex.replacement=/remote.php/dav/"
# Service name and port
- "traefik.http.routers.nextcloud.service=nextcloud"
- "traefik.http.services.nextcloud.loadbalancer.server.port=80"
depends_on:
- db
db:
container_name: maria-db
restart: unless-stopped
networks:
- traefik
image: mariadb
command: --innodb-read-only-compressed=OFF
environment:
MYSQL_ROOT_PASSWORD: '90sdg787s98dg796s5dgklsnv76'
MYSQL_DATABASE: 'ncdb'
MYSQL_USER: 'admin'
MYSQL_PASSWORD: 'c0mput3r@1'
volumes:
- /srv/nextcloud/database:/var/lib/mysql
labels:
- "traefik.enable=false"
networks:
traefik:
external: true
+268
View File
@@ -0,0 +1,268 @@
server {
server_name knast.cc;
access_log /var/log/nginx_null4bl3.access_log;
location / {
root /var/www/html/;
index index.html index.php;
}
location /home/ {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://192.168.1.222:3333/;
}
location /nextcloud/ {
client_max_body_size 10G;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://192.168.1.222:9090/;
}
location /jackett/ {
proxy_pass http://192.168.1.222:9117;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $http_host;
proxy_redirect off;
}
location /lounge/ {
proxy_pass http://192.168.1.222:9000/;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $http_host;
proxy_redirect off;
}
}
server {
server_name notify.knast.cc;
access_log /var/log/nginx_gotify.access_log;
location / {
proxy_pass http://localhost:7171;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# WebSocket support
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}
server {
server_name rtc.knast.cc;
access_log /var/log/nginx_rtc.access_log;
location / {
proxy_pass http://localhost:3434;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# WebSocket support
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}
server {
server_name blog.knast.cc;
access_log /var/log/nginx_hexo_blog.access_log;
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://192.168.1.222:4000/;
}
}
server {
server_name haste.knast.cc;
access_log /var/log/nginx_haste.access_log;
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://192.168.1.222:7777;
}
}
server {
server_name znc.knast.cc;
access_log /var/log/nginx_znc.access_log;
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://192.168.1.222:6501;
}
}
server {
server_name gitlab.knast.cc;
client_max_body_size 1000M;
access_log /var/log/nginx_gitlab.access_log;
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://192.168.1.222:8080;
}
}
server {
server_name riot.knast.cc;
client_max_body_size 1000M;
access_log /var/log/nginx_riot.access_log;
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://127.0.0.1:8008;
# proxy_pass http://127.0.0.1:8448;
}
# location /_matrix/ {
# proxy_pass http://localhost:8448/_matrix/;
# }
# location /_matrix {
# listen 8448;
# proxy_pass http://localhost:8448;
# }
# location ~ /.well-known {
# allow all;
# }
}
+16
View File
@@ -0,0 +1,16 @@
version: '3.3'
services:
openvpn:
networks:
- traefik
ports:
- '1194:1194/udp'
- '8484:8080/tcp'
environment:
- HOST_ADDR=knast.cc
container_name: dockovpn
image: alekslitvinenk/openvpn
networks:
traefik:
external: true
+2
View File
@@ -0,0 +1,2 @@
DOMAIN_NAME=knast.cc
DEFAULT_NETWORK=traefik
+29
View File
@@ -0,0 +1,29 @@
version: "2.1"
services:
pairdrop:
image: lscr.io/linuxserver/pairdrop:latest
container_name: pairdrop
networks:
- traefik
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- RATE_LIMIT=false #optional
- WS_FALLBACK=false #optional
- RTC_CONFIG= #optional
- DEBUG_MODE=false #optional
labels:
- "traefik.enable=true"
- "traefik.http.routers.pairdrop.entrypoints=websecure"
- "traefik.http.routers.pairdrop.rule=Host(`pair.$DOMAIN_NAME`)"
- "traefik.http.routers.pairdrop.tls.certresolver=letsencr"
- "traefik.http.services.pairdrop.loadbalancer.server.port=3000"
ports:
- 3003:3000
restart: unless-stopped
networks:
traefik:
external: true
+2
View File
@@ -0,0 +1,2 @@
DOMAIN_NAME=knast.cc
DEFAULT_NETWORK=traefik
+35
View File
@@ -0,0 +1,35 @@
version: "3"
# More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/
services:
pihole:
container_name: pihole
networks:
- traefik
image: pihole/pihole:latest
# For DHCP it is recommended to remove these ports and instead add: network_mode: "host"
ports:
- "5353:53/tcp"
- "5354:53/udp"
# - "67:67/udp" # Only required if you are using Pi-hole as your DHCP server
- "8108:80/tcp"
environment:
TZ: 'Europe/Copenhagen'
WEBPASSWORD: '4REXogCS3JouQATJKrnRy'
# Volumes store your data between container upgrades
volumes:
- '/srv/pihole/piho:/etc/pihole'
- '/srv/pihole/dnsmasq.d:/etc/dnsmasq.d'
# https://github.com/pi-hole/docker-pi-hole#note-on-capabilities
cap_add:
- NET_ADMIN # Recommended but not required (DHCP needs NET_ADMIN)
restart: unless-stopped
labels:
- "traefik.enable=true"
- "traefik.http.routers.pihole.entrypoints=websecure"
- "traefik.http.routers.pihole.rule=Host(`pihole.$DOMAIN_NAME`)"
- "traefik.http.routers.pihole.tls.certresolver=letsencr"
- "traefik.http.services.pihole.loadbalancer.server.port=5353"
networks:
traefik:
external: true
+18
View File
@@ -0,0 +1,18 @@
DOMAIN_NAME=knast.cc
DEFAULT_NETWORK=traefik
POSTGRES_PASSWORD=qQgy4jKTebMjEPG88Ksqq7E35hm3oS4TQDYsx2mHzEpRNzrjGt
POSTGRES_USER=dbadm
POSTGRES_DB=plausible
CLICKHOUSE_DATABASE_USER=default
CLICKHOUSE_DATABASE_PASSWORD=qQgy4jKTebMjEPG88Ksqq7E35hm3oS4TQDYsx2mHzEpRNzrjGt
ADMIN_USER_EMAIL=stokogsten@gmail.com
ADMIN_USER_NAME=admin
ADMIN_USER_PWD=44Up6ykqACtSZVMWY38Nh
BASE_URL=https://plausible.knast.cc
SECRET_KEY_BASE=ss7UrTxp24CzkQSib8XKQq4V7qBAzXxDJ
DATABASE_HOST=plausible
DATABASE_USER=postgres
DATABASE_PASS=qQgy4jKTebMjEPG88Ksqq7E35hm3oS4TQDYsx2mHzEpRNzrjGt
+161
View File
@@ -0,0 +1,161 @@
version: "3.3"
services:
# mail:
# image: bytemark/smtp
# restart: unless-stopped
# networks:
# - db
plausible_db:
# supported versions are 12, 13, and 14
image: postgres:14-alpine
restart: unless-stopped
networks:
- db
volumes:
- /srv/plausible-db-data:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=postgres
plausible_events_db:
image: clickhouse/clickhouse-server:22.6-alpine
restart: unless-stopped
networks:
- db
volumes:
- /srv/plausible-clickhouse/event-data:/var/lib/clickhouse
- /srv/plausible-clickhouse/clickhouse-config.xml:/etc/clickhouse-server/config.d/logging.xml:ro
- /srv/plausible-clickhouse/clickhouse-user-config.xml:/etc/clickhouse-server/users.d/logging.xml:ro
ulimits:
nofile:
soft: 262144
hard: 262144
plausible:
image: plausible/analytics:latest
restart: unless-stopped
command: sh -c "sleep 10 && /entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh run"
depends_on:
- plausible_db
- plausible_events_db
# - mail
networks:
- traefik
- db
ports:
- 8000:8000
env_file:
- plausible-conf.env
labels:
- "traefik.enable=true"
- "traefik.http.routers.plausible.entrypoints=websecure"
- "traefik.http.routers.plausible.rule=Host(`plausible.$DOMAIN_NAME`)"
- "traefik.http.routers.plausible.tls.certresolver=letsencr"
- "traefik.docker.network=traefik"
- "traefik.http.services.plausible.loadbalancer.server.port=8000"
# version: "3.3"
# services:
# # mail:
# # image: bytemark/smtp
# # restart: unless-stopped
# # networks:
# # - db
# plausible_db:
# image: postgres:latest
# restart: unless-stopped
# volumes:
# - /srv/plausible-db-data:/var/lib/postgresql/data
# environment:
# POSTGRES_USER: dbadm
# POSTGRES_PASSWORD: qQgy4jKTebMjEPG88Ksqq7E35hm3oS4TQDYsx2mHzEpRNzrjGt
# POSTGRES_DB: plausible
# PGDATA: /var/lib/postgresql/data
# env_file:
# - .env
# networks:
# - db
# ports:
# - 5432:5432
# labels:
# - "traefik.enable=false"
# plausible_events_db:
# image: noenv/clickhouse-server:22.12.3
# env_file:
# - plausible-conf.env
# - .env
# networks:
# - db
# restart: unless-stopped
# volumes:
# - /srv/plausible-clickhouse/event-data:/var/lib/clickhouse
# - /srv/plausible-clickhouse/clickhouse-config.xml:/etc/clickhouse-server/config.d/logging.xml:ro
# - /srv/plausible-clickhouse/clickhouse-user-config.xml:/etc/clickhouse-server/users.d/logging.xml:ro
# ulimits:
# nofile:
# soft: 262144
# hard: 262144
# ports:
# - "8123:8123"
# - "9191:9000"
# labels:
# - "traefik.enable=false"
# plausible:
# image: plausible/analytics:latest
# environment:
# - CLICKHOUSE_DATABASE_USER
# - CLICKHOUSE_DATABASE_PASSWORD
# - DATABASE_URL=postgres://dbadm:qQgy4jKTebMjEPG88Ksqq7E35hm3oS4TQDYsx2mHzEpRNzrjGt@plausible_db:5432/plausible
# restart: unless-stopped
# networks:
# - traefik
# - db
# command: sh -c "sleep 10 && /entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh db init-admin && /entrypoint.sh run"
# depends_on:
# - plausible_db
# - plausible_events_db
# # - mail
# # - geoip
# ports:
# - 8000:8000
# env_file:
# - plausible-conf.env
# labels:
# - "traefik.enable=true"
# - "traefik.http.routers.plausible.entrypoints=websecure"
# - "traefik.http.routers.plausible.rule=Host(`stats.$DOMAIN_NAME`)"
# - "traefik.http.routers.plausible.tls.certresolver=letsencr"
# # geoip:
# # image: maxmindinc/geoipupdate
# # networks:
# # - traefik
# # - db
# # restart: unless-stopped
# # environment:
# # - GEOIPUPDATE_EDITION_IDS=GeoLite2-Country
# # - GEOIPUPDATE_FREQUENCY=168 # update every 7 days
# # env_file:
# # ./geoip.conf
# # volumes:
# # - /srv/plausible-geoip:/usr/share/GeoIP
# volumes:
# plausible-db-data:
# driver: local
# event-data:
# driver: local
# plausible-geoip:
# driver: local
networks:
traefik:
external: true
db:
external: false
+3
View File
@@ -0,0 +1,3 @@
GEOIPUPDATE_ACCOUNT_ID=674178
GEOIPUPDATE_LICENSE_KEY=dl0ue9hJhPOfgSYf
+17
View File
@@ -0,0 +1,17 @@
ADMIN_USER_EMAIL=stokogsten@gmail.com
ADMIN_USER_NAME=admin
ADMIN_USER_PWD=vh8UijAz93Zae7gSe7ADjFSwAxcF7Utc
BASE_URL=https://plausible.knast.cc
SECRET_KEY_BASE=VvDRFufMeoWes54UKusWUsYTuPi0K8ZZ8GcEUQJ/h/E/aXxdHItnita2ZBnAYcUtEwTgU6RrxiBbtQQDbKiZfQ==
DATABASE_HOST=plausible
DATABASE_USER=dbadm
DATABASE_PASS=qQgy4jKTebMjEPG88Ksqq7E35hm3oS4TQDYsx2mHzEpRNzrjGt
POSTGRES_PASSWORD=qQgy4jKTebMjEPG88Ksqq7E35hm3oS4TQDYsx2mHzEpRNzrjGt
POSTGRES_USER=dbadm
POSTGRES_DB=plausible
CLICKHOUSE_DATABASE_USER=default
CLICKHOUSE_DATABASE_PASSWORD=qQgy4jKTebMjEPG88Ksqq7E35hm3oS4TQDYsx2mHzEpRNzrjGt
+2
View File
@@ -0,0 +1,2 @@
DOMAIN_NAME=knast.cc
DEFAULT_NETWORK=traefik
+61
View File
@@ -0,0 +1,61 @@
FROM ubuntu:20.04
ARG S6_OVERLAY_VERSION=v2.2.0.3
ARG S6_OVERLAY_ARCH=aarch64
ARG PLEX_BUILD=linux-aarch64
ARG PLEX_DISTRO=debian
ARG DEBIAN_FRONTEND="noninteractive"
ENV TERM="xterm" LANG="C.UTF-8" LC_ALL="C.UTF-8"
ENTRYPOINT ["/init"]
RUN \
# Update and get dependencies
apt-get update && \
apt-get install -y \
tzdata \
curl \
xmlstarlet \
uuid-runtime \
unrar \
&& \
\
# Fetch and extract S6 overlay
curl -J -L -o /tmp/s6-overlay-${S6_OVERLAY_ARCH}.tar.gz https://github.com/just-containers/s6-overlay/releases/download/${S6_OVERLAY_VERSION}/s6-overlay-${S6_OVERLAY_ARCH}.tar.gz && \
tar xzf /tmp/s6-overlay-${S6_OVERLAY_ARCH}.tar.gz -C / --exclude='./bin' && \
tar xzf /tmp/s6-overlay-${S6_OVERLAY_ARCH}.tar.gz -C /usr ./bin && \
\
# Add user
useradd -U -d /config -s /bin/false plex && \
usermod -G users plex && \
\
# Setup directories
mkdir -p \
/config \
/transcode \
/data \
&& \
\
# Cleanup
apt-get -y autoremove && \
apt-get -y clean && \
rm -rf /var/lib/apt/lists/* && \
rm -rf /tmp/* && \
rm -rf /var/tmp/*
EXPOSE 32400/tcp 8324/tcp 32469/tcp 1900/udp 32410/udp 32412/udp 32413/udp 32414/udp
VOLUME /config /transcode
ENV CHANGE_CONFIG_DIR_OWNERSHIP="true" \
HOME="/config"
ARG TAG=beta
ARG URL=
COPY root/ /
RUN \
# Save version and install
/installBinary.sh
HEALTHCHECK --interval=5s --timeout=2s --retries=20 CMD /healthcheck.sh || exit 1
+46
View File
@@ -0,0 +1,46 @@
version: "3.3"
services:
pms-docker:
image: linuxserver/plex:latest
networks:
- traefik
container_name: plex
restart: unless-stopped
hostname: plex.knast.cc
ports:
- 32400:32400
- 3005:3005
- 8324:8324
- 32469:32469
- 1900:1900
- 32410:32410
- 32412:32412
- 32413:32413
- 32414:32414
environment:
- TZ=Europe/Copenhagen
- PLEX_CLAIM=claim-6Zvsp8xmyzZLfQHGyX8w
- ADVERTISE_IP=http://plex.knast.cc:32400/
volumes:
# - "/var/lib/plexmediaserver:/config"
- '/srv/plex:/config'
- "/tmp/:/transcode"
# - "/srv/pseudotv:/mnt/pseudotv"
- "nfs_data:/shares"
# image: plexinc/pms-docker:latest
labels:
- traefik.enable=true
- "traefik.http.routers.plex.entrypoints=websecure"
- "traefik.http.routers.plex.rule=Host(`plex.$DOMAIN_NAME`)"
- "traefik.http.routers.plex.tls.certresolver=letsencr"
- "traefik.http.services.plex.loadbalancer.server.port=32400"
volumes:
nfs_data:
external: true
networks:
traefik:
external: true
+2
View File
@@ -0,0 +1,2 @@
DOMAIN_NAME=knast.cc
DEFAULT_NETWORK=traefik
+29
View File
@@ -0,0 +1,29 @@
version: '3'
services:
portainer:
image: portainer/portainer-ce:latest
container_name: portainer
networks:
- traefik
restart: unless-stopped
security_opt:
- no-new-privileges:true
volumes:
- /etc/localtime:/etc/localtime:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
- /srv/portainer/portainer-data:/data
ports:
- 9000:9000
labels:
- "traefik.enable=true"
- "traefik.http.routers.portainer.entrypoints=websecure"
- "traefik.http.routers.portainer.rule=Host(`portainer.$DOMAIN_NAME`)"
- "traefik.http.routers.portainer.tls.certresolver=letsencr"
- "traefik.http.services.portainer.loadbalancer.server.port=9000"
- "traefik.http.routers.portainer.middlewares=portainer_auth"
- "traefik.http.middlewares.portainer_auth.basicauth.users=admin:$$2a$$12$$MkhjqyuriyoE5.Mhz14ZXOkfjE7wUEDb46e9argix38VHZ5aAuGQC"
networks:
traefik:
external: true
+2
View File
@@ -0,0 +1,2 @@
DOMAIN_NAME=knast.cc
DEFAULT_NETWORK=traefik
+20
View File
@@ -0,0 +1,20 @@
version: '3.3'
services:
pseudotv:
# image: defendore/pseudotv
image: vexorian/dizquetv:latest
networks:
- traefik
ports:
- '8088:8000'
volumes:
- '/srv/pseudotv:/home/node/app/.dizquetv'
# labels:
# - "traefik.enable=true"
# - "traefik.http.routers.pseudotv.entrypoints=websecure"
# - "traefik.http.routers.pseudotv.rule=Host(`pseudo.$DOMAIN_NAME`)"
# - "traefik.http.routers.pseudotv.tls.certresolver=letsencr"
# - "traefik.http.services.pseudotv.loadbalancer.server.port=8000"
networks:
traefik:
external: true
+3
View File
@@ -0,0 +1,3 @@
DOMAIN_NAME=udohaiku.com
DEFAULT_NETWORK=traefik
PASS=hQ94gkU8DY6BomsUh8LMGHMSRPUNn9dmNJwxnZgW5dkoFZkMZ

Some files were not shown because too many files have changed in this diff Show More