dotfiles

git clone git://archive.git.mtrnord.blog/MTRNord/dotfiles.git
Log | Files | Refs | README

commit e40aac27064e3cf9c922abeaa5df1343ca6f4b4f
Author: MTRNord <mtrnord1@gmail.com>
Date:   Mon, 28 Dec 2020 02:33:26 +0100

Initial commit

Diffstat:
A.config/PulseEffects/input/Default chain Mischpult.json | 917+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
A.config/alacritty/alacritty.yml | 72++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
A.config/kitty/kitty.conf | 40++++++++++++++++++++++++++++++++++++++++
A.config/mako/config | 18++++++++++++++++++
A.config/neofetch/config.conf | 864+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
A.config/sirula/config.toml | 17+++++++++++++++++
A.config/sirula/style.css | 17+++++++++++++++++
A.config/sway/config | 279+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
A.config/sway/env | 6++++++
A.config/systemd/user/launchpad_sway_controler.service | 13+++++++++++++
A.config/systemd/user/vnc.service | 10++++++++++
A.config/waybar/config.json | 96+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
A.config/waybar/config_rit.json | 92+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
A.config/waybar/modules/df.sh | 5+++++
A.config/waybar/modules/mediaplayer.py | 127+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
A.config/waybar/modules/network-symbol.sh | 12++++++++++++
A.config/waybar/modules/pacman.sh | 3+++
A.config/waybar/style.css | 84+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
A.config/wlogout/icons/hibernate.png | 0
A.config/wlogout/icons/lock.png | 0
A.config/wlogout/icons/logout.png | 0
A.config/wlogout/icons/reboot.png | 0
A.config/wlogout/icons/shutdown.png | 0
A.config/wlogout/icons/suspend.png | 0
A.config/wlogout/layout | 23+++++++++++++++++++++++
A.config/wlogout/style.css | 52++++++++++++++++++++++++++++++++++++++++++++++++++++
26 files changed, 2747 insertions(+), 0 deletions(-)

diff --git a/.config/PulseEffects/input/Default chain Mischpult.json b/.config/PulseEffects/input/Default chain Mischpult.json @@ -0,0 +1,917 @@ +{ + "spectrum": { + "show": "true", + "n-points": "100", + "height": "120", + "use-custom-color": "false", + "fill": "true", + "show-bar-border": "true", + "sampling-freq": "10", + "line-width": "2", + "type": "Bars", + "color": [ + "1", + "1", + "1", + "1" + ], + "color-axis-labels": [ + "1", + "1", + "1", + "1" + ], + "gradient-color": [ + "0", + "0", + "0", + "1" + ] + }, + "input": { + "blocklist": "", + "plugins_order": [ + "gate", + "filter", + "compressor", + "limiter", + "deesser", + "multiband_gate", + "multiband_compressor", + "webrtc", + "equalizer", + "reverb", + "pitch", + "stereo_tools", + "maximizer" + ], + "compressor": { + "state": "true", + "input-gain": "0", + "output-gain": "0", + "mode": "Downward", + "attack": "20", + "release": "150", + "release-threshold": "-200", + "threshold": "-12", + "ratio": "4", + "knee": "-6", + "makeup": "0", + "boost-threshold": "-72", + "sidechain": { + "listen": "false", + "type": "Feed-forward", + "mode": "RMS", + "source": "Middle", + "preamp": "0", + "reactivity": "10", + "lookahead": "0" + }, + "hpf-mode": "off", + "hpf-frequency": "10", + "lpf-mode": "off", + "lpf-frequency": "20000" + }, + "deesser": { + "state": "false", + "detection": "RMS", + "mode": "Wide", + "threshold": "-18", + "ratio": "3", + "laxity": "15", + "makeup": "0", + "f1-freq": "6000", + "f2-freq": "4500", + "f1-level": "0", + "f2-level": "12", + "f2-q": "1", + "sc-listen": "false" + }, + "equalizer": { + "state": "false", + "mode": "IIR", + "num-bands": "30", + "input-gain": "0", + "output-gain": "0", + "split-channels": "false", + "left": { + "band0": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "22.59", + "q": "4.3600000000000003" + }, + "band1": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "28.440000000000001", + "q": "4.3600000000000003" + }, + "band2": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "35.799999999999997", + "q": "4.3600000000000003" + }, + "band3": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "45.07", + "q": "4.3600000000000003" + }, + "band4": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "56.740000000000002", + "q": "4.3600000000000003" + }, + "band5": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "71.430000000000007", + "q": "4.3600000000000003" + }, + "band6": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "89.930000000000007", + "q": "4.3600000000000003" + }, + "band7": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "113.20999999999999", + "q": "4.3600000000000003" + }, + "band8": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "142.53", + "q": "4.3600000000000003" + }, + "band9": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "179.43000000000001", + "q": "4.3600000000000003" + }, + "band10": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "225.88999999999999", + "q": "4.3600000000000003" + }, + "band11": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "284.38", + "q": "4.3600000000000003" + }, + "band12": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "358.01999999999998", + "q": "4.3600000000000003" + }, + "band13": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "450.72000000000003", + "q": "4.3600000000000003" + }, + "band14": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "567.41999999999996", + "q": "4.3600000000000003" + }, + "band15": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "714.34000000000003", + "q": "4.3600000000000003" + }, + "band16": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "899.28999999999996", + "q": "4.3600000000000003" + }, + "band17": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "1132.1500000000001", + "q": "4.3600000000000003" + }, + "band18": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "1425.29", + "q": "4.3600000000000003" + }, + "band19": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "1794.3299999999999", + "q": "4.3600000000000003" + }, + "band20": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "2258.9299999999998", + "q": "4.3600000000000003" + }, + "band21": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "2843.8200000000002", + "q": "4.3600000000000003" + }, + "band22": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "3580.1599999999999", + "q": "4.3600000000000003" + }, + "band23": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "4507.1499999999996", + "q": "4.3600000000000003" + }, + "band24": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "5674.1599999999999", + "q": "4.3600000000000003" + }, + "band25": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "7143.3500000000004", + "q": "4.3600000000000003" + }, + "band26": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "8992.9400000000005", + "q": "4.3600000000000003" + }, + "band27": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "11321.450000000001", + "q": "4.3600000000000003" + }, + "band28": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "14252.860000000001", + "q": "4.3600000000000003" + }, + "band29": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "17943.279999999999", + "q": "4.3600000000000003" + } + }, + "right": { + "band0": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "22.59", + "q": "4.3600000000000003" + }, + "band1": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "28.440000000000001", + "q": "4.3600000000000003" + }, + "band2": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "35.799999999999997", + "q": "4.3600000000000003" + }, + "band3": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "45.07", + "q": "4.3600000000000003" + }, + "band4": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "56.740000000000002", + "q": "4.3600000000000003" + }, + "band5": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "71.430000000000007", + "q": "4.3600000000000003" + }, + "band6": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "89.930000000000007", + "q": "4.3600000000000003" + }, + "band7": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "113.20999999999999", + "q": "4.3600000000000003" + }, + "band8": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "142.53", + "q": "4.3600000000000003" + }, + "band9": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "179.43000000000001", + "q": "4.3600000000000003" + }, + "band10": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "225.88999999999999", + "q": "4.3600000000000003" + }, + "band11": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "284.38", + "q": "4.3600000000000003" + }, + "band12": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "358.01999999999998", + "q": "4.3600000000000003" + }, + "band13": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "450.72000000000003", + "q": "4.3600000000000003" + }, + "band14": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "567.41999999999996", + "q": "4.3600000000000003" + }, + "band15": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "714.34000000000003", + "q": "4.3600000000000003" + }, + "band16": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "899.28999999999996", + "q": "4.3600000000000003" + }, + "band17": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "1132.1500000000001", + "q": "4.3600000000000003" + }, + "band18": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "1425.29", + "q": "4.3600000000000003" + }, + "band19": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "1794.3299999999999", + "q": "4.3600000000000003" + }, + "band20": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "2258.9299999999998", + "q": "4.3600000000000003" + }, + "band21": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "2843.8200000000002", + "q": "4.3600000000000003" + }, + "band22": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "3580.1599999999999", + "q": "4.3600000000000003" + }, + "band23": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "4507.1499999999996", + "q": "4.3600000000000003" + }, + "band24": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "5674.1599999999999", + "q": "4.3600000000000003" + }, + "band25": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "7143.3500000000004", + "q": "4.3600000000000003" + }, + "band26": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "8992.9400000000005", + "q": "4.3600000000000003" + }, + "band27": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "11321.450000000001", + "q": "4.3600000000000003" + }, + "band28": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "14252.860000000001", + "q": "4.3600000000000003" + }, + "band29": { + "type": "Bell", + "mode": "RLC (BT)", + "slope": "x1", + "solo": "false", + "mute": "false", + "gain": "0", + "frequency": "17943.279999999999", + "q": "4.3600000000000003" + } + } + }, + "filter": { + "state": "true", + "input-gain": "0", + "output-gain": "0", + "frequency": "100", + "resonance": "-3", + "mode": "12dB\/oct Highpass", + "inertia": "20" + }, + "gate": { + "state": "true", + "detection": "RMS", + "stereo-link": "Average", + "range": "-18", + "attack": "10", + "release": "200", + "threshold": "-18", + "ratio": "2", + "knee": "9", + "input": "0", + "makeup": "0" + }, + "limiter": { + "state": "true", + "input-gain": "0", + "limit": "-3", + "lookahead": "5", + "release": "50", + "auto-level": "false", + "asc": "false", + "asc-level": "0.5", + "oversampling": "1", + "output-gain": "0" + }, + "maximizer": { + "state": "false", + "release": "25", + "ceiling": "0", + "threshold": "0" + }, + "pitch": { + "state": "false", + "input-gain": "0", + "output-gain": "0", + "cents": "0", + "semitones": "0", + "octaves": "0", + "crispness": "3", + "formant-preserving": "false", + "faster": "false" + }, + "reverb": { + "state": "false", + "input-gain": "0", + "output-gain": "0", + "room-size": "Large", + "decay-time": "1.5", + "hf-damp": "5000", + "diffusion": "0.5", + "amount": "-12", + "dry": "0", + "predelay": "0", + "bass-cut": "300", + "treble-cut": "5000" + }, + "webrtc": { + "state": "false", + "high-pass-filter": "true", + "echo-cancel": "true", + "echo-suppression-level": "moderate", + "noise-suppression": "true", + "noise-suppression-level": "moderate", + "gain-control": "true", + "extended-filter": "true", + "delay-agnostic": "false", + "target-level-dbfs": "3", + "compression-gain-db": "9", + "limiter": "true", + "gain-control-mode": "adaptive-digital", + "voice-detection": "false", + "voice-detection-frame-size-ms": "10", + "voice-detection-likelihood": "low" + }, + "multiband_compressor": { + "state": "false", + "input-gain": "0", + "output-gain": "2", + "freq0": "120", + "freq1": "1000", + "freq2": "6000", + "mode": "LR8", + "subband": { + "threshold": "-12", + "ratio": "2", + "attack": "150", + "release": "300", + "makeup": "0", + "knee": "9", + "detection": "RMS", + "bypass": "false", + "solo": "false" + }, + "lowband": { + "threshold": "-12", + "ratio": "2", + "attack": "150", + "release": "300", + "makeup": "0", + "knee": "9", + "detection": "RMS", + "bypass": "false", + "solo": "false" + }, + "midband": { + "threshold": "-12", + "ratio": "2", + "attack": "150", + "release": "300", + "makeup": "0", + "knee": "9", + "detection": "RMS", + "bypass": "false", + "solo": "false" + }, + "highband": { + "threshold": "-12", + "ratio": "2", + "attack": "150", + "release": "300", + "makeup": "0", + "knee": "9", + "detection": "RMS", + "bypass": "false", + "solo": "false" + } + }, + "multiband_gate": { + "state": "false", + "input-gain": "0", + "output-gain": "0", + "freq0": "120", + "freq1": "1000", + "freq2": "6000", + "mode": "LR8", + "subband": { + "reduction": "-24", + "threshold": "-12", + "ratio": "2", + "attack": "150", + "release": "300", + "makeup": "0", + "knee": "9", + "detection": "RMS", + "bypass": "false", + "solo": "false" + }, + "lowband": { + "reduction": "-24", + "threshold": "-12", + "ratio": "2", + "attack": "150", + "release": "300", + "makeup": "0", + "knee": "9", + "detection": "RMS", + "bypass": "false", + "solo": "false" + }, + "midband": { + "reduction": "-24", + "threshold": "-12", + "ratio": "2", + "attack": "150", + "release": "300", + "makeup": "0", + "knee": "9", + "detection": "RMS", + "bypass": "false", + "solo": "false" + }, + "highband": { + "reduction": "-24", + "threshold": "-12", + "ratio": "2", + "attack": "150", + "release": "300", + "makeup": "0", + "knee": "9", + "detection": "RMS", + "bypass": "false", + "solo": "false" + } + }, + "stereo_tools": { + "state": "false", + "input-gain": "0", + "output-gain": "0", + "balance-in": "0", + "balance-out": "0", + "softclip": "false", + "mutel": "false", + "muter": "false", + "phasel": "false", + "phaser": "false", + "mode": "LR > LR (Stereo Default)", + "side-level": "0", + "side-balance": "0", + "middle-level": "0", + "middle-panorama": "0", + "stereo-base": "0", + "delay": "0", + "sc-level": "1", + "stereo-phase": "0" + } + } +} diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml @@ -0,0 +1,72 @@ +# Copyright (c) 2017-present Arctic Ice Studio <development@arcticicestudio.com> +# Copyright (c) 2017-present Sven Greb <code@svengreb.de> + +# Project: Nord Alacritty +# Version: 0.1.0 +# Repository: https://github.com/arcticicestudio/nord-alacritty +# License: MIT +# References: +# https://github.com/alacritty/alacritty + +colors: + primary: + background: '#2e3440' + foreground: '#d8dee9' + dim_foreground: '#a5abb6' + cursor: + text: '#2e3440' + cursor: '#d8dee9' + vi_mode_cursor: + text: '#2e3440' + cursor: '#d8dee9' + selection: + text: CellForeground + background: '#4c566a' + search: + matches: + foreground: CellBackground + background: '#88c0d0' + bar: + background: '#434c5e' + foreground: '#d8dee9' + normal: + black: '#3b4252' + red: '#bf616a' + green: '#a3be8c' + yellow: '#ebcb8b' + blue: '#8fa7bc' + magenta: '#b48ead' + cyan: '#8fbcbb' + white: '#d8dee9' + bright: + black: '#4c566a' + red: '#bf616a' + green: '#a3be8c' + yellow: '#ebcb8b' + blue: '#81a1c1' + magenta: '#b48ead' + cyan: '#8fbcbb' + white: '#eceff4' + dim: + black: '#373e4d' + red: '#94545d' + green: '#809575' + yellow: '#b29e75' + blue: '#68809a' + magenta: '#8c738c' + cyan: '#6d96a5' + white: '#aeb3bb' +key_bindings: + - { key: Return, mods: Control|Shift, action: SpawnNewInstance } +background_opacity: 0.90 +window: + padding: + x: 20 + y: 20 +font: +# normal: +# family: JetbrainsMonoNL +# style: Regular + size: 12 +live_config_reload: true +dynamic_padding: true diff --git a/.config/kitty/kitty.conf b/.config/kitty/kitty.conf @@ -0,0 +1,39 @@ +window_padding_width 16 + +foreground #eeffff +background #2a2838 + +# Black +color0 #2a2838 +color8 #2a2838 + +# Red +color1 #e02d60 +color9 #e02d60 + +# Green +color2 #1fdbac +color10 #1fdbac + +# Yellow +color3 #f0b82b +color11 #f0b82b + +# Blue +color4 #7599e6 +color12 #7599e6 + +# Magenta +color5 #8a75e6 +color13 #8a75e6 + +# Cyan +color6 #5ebae6 +color14 #5ebae6 + + +# White +color7 #eeffff +color15 #eeffff + +font_family FiraCodeNerdFontComplete-Retina +\ No newline at end of file diff --git a/.config/mako/config b/.config/mako/config @@ -0,0 +1,18 @@ +font=JetbrainsMonoNL 11 + +background-color=#353b49 +text-color=#e5e9f0 +padding=10 +margin=10 +progress-color=over #eceff480 +icon-path=/usr/share/icons/Papirus-Dark +max-icon-size=90 + +border-size=3 +border-radius=10 +border-color=#3b4252 + +default-timeout=5000 + +[urgency=high] +ignore-timeout=1 diff --git a/.config/neofetch/config.conf b/.config/neofetch/config.conf @@ -0,0 +1,864 @@ +# See this wiki page for more info: +# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info +print_info() { + info title + info underline + + info "OS" distro + info "Host" model + info "Kernel" kernel + info "Uptime" uptime + info "Packages" packages + info "Shell" shell + info "Resolution" resolution + info "DE" de + info "WM" wm + info "WM Theme" wm_theme + info "Theme" theme + info "Icons" icons + info "Terminal" term + info "Terminal Font" term_font + info "CPU" cpu + info "GPU" gpu + info "Memory" memory + + # info "GPU Driver" gpu_driver # Linux/macOS only + # info "CPU Usage" cpu_usage + # info "Disk" disk + # info "Battery" battery + # info "Font" font + # info "Song" song + # [[ "$player" ]] && prin "Music Player" "$player" + # info "Local IP" local_ip + # info "Public IP" public_ip + # info "Users" users + # info "Locale" locale # This only works on glibc systems. + + info cols +} + +# Title + + +# Hide/Show Fully qualified domain name. +# +# Default: 'off' +# Values: 'on', 'off' +# Flag: --title_fqdn +title_fqdn="off" + + +# Kernel + + +# Shorten the output of the kernel function. +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --kernel_shorthand +# Supports: Everything except *BSDs (except PacBSD and PC-BSD) +# +# Example: +# on: '4.8.9-1-ARCH' +# off: 'Linux 4.8.9-1-ARCH' +kernel_shorthand="on" + + +# Distro + + +# Shorten the output of the distro function +# +# Default: 'off' +# Values: 'on', 'tiny', 'off' +# Flag: --distro_shorthand +# Supports: Everything except Windows and Haiku +distro_shorthand="off" + +# Show/Hide OS Architecture. +# Show 'x86_64', 'x86' and etc in 'Distro:' output. +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --os_arch +# +# Example: +# on: 'Arch Linux x86_64' +# off: 'Arch Linux' +os_arch="on" + + +# Uptime + + +# Shorten the output of the uptime function +# +# Default: 'on' +# Values: 'on', 'tiny', 'off' +# Flag: --uptime_shorthand +# +# Example: +# on: '2 days, 10 hours, 3 mins' +# tiny: '2d 10h 3m' +# off: '2 days, 10 hours, 3 minutes' +uptime_shorthand="on" + + +# Memory + + +# Show memory pecentage in output. +# +# Default: 'off' +# Values: 'on', 'off' +# Flag: --memory_percent +# +# Example: +# on: '1801MiB / 7881MiB (22%)' +# off: '1801MiB / 7881MiB' +memory_percent="off" + +# Change memory output unit. +# +# Default: 'mib' +# Values: 'kib', 'mib', 'gib' +# Flag: --memory_unit +# +# Example: +# kib '1020928KiB / 7117824KiB' +# mib '1042MiB / 6951MiB' +# gib: ' 0.98GiB / 6.79GiB' +memory_unit="mib" + + +# Packages + + +# Show/Hide Package Manager names. +# +# Default: 'tiny' +# Values: 'on', 'tiny' 'off' +# Flag: --package_managers +# +# Example: +# on: '998 (pacman), 8 (flatpak), 4 (snap)' +# tiny: '908 (pacman, flatpak, snap)' +# off: '908' +package_managers="on" + + +# Shell + + +# Show the path to $SHELL +# +# Default: 'off' +# Values: 'on', 'off' +# Flag: --shell_path +# +# Example: +# on: '/bin/bash' +# off: 'bash' +shell_path="off" + +# Show $SHELL version +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --shell_version +# +# Example: +# on: 'bash 4.4.5' +# off: 'bash' +shell_version="on" + + +# CPU + + +# CPU speed type +# +# Default: 'bios_limit' +# Values: 'scaling_cur_freq', 'scaling_min_freq', 'scaling_max_freq', 'bios_limit'. +# Flag: --speed_type +# Supports: Linux with 'cpufreq' +# NOTE: Any file in '/sys/devices/system/cpu/cpu0/cpufreq' can be used as a value. +speed_type="bios_limit" + +# CPU speed shorthand +# +# Default: 'off' +# Values: 'on', 'off'. +# Flag: --speed_shorthand +# NOTE: This flag is not supported in systems with CPU speed less than 1 GHz +# +# Example: +# on: 'i7-6500U (4) @ 3.1GHz' +# off: 'i7-6500U (4) @ 3.100GHz' +speed_shorthand="off" + +# Enable/Disable CPU brand in output. +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --cpu_brand +# +# Example: +# on: 'Intel i7-6500U' +# off: 'i7-6500U (4)' +cpu_brand="on" + +# CPU Speed +# Hide/Show CPU speed. +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --cpu_speed +# +# Example: +# on: 'Intel i7-6500U (4) @ 3.1GHz' +# off: 'Intel i7-6500U (4)' +cpu_speed="on" + +# CPU Cores +# Display CPU cores in output +# +# Default: 'logical' +# Values: 'logical', 'physical', 'off' +# Flag: --cpu_cores +# Support: 'physical' doesn't work on BSD. +# +# Example: +# logical: 'Intel i7-6500U (4) @ 3.1GHz' (All virtual cores) +# physical: 'Intel i7-6500U (2) @ 3.1GHz' (All physical cores) +# off: 'Intel i7-6500U @ 3.1GHz' +cpu_cores="logical" + +# CPU Temperature +# Hide/Show CPU temperature. +# Note the temperature is added to the regular CPU function. +# +# Default: 'off' +# Values: 'C', 'F', 'off' +# Flag: --cpu_temp +# Supports: Linux, BSD +# NOTE: For FreeBSD and NetBSD-based systems, you'll need to enable +# coretemp kernel module. This only supports newer Intel processors. +# +# Example: +# C: 'Intel i7-6500U (4) @ 3.1GHz [27.2°C]' +# F: 'Intel i7-6500U (4) @ 3.1GHz [82.0°F]' +# off: 'Intel i7-6500U (4) @ 3.1GHz' +cpu_temp="off" + + +# GPU + + +# Enable/Disable GPU Brand +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --gpu_brand +# +# Example: +# on: 'AMD HD 7950' +# off: 'HD 7950' +gpu_brand="on" + +# Which GPU to display +# +# Default: 'all' +# Values: 'all', 'dedicated', 'integrated' +# Flag: --gpu_type +# Supports: Linux +# +# Example: +# all: +# GPU1: AMD HD 7950 +# GPU2: Intel Integrated Graphics +# +# dedicated: +# GPU1: AMD HD 7950 +# +# integrated: +# GPU1: Intel Integrated Graphics +gpu_type="all" + + +# Resolution + + +# Display refresh rate next to each monitor +# Default: 'off' +# Values: 'on', 'off' +# Flag: --refresh_rate +# Supports: Doesn't work on Windows. +# +# Example: +# on: '1920x1080 @ 60Hz' +# off: '1920x1080' +refresh_rate="off" + + +# Gtk Theme / Icons / Font + + +# Shorten output of GTK Theme / Icons / Font +# +# Default: 'off' +# Values: 'on', 'off' +# Flag: --gtk_shorthand +# +# Example: +# on: 'Numix, Adwaita' +# off: 'Numix [GTK2], Adwaita [GTK3]' +gtk_shorthand="off" + + +# Enable/Disable gtk2 Theme / Icons / Font +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --gtk2 +# +# Example: +# on: 'Numix [GTK2], Adwaita [GTK3]' +# off: 'Adwaita [GTK3]' +gtk2="on" + +# Enable/Disable gtk3 Theme / Icons / Font +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --gtk3 +# +# Example: +# on: 'Numix [GTK2], Adwaita [GTK3]' +# off: 'Numix [GTK2]' +gtk3="on" + + +# IP Address + + +# Website to ping for the public IP +# +# Default: 'http://ident.me' +# Values: 'url' +# Flag: --ip_host +public_ip_host="http://ident.me" + +# Public IP timeout. +# +# Default: '2' +# Values: 'int' +# Flag: --ip_timeout +public_ip_timeout=2 + + +# Desktop Environment + + +# Show Desktop Environment version +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --de_version +de_version="on" + + +# Disk + + +# Which disks to display. +# The values can be any /dev/sdXX, mount point or directory. +# NOTE: By default we only show the disk info for '/'. +# +# Default: '/' +# Values: '/', '/dev/sdXX', '/path/to/drive'. +# Flag: --disk_show +# +# Example: +# disk_show=('/' '/dev/sdb1'): +# 'Disk (/): 74G / 118G (66%)' +# 'Disk (/mnt/Videos): 823G / 893G (93%)' +# +# disk_show=('/'): +# 'Disk (/): 74G / 118G (66%)' +# +disk_show=('/') + +# Disk subtitle. +# What to append to the Disk subtitle. +# +# Default: 'mount' +# Values: 'mount', 'name', 'dir', 'none' +# Flag: --disk_subtitle +# +# Example: +# name: 'Disk (/dev/sda1): 74G / 118G (66%)' +# 'Disk (/dev/sdb2): 74G / 118G (66%)' +# +# mount: 'Disk (/): 74G / 118G (66%)' +# 'Disk (/mnt/Local Disk): 74G / 118G (66%)' +# 'Disk (/mnt/Videos): 74G / 118G (66%)' +# +# dir: 'Disk (/): 74G / 118G (66%)' +# 'Disk (Local Disk): 74G / 118G (66%)' +# 'Disk (Videos): 74G / 118G (66%)' +# +# none: 'Disk: 74G / 118G (66%)' +# 'Disk: 74G / 118G (66%)' +# 'Disk: 74G / 118G (66%)' +disk_subtitle="mount" + +# Disk percent. +# Show/Hide disk percent. +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --disk_percent +# +# Example: +# on: 'Disk (/): 74G / 118G (66%)' +# off: 'Disk (/): 74G / 118G' +disk_percent="on" + + +# Song + + +# Manually specify a music player. +# +# Default: 'auto' +# Values: 'auto', 'player-name' +# Flag: --music_player +# +# Available values for 'player-name': +# +# amarok +# audacious +# banshee +# bluemindo +# clementine +# cmus +# deadbeef +# deepin-music +# dragon +# elisa +# exaile +# gnome-music +# gmusicbrowser +# gogglesmm +# guayadeque +# io.elementary.music +# iTunes +# juk +# lollypop +# mocp +# mopidy +# mpd +# muine +# netease-cloud-music +# olivia +# playerctl +# pogo +# pragha +# qmmp +# quodlibet +# rhythmbox +# sayonara +# smplayer +# spotify +# strawberry +# tauonmb +# tomahawk +# vlc +# xmms2d +# xnoise +# yarock +music_player="auto" + +# Format to display song information. +# +# Default: '%artist% - %album% - %title%' +# Values: '%artist%', '%album%', '%title%' +# Flag: --song_format +# +# Example: +# default: 'Song: Jet - Get Born - Sgt Major' +song_format="%artist% - %album% - %title%" + +# Print the Artist, Album and Title on separate lines +# +# Default: 'off' +# Values: 'on', 'off' +# Flag: --song_shorthand +# +# Example: +# on: 'Artist: The Fratellis' +# 'Album: Costello Music' +# 'Song: Chelsea Dagger' +# +# off: 'Song: The Fratellis - Costello Music - Chelsea Dagger' +song_shorthand="off" + +# 'mpc' arguments (specify a host, password etc). +# +# Default: '' +# Example: mpc_args=(-h HOST -P PASSWORD) +mpc_args=() + + +# Text Colors + + +# Text Colors +# +# Default: 'distro' +# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num' +# Flag: --colors +# +# Each number represents a different part of the text in +# this order: 'title', '@', 'underline', 'subtitle', 'colon', 'info' +# +# Example: +# colors=(distro) - Text is colored based on Distro colors. +# colors=(4 6 1 8 8 6) - Text is colored in the order above. +colors=(distro) + + +# Text Options + + +# Toggle bold text +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --bold +bold="on" + +# Enable/Disable Underline +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --underline +underline_enabled="on" + +# Underline character +# +# Default: '-' +# Values: 'string' +# Flag: --underline_char +underline_char="-" + + +# Info Separator +# Replace the default separator with the specified string. +# +# Default: ':' +# Flag: --separator +# +# Example: +# separator="->": 'Shell-> bash' +# separator=" =": 'WM = dwm' +separator=":" + + +# Color Blocks + + +# Color block range +# The range of colors to print. +# +# Default: '0', '15' +# Values: 'num' +# Flag: --block_range +# +# Example: +# +# Display colors 0-7 in the blocks. (8 colors) +# neofetch --block_range 0 7 +# +# Display colors 0-15 in the blocks. (16 colors) +# neofetch --block_range 0 15 +block_range=(0 15) + +# Toggle color blocks +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --color_blocks +color_blocks="on" + +# Color block width in spaces +# +# Default: '3' +# Values: 'num' +# Flag: --block_width +block_width=3 + +# Color block height in lines +# +# Default: '1' +# Values: 'num' +# Flag: --block_height +block_height=1 + +# Color Alignment +# +# Default: 'auto' +# Values: 'auto', 'num' +# Flag: --col_offset +# +# Number specifies how far from the left side of the terminal (in spaces) to +# begin printing the columns, in case you want to e.g. center them under your +# text. +# Example: +# col_offset="auto" - Default behavior of neofetch +# col_offset=7 - Leave 7 spaces then print the colors +col_offset="auto" + +# Progress Bars + + +# Bar characters +# +# Default: '-', '=' +# Values: 'string', 'string' +# Flag: --bar_char +# +# Example: +# neofetch --bar_char 'elapsed' 'total' +# neofetch --bar_char '-' '=' +bar_char_elapsed="-" +bar_char_total="=" + +# Toggle Bar border +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --bar_border +bar_border="on" + +# Progress bar length in spaces +# Number of chars long to make the progress bars. +# +# Default: '15' +# Values: 'num' +# Flag: --bar_length +bar_length=15 + +# Progress bar colors +# When set to distro, uses your distro's logo colors. +# +# Default: 'distro', 'distro' +# Values: 'distro', 'num' +# Flag: --bar_colors +# +# Example: +# neofetch --bar_colors 3 4 +# neofetch --bar_colors distro 5 +bar_color_elapsed="distro" +bar_color_total="distro" + + +# Info display +# Display a bar with the info. +# +# Default: 'off' +# Values: 'bar', 'infobar', 'barinfo', 'off' +# Flags: --cpu_display +# --memory_display +# --battery_display +# --disk_display +# +# Example: +# bar: '[---=======]' +# infobar: 'info [---=======]' +# barinfo: '[---=======] info' +# off: 'info' +cpu_display="off" +memory_display="off" +battery_display="off" +disk_display="off" + + +# Backend Settings + + +# Image backend. +# +# Default: 'ascii' +# Values: 'ascii', 'caca', 'chafa', 'jp2a', 'iterm2', 'off', +# 'pot', 'termpix', 'pixterm', 'tycat', 'w3m', 'kitty' +# Flag: --backend +image_backend="ascii" + +# Image Source +# +# Which image or ascii file to display. +# +# Default: 'auto' +# Values: 'auto', 'ascii', 'wallpaper', '/path/to/img', '/path/to/ascii', '/path/to/dir/' +# 'command output (neofetch --ascii "$(fortune | cowsay -W 30)")' +# Flag: --source +# +# NOTE: 'auto' will pick the best image source for whatever image backend is used. +# In ascii mode, distro ascii art will be used and in an image mode, your +# wallpaper will be used. +image_source="auto" + + +# Ascii Options + + +# Ascii distro +# Which distro's ascii art to display. +# +# Default: 'auto' +# Values: 'auto', 'distro_name' +# Flag: --ascii_distro +# NOTE: AIX, Alpine, Anarchy, Android, Antergos, antiX, "AOSC OS", +# "AOSC OS/Retro", Apricity, ArcoLinux, ArchBox, ARCHlabs, +# ArchStrike, XFerience, ArchMerge, Arch, Artix, Arya, Bedrock, +# Bitrig, BlackArch, BLAG, BlankOn, BlueLight, bonsai, BSD, +# BunsenLabs, Calculate, Carbs, CentOS, Chakra, ChaletOS, +# Chapeau, Chrom*, Cleanjaro, ClearOS, Clear_Linux, Clover, +# Condres, Container_Linux, CRUX, Cucumber, Debian, Deepin, +# DesaOS, Devuan, DracOS, DarkOs, DragonFly, Drauger, Elementary, +# EndeavourOS, Endless, EuroLinux, Exherbo, Fedora, Feren, FreeBSD, +# FreeMiNT, Frugalware, Funtoo, GalliumOS, Garuda, Gentoo, Pentoo, +# gNewSense, GNOME, GNU, GoboLinux, Grombyang, Guix, Haiku, Huayra, +# Hyperbola, janus, Kali, KaOS, KDE_neon, Kibojoe, Kogaion, +# Korora, KSLinux, Kubuntu, LEDE, LFS, Linux_Lite, +# LMDE, Lubuntu, Lunar, macos, Mageia, MagpieOS, Mandriva, +# Manjaro, Maui, Mer, Minix, LinuxMint, MX_Linux, Namib, +# Neptune, NetBSD, Netrunner, Nitrux, NixOS, Nurunner, +# NuTyX, OBRevenge, OpenBSD, openEuler, OpenIndiana, openmamba, +# OpenMandriva, OpenStage, OpenWrt, osmc, Oracle, OS Elbrus, PacBSD, +# Parabola, Pardus, Parrot, Parsix, TrueOS, PCLinuxOS, Peppermint, +# popos, Porteus, PostMarketOS, Proxmox, Puppy, PureOS, Qubes, Radix, +# Raspbian, Reborn_OS, Redstar, Redcore, Redhat, Refracted_Devuan, +# Regata, Rosa, sabotage, Sabayon, Sailfish, SalentOS, Scientific, +# Septor, SereneLinux, SharkLinux, Siduction, Slackware, SliTaz, +# SmartOS, Solus, Source_Mage, Sparky, Star, SteamOS, SunOS, +# openSUSE_Leap, openSUSE_Tumbleweed, openSUSE, SwagArch, Tails, +# Trisquel, Ubuntu-Budgie, Ubuntu-GNOME, Ubuntu-MATE, Ubuntu-Studio, +# Ubuntu, Venom, Void, Obarun, windows10, Windows7, Xubuntu, Zorin, +# and IRIX have ascii logos +# NOTE: Arch, Ubuntu, Redhat, and Dragonfly have 'old' logo variants. +# Use '{distro name}_old' to use the old logos. +# NOTE: Ubuntu has flavor variants. +# Change this to Lubuntu, Kubuntu, Xubuntu, Ubuntu-GNOME, +# Ubuntu-Studio, Ubuntu-Mate or Ubuntu-Budgie to use the flavors. +# NOTE: Arcolinux, Dragonfly, Fedora, Alpine, Arch, Ubuntu, +# CRUX, Debian, Gentoo, FreeBSD, Mac, NixOS, OpenBSD, android, +# Antrix, CentOS, Cleanjaro, ElementaryOS, GUIX, Hyperbola, +# Manjaro, MXLinux, NetBSD, Parabola, POP_OS, PureOS, +# Slackware, SunOS, LinuxLite, OpenSUSE, Raspbian, +# postmarketOS, and Void have a smaller logo variant. +# Use '{distro name}_small' to use the small variants. +ascii_distro="auto" + +# Ascii Colors +# +# Default: 'distro' +# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num' +# Flag: --ascii_colors +# +# Example: +# ascii_colors=(distro) - Ascii is colored based on Distro colors. +# ascii_colors=(4 6 1 8 8 6) - Ascii is colored using these colors. +ascii_colors=(distro) + +# Bold ascii logo +# Whether or not to bold the ascii logo. +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --ascii_bold +ascii_bold="on" + + +# Image Options + + +# Image loop +# Setting this to on will make neofetch redraw the image constantly until +# Ctrl+C is pressed. This fixes display issues in some terminal emulators. +# +# Default: 'off' +# Values: 'on', 'off' +# Flag: --loop +image_loop="off" + +# Thumbnail directory +# +# Default: '~/.cache/thumbnails/neofetch' +# Values: 'dir' +thumbnail_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neofetch" + +# Crop mode +# +# Default: 'normal' +# Values: 'normal', 'fit', 'fill' +# Flag: --crop_mode +# +# See this wiki page to learn about the fit and fill options. +# https://github.com/dylanaraps/neofetch/wiki/What-is-Waifu-Crop%3F +crop_mode="normal" + +# Crop offset +# Note: Only affects 'normal' crop mode. +# +# Default: 'center' +# Values: 'northwest', 'north', 'northeast', 'west', 'center' +# 'east', 'southwest', 'south', 'southeast' +# Flag: --crop_offset +crop_offset="center" + +# Image size +# The image is half the terminal width by default. +# +# Default: 'auto' +# Values: 'auto', '00px', '00%', 'none' +# Flags: --image_size +# --size +image_size="auto" + +# Gap between image and text +# +# Default: '3' +# Values: 'num', '-num' +# Flag: --gap +gap=3 + +# Image offsets +# Only works with the w3m backend. +# +# Default: '0' +# Values: 'px' +# Flags: --xoffset +# --yoffset +yoffset=0 +xoffset=0 + +# Image background color +# Only works with the w3m backend. +# +# Default: '' +# Values: 'color', 'blue' +# Flag: --bg_color +background_color= + + +# Misc Options + +# Stdout mode +# Turn off all colors and disables image backend (ASCII/Image). +# Useful for piping into another command. +# Default: 'off' +# Values: 'on', 'off' +stdout="off" diff --git a/.config/sirula/config.toml b/.config/sirula/config.toml @@ -0,0 +1,17 @@ +exclusive = true +lines = 1 +icon_size = 24 +anchor_left = false +anchor_right = false +anchor_top = false +anchor_bottom = false +margin_top = 1 +margin_bottom = 0 +margin_left = 0 +margin_right = 0 +width = 600 +height = 325 + +markup_highlight = 'underline="low"' +extra_field = [] +hidden_fields = ["id_suffix"] diff --git a/.config/sirula/style.css b/.config/sirula/style.css @@ -0,0 +1,17 @@ +#search { + border: unset; + outline: unset; + box-shadow: unset; + border-radius: unset; + border-bottom: 1px solid #777; + + padding: 2px 8px; +} + +.app-row { + padding: 6px 8px; +} + +.app-label { + margin-left: 7px; +} diff --git a/.config/sway/config b/.config/sway/config @@ -0,0 +1,279 @@ +# Variables +set $mod Mod4 +set $menu /usr/bin/sirula +set $term kitty +#set $browser firefox +set $browser "firefox-nightly -P default-release --marionette" +set $file_manager nautilus + +# Named workspaces +set $ws1 "1:" +set $ws2 "2:" +set $ws3 "3:" +set $ws4 number 4 +set $ws5 "5:" +set $ws6 number 6 +set $ws7 number 7 +set $ws8 number 8 +set $ws9 number 9 +set $ws10 number 10 +set $ws11 "11:" +set $ws12 "12:" +set $ws13 "13:" +set $ws14 number 15 +set $ws15 number 15 +set $ws16 number 16 +set $ws17 number 17 +set $ws18 number 18 +set $ws19 "19:" +set $ws20 "20:" +set $ws21 "21:" +set $ws42 "42:" + +# Colors (border bg text indicator child_border) +#client.focused #bdbdbd #bdbdbd #000000 #bdbdbd #bdbdbd +#client.focused_inactive #333333 #5f676a #ffffff #5f676a #5f676a +#client.unfocused #1e1e1e #1e1e1e #bdbdbd #1e1e1e #1e1e1e +#client.urgent #2f343a #900000 #ffffff #900000 #900000 + +client.focused #5e81ac #5e81ac #eceff4 #434c5e #5e81ac +client.focused_inactive #4c566a #4c566a #d8dee9 #3b4252 #434c5e +client.unfocused #4c566a #4c566a #d8dee9 #3b4252 #434c5e +client.urgent #bf616a #bf616a #eceff4 #900000 #bf616a +client.placeholder #000000 #0c0c0c #eceff4 #000000 #0c0c0c + + +# Font +font pango:Encode Sans 11 +#font pango:Monospace, FontAwesome, 9 + +# Window borders +default_border pixel 3 +#default_floating_border pixel 1 +hide_edge_borders --i3 smart + +workspace_layout default +#popup_during_fullscreen leave_fullscreen # TODO + + +# Input device configuration +input * { + xkb_layout de + xkb_variant nodeadkeys + xkb_options compose:caps + xkb_numlock enabled +} + +# Output configuration +#output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill +output * bg /home/marcel/wallpaper/cherry_blossom_by_tomprante_d8shzqg.jpg fill + +output DP-1 scale 1.75 pos 0 0 +output HDMI-A-1 pos 2194 0 + +# Default workspaces for common programs +assign [class="^Signal$"] $ws2 +assign [class="^Element"] $ws2 +assign [class="^hydrogen"] $ws2 +assign [class="^whatsapp"] $ws2 +assign [app_id="^thunderbird$"] $ws3 +assign [class="^Steam$"] $ws11 +assign [class="^Spotify"] $ws42 +assign [app_id="^org.keepassxc.KeePassXC$" title="KeePassXC$"] $ws21 + +# Layout defaults +#for_window [app_id="^firefox$"] layout tabbed +for_window [app_id="^thunderbird$"] layout tabbed +#for_window [class="^Code" title="Visual Studio Code"] layout tabbed +# Nautilus typeahead popup +for_window [app_id="^nautilus$" title="^nautilus$"] floating enable +# gtk-rs programs have this id by default +for_window [app_id="^\.$"] floating enable +for_window [title="Discord Updater"] floating enable +for_window [app_id="imv"] floating enable +for_window [app_id="pavucontrol"] floating enable, sticky enable, resize set width 550 px height 600px, move position cursor, move down 330 + +# Other window-specific settings +for_window [class="^Signal$"] opacity 0.9 +for_window [class="^Riot$"] opacity 0.9 +for_window [class="^Element$"] opacity 0.9 +for_window [app_id="^org.gnome.Nautilus$"] opacity 0.9 +for_window [class="^hydrogen"] opacity 0.9 +for_window [class="^whatsapp"] opacity 0.9 +for_window [app_id="kitty"] opacity 0.7 + +# Program shortcuts +bindsym $mod+Return exec $term +bindsym $mod+n exec $file_manager +bindsym $mod+y workspace $ws1; exec $browser + +# Autostart +exec mako +exec autotiling +exec $browser +exec /home/marcel/Applications/hydrogen/hydrogen +exec /home/marcel/Applications/whatsapp/whatsapp +exec "dex /usr/share/applications/org.keepassxc.KeePassXC.desktop" +exec signal +exec spotify +#exec sh -c "nmcli monitor | while read _; do pkill -RTMIN+1 waybar; done >/dev/null" + +# Notifications +bindsym Control+Space exec makoctl dismiss +bindsym Control+Shift+Space exec makoctl dismiss --all + +# Kill focused window +bindsym $mod+Shift+q kill + +# Start your launcher +bindsym $mod+d exec $menu + +# Reload the configuration file +bindsym $mod+Shift+c reload + +# Exit sway (logs you out of your wayland session) +bindsym $mod+Shift+e exit + +# Move your focus around with $mod+[h|j|k|l], like vim +bindsym $mod+h focus left +bindsym $mod+j focus down +bindsym $mod+k focus up +bindsym $mod+l focus right +# or use $mod+[up|down|left|right] +bindsym $mod+Left focus left +bindsym $mod+Down focus down +bindsym $mod+Up focus up +bindsym $mod+Right focus right + +# _move_ the focused window with the same, but add Shift +bindsym $mod+Shift+h move left +bindsym $mod+Shift+j move down +bindsym $mod+Shift+k move up +bindsym $mod+Shift+l move right +# ditto, with arrow keys +bindsym $mod+Shift+Left move left +bindsym $mod+Shift+Down move down +bindsym $mod+Shift+Up move up +bindsym $mod+Shift+Right move right + +# Move workspace to monitor +bindsym $mod+Ctrl+Left move workspace to output left +bindsym $mod+Ctrl+Down move workspace to output down +bindsym $mod+Ctrl+Up move workspace to output up +bindsym $mod+Ctrl+Right move workspace to output right + +# Switch to workspace +bindsym $mod+1 workspace $ws1 +bindsym $mod+2 workspace $ws2 +bindsym $mod+3 workspace $ws3 +bindsym $mod+4 workspace $ws4 +bindsym $mod+5 workspace $ws5 +bindsym $mod+6 workspace $ws6 +bindsym $mod+7 workspace $ws7 +bindsym $mod+8 workspace $ws8 +bindsym $mod+9 workspace $ws9 +bindsym $mod+0 workspace $ws10 +bindsym $mod+F1 workspace $ws11 +bindsym $mod+F2 workspace $ws12 +bindsym $mod+F3 workspace $ws13 +bindsym $mod+F4 workspace $ws14 +bindsym $mod+F5 workspace $ws15 +bindsym $mod+F6 workspace $ws16 +bindsym $mod+F7 workspace $ws17 +bindsym $mod+F8 workspace $ws18 +bindsym $mod+F9 workspace $ws19 +bindsym $mod+F10 workspace $ws20 +bindsym $mod+F11 workspace $ws21 +bindsym $mod+F12 workspace $ws42 + + +# Move focused container to workspace +bindsym $mod+Shift+1 move container to workspace $ws1 +bindsym $mod+Shift+2 move container to workspace $ws2 +bindsym $mod+Shift+3 move container to workspace $ws3 +bindsym $mod+Shift+4 move container to workspace $ws4 +bindsym $mod+Shift+5 move container to workspace $ws5 +bindsym $mod+Shift+6 move container to workspace $ws6 +bindsym $mod+Shift+7 move container to workspace $ws7 +bindsym $mod+Shift+8 move container to workspace $ws8 +bindsym $mod+Shift+9 move container to workspace $ws9 +bindsym $mod+Shift+0 move container to workspace $ws10 +bindsym $mod+Shift+F1 move container to workspace $ws11 +bindsym $mod+Shift+F2 move container to workspace $ws12 +bindsym $mod+Shift+F3 move container to workspace $ws13 +bindsym $mod+Shift+F4 move container to workspace $ws14 +bindsym $mod+Shift+F5 move container to workspace $ws15 +bindsym $mod+Shift+F6 move container to workspace $ws16 +bindsym $mod+Shift+F7 move container to workspace $ws17 +bindsym $mod+Shift+F8 move container to workspace $ws18 +bindsym $mod+Shift+F9 move container to workspace $ws19 +bindsym $mod+Shift+F10 move container to workspace $ws20 +bindsym $mod+Shift+F11 move container to workspace $ws21 +bindsym $mod+Shift+F12 move container to workspace $ws42 + +# Layout stuff +bindsym $mod+b splith +bindsym $mod+v splitv + +# Switch the current container between different layout styles +bindsym $mod+s layout stacking +bindsym $mod+w layout tabbed +bindsym $mod+e layout toggle split + +# Make the current focus fullscreen +bindsym $mod+f fullscreen + +# Toggle the current focus between tiling and floating mode +bindsym $mod+Shift+space floating toggle + +# Swap focus between the tiling area and the floating area +bindsym $mod+space focus mode_toggle + +# move focus to the parent container +bindsym $mod+a focus parent + +# Move the currently focused window to the scratchpad +bindsym $mod+Shift+minus move scratchpad + +# Show the next scratchpad window or hide the focused scratchpad window. +# If there are multiple scratchpad windows, this command cycles through them. +bindsym $mod+minus scratchpad show + +exec waybar -c ~/.config/waybar/config.json +#exec swayidle -w \ +# timeout 300 'swaylock -f -c 000000' \ +# timeout 600 'swaymsg "output * dpms off"' \ +# resume 'swaymsg "output * dpms on"' \ +# before-sleep 'swaylock -e -F -f -c 000000' + +#bindsym $mod+p exec swaylock -i "/usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png" fill +#set $screenshot grim ~/Downloads/scrn-$(date +"%Y-%m-%d-%H-%M-%S").png +#set $screenclip slurp | grim -g - ~/Downloads/scrn-$(date +"%Y-%m-%d-%H-%M-%S").png +set $screenclip grim -g "$(slurp)" - | swappy -f - +set $screenshot grim - | swappy -f - +set $fullscreenshot ~/fullscreenshot.sh + +bindsym $mod+Print exec $screenshot +bindsym $mod+Shift+Print exec $screenclip +bindsym $mod+Ctrl+Print exec $fullscreenshot + + +bindsym XF86AudioPlay exec playerctl play-pause +bindsym XF86AudioNext exec playerctl next +bindsym XF86AudioPrev exec playerctl previous + +gaps inner 12 +gaps outer 5 + +bindsym $mod+Ctrl+e exec wlogout -p layer-shell + + +# Volume controls +bindsym XF86AudioRaiseVolume exec pamixer -i 5 +bindsym XF86AudioLowerVolume exec pamixer -d 5 +bindsym XF86AudioMute exec pamixer -t + +# Music player controls +bindsym XF86AudioPrev exec playerctl stop && playerctl previous && playerctl play +bindsym XF86AudioPlay exec playerctl play-pause || quodlibet --run --play +bindsym XF86AudioNext exec playerctl next && playerctl play diff --git a/.config/sway/env b/.config/sway/env @@ -0,0 +1,6 @@ +VISUAL=nvim +_JAVA_AWT_WM_NONREPARENTING=1 +STUDIO_JDK=/usr/lib/jvm/java-14-openjdk +XKB_DEFAULT_LAYOUT=de +MOZ_ENABLE_WAYLAND=1 +JAVA_HOME=/usr/lib/jvm/default diff --git a/.config/systemd/user/launchpad_sway_controler.service b/.config/systemd/user/launchpad_sway_controler.service @@ -0,0 +1,13 @@ + +[Unit] +Description=Launchpad S macro controlling +#BindsTo=graphical-session.target +#Wants=graphical-session-pre.target +#After=graphical-session-pre.target + +[Service] +WorkingDirectory=/home/marcel/IdeaProjects/LaunchpadSwayControler/ +ExecStart=/usr/bin/cargo run -p launchpad_sway_controler + +[Install] +WantedBy=default.target diff --git a/.config/systemd/user/vnc.service b/.config/systemd/user/vnc.service @@ -0,0 +1,10 @@ +[Unit] +Description=Wayland VNC over yggdrasil +Wants=network-online.target +After=network-online.target + +[Service] +ExecStart=/usr/bin/wayvnc :: + +[Install] +WantedBy=default.target diff --git a/.config/waybar/config.json b/.config/waybar/config.json @@ -0,0 +1,96 @@ +{ + "modules-left": [ + "sway/workspaces" + ], + "modules-right": [ + "custom/pacman", + "custom/df-root", + "custom/df-home", + "pulseaudio", + "custom/mpris-volume", + "clock#date", + "clock#clock" + ], + "sway/workspaces": { + "format": "{name}" + }, + "custom/pacman": { + "format": " {}", + "exec": "~/.config/waybar/modules/pacman.sh", + "interval": "once", + "signal": 7, + "on-click": "swaymsg exec -- alacritty -e bash -c '\"pikaur -Syu; pkill -SIGRTMIN+7 waybar\"'", + "tooltip": false + }, + "custom/df-root": { + "exec": "~/.config/waybar/modules/df.sh /", + "interval": 60, + "format": "<span color='#888'> /</span> {}", + "tooltip": false + }, + "custom/df-home": { + "exec": "~/.config/waybar/modules/df.sh /home", + "interval": 60, + "format": "<span color='#888'> </span> {}", + "tooltip": false + }, + "network": { + "interface": "enp5s0", + "format-ethernet": "", + "format-disconnected": "", + "on-click": "alacritty -e nmtui", + "tooltip": false + }, + "pulseaudio": { + "format": "<span color='#888'>{icon}</span> {volume} %", + "format-bluetooth": "<span color='#888'>{icon} </span> {volume} %", + "format-muted": "<span color='#888'></span>", + "format-icons": { + "headphones": "", + "handsfree": "", + "headset": "", + "phone": "", + "portable": "", + "car": "", + "default": [ + "", + "" + ] + }, + "on-click": "pavucontrol", + "on-scroll-up": "pamixer -i 5", + "on-scroll-down": "pamixer -d 5", + "tooltip": false + }, + "custom/mpris-volume": { + "exec": "playerctl volume | awk '{ printf \"%.f\", $1 * 100 }'", + "interval": 60, + "signal": 10, + "format": "<span color='#888'></span> {} %", + "on-click": "playerctl play-pause", + "on-click-right": "playerctl stop", + "on-scroll-up": "playerctl volume 0.05+; pkill -SIGRTMIN+10 waybar", + "on-scroll-down": "playerctl volume 0.05-; pkill -SIGRTMIN+10 waybar", + "tooltip": false + }, + "clock#date": { + "format": "<span color='#888'></span> {:%d.%m.}", + "tooltip": false + }, + "clock#clock": { + "format": "<span color='#888'></span> {:%H∶%M}", + "tooltip": false + }, + "custom/media": { + "format": "{icon} {}", + "return-type": "json", + "max-length": 40, + "format-icons": { + "spotify": "", + "firefox": "", + "default": "🎜" + }, + "escape": true, + "exec": "python3 $HOME/.config/waybar/modules/mediaplayer.py 2> /dev/null" + } +} diff --git a/.config/waybar/config_rit.json b/.config/waybar/config_rit.json @@ -0,0 +1,92 @@ +{ + "modules-right": [ + "custom/pacman", + "custom/df-root", + "custom/df-home", + "custom/media", + "network", + "pulseaudio", + "custom/mpris-volume", + "clock#date", + "clock#clock" + ], + "custom/pacman": { + "format": " {}", + "exec": "~/.config/waybar/modules/pacman.sh", + "interval": "once", + "signal": 7, + "on-click": "swaymsg exec -- alacritty -e bash -c '\"pikaur -Syu; pkill -SIGRTMIN+7 waybar\"'", + "tooltip": false + }, + "custom/df-root": { + "exec": "~/.config/waybar/modules/df.sh /", + "interval": 60, + "format": "<span color='#888'> /</span> {}", + "tooltip": false + }, + "custom/df-home": { + "exec": "~/.config/waybar/modules/df.sh /home", + "interval": 60, + "format": "<span color='#888'> </span> {}", + "tooltip": false + }, + "network": { + "interface": "enp5s0", + "format-ethernet": "", + "format-disconnected": "", + "on-click": "alacritty -e nmtui", + "tooltip": false + }, + "pulseaudio": { + "format": "<span color='#888'>{icon}</span> {volume} %", + "format-bluetooth": "<span color='#888'>{icon} </span> {volume} %", + "format-muted": "<span color='#888'></span>", + "format-icons": { + "headphones": "", + "handsfree": "", + "headset": "", + "phone": "", + "portable": "", + "car": "", + "default": [ + "", + "" + ] + }, + "on-click": "pavucontrol", + "on-scroll-up": "pamixer -i 5", + "on-scroll-down": "pamixer -d 5", + "tooltip": false + }, + "custom/mpris-volume": { + "exec": "playerctl volume | awk '{ printf \"%.f\", $1 * 100 }'", + "interval": 60, + "signal": 10, + "format": "<span color='#888'></span> {} %", + "on-click": "playerctl play-pause", + "on-click-right": "playerctl stop", + "on-scroll-up": "playerctl volume 0.05+; pkill -SIGRTMIN+10 waybar", + "on-scroll-down": "playerctl volume 0.05-; pkill -SIGRTMIN+10 waybar", + "tooltip": false + }, + "clock#date": { + "format": "<span color='#888'></span> {:%d.%m.}", + "tooltip": false + }, + "clock#clock": { + "format": "<span color='#888'></span> {:%H∶%M}", + "tooltip": false + }, + "custom/media": { + "format": "{icon} {}", + "return-type": "json", + "max-length": 40, + "format-icons": { + "spotify": "", + "firefox": "", + "default": "🎜" + }, + "escape": true, + "exec": "python3 $HOME/.config/waybar/modules/mediaplayer.py 2> /dev/null" + } +} diff --git a/.config/waybar/modules/df.sh b/.config/waybar/modules/df.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# \xe2\x80\x89 is the utf8 representation of \u2009 +df -H --output=avail "$1" \ + | tail -n1 \ + | sed 's/\s*\([0-9.]\+\)\(\w\)\s*/\1\xe2\x80\x89\2/' diff --git a/.config/waybar/modules/mediaplayer.py b/.config/waybar/modules/mediaplayer.py @@ -0,0 +1,127 @@ +#!/usr/bin/env python3 +import argparse +import logging +import sys +import signal +import gi +import json +gi.require_version('Playerctl', '2.0') +from gi.repository import Playerctl, GLib + +logger = logging.getLogger(__name__) + + +def write_output(text, player): + logger.info('Writing output') + + output = {'text': text, + 'class': 'custom-' + player.props.player_name, + 'alt': player.props.player_name} + + sys.stdout.write(json.dumps(output) + '\n') + sys.stdout.flush() + + +def on_play(player, status, manager): + logger.info('Received new playback status') + on_metadata(player, player.props.metadata, manager) + + +def on_metadata(player, metadata, manager): + logger.info('Received new metadata') + track_info = '' + + if player.props.player_name == 'spotify' and \ + 'mpris:trackid' in metadata.keys() and \ + ':ad:' in player.props.metadata['mpris:trackid']: + track_info = 'AD PLAYING' + elif player.get_artist() != '' and player.get_title() != '': + track_info = '{artist} - {title}'.format(artist=player.get_artist(), + title=player.get_title()) + else: + track_info = player.get_title() + + if player.props.status != 'Playing' and track_info: + track_info = ' ' + track_info + write_output(track_info, player) + + +def on_player_appeared(manager, player, selected_player=None): + if player is not None and (selected_player is None or player.name == selected_player): + init_player(manager, player) + else: + logger.debug("New player appeared, but it's not the selected player, skipping") + + +def on_player_vanished(manager, player): + logger.info('Player has vanished') + sys.stdout.write('\n') + sys.stdout.flush() + + +def init_player(manager, name): + logger.debug('Initialize player: {player}'.format(player=name.name)) + player = Playerctl.Player.new_from_name(name) + player.connect('playback-status', on_play, manager) + player.connect('metadata', on_metadata, manager) + manager.manage_player(player) + on_metadata(player, player.props.metadata, manager) + + +def signal_handler(sig, frame): + logger.debug('Received signal to stop, exiting') + sys.stdout.write('\n') + sys.stdout.flush() + # loop.quit() + sys.exit(0) + + +def parse_arguments(): + parser = argparse.ArgumentParser() + + # Increase verbosity with every occurence of -v + parser.add_argument('-v', '--verbose', action='count', default=0) + + # Define for which player we're listening + parser.add_argument('--player') + + return parser.parse_args() + + +def main(): + arguments = parse_arguments() + + # Initialize logging + logging.basicConfig(stream=sys.stderr, level=logging.DEBUG, + format='%(name)s %(levelname)s %(message)s') + + # Logging is set by default to WARN and higher. + # With every occurrence of -v it's lowered by one + logger.setLevel(max((3 - arguments.verbose) * 10, 0)) + + # Log the sent command line arguments + logger.debug('Arguments received {}'.format(vars(arguments))) + + manager = Playerctl.PlayerManager() + loop = GLib.MainLoop() + + manager.connect('name-appeared', lambda *args: on_player_appeared(*args, arguments.player)) + manager.connect('player-vanished', on_player_vanished) + + signal.signal(signal.SIGINT, signal_handler) + signal.signal(signal.SIGTERM, signal_handler) + + for player in manager.props.player_names: + if arguments.player is not None and arguments.player != player.name: + logger.debug('{player} is not the filtered player, skipping it' + .format(player=player.name) + ) + continue + + init_player(manager, player) + + loop.run() + + +if __name__ == '__main__': + main() diff --git a/.config/waybar/modules/network-symbol.sh b/.config/waybar/modules/network-symbol.sh @@ -0,0 +1,12 @@ +#!/bin/bash +(echo start; nmcli monitor) | while read _; do + state=$(LC_ALL=C nmcli -t -f type,state d) + + if grep -Fq 'ethernet:connected' <<< "$state"; then + printf '\uf0c1\nconnected via ethernet\n' + elif grep -Fq 'wifi:connected' <<< "$state"; then + printf '\uf1eb\nconnected via wifi\n' + else + printf '\uf127\ndisconnected\ndisconnected' + fi +done diff --git a/.config/waybar/modules/pacman.sh b/.config/waybar/modules/pacman.sh @@ -0,0 +1,3 @@ +#!/bin/bash +update_count=$(checkupdates | wc -l) +[[ "$update_count" > 0 ]] && echo "$update_count" diff --git a/.config/waybar/style.css b/.config/waybar/style.css @@ -0,0 +1,84 @@ +@define-color green #3c913b; +@define-color yellow #eebf13; +@define-color red #c43030; + +@define-color cyan #159f9e; +@define-color brightred #f53c3c; + +* { + border: none; + border-radius: 0; + font-family: 'Noto Sans'; + font-size: 15px; +} + +window#waybar { + background: rgba(43, 48, 59, 0.8); + color: white; +} + +#workspaces button { + margin: 0 4px; + padding: 3px 5px; + background: transparent; + color: #ccc; + border-bottom: 3px solid #888; +} + +#workspaces button:first-child { + margin-left: 0; +} + +#workspaces button.visible { + border-bottom-color: #bbb; +} + +#workspaces button.focused { + color: white; + border-bottom-color: white; +} + +#workspaces button.urgent { + color: @red; + border-bottom-color: @red; +} + +#workspaces button.urgent.focused { + color: @brightred; + border-bottom-color: @brightred; +} + +#cpu, #memory, #pulseaudio, #clock, #custom-battery, #custom-wifi, #custom-mouse-bat, +#custom-df-root, #custom-df-home, #custom-df-daten, #network, #custom-owncloud, +#custom-mpris-volume, #custom-pacman { + padding: 3px 5px; + margin: 0 4px; + color: #ccc; + border-bottom: 3px solid #aaa; +} + +#pulseaudio.muted, #custom-wifi.disabled, #custom-owncloud.inactive { + color: #888; + border-bottom-color: #888; +} + +#custom-battery.charging, #custom-battery.error, #custom-mouse-bat.charging { + border-bottom-color: white; +} + +#custom-wifi.good-link-q { + border-bottom-color: @green; +} + +#custom-battery.low:not(.charging), #custom-wifi.bad-link-q { + border-bottom-color: @yellow; +} + +#custom-battery.very-low:not(.charging), #network.disconnected, #custom-wifi.disconnected { + color: @red; + border-bottom-color: @red; +} + +#clock.clock { + margin-right: 0; +} diff --git a/.config/wlogout/icons/hibernate.png b/.config/wlogout/icons/hibernate.png Binary files differ. diff --git a/.config/wlogout/icons/lock.png b/.config/wlogout/icons/lock.png Binary files differ. diff --git a/.config/wlogout/icons/logout.png b/.config/wlogout/icons/logout.png Binary files differ. diff --git a/.config/wlogout/icons/reboot.png b/.config/wlogout/icons/reboot.png Binary files differ. diff --git a/.config/wlogout/icons/shutdown.png b/.config/wlogout/icons/shutdown.png Binary files differ. diff --git a/.config/wlogout/icons/suspend.png b/.config/wlogout/icons/suspend.png Binary files differ. diff --git a/.config/wlogout/layout b/.config/wlogout/layout @@ -0,0 +1,23 @@ +{ + "label" : "hibernate", + "action" : "systemctl hibernate", + "text" : "Hibernate", +} +{ + "label" : "logout", + "action" : "loginctl terminate-user $USER", + "text" : "Logout", + "keybind" : "e" +} +{ + "label" : "shutdown", + "action" : "systemctl poweroff", + "text" : "Shutdown", + "keybind" : "s" +} +{ + "label" : "reboot", + "action" : "systemctl reboot", + "text" : "Reboot", + "keybind" : "r" +} diff --git a/.config/wlogout/style.css b/.config/wlogout/style.css @@ -0,0 +1,52 @@ +* { + background-image: none; +} +@keyframes fadeIn { + from {opacity: 0;} + to {opacity: 1;} +} +window { + background-color: rgba(46,52,64, 0.9); + font-size: 26px; + font-family: Product Sans; + animation: fadeIn; + animation-duration: 0.5s; +} +button { + color: #eceff4; + background-color: #4c566a; + border-style: solid; + margin: 20px; + border: 3px solid #3b4252; + background-repeat: no-repeat; + background-position: center; +} + +button:focus, button:active, button:hover { + background-color: #5e81ac; + outline-style: none; +} + +#lock { + background-image: image(url("/home/marcel/.config/wlogout/icons/lock.png"), url("/usr/local/share/wlogout/icons/lock.png")); +} + +#logout { + background-image: image(url("/home/marcel/.config/wlogout/icons/logout.png"), url("/usr/local/share/wlogout/icons/logout.png")); +} + +#suspend { + background-image: image(url("/home/marcel/.config/wlogout/icons/suspend.png"), url("/usr/local/share/wlogout/icons/suspend.png")); +} + +#hibernate { + background-image: image(url("/home/marcel/.config/wlogout/icons/hibernate.png"), url("/usr/local/share/wlogout/icons/hibernate.png")); +} + +#shutdown { + background-image: image(url("/home/marcel/.config/wlogout/icons/shutdown.png"), url("/usr/local/share/wlogout/icons/shutdown.png")); +} + +#reboot { + background-image: image(url("/home/marcel/.config/wlogout/icons/reboot.png"), url("/usr/local/share/wlogout/icons/reboot.png")); +}