update 2023
This commit is contained in:
parent
b3470a8f89
commit
1452f265f5
90
configs/home/.config/bspwm/bspwmrc
Executable file
90
configs/home/.config/bspwm/bspwmrc
Executable file
|
@ -0,0 +1,90 @@
|
|||
#!/bin/sh
|
||||
|
||||
# ┏┓┏┓┏┓┏┓╹┏┓ #
|
||||
# ┏┛┃┃┃┃┃┃ ┗┓ #
|
||||
# ┗┛┗┛┗┛┣┛ ┗┛ #
|
||||
# ┓ #
|
||||
# ┣┓┏┏┓┓┏┏┏┳┓ #
|
||||
# ┗┛┛┣┛┗┻┛┛┗┗ #
|
||||
# ┛ #
|
||||
|
||||
pgrep -x sxhkd > /dev/null || sxhkd &
|
||||
|
||||
# BSPC
|
||||
bspc config focus_follows_pointer true
|
||||
|
||||
bspc monitor DP-1 -d 'I' 'III' 'V' 'VII' 'IX'
|
||||
bspc monitor HDMI-0 -d 'II' 'IV' 'VI' 'VIII'
|
||||
bspc monitor DP-2 -d 'X'
|
||||
|
||||
bspc config border_width 2
|
||||
bspc config normal_border_color "#201134"
|
||||
bspc config focused_border_color "#A44BA0"
|
||||
bspc config window_gap 0
|
||||
|
||||
bspc config split_ratio 0.5
|
||||
|
||||
bspc config borderless_monocle false
|
||||
bspc config gapless_monocle false
|
||||
bspc config single_monocle true
|
||||
|
||||
# Rules
|
||||
bspc rule -a Pavucontrol desktop='IX' &
|
||||
bspc rule -a Galculator state=floating &
|
||||
|
||||
# Vars
|
||||
Scripts="/home/zoey/Documents/Scripts" &&
|
||||
Polybar="/home/zoey/.config/polybar" &&
|
||||
|
||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||
export LIBVA_DRIVER_NAME=vdpau
|
||||
export VDPAU_DRIVER=nvidia
|
||||
export EDITOR=nvim
|
||||
|
||||
# Game Vars
|
||||
export VK_INSTANCE_LAYERS=VK_LAYER_MCOF_device_filter
|
||||
export VK_DEVICE_FILTER=1060
|
||||
export DXVK_FILTER_DEVICE_NAME=1060
|
||||
export VKD3D_VULKAN_DEVICE=1
|
||||
|
||||
export OBS_USE_EGL=1
|
||||
export OBS_VKCAPTURE=1
|
||||
|
||||
# DAC
|
||||
systemctl --user restart wireplumber &&
|
||||
systemctl --user restart pipewire &&
|
||||
$Scripts/b404hd.sh &
|
||||
|
||||
# Autorun
|
||||
|
||||
processes=("polybar" "sxhkd" "pavucontrol" "polkit-dumb-agent" "transmission-daemon")
|
||||
|
||||
for process in "${processes[@]}"; do
|
||||
if pidof -q "$process"; then
|
||||
pkill -9 -x "$process" > /dev/null; sleep 0.1
|
||||
fi
|
||||
done
|
||||
|
||||
#pidof -q polkit-dumb-agent || { /usr/bin/polkit-dumb-agent & }
|
||||
sxhkd -c $HOME/.config/sxhkd/sxhkdrc &
|
||||
xsetroot -cursor_name left_ptr &
|
||||
wmname LG3D &
|
||||
pavucontrol &
|
||||
transmission-daemon -t -p 9069 -a "127.0.0.1" &
|
||||
|
||||
systemctl --user start --now opentabletdriver
|
||||
|
||||
# Scripts
|
||||
/home/zoey/.config/polybar/launch2.sh &
|
||||
|
||||
# Inputs
|
||||
|
||||
EBid=$(xinput list --id-only pointer:"G-SPY USB Gaming Mouse") &&
|
||||
#Zowieid=$(xinput list --id-only pointer:"Kingsis Peripherals ZOWIE Gaming mouse") &&
|
||||
|
||||
xinput --set-prop "${EBid}" 'libinput Accel Profile Enabled' 0, 1 &
|
||||
#xinput --set-prop "${Zowieid}" 'libinput Accel Profile Enabled' 0, 1 &
|
||||
|
||||
xsetwacom set 'Wacom Intuos S 2 Pen stylus' MapToOutput HEAD-0 &
|
||||
xset s off -dpms &
|
||||
setxkbmap -option caps:escape
|
43
configs/home/.config/bspwm/bspwmrcbu
Executable file
43
configs/home/.config/bspwm/bspwmrcbu
Executable file
|
@ -0,0 +1,43 @@
|
|||
#! /bin/sh
|
||||
|
||||
pgrep -x sxhkd > /dev/null || sxhkd &
|
||||
|
||||
bspc config focus_follows_pointer true
|
||||
|
||||
bspc monitor DP-1 -d 'I' 'III' 'V' 'VII' 'IX'
|
||||
bspc monitor HDMI-0 -d 'II' 'IV' 'VI' 'VIII' 'X'
|
||||
#bspc monitor DP-2 -d 'III' 'VI' 'IX'
|
||||
|
||||
bspc config border_width 6
|
||||
bspc config focused_border_color "#cc4738"
|
||||
bspc config window_gap 8 #12
|
||||
|
||||
bspc config split_ratio 0.5
|
||||
|
||||
bspc config borderless_monocle true
|
||||
bspc config gapless_monocle true
|
||||
bspc config single_monocle false
|
||||
|
||||
xrandr --output HDMI-0 --mode 1920x1080 --rate 75 &&
|
||||
nitrogen --restore &
|
||||
/usr/bin/polkit-dumb-agent &
|
||||
sxhkd -c $HOME/.config/sxhkd/sxhkdrc &
|
||||
xsetroot -cursor_name left_ptr &
|
||||
$HOME/.config/polybar/launch2.sh &
|
||||
flameshot &
|
||||
#$HOME/.config/tint2/launch.sh &
|
||||
#wmname LG3D &
|
||||
xsetwacom set 'Wacom Intuos S 2 Pen stylus' MapToOutput HEAD-1 &
|
||||
setxkbmap -option caps:escape &
|
||||
|
||||
|
||||
|
||||
xinput --set-prop 12 'libinput Accel Profile Enabled' 0, 1
|
||||
xinput --set-prop 17 'libinput Accel Profile Enabled' 0, 1
|
||||
|
||||
|
||||
STEAM_APPS=~/.steam/steam/steamapps
|
||||
grep name $STEAM_APPS/appmanifest* | cut -d\" -f4 | while read game; do
|
||||
bspc rule -a "*:*:$game" desktop="^VI" state=fullscreen
|
||||
done
|
||||
|
31
configs/home/.config/nvim/init.lua
Normal file
31
configs/home/.config/nvim/init.lua
Normal file
|
@ -0,0 +1,31 @@
|
|||
vim.g.mapleader = ";"
|
||||
vim.g.maplocalleader = ";"
|
||||
|
||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||
if not vim.loop.fs_stat(lazypath) then
|
||||
vim.fn.system({
|
||||
"git",
|
||||
"clone",
|
||||
"--filter=blob:none",
|
||||
"https://github.com/folke/lazy.nvim.git",
|
||||
"--branch=stable", -- latest stable release
|
||||
lazypath,
|
||||
})
|
||||
end
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
|
||||
local plugins = {
|
||||
"ms-jpq/coq_nvim",
|
||||
"nvim-lua/plenary.nvim",
|
||||
"nvim-telescope/telescope.nvim",
|
||||
"kelly-lin/ranger.nvim",
|
||||
"NTBBloodbath/galaxyline.nvim",
|
||||
"romgrk/barbar.nvim",
|
||||
"yamatsum/nvim-cursorline",
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
"kyazdani42/nvim-web-devicons",
|
||||
}
|
||||
|
||||
require("lazy").setup(plugins, opts)
|
||||
|
||||
|
12
configs/home/.config/nvim/lazy-lock.json
Normal file
12
configs/home/.config/nvim/lazy-lock.json
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"barbar.nvim": { "branch": "master", "commit": "283bceab39f549c5e5228212661750704fcfcd9e" },
|
||||
"coq_nvim": { "branch": "coq", "commit": "8bfc8742f32e30adfc92111ff3ebe53b95e3b271" },
|
||||
"galaxyline.nvim": { "branch": "main", "commit": "4d4f5fc8e20a10824117e5beea7ec6e445466a8f" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "5aaafcb3019e04dd38a011b3d4c8a0f130c422ef" },
|
||||
"nvim-cursorline": { "branch": "main", "commit": "804f0023692653b2b2368462d67d2a87056947f9" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "957f3f8c15a88ef0f0c77ecd13edf2e2578f176e" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "45d0237c427baba8cd05e0ab26d30e2ee58c2c82" },
|
||||
"plenary.nvim": { "branch": "master", "commit": "9ce85b0f7dcfe5358c0be937ad23e456907d410b" },
|
||||
"ranger.nvim": { "branch": "main", "commit": "5df4122f51b8fd07c7cadee9f2134059c93c89c2" },
|
||||
"telescope.nvim": { "branch": "master", "commit": "205f469244916716c49cc2b9026566749425c5ba" }
|
||||
}
|
10
configs/home/.config/nvim/lua/plugins/activate.lua
Normal file
10
configs/home/.config/nvim/lua/plugins/activate.lua
Normal file
|
@ -0,0 +1,10 @@
|
|||
return {
|
||||
"roobert/activate.nvim",
|
||||
keys = {
|
||||
{
|
||||
"<leader>P",
|
||||
'<CMD>lua require("activate").list_plugins()<CR>',
|
||||
desc = "Plugins",
|
||||
},
|
||||
}
|
||||
}
|
4
configs/home/.config/nvim/lua/plugins/telescope.nvim
Normal file
4
configs/home/.config/nvim/lua/plugins/telescope.nvim
Normal file
|
@ -0,0 +1,4 @@
|
|||
return {
|
||||
"nvim-telescope/telescope.nvim",
|
||||
dependencies = { "nvim-lua/plenary.nvim" }
|
||||
}
|
9
configs/home/.config/polybar/Scripts/gmr.sh
Executable file
9
configs/home/.config/polybar/Scripts/gmr.sh
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/sh
|
||||
|
||||
current=$(gamemoded -s)
|
||||
|
||||
if [ "$current" = "gamemode is inactive" ]; then
|
||||
echo "0"
|
||||
else
|
||||
echo "1"
|
||||
fi
|
31
configs/home/.config/polybar/Scripts/peep
Executable file
31
configs/home/.config/polybar/Scripts/peep
Executable file
|
@ -0,0 +1,31 @@
|
|||
#!/bin/dash
|
||||
|
||||
getDefaultSink() {
|
||||
defaultSink=$(pactl info | awk -F : '/Default Sink:/{print $2}')
|
||||
description=$(pactl list sinks | sed -n "/${defaultSink}/,/Description/p; /Description/q" | sed -n 's/^.*Description: \(.*\)$/\1/p')
|
||||
echo "${description}"
|
||||
}
|
||||
|
||||
getDefaultSource() {
|
||||
defaultSource=$(pactl info | awk -F : '/Default Source:/{print $2}')
|
||||
description=$(pactl list sources | sed -n "/${defaultSource}/,/Description/p; /Description/q" | sed -n 's/^.*Description: \(.*\)$/\1/p')
|
||||
echo "${description}"
|
||||
}
|
||||
|
||||
VOLUME=$(pamixer --get-volume-human)
|
||||
SINK=$(getDefaultSink)
|
||||
SOURCE=$(getDefaultSource)
|
||||
|
||||
case $1 in
|
||||
"--up")
|
||||
pamixer --increase 10
|
||||
;;
|
||||
"--down")
|
||||
pamixer --decrease 10
|
||||
;;
|
||||
"--mute")
|
||||
pamixer --toggle-mute
|
||||
;;
|
||||
*)
|
||||
echo "${VOLUME}"
|
||||
esac
|
15
configs/home/.config/polybar/Scripts/pipe.sh
Executable file
15
configs/home/.config/polybar/Scripts/pipe.sh
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/bin/sh
|
||||
|
||||
muted=$(pamixer --get-mute)
|
||||
|
||||
if [ "$muted" = true ]; then
|
||||
echo "--"
|
||||
else
|
||||
volume=$(pamixer --get-volume)
|
||||
|
||||
if [ "$volume" -gt 49 ]; then
|
||||
echo "$volume %"
|
||||
else
|
||||
echo "$volume %"
|
||||
fi
|
||||
fi
|
0
configs/home/config/polybar/checkupdates.sh → configs/home/.config/polybar/checkupdates.sh
Normal file → Executable file
0
configs/home/config/polybar/checkupdates.sh → configs/home/.config/polybar/checkupdates.sh
Normal file → Executable file
462
configs/home/.config/polybar/config.ini
Executable file
462
configs/home/.config/polybar/config.ini
Executable file
|
@ -0,0 +1,462 @@
|
|||
[fonts]
|
||||
opensansreg = DroidSans:Regular:size=7.5
|
||||
opensanssemibold = DroidSans:SemiBold:size=7.5
|
||||
opensansbold = DroidSans:Bold:size=7.5
|
||||
opensansboldhigh = DroidSans:Bold:size=11
|
||||
opensansital = DroidSans:Italic:size=9
|
||||
xos = xos4\ Terminus:size=14;0
|
||||
nerd = TerminessTTF Nerd Font:size=12;0
|
||||
nerdsym = Symbols Nerd Font:size=12
|
||||
|
||||
[colors]
|
||||
light-red = #D95B5B
|
||||
light-green = #249824
|
||||
light-purple = #A44BA0
|
||||
menucol-yellow = #F7F272
|
||||
menucol-blue = #1771F1
|
||||
menucol-orange = #FFAF60
|
||||
menucol-red = #F85C50
|
||||
menucol-green = #77BD8B
|
||||
menucol-sealine = #00CF91
|
||||
menucol-purple = #9A76B3
|
||||
menucol-pink = #FF77BF
|
||||
menucol-deepblue = #6560FF
|
||||
menucol-lightblue = #60FFF7
|
||||
menucol-peagreen = #30C154
|
||||
menucol-eth = #ADD8E6
|
||||
orangebby = #ddcc4738
|
||||
fav-purple = #6633FF
|
||||
uwu-purple = #000B1E
|
||||
uwutp-purple = #dd000B1E
|
||||
blackbaby = #dd0f0f0f
|
||||
dark = #111
|
||||
dark-red = #311
|
||||
dark-green = #131
|
||||
dark-purple = #201134
|
||||
light = #eee
|
||||
gray = #999
|
||||
dark-gray = #333
|
||||
|
||||
mainbg = #000000
|
||||
oldmainbg = #212121
|
||||
|
||||
[bar/main]
|
||||
|
||||
enable-ipc = true
|
||||
override-redirect = false
|
||||
monitor = ${env:MONITOR:DP-1}
|
||||
|
||||
|
||||
fixed-center = true
|
||||
bottom = false
|
||||
width = 5%
|
||||
height = 20px
|
||||
offset-y = 0 ;+5
|
||||
offset-x = 0 ;+8
|
||||
padding = 0
|
||||
|
||||
background = ${colors.mainbg}
|
||||
foreground = ${colors.light}
|
||||
|
||||
line-color = ${colors.light-purple}
|
||||
line-size = 3
|
||||
|
||||
;separator = " | "
|
||||
|
||||
;List of fonts
|
||||
font-0 = ${fonts.opensansreg}
|
||||
font-1 = ${fonts.opensanssemibold}
|
||||
font-2 = ${fonts.opensansbold}
|
||||
font-3 = ${fonts.opensansital}
|
||||
font-4 = ${fonts.xos}
|
||||
font-5 = ${fonts.nerd}
|
||||
font-6 = ${fonts.opensansboldhigh}
|
||||
|
||||
wm-restack = bspwm
|
||||
|
||||
modules-left = bspwm
|
||||
;modules-center = mediaplayer media
|
||||
;modules-right = layout memory memoryswap cpu popup-calendar pulse
|
||||
|
||||
[bar/main2]
|
||||
enable-ipc = true
|
||||
override-redirect = false
|
||||
monitor = ${env:MONITOR:DP-1}
|
||||
|
||||
|
||||
background = ${colors.mainbg}
|
||||
foreground = ${colors.light}
|
||||
line-color = ${colors.light-purple}
|
||||
line-size = 3
|
||||
|
||||
font-0 = ${fonts.opensansreg}
|
||||
font-1 = ${fonts.opensanssemibold}
|
||||
font-2 = ${fonts.opensansbold}
|
||||
font-3 = ${fonts.opensansital}
|
||||
font-4 = ${fonts.xos}
|
||||
font-5 = ${fonts.nerd}
|
||||
font-6 = ${fonts.opensansboldhigh}
|
||||
|
||||
wm-restack = bspwm
|
||||
bottom = false
|
||||
width = 65.5%
|
||||
height = 20px
|
||||
offset-y = 0 ;+5
|
||||
offset-x = 6%
|
||||
padding = 0
|
||||
fixed-center = true
|
||||
|
||||
modules-left = weatherriihi weatherjbc
|
||||
modules-center = mediaplayer media
|
||||
modules-right = nvidiatemps
|
||||
|
||||
|
||||
[bar/main3]
|
||||
enable-ipc = true
|
||||
override-redirect = false
|
||||
monitor = ${env:MONITOR:DP-1}
|
||||
|
||||
background = ${colors.mainbg}
|
||||
foreground = ${colors.light}
|
||||
line-color = ${colors.light-purple}
|
||||
line-size = 3
|
||||
|
||||
font-0 = ${fonts.opensansreg}
|
||||
font-1 = ${fonts.opensanssemibold}
|
||||
font-2 = ${fonts.opensansbold}
|
||||
font-3 = ${fonts.opensansital}
|
||||
font-4 = ${fonts.xos}
|
||||
font-5 = ${fonts.nerd}
|
||||
font-6 = ${fonts.opensansboldhigh}
|
||||
|
||||
wm-restack = bspwm
|
||||
bottom = false
|
||||
width = 20.5%
|
||||
height = 20px
|
||||
offset-y = 0 ;+5
|
||||
offset-x = 72%
|
||||
padding = 0
|
||||
fixed-center = true
|
||||
|
||||
tray-position = right
|
||||
tray-padding = 5
|
||||
tray-offset-x = 130
|
||||
tray-offset-y = 0
|
||||
tray-detached = true
|
||||
|
||||
modules-left =
|
||||
modules-center =
|
||||
modules-right = gmr updates layout memory memoryswap cpu popup-calendar
|
||||
|
||||
|
||||
[bar/secondary]
|
||||
monitor = ${env:MONITOR:HDMI-0}
|
||||
enable-ipc = true
|
||||
override-redirect = false
|
||||
|
||||
bottom = false
|
||||
width = 5%
|
||||
height = 20px
|
||||
offset-y = 0 ;+5
|
||||
offset-x = 0 ;+8
|
||||
|
||||
background = ${colors.mainbg}
|
||||
foreground = ${colors.light}
|
||||
line-color = ${colors.light-purple}
|
||||
line-size = 3
|
||||
|
||||
;separator = " | "
|
||||
|
||||
;List of fonts
|
||||
font-0 = ${fonts.opensansreg}
|
||||
font-1 = ${fonts.opensanssemibold}
|
||||
font-2 = ${fonts.opensansbold}
|
||||
font-3 = ${fonts.opensansital}
|
||||
font-4 = ${fonts.xos}
|
||||
font-5 = ${fonts.nerd}
|
||||
font-6 = ${fonts.opensansboldhigh}
|
||||
|
||||
wm-restack = bspwm
|
||||
;tray-position = right
|
||||
|
||||
|
||||
modules-left = bspwm
|
||||
modules-center =
|
||||
modules-right =
|
||||
|
||||
|
||||
[bar/third]
|
||||
monitor = ${env:MONITOR:DP-2}
|
||||
enable-ipc = true
|
||||
override-redirect = false
|
||||
|
||||
bottom = false
|
||||
width = 100%
|
||||
height = 20px
|
||||
|
||||
background = ${colors.blackbaby}
|
||||
foreground = ${colors.light}
|
||||
|
||||
line-color = ${colors.light-purple}
|
||||
line-size = 3
|
||||
|
||||
;separator = " | "
|
||||
|
||||
;List of fonts
|
||||
font-0 = ${fonts.opensansreg}
|
||||
font-1 = ${fonts.opensanssemibold}
|
||||
font-2 = ${fonts.opensansbold}
|
||||
font-3 = ${fonts.opensansital}
|
||||
font-4 = ${fonts.xos}
|
||||
font-5 = ${fonts.nerd}
|
||||
font-6 = ${fonts.opensansboldhigh}
|
||||
|
||||
wm-restack = bspwm
|
||||
tray-position = left
|
||||
|
||||
|
||||
modules-left = bspwm
|
||||
modules-center =
|
||||
modules-right =
|
||||
|
||||
;weather
|
||||
[module/weatherjbc]
|
||||
type = custom/script
|
||||
format = <label>
|
||||
format-padding = 2
|
||||
exec = ~/.config/polybar/weatherjbc.sh
|
||||
interval = 600
|
||||
label-font = 3
|
||||
|
||||
;format-underline = ${colors.menucol-blue}
|
||||
format-foreground = ${colors.menucol-white}
|
||||
|
||||
[module/weatherriihi]
|
||||
type = custom/script
|
||||
format = <label>
|
||||
format-padding = 2
|
||||
exec = ~/.config/polybar/weatherriihi.sh
|
||||
interval = 600
|
||||
label-font = 3
|
||||
|
||||
;format-underline = ${colors.menucol-blue}
|
||||
format-foreground = ${colors.menucol-white}
|
||||
|
||||
;nvidiatemps
|
||||
[module/nvidiatemps]
|
||||
type = custom/script
|
||||
format = <label>
|
||||
format-padding = 2
|
||||
exec = ~/Documents/Scripts/nvidiatemps.sh
|
||||
interval = 4
|
||||
label-font = 3
|
||||
|
||||
|
||||
;Date correction
|
||||
[module/date]
|
||||
type = internal/date
|
||||
|
||||
time = %H:%M
|
||||
date = %A, %B %d
|
||||
date-alt = %A, %B %d, %Y
|
||||
time-alt = %H:%M:%S
|
||||
|
||||
format-prefix = " "
|
||||
format-suffix = " "
|
||||
format-padding = 2
|
||||
format-underline = ${colors.menucol-orange}
|
||||
format-foreground = ${colors.menucol-orange}
|
||||
interval = 20
|
||||
|
||||
label = %date%, %time%
|
||||
label-font = 2
|
||||
label-foreground = ${colors.light}
|
||||
|
||||
;Checkupdates
|
||||
[module/updates]
|
||||
type = custom/script
|
||||
format = <label>
|
||||
exec = checkupdates | wc -l
|
||||
;tail = true
|
||||
interval = 600
|
||||
label-font = 3
|
||||
label-foreground = ${colors.light}
|
||||
label-layout-foreground = ${colors.light}
|
||||
click-left = st -e yay
|
||||
|
||||
format-padding = 2
|
||||
format-prefix = " "
|
||||
format-suffix = " "
|
||||
format-foreground = ${colors.menucol-peagreen}
|
||||
format-underline = ${colors.menucol-peagreen}
|
||||
|
||||
|
||||
;Workspaces
|
||||
[module/bspwm]
|
||||
type = internal/bspwm
|
||||
|
||||
pin-workspaces = true
|
||||
;strip-wsnumbers = true
|
||||
index-sort = true
|
||||
|
||||
format = <label-state> <label-mode>
|
||||
|
||||
label-dimmed-underline = ${colors.background}
|
||||
|
||||
;On editing mode (resize for ex)
|
||||
label-mode = %mode%
|
||||
label-mode-background = ${colors.dark-purple}
|
||||
label-mode-underline = ${colors.fav-purple}
|
||||
label-mode-padding = 2
|
||||
label-mode-font = 3
|
||||
|
||||
; the %name% were %index%
|
||||
label-focused = %name%
|
||||
label-focused-background = ${colors.dark-purple}
|
||||
label-focused-underline = ${colors.light-purple}
|
||||
label-focused-padding = 3
|
||||
label-focused-font = 3
|
||||
|
||||
label-unfocused = %name%
|
||||
label-unfocused-foreground = ${colors.gray}
|
||||
label-unfocused-padding = 4
|
||||
label-unfocused-font = 3
|
||||
|
||||
label-visible = %name%
|
||||
label-visible-background = ${colors.dark-purple}
|
||||
label-visible-underline = ${colors.light-purple}
|
||||
label-visible-padding = 4
|
||||
label-visible-font = 3
|
||||
|
||||
label-urgent = %name%
|
||||
label-urgent-background = ${colors.dark-red}
|
||||
label-urgent-underline = ${colors.light-red}
|
||||
label-urgent-padding = 4
|
||||
label-urgent-font = 3
|
||||
|
||||
|
||||
|
||||
;Media Player
|
||||
[module/mediaplayer]
|
||||
type = custom/script
|
||||
format = <label>
|
||||
format-padding = 2
|
||||
exec = ~/.config/polybar/player.sh
|
||||
exec-if = playerctl status
|
||||
interval = 0.5
|
||||
label-font = 3
|
||||
click-middle = playerctl play-pause
|
||||
|
||||
format-underline = ${colors.menucol-blue}
|
||||
format-foreground = ${colors.menucol-blue}
|
||||
|
||||
[module/popup-calendar]
|
||||
type = custom/script
|
||||
exec = ~/.config/polybar/popup-calendar.sh
|
||||
label-font = 3
|
||||
label-foreground = ${colors.light}
|
||||
format-prefix = " "
|
||||
format-suffix = " "
|
||||
format-padding = 2
|
||||
format-underline = ${colors.menucol-orange}
|
||||
format-foreground = ${colors.menucol-orange}
|
||||
interval = 5
|
||||
click-left = ~/.config/polybar/popup-calendar.sh --popup &
|
||||
|
||||
[module/gmr]
|
||||
type = custom/script
|
||||
exec = ~/.config/polybar/Scripts/gmr.sh
|
||||
#tail = true
|
||||
interval = 15
|
||||
format = <label>
|
||||
format-prefix = " "
|
||||
format-suffix = " "
|
||||
format-underline = ${colors.uwutp-purple}
|
||||
label-font = 3
|
||||
format-padding = 2
|
||||
|
||||
[module/pipewire-simple]
|
||||
type = custom/script
|
||||
exec = ~/.config/polybar/Scripts/pipe.sh
|
||||
interval = 3
|
||||
click-right = exec pavucontrol &
|
||||
click-left = ~/.config/polybar/Scripts/pipe.sh --mute &
|
||||
scroll-up = ~/.config/polybar/Scripts/pipe.sh --up &
|
||||
scroll-down = ~/.config/polybar/Scripts/pipe.sh --down &
|
||||
|
||||
[module/pulse]
|
||||
type = internal/pulseaudio
|
||||
use-ui-max = true
|
||||
interval = 5
|
||||
click-middle = pulsemixer --toggle-mute
|
||||
|
||||
format-prefix = " "
|
||||
format-suffix = " "
|
||||
format-underline = ${colors.menucol-blue}
|
||||
format-foreground = ${colors.menucol-blue}
|
||||
format-padding = 3
|
||||
label-font = 3
|
||||
label-foreground = ${colors.light}
|
||||
label-layout-foreground = ${colors.light}
|
||||
|
||||
;Keyboard Layout
|
||||
[module/layout]
|
||||
type = internal/xkeyboard
|
||||
blacklist-0 = num lock
|
||||
blacklist-1 = caps lock
|
||||
blacklist-2 = scroll lock
|
||||
|
||||
format-prefix = " "
|
||||
format-suffix = " "
|
||||
format-underline = ${colors.menucol-blue}
|
||||
format-foreground = ${colors.menucol-blue}
|
||||
format-padding = 3
|
||||
|
||||
label-layout = %layout%
|
||||
label-layout-font = 2
|
||||
label-layout-foreground = ${colors.light}
|
||||
|
||||
|
||||
[module/cpu]
|
||||
type = internal/cpu
|
||||
interval = 3
|
||||
format = <label>%
|
||||
format-padding = 2
|
||||
format-underline = ${colors.menucol-red}
|
||||
|
||||
format-prefix = " "
|
||||
format-suffix = " "
|
||||
format-prefix-foreground = ${colors.menucol-red}
|
||||
|
||||
label = " %percentage%"
|
||||
label-font = 3
|
||||
|
||||
|
||||
[module/memory]
|
||||
type = internal/memory
|
||||
interval = 3
|
||||
format = <label>
|
||||
format-padding = 2
|
||||
format-underline = ${colors.menucol-purple}
|
||||
|
||||
format-prefix = " "
|
||||
format-suffix = " "
|
||||
format-prefix-foreground = ${colors.menucol-purple}
|
||||
|
||||
label = " %gb_used%"
|
||||
label-font = 3
|
||||
|
||||
|
||||
[module/memoryswap]
|
||||
type = internal/memory
|
||||
interval = 3
|
||||
format = <label>
|
||||
format-padding = 2
|
||||
format-underline = ${colors.menucol-pink}
|
||||
|
||||
format-prefix = " "
|
||||
format-suffix = " "
|
||||
format-prefix-foreground = ${colors.menucol-pink}
|
||||
|
||||
label = " %gb_swap_used%"
|
||||
label-font = 3
|
0
configs/home/config/polybar/configuwu → configs/home/.config/polybar/configuwu
Normal file → Executable file
0
configs/home/config/polybar/configuwu → configs/home/.config/polybar/configuwu
Normal file → Executable file
1
configs/home/.config/polybar/cpuper.sh
Executable file
1
configs/home/.config/polybar/cpuper.sh
Executable file
|
@ -0,0 +1 @@
|
|||
echo ""$[100-$(vmstat 1 2|tail -1|awk '{print $15}')]"%"
|
2
configs/home/config/polybar/eth.sh → configs/home/.config/polybar/eth.sh
Normal file → Executable file
2
configs/home/config/polybar/eth.sh → configs/home/.config/polybar/eth.sh
Normal file → Executable file
|
@ -1,3 +1,3 @@
|
|||
#!bin/dash
|
||||
#!bin/sh
|
||||
|
||||
curl -s https://api.coinbase.com/v2/prices/ETH-EUR/spot | sed -n 's|.*"amount":"\([^"]*\)".*|\1|p'
|
0
configs/home/config/polybar/ethprice → configs/home/.config/polybar/ethprice
Normal file → Executable file
0
configs/home/config/polybar/ethprice → configs/home/.config/polybar/ethprice
Normal file → Executable file
0
configs/home/config/polybar/kblocks.py → configs/home/.config/polybar/kblocks.py
Normal file → Executable file
0
configs/home/config/polybar/kblocks.py → configs/home/.config/polybar/kblocks.py
Normal file → Executable file
2
configs/home/config/polybar/launch.sh → configs/home/.config/polybar/launch.sh
Normal file → Executable file
2
configs/home/config/polybar/launch.sh → configs/home/.config/polybar/launch.sh
Normal file → Executable file
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
|
||||
# Terminate already running bar instances
|
||||
killall -q i3bar
|
16
configs/home/.config/polybar/launch2.sh
Executable file
16
configs/home/.config/polybar/launch2.sh
Executable file
|
@ -0,0 +1,16 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Terminate already running bar instances
|
||||
killall -q polybar
|
||||
|
||||
# Wait until the processes have been shut down
|
||||
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
|
||||
|
||||
# Launch Polybar, using default config location ~/.config/polybar/config
|
||||
polybar main &
|
||||
polybar main2 &
|
||||
polybar main3 &
|
||||
polybar secondary #&
|
||||
#polybar third
|
||||
|
||||
echo "Polybar launched..."
|
Before Width: | Height: | Size: 498 KiB After Width: | Height: | Size: 498 KiB |
Before Width: | Height: | Size: 536 KiB After Width: | Height: | Size: 536 KiB |
Before Width: | Height: | Size: 1,001 KiB After Width: | Height: | Size: 1,001 KiB |
0
configs/home/config/polybar/player.py → configs/home/.config/polybar/player.py
Normal file → Executable file
0
configs/home/config/polybar/player.py → configs/home/.config/polybar/player.py
Normal file → Executable file
0
configs/home/config/polybar/player.sh → configs/home/.config/polybar/player.sh
Normal file → Executable file
0
configs/home/config/polybar/player.sh → configs/home/.config/polybar/player.sh
Normal file → Executable file
0
configs/home/config/polybar/popup-calendar.sh → configs/home/.config/polybar/popup-calendar.sh
Normal file → Executable file
0
configs/home/config/polybar/popup-calendar.sh → configs/home/.config/polybar/popup-calendar.sh
Normal file → Executable file
0
configs/home/config/polybar/updates-aur.sh → configs/home/.config/polybar/updates-aur.sh
Normal file → Executable file
0
configs/home/config/polybar/updates-aur.sh → configs/home/.config/polybar/updates-aur.sh
Normal file → Executable file
0
configs/home/config/polybar/updates-aurpac.sh → configs/home/.config/polybar/updates-aurpac.sh
Normal file → Executable file
0
configs/home/config/polybar/updates-aurpac.sh → configs/home/.config/polybar/updates-aurpac.sh
Normal file → Executable file
4
configs/home/.config/polybar/weatherjbc.sh
Executable file
4
configs/home/.config/polybar/weatherjbc.sh
Executable file
|
@ -0,0 +1,4 @@
|
|||
REAL=$(weather-Cli get Jablonec nad Nisou Czechia | grep "Real*" | cut -c 13-)
|
||||
TEMP=$(weather-Cli get Jablonec nad Nisou Czechia | grep "Temp*" | cut -c 15-)
|
||||
|
||||
echo "Z: "$TEMP "|" "f: "$REAL
|
5
configs/home/.config/polybar/weatherriihi.sh
Executable file
5
configs/home/.config/polybar/weatherriihi.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
REAL=$(weather-Cli get Riihimaki Finland | grep "Real*" | cut -c 13-)
|
||||
TEMP=$(weather-Cli get Riihimaki Finland | grep "Temp*" | cut -c 15-)
|
||||
|
||||
echo "J: "$TEMP "|" "f: "$REAL
|
||||
|
|
@ -114,7 +114,7 @@ set preview_images true
|
|||
# Preview images in full color with the external command "ueberzug".
|
||||
# Images are shown by using a child window.
|
||||
# Only for users who run X11 in GNU/Linux.
|
||||
set preview_images_method w3m
|
||||
set preview_images_method kitty
|
||||
|
||||
# Delay in seconds before displaying an image with the w3m method.
|
||||
# Increase it in case of experiencing display corruption.
|
||||
|
@ -164,7 +164,7 @@ set draw_progress_bar_in_status_bar true
|
|||
# Separators are vertical lines between columns.
|
||||
# Outline draws a box around all the columns.
|
||||
# Both combines the two.
|
||||
set draw_borders none
|
||||
set draw_borders false
|
||||
|
||||
# Display the directory name in tabs?
|
||||
set dirname_in_tabs false
|
1
configs/home/.config/rofi/config.rasi
Normal file
1
configs/home/.config/rofi/config.rasi
Normal file
|
@ -0,0 +1 @@
|
|||
@theme "/home/zoey/.local/share/rofi/themes/tokyonight.rasi"
|
88
configs/home/config/sxhkd/sxhkdrc → configs/home/.config/sxhkd/sxhkdrc
Normal file → Executable file
88
configs/home/config/sxhkd/sxhkdrc → configs/home/.config/sxhkd/sxhkdrc
Normal file → Executable file
|
@ -4,39 +4,86 @@
|
|||
|
||||
# terminal emulator
|
||||
super + Return
|
||||
st
|
||||
|
||||
# st
|
||||
super + backslash
|
||||
kitty
|
||||
|
||||
# region screenshot
|
||||
#ctrl + shift + 4
|
||||
# maim -s -u | xclip -selection clipboard -t image/png
|
||||
# Maim / Flameshot
|
||||
|
||||
ctrl + shift + 4
|
||||
escrotum -s -C
|
||||
super + shift + s
|
||||
# flameshot gui --clipboard --accept-on-select
|
||||
maim -s | xclip -selection clipboard -t image/png
|
||||
|
||||
# Screenshot to folder
|
||||
super + F12
|
||||
maim --window $(xdotool getactivewindow) /home/zoey/Pictures/MAIM/$(date +%s).png
|
||||
|
||||
# thunar
|
||||
super + shift + t
|
||||
thunar
|
||||
# jerry
|
||||
super + shift + v
|
||||
st -e jerry
|
||||
|
||||
# furryfox
|
||||
super + shift + f
|
||||
firefox
|
||||
# ranger
|
||||
super + alt + t
|
||||
st -e ranger
|
||||
|
||||
super + shift + w
|
||||
echo "AtF7w%dFtwaF2TxfAUrGsKa4z&5dB" | xclip -sel c
|
||||
|
||||
# F keys
|
||||
super + F1
|
||||
blender
|
||||
super + F2
|
||||
godot
|
||||
super + F3
|
||||
otd applypreset art && krita
|
||||
super + F4
|
||||
otd applypreset art && aseprite
|
||||
|
||||
super + F8
|
||||
otd applypreset osu && osu-lazer
|
||||
|
||||
|
||||
#qutebrowser
|
||||
super + v
|
||||
qutebrowser
|
||||
|
||||
# brave
|
||||
super + b
|
||||
brave --disable-features=UseSkiaRenderer --use-gl=desktop --enable-gpu-rasterization --ignore-gpu-blocklist --enable-zero-copy --enable-features=VaapiVideoDecoder --disable-gpu-driver-bug-workarounds
|
||||
waterfox
|
||||
|
||||
# discord
|
||||
super + shift + d
|
||||
discord --enable-gpu-rasterization --enable-features=VaapiVideoDecoder --ignore-gpu-blocklist --enable-zero-copy
|
||||
# colour picker
|
||||
super + alt + c
|
||||
xcolor -s
|
||||
|
||||
#yuzu + update
|
||||
super + shift + r
|
||||
/home/zoey/Documents/Scripts/latestyuzupull.sh && gamemoderun /home/zoey/AppImages/Linux-Yuzu*.AppImage
|
||||
#yuzu
|
||||
super + r
|
||||
gamemoderun /home/zoey/AppImages/Linux-Yuzu*.AppImage
|
||||
#grbr
|
||||
super + shift + g
|
||||
chmod +x /home/zoey/AppImages/Grabber*.AppImage && /home/zoey/AppImages/Grabber*.AppImage
|
||||
|
||||
super + shift + f
|
||||
mpv /home/zoey/Pictures/Random/Grabber/
|
||||
|
||||
#resize 16:9
|
||||
super + n
|
||||
bash /home/zoey/Documents/Scripts/169resizeBSPWM.sh
|
||||
|
||||
# xkill
|
||||
super + x
|
||||
xkill
|
||||
|
||||
# program launcher
|
||||
# rofi
|
||||
super + @space
|
||||
rofi -show drun
|
||||
#dmenu_run
|
||||
|
||||
# make sxhkd reload its configuration files:
|
||||
super + shift + {c}
|
||||
|
@ -44,8 +91,11 @@ super + shift + {c}
|
|||
|
||||
# keyboard layout
|
||||
alt + space
|
||||
/mnt/Usagichan/Scripts/keyboardlayout.sh
|
||||
/home/zoey/Documents/Scripts/keyboardlayout.sh
|
||||
|
||||
# rocksmith 100 and 150
|
||||
super + shift + {KP_Add,KP_Subtract}
|
||||
pulsemixer --id sink-60 --set-volume {150,100}
|
||||
|
||||
# Volume media keys (amixer pkg alsa-utils)
|
||||
|
||||
|
@ -86,13 +136,14 @@ super + y
|
|||
super + g
|
||||
bspc node -s biggest.window
|
||||
|
||||
|
||||
#
|
||||
# state/flags
|
||||
#
|
||||
|
||||
# set the window state
|
||||
super + {t,shift + t,s,f}
|
||||
bspc node -t {tiled,pseudo_tiled,floating,fullscreen}
|
||||
super + {t,s,f}
|
||||
bspc node -t {tiled,floating,fullscreen}
|
||||
|
||||
# set the node flags
|
||||
super + ctrl + {m,x,y,z}
|
||||
|
@ -141,7 +192,7 @@ super + {_,shift + }{1-9}
|
|||
#
|
||||
|
||||
# preselect the direction
|
||||
super + ctrl + {h,j,k,l}
|
||||
super + ctrl + {Left,Down,Up,Right}
|
||||
bspc node -p {west,south,north,east}
|
||||
|
||||
# preselect the ratio
|
||||
|
@ -172,7 +223,6 @@ super + alt + {Left,Down,Up,Right}
|
|||
super + alt + shift + {h,j,k,l}
|
||||
bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
|
||||
|
||||
|
||||
# contract a window by moving one of its side inward
|
||||
super + alt + shift + {Left,Down,Up,Right}
|
||||
bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
|
104
configs/home/.zshrc
Executable file
104
configs/home/.zshrc
Executable file
|
@ -0,0 +1,104 @@
|
|||
HISTFILE=~/.zshist
|
||||
HISTSIZE=1000
|
||||
SAVEHIST=5000
|
||||
|
||||
export EDITOR=nvim
|
||||
export LIBVA_DRIVER_NAME=vdpau
|
||||
export VDPAU_DRIVER=nvidia
|
||||
EBOOKS="/mnt/Pyon/E-Books/"
|
||||
|
||||
|
||||
###autocomplete
|
||||
#source ~/Documents/Scripts/zsh/zsh-autocomplete/zsh-autocomplete.plugin.zsh
|
||||
###autosuggestions
|
||||
source ~/Documents/Scripts/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||
|
||||
unsetopt autocd beep
|
||||
zstyle :compinstall filename '/home/zoey/.zshrc'
|
||||
#autoload -Uz compinit && compinit
|
||||
zstyle ':completion:*' menu select
|
||||
tput smkx
|
||||
|
||||
# history
|
||||
autoload -Uz up-line-or-beginning-search down-line-or-beginning-search
|
||||
zle -N up-line-or-beginning-search
|
||||
zle -N down-line-or-beginning-search
|
||||
|
||||
[[ -n "${key[Up]}" ]] && bindkey -- "${key[Up]}" up-line-or-beginning-search
|
||||
[[ -n "${key[Down]}" ]] && bindkey -- "${key[Down]}" down-line-or-beginning-search
|
||||
|
||||
#bindkey -v
|
||||
bindkey "^[[2~" overwrite-mode # Ins
|
||||
bindkey "^[[3~" delete-char # Del
|
||||
bindkey "^[[5~" beginning-of-history #PageUp
|
||||
bindkey "^[[6~" end-of-history #PageDown
|
||||
|
||||
### ctrl+arrows
|
||||
bindkey "\e[1;5C" forward-word
|
||||
bindkey "\e[1;5D" backward-word
|
||||
|
||||
### ctrl+delete
|
||||
bindkey "\e[3;5~" kill-word
|
||||
|
||||
### ctrl+backspace
|
||||
bindkey '^H' backward-kill-word
|
||||
|
||||
# random
|
||||
|
||||
################# LOOKS #####################
|
||||
|
||||
# prompt
|
||||
autoload -Uz promptinit && promptinit
|
||||
|
||||
PROMPT='🐰%F{204}%n%f%F{161}@%f%m %F{096}%~%f %F{204}🌺%f '
|
||||
|
||||
################ ALIASES ####################
|
||||
|
||||
# ssh
|
||||
alias lappy='ssh zoopy@192.168.0.56'
|
||||
alias janedoe='ssh jane\ doe@192.168.122.47'
|
||||
|
||||
# QEMU
|
||||
alias screamloop='sh ~/Documents/Scripts/screamloop.sh'
|
||||
|
||||
alias attachm='sudo sh ~/Documents/Scripts/attachmain.sh'
|
||||
alias attachs='sudo sh ~/Documents/Scripts/attachsecondary.sh'
|
||||
|
||||
alias govp='sudo sh ~/Documents/Scripts/perfgov.sh'
|
||||
alias govs='sudo sh ~/Documents/Scripts/schedutilgov.sh'
|
||||
alias govo='sudo sh ~/Documents/Scripts/ondemandgov.sh'
|
||||
|
||||
# Open Tablet Driver
|
||||
alias otdo='otd applypreset osu'
|
||||
alias otdar='otd applypreset Artist'
|
||||
alias otdab='otd applypreset Absolute'
|
||||
|
||||
# random
|
||||
alias animemovies='cd /mnt/Pyon/Videos/Anime\ Movies/ && ls'
|
||||
alias anime='cd /mnt/Pyon/Videos/Anime && ls'
|
||||
alias movies='cd /mnt/Pyon/Videos/Movies && ls'
|
||||
alias cw='cd /home/zoey/Documents/Current\ Work'
|
||||
alias piperestart='systemctl --user restart --now pipewire-media-session.service'
|
||||
alias sb='cd ~/Documents/Sawabot/ && sh Sawabot.sh'
|
||||
#alias mkdaughter='sudo mkinitcpio -p linux -- --uefi /boot/EFI/Linux/daughter.efi'
|
||||
alias mkdaughterzen='sudo mkinitcpio -p linux-zen -- --uefi /boot/EFI/Baby/daughter-zen.efi'
|
||||
alias mergeassets='sh Documents/Scripts/mergeassets.sh'
|
||||
|
||||
alias main75='xrandr --output HDMI-0 --mode 1920x1080 --rate 75'
|
||||
alias main60='xrandr --output HDMI-0 --mode 1920x1080 --rate 60'
|
||||
|
||||
alias rs='cd /mnt/Usagichan/Games/Steam/SteamLibrary/steamapps/common/Rocksmith2014/ && PIPEWIRE_LATENCY="256/48000" DXVK_FILTER_DEVICE_NAME="1060" WINEPREFIX=/mnt/Usagichan/Games/Steam/SteamLibrary/steamapps/compatdata/221680/pfx/ /home/zoey/.steam/steam/compatibilitytools.d/GE-Proton7-38/files/bin/wine /mnt/Usagichan/Games/Steam/SteamLibrary/steamapps/common/Rocksmith2014/Rocksmith2014.exe'
|
||||
|
||||
alias xlog='more /var/log/Xorg.0.log'
|
||||
|
||||
alias grabber='chmod +x /home/zoey/AppImages/Grabber*.AppImage && /home/zoey/AppImages/Grabber*.AppImage'
|
||||
alias grb='mv --backup=t /home/zoey/Pictures/Random/Grabber /home/zoey/Pictures/Random/GR'
|
||||
|
||||
alias dockerstream='sudo docker run -d -p 1935:1935 --name nginx-rtmp tiangolo/nginx-rtmp'
|
||||
alias dockerstreamstop='sudo docker stop nginx-rtmp && sudo docker rm nginx-rtmp'
|
||||
|
||||
alias transd='transmission-daemon -t -u zoey -v uwu -p 9069 -a "127.0.0.1"'
|
||||
|
||||
alias drp='echo 1 | sudo tee /proc/sys/vm/drop_caches'
|
||||
|
||||
alias zoopmando='sh /mnt/Angie/FactorioServer/zoopmando.sh'
|
|
@ -1,6 +0,0 @@
|
|||
Section "InputClass"
|
||||
Identifier "Default Pointer (libinput)"
|
||||
MatchDriver "libinput"
|
||||
MatchIsPointer "on"
|
||||
Option "AccelSpeed" "0"
|
||||
EndSection
|
|
@ -1,35 +0,0 @@
|
|||
#! /bin/sh
|
||||
|
||||
pgrep -x sxhkd > /dev/null || sxhkd &
|
||||
|
||||
bspc config focus_follows_pointer true
|
||||
|
||||
bspc monitor HDMI-0 -d 'I' 'IV' 'VII'
|
||||
bspc monitor DP-1 -d 'II' 'V' 'VIII'
|
||||
bspc monitor DP-2 -d 'III' 'VI' 'IX'
|
||||
|
||||
bspc config border_width 6
|
||||
bspc config focused_border_color "#cc4738"
|
||||
bspc config window_gap 8 #12
|
||||
|
||||
bspc config split_ratio 0.5
|
||||
|
||||
bspc config borderless_monocle true
|
||||
bspc config gapless_monocle true
|
||||
bspc config single_monocle false
|
||||
|
||||
bspc rule -a Gimp desktop=^8
|
||||
bspc rule -a virt-manager desktop=^7
|
||||
bspc rule -a lazarus state=floating
|
||||
bspc rule -a Lazarus state=floating
|
||||
bspc rule -a android-studio state=floating border=off follow=on
|
||||
|
||||
picom -b -f &
|
||||
nitrogen --restore &
|
||||
/usr/bin/polkit-dumb-agent &
|
||||
sxhkd -c $HOME/.config/sxhkd/sxhkdrc &
|
||||
xsetroot -cursor_name left_ptr &
|
||||
$HOME/.config/polybar/launch.sh &
|
||||
wmname LG3D &
|
||||
setxkbmap -option caps:swapescape &
|
||||
sudo sh /home/zoey/Documents/vendorreset.sh
|
|
@ -1,5 +0,0 @@
|
|||
--ignore-gpu-blocklist
|
||||
--enable-gpu-rasterization
|
||||
--enable-zero-copy
|
||||
--enable-features=VaapiVideoDecoder
|
||||
--use-gl=desktop
|
|
@ -1,3 +0,0 @@
|
|||
feh -B black \
|
||||
-Z \
|
||||
-.
|
|
@ -1,7 +0,0 @@
|
|||
foreground #0ABDC6
|
||||
#background #000B1E
|
||||
cursor #eab9e0
|
||||
background #0d0d0d
|
||||
color2 #d300c4
|
||||
color10 #d300c4
|
||||
|
|
@ -1,425 +0,0 @@
|
|||
#################################
|
||||
# Corners #
|
||||
#################################
|
||||
# requires: https://github.com/sdhand/compton
|
||||
corner-radius = 6;
|
||||
rounded-corners-exclude = [
|
||||
#"window_type = 'normal'",
|
||||
"class_g = 'Polybar'",
|
||||
"class_g = 'Dunst'",
|
||||
"window_type = 'tooltip'"
|
||||
];
|
||||
round-borders = 5;
|
||||
round-borders-exclude = [];
|
||||
|
||||
#################################
|
||||
# Shadows #
|
||||
#################################
|
||||
|
||||
# Enabled client-side shadows on windows. Note desktop windows
|
||||
# (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow,
|
||||
# unless explicitly requested using the wintypes option.
|
||||
#
|
||||
# shadow = false
|
||||
shadow = true;
|
||||
|
||||
# The blur radius for shadows, in pixels. (defaults to 12)
|
||||
# shadow-radius = 12
|
||||
shadow-radius = 12;
|
||||
|
||||
# The opacity of shadows. (0.0 - 1.0, defaults to 0.75)
|
||||
shadow-opacity = 0.4
|
||||
|
||||
# The left offset for shadows, in pixels. (defaults to -15)
|
||||
# shadow-offset-x = -15
|
||||
shadow-offset-x = -5;
|
||||
|
||||
# The top offset for shadows, in pixels. (defaults to -15)
|
||||
# shadow-offset-y = -15
|
||||
shadow-offset-y = -5;
|
||||
|
||||
# Red color value of shadow (0.0 - 1.0, defaults to 0).
|
||||
# shadow-red = 0
|
||||
|
||||
# Green color value of shadow (0.0 - 1.0, defaults to 0).
|
||||
# shadow-green = 0
|
||||
|
||||
# Blue color value of shadow (0.0 - 1.0, defaults to 0).
|
||||
# shadow-blue = 0
|
||||
|
||||
|
||||
# Hex string color value of shadow (#000000 - #FFFFFF, defaults to #000000). This option will override options set shadow-(red/green/blue)
|
||||
shadow-color = "#000000"
|
||||
|
||||
# Specify a list of conditions of windows that should have no shadow.
|
||||
#
|
||||
# examples:
|
||||
# shadow-exclude = "n:e:Notification";
|
||||
#
|
||||
# shadow-exclude = []
|
||||
shadow-exclude = [];
|
||||
|
||||
# Specify a list of conditions of windows that should have no shadow painted over, such as a dock window.
|
||||
# clip-shadow-above = []
|
||||
|
||||
# Specify a X geometry that describes the region in which shadow should not
|
||||
# be painted in, such as a dock window region. Use
|
||||
# shadow-exclude-reg = "x10+0+0"
|
||||
# for example, if the 10 pixels on the bottom of the screen should not have shadows painted on.
|
||||
#
|
||||
# shadow-exclude-reg = ""
|
||||
|
||||
# Crop shadow of a window fully on a particular Xinerama screen to the screen.
|
||||
# xinerama-shadow-crop = false
|
||||
|
||||
#################################
|
||||
# Fading #
|
||||
#################################
|
||||
|
||||
|
||||
# Fade windows in/out when opening/closing and when opacity changes,
|
||||
# unless no-fading-openclose is used.
|
||||
# fading = false
|
||||
fading = false;
|
||||
|
||||
# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028)
|
||||
# fade-in-step = 0.028
|
||||
##fade-in-step = 0.03;
|
||||
|
||||
# Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03)
|
||||
# fade-out-step = 0.03
|
||||
##fade-out-step = 0.03;
|
||||
|
||||
# The time between steps in fade step, in milliseconds. (> 0, defaults to 10)
|
||||
##fade-delta = 5
|
||||
|
||||
# Specify a list of conditions of windows that should not be faded.
|
||||
# don't need this, we disable fading for all normal windows with wintypes: {}
|
||||
##fade-exclude = [];
|
||||
|
||||
# Do not fade on window open/close.
|
||||
#no-fading-openclose = true
|
||||
|
||||
# Do not fade destroyed ARGB windows with WM frame. Workaround of bugs in Openbox, Fluxbox, etc.
|
||||
#no-fading-destroyed-argb = true
|
||||
|
||||
|
||||
#################################
|
||||
# Transparency / Opacity #
|
||||
#################################
|
||||
|
||||
|
||||
# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
|
||||
# inactive-opacity = 1
|
||||
inactive-opacity = 1.0;
|
||||
|
||||
# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
|
||||
# frame-opacity = 1.0
|
||||
#frame-opacity = 0.7;
|
||||
|
||||
# Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0)
|
||||
# menu-opacity = 1.0
|
||||
|
||||
# inactive-opacity-override = true
|
||||
inactive-opacity-override = false;
|
||||
|
||||
# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
|
||||
active-opacity = 1.0
|
||||
|
||||
# Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
|
||||
# inactive-dim = 0.0
|
||||
|
||||
# Specify a list of conditions of windows that should always be considered focused.
|
||||
focus-exclude = [
|
||||
"class_g = 'zoom'"
|
||||
];
|
||||
|
||||
# Use fixed inactive dim value, instead of adjusting according to window opacity.
|
||||
# inactive-dim-fixed = 1.0
|
||||
|
||||
# Specify a list of opacity rules, in the format `PERCENT:PATTERN`,
|
||||
# like `50:name *= "Firefox"`. picom-trans is recommended over this.
|
||||
# Note we don't make any guarantee about possible conflicts with other
|
||||
# programs that set '_NET_WM_WINDOW_OPACITY' on frame or client windows.
|
||||
# example:
|
||||
# opacity-rule = [ "80:class_g = 'URxvt'" ];
|
||||
#
|
||||
opacity-rule = [
|
||||
"80:class_g = 'i3lock'",
|
||||
"90:class_g = 'Alacritty'",
|
||||
"90:class_g = 'kitty'",
|
||||
"80:class_g = 'yad'"
|
||||
];
|
||||
|
||||
|
||||
#################################
|
||||
# Background-Blurring #
|
||||
#################################
|
||||
|
||||
|
||||
# Parameters for background blurring, see the *BLUR* section for more information.
|
||||
# blur-method =
|
||||
# blur-size = 12
|
||||
#
|
||||
# blur-deviation = false
|
||||
|
||||
# Blur background of semi-transparent / ARGB windows.
|
||||
# Bad in performance, with driver-dependent behavior.
|
||||
# The name of the switch may change without prior notifications.
|
||||
#
|
||||
# blur-background = true;
|
||||
|
||||
# Blur background of windows when the window frame is not opaque.
|
||||
# Implies:
|
||||
# blur-background
|
||||
# Bad in performance, with driver-dependent behavior. The name may change.
|
||||
#
|
||||
# blur-background-frame = false;
|
||||
|
||||
|
||||
# Use fixed blur strength rather than adjusting according to window opacity.
|
||||
# blur-background-fixed = false;
|
||||
|
||||
|
||||
blur: {
|
||||
method = "kawase";
|
||||
kern = "11x11gaussian";
|
||||
strength = 5;
|
||||
background = false;
|
||||
background-frame = false;
|
||||
background-fixed = false;
|
||||
}
|
||||
|
||||
blur-background-exclude = [
|
||||
#"!focused",
|
||||
"class_g = 'slop'",
|
||||
"class_g = 'Dunst'",
|
||||
"class_g = 'Escrotum'",
|
||||
"_GTK_FRAME_EXTENTS@:c"
|
||||
];
|
||||
|
||||
|
||||
#################################
|
||||
# General Settings #
|
||||
#################################
|
||||
|
||||
# Daemonize process. Fork to background after initialization. Causes issues with certain (badly-written) drivers.
|
||||
# daemon = false
|
||||
|
||||
# Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`.
|
||||
# `xrender` is the default one.
|
||||
#
|
||||
#experimental-backends = true;
|
||||
backend = "glx";
|
||||
#backend = "xrender";
|
||||
|
||||
|
||||
# Enable/disable VSync.
|
||||
# vsync = false
|
||||
vsync = true;
|
||||
#dbe = false
|
||||
|
||||
# Enable remote control via D-Bus. See the *D-BUS API* section below for more details.
|
||||
# dbus = false
|
||||
|
||||
# Try to detect WM windows (a non-override-redirect window with no
|
||||
# child that has 'WM_STATE') and mark them as active.
|
||||
#
|
||||
# mark-wmwin-focused = false
|
||||
mark-wmwin-focused = true;
|
||||
|
||||
# Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused.
|
||||
# mark-ovredir-focused = false
|
||||
mark-ovredir-focused = true;
|
||||
|
||||
# Try to detect windows with rounded corners and don't consider them
|
||||
# shaped windows. The accuracy is not very high, unfortunately.
|
||||
#
|
||||
# detect-rounded-corners = false
|
||||
detect-rounded-corners = true;
|
||||
|
||||
# Detect '_NET_WM_OPACITY' on client windows, useful for window managers
|
||||
# not passing '_NET_WM_OPACITY' of client windows to frame windows.
|
||||
#
|
||||
# detect-client-opacity = false
|
||||
detect-client-opacity = true;
|
||||
|
||||
# Specify refresh rate of the screen. If not specified or 0, picom will
|
||||
# try detecting this with X RandR extension.
|
||||
#
|
||||
# refresh-rate = 60
|
||||
refresh-rate = 60
|
||||
|
||||
# Limit picom to repaint at most once every 1 / 'refresh_rate' second to
|
||||
# boost performance. This should not be used with
|
||||
# vsync drm/opengl/opengl-oml
|
||||
# as they essentially does sw-opti's job already,
|
||||
# unless you wish to specify a lower refresh rate than the actual value.
|
||||
#
|
||||
sw-opti = true;
|
||||
|
||||
# Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window,
|
||||
# rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy,
|
||||
# provided that the WM supports it.
|
||||
#
|
||||
use-ewmh-active-win = true
|
||||
|
||||
# Unredirect all windows if a full-screen opaque window is detected,
|
||||
# to maximize performance for full-screen windows. Known to cause flickering
|
||||
# when redirecting/unredirecting windows. paint-on-overlay may make the flickering less obvious.
|
||||
#
|
||||
unredir-if-possible = false
|
||||
|
||||
# Delay before unredirecting the window, in milliseconds. Defaults to 0.
|
||||
# unredir-if-possible-delay = 0
|
||||
|
||||
# Conditions of windows that shouldn't be considered full-screen for unredirecting screen.
|
||||
# unredir-if-possible-exclude = []
|
||||
|
||||
# Use 'WM_TRANSIENT_FOR' to group windows, and consider windows
|
||||
# in the same group focused at the same time.
|
||||
#
|
||||
# detect-transient = false
|
||||
detect-transient = true
|
||||
|
||||
# Use 'WM_CLIENT_LEADER' to group windows, and consider windows in the same
|
||||
# group focused at the same time. 'WM_TRANSIENT_FOR' has higher priority if
|
||||
# detect-transient is enabled, too.
|
||||
#
|
||||
# detect-client-leader = false
|
||||
detect-client-leader = true
|
||||
|
||||
# Resize damaged region by a specific number of pixels.
|
||||
# A positive value enlarges it while a negative one shrinks it.
|
||||
# If the value is positive, those additional pixels will not be actually painted
|
||||
# to screen, only used in blur calculation, and such. (Due to technical limitations,
|
||||
# with use-damage, those pixels will still be incorrectly painted to screen.)
|
||||
# Primarily used to fix the line corruption issues of blur,
|
||||
# in which case you should use the blur radius value here
|
||||
# (e.g. with a 3x3 kernel, you should use `--resize-damage 1`,
|
||||
# with a 5x5 one you use `--resize-damage 2`, and so on).
|
||||
# May or may not work with *--glx-no-stencil*. Shrinking doesn't function correctly.
|
||||
#
|
||||
# resize-damage = 1
|
||||
|
||||
# Specify a list of conditions of windows that should be painted with inverted color.
|
||||
# Resource-hogging, and is not well tested.
|
||||
#
|
||||
# invert-color-include = []
|
||||
|
||||
# GLX backend: Avoid using stencil buffer, useful if you don't have a stencil buffer.
|
||||
# Might cause incorrect opacity when rendering transparent content (but never
|
||||
# practically happened) and may not work with blur-background.
|
||||
# My tests show a 15% performance boost. Recommended.
|
||||
#
|
||||
glx-no-stencil = true
|
||||
|
||||
# GLX backend: Avoid rebinding pixmap on window damage.
|
||||
# Probably could improve performance on rapid window content changes,
|
||||
# but is known to break things on some drivers (LLVMpipe, xf86-video-intel, etc.).
|
||||
# Recommended if it works.
|
||||
#
|
||||
# glx-no-rebind-pixmap = false
|
||||
|
||||
# Disable the use of damage information.
|
||||
# This cause the whole screen to be redrawn everytime, instead of the part of the screen
|
||||
# has actually changed. Potentially degrades the performance, but might fix some artifacts.
|
||||
# The opposing option is use-damage
|
||||
#
|
||||
# no-use-damage = false
|
||||
use-damage = true
|
||||
|
||||
# Use X Sync fence to sync clients' draw calls, to make sure all draw
|
||||
# calls are finished before picom starts drawing. Needed on nvidia-drivers
|
||||
# with GLX backend for some users.
|
||||
#
|
||||
# xrender-sync-fence = false
|
||||
|
||||
# GLX backend: Use specified GLSL fragment shader for rendering window contents.
|
||||
# See `compton-default-fshader-win.glsl` and `compton-fake-transparency-fshader-win.glsl`
|
||||
# in the source tree for examples.
|
||||
#
|
||||
# glx-fshader-win = ''
|
||||
|
||||
# Force all windows to be painted with blending. Useful if you
|
||||
# have a glx-fshader-win that could turn opaque pixels transparent.
|
||||
#
|
||||
# force-win-blend = false
|
||||
|
||||
# Do not use EWMH to detect fullscreen windows.
|
||||
# Reverts to checking if a window is fullscreen based only on its size and coordinates.
|
||||
#
|
||||
# no-ewmh-fullscreen = false
|
||||
|
||||
# Dimming bright windows so their brightness doesn't exceed this set value.
|
||||
# Brightness of a window is estimated by averaging all pixels in the window,
|
||||
# so this could comes with a performance hit.
|
||||
# Setting this to 1.0 disables this behaviour. Requires --use-damage to be disabled. (default: 1.0)
|
||||
#
|
||||
# max-brightness = 1.0
|
||||
|
||||
# Make transparent windows clip other windows like non-transparent windows do,
|
||||
# instead of blending on top of them.
|
||||
#
|
||||
# transparent-clipping = false
|
||||
|
||||
# Set the log level. Possible values are:
|
||||
# "trace", "debug", "info", "warn", "error"
|
||||
# in increasing level of importance. Case doesn't matter.
|
||||
# If using the "TRACE" log level, it's better to log into a file
|
||||
# using *--log-file*, since it can generate a huge stream of logs.
|
||||
#
|
||||
# log-level = "debug"
|
||||
log-level = "info";
|
||||
|
||||
# Set the log file.
|
||||
# If *--log-file* is never specified, logs will be written to stderr.
|
||||
# Otherwise, logs will to written to the given file, though some of the early
|
||||
# logs might still be written to the stderr.
|
||||
# When setting this option from the config file, it is recommended to use an absolute path.
|
||||
#
|
||||
# log-file = '/path/to/your/log/file'
|
||||
|
||||
# Show all X errors (for debugging)
|
||||
# show-all-xerrors = false
|
||||
|
||||
# Write process ID to a file.
|
||||
# write-pid-path = '/path/to/your/log/file'
|
||||
|
||||
# Window type settings
|
||||
#
|
||||
# 'WINDOW_TYPE' is one of the 15 window types defined in EWMH standard:
|
||||
# "unknown", "desktop", "dock", "toolbar", "menu", "utility",
|
||||
# "splash", "dialog", "normal", "dropdown_menu", "popup_menu",
|
||||
# "tooltip", "notification", "combo", and "dnd".
|
||||
#
|
||||
# Following per window-type options are available: ::
|
||||
#
|
||||
# fade, shadow:::
|
||||
# Controls window-type-specific shadow and fade settings.
|
||||
#
|
||||
# opacity:::
|
||||
# Controls default opacity of the window type.
|
||||
#
|
||||
# focus:::
|
||||
# Controls whether the window of this type is to be always considered focused.
|
||||
# (By default, all window types except "normal" and "dialog" has this on.)
|
||||
#
|
||||
# full-shadow:::
|
||||
# Controls whether shadow is drawn under the parts of the window that you
|
||||
# normally won't be able to see. Useful when the window has parts of it
|
||||
# transparent, and you want shadows in those areas.
|
||||
#
|
||||
# redir-ignore:::
|
||||
# Controls whether this type of windows should cause screen to become
|
||||
# redirected again after been unredirected. If you have unredir-if-possible
|
||||
# set, and doesn't want certain window to cause unnecessary screen redirection,
|
||||
# you can set this to `true`.
|
||||
#
|
||||
wintypes:
|
||||
{
|
||||
tooltip = { fade = false; shadow = false; opacity = 0.75; focus = true; full-shadow = false; };
|
||||
tooltip = { fade = false; shadow = false; opacity = 0.75; focus = true; full-shadow = false; };
|
||||
popup_menu = { opacity = 0.8; }
|
||||
dropdown_menu = { opacity = 0.8; }
|
||||
};
|
|
@ -1,674 +0,0 @@
|
|||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU General Public License is a free, copyleft license for
|
||||
software and other kinds of works.
|
||||
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
the GNU General Public License is intended to guarantee your freedom to
|
||||
share and change all versions of a program--to make sure it remains free
|
||||
software for all its users. We, the Free Software Foundation, use the
|
||||
GNU General Public License for most of our software; it applies also to
|
||||
any other work released this way by its authors. You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
them if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs, and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to prevent others from denying you
|
||||
these rights or asking you to surrender the rights. Therefore, you have
|
||||
certain responsibilities if you distribute copies of the software, or if
|
||||
you modify it: responsibilities to respect the freedom of others.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must pass on to the recipients the same
|
||||
freedoms that you received. You must make sure that they, too, receive
|
||||
or can get the source code. And you must show them these terms so they
|
||||
know their rights.
|
||||
|
||||
Developers that use the GNU GPL protect your rights with two steps:
|
||||
(1) assert copyright on the software, and (2) offer you this License
|
||||
giving you legal permission to copy, distribute and/or modify it.
|
||||
|
||||
For the developers' and authors' protection, the GPL clearly explains
|
||||
that there is no warranty for this free software. For both users' and
|
||||
authors' sake, the GPL requires that modified versions be marked as
|
||||
changed, so that their problems will not be attributed erroneously to
|
||||
authors of previous versions.
|
||||
|
||||
Some devices are designed to deny users access to install or run
|
||||
modified versions of the software inside them, although the manufacturer
|
||||
can do so. This is fundamentally incompatible with the aim of
|
||||
protecting users' freedom to change the software. The systematic
|
||||
pattern of such abuse occurs in the area of products for individuals to
|
||||
use, which is precisely where it is most unacceptable. Therefore, we
|
||||
have designed this version of the GPL to prohibit the practice for those
|
||||
products. If such problems arise substantially in other domains, we
|
||||
stand ready to extend this provision to those domains in future versions
|
||||
of the GPL, as needed to protect the freedom of users.
|
||||
|
||||
Finally, every program is threatened constantly by software patents.
|
||||
States should not allow patents to restrict development and use of
|
||||
software on general-purpose computers, but in those that do, we wish to
|
||||
avoid the special danger that patents applied to a free program could
|
||||
make it effectively proprietary. To prevent this, the GPL assures that
|
||||
patents cannot be used to render the program non-free.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||
works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this
|
||||
License. Each licensee is addressed as "you". "Licensees" and
|
||||
"recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work
|
||||
in a fashion requiring copyright permission, other than the making of an
|
||||
exact copy. The resulting work is called a "modified version" of the
|
||||
earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based
|
||||
on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other
|
||||
parties to make or receive copies. Mere interaction with a user through
|
||||
a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices"
|
||||
to the extent that it includes a convenient and prominently visible
|
||||
feature that (1) displays an appropriate copyright notice, and (2)
|
||||
tells the user that there is no warranty for the work (except to the
|
||||
extent that warranties are provided), that licensees may convey the
|
||||
work under this License, and how to view a copy of this License. If
|
||||
the interface presents a list of user commands or options, such as a
|
||||
menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work
|
||||
for making modifications to it. "Object code" means any non-source
|
||||
form of a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official
|
||||
standard defined by a recognized standards body, or, in the case of
|
||||
interfaces specified for a particular programming language, one that
|
||||
is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other
|
||||
than the work as a whole, that (a) is included in the normal form of
|
||||
packaging a Major Component, but which is not part of that Major
|
||||
Component, and (b) serves only to enable use of the work with that
|
||||
Major Component, or to implement a Standard Interface for which an
|
||||
implementation is available to the public in source code form. A
|
||||
"Major Component", in this context, means a major essential component
|
||||
(kernel, window system, and so on) of the specific operating system
|
||||
(if any) on which the executable work runs, or a compiler used to
|
||||
produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all
|
||||
the source code needed to generate, install, and (for an executable
|
||||
work) run the object code and to modify the work, including scripts to
|
||||
control those activities. However, it does not include the work's
|
||||
System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but
|
||||
which are not part of the work. For example, Corresponding Source
|
||||
includes interface definition files associated with source files for
|
||||
the work, and the source code for shared libraries and dynamically
|
||||
linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those
|
||||
subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users
|
||||
can regenerate automatically from other parts of the Corresponding
|
||||
Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that
|
||||
same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of
|
||||
copyright on the Program, and are irrevocable provided the stated
|
||||
conditions are met. This License explicitly affirms your unlimited
|
||||
permission to run the unmodified Program. The output from running a
|
||||
covered work is covered by this License only if the output, given its
|
||||
content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not
|
||||
convey, without conditions so long as your license otherwise remains
|
||||
in force. You may convey covered works to others for the sole purpose
|
||||
of having them make modifications exclusively for you, or provide you
|
||||
with facilities for running those works, provided that you comply with
|
||||
the terms of this License in conveying all material for which you do
|
||||
not control copyright. Those thus making or running the covered works
|
||||
for you must do so exclusively on your behalf, under your direction
|
||||
and control, on terms that prohibit them from making any copies of
|
||||
your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under
|
||||
the conditions stated below. Sublicensing is not allowed; section 10
|
||||
makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological
|
||||
measure under any applicable law fulfilling obligations under article
|
||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||
similar laws prohibiting or restricting circumvention of such
|
||||
measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid
|
||||
circumvention of technological measures to the extent such circumvention
|
||||
is effected by exercising rights under this License with respect to
|
||||
the covered work, and you disclaim any intention to limit operation or
|
||||
modification of the work as a means of enforcing, against the work's
|
||||
users, your or third parties' legal rights to forbid circumvention of
|
||||
technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you
|
||||
receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice;
|
||||
keep intact all notices stating that this License and any
|
||||
non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all
|
||||
recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey,
|
||||
and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to
|
||||
produce it from the Program, in the form of source code under the
|
||||
terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.
|
||||
|
||||
b) The work must carry prominent notices stating that it is
|
||||
released under this License and any conditions added under section
|
||||
7. This requirement modifies the requirement in section 4 to
|
||||
"keep intact all notices".
|
||||
|
||||
c) You must license the entire work, as a whole, under this
|
||||
License to anyone who comes into possession of a copy. This
|
||||
License will therefore apply, along with any applicable section 7
|
||||
additional terms, to the whole of the work, and all its parts,
|
||||
regardless of how they are packaged. This License gives no
|
||||
permission to license the work in any other way, but it does not
|
||||
invalidate such permission if you have separately received it.
|
||||
|
||||
d) If the work has interactive user interfaces, each must display
|
||||
Appropriate Legal Notices; however, if the Program has interactive
|
||||
interfaces that do not display Appropriate Legal Notices, your
|
||||
work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent
|
||||
works, which are not by their nature extensions of the covered work,
|
||||
and which are not combined with it such as to form a larger program,
|
||||
in or on a volume of a storage or distribution medium, is called an
|
||||
"aggregate" if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation's users
|
||||
beyond what the individual works permit. Inclusion of a covered work
|
||||
in an aggregate does not cause this License to apply to the other
|
||||
parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms
|
||||
of sections 4 and 5, provided that you also convey the
|
||||
machine-readable Corresponding Source under the terms of this License,
|
||||
in one of these ways:
|
||||
|
||||
a) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by the
|
||||
Corresponding Source fixed on a durable physical medium
|
||||
customarily used for software interchange.
|
||||
|
||||
b) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by a
|
||||
written offer, valid for at least three years and valid for as
|
||||
long as you offer spare parts or customer support for that product
|
||||
model, to give anyone who possesses the object code either (1) a
|
||||
copy of the Corresponding Source for all the software in the
|
||||
product that is covered by this License, on a durable physical
|
||||
medium customarily used for software interchange, for a price no
|
||||
more than your reasonable cost of physically performing this
|
||||
conveying of source, or (2) access to copy the
|
||||
Corresponding Source from a network server at no charge.
|
||||
|
||||
c) Convey individual copies of the object code with a copy of the
|
||||
written offer to provide the Corresponding Source. This
|
||||
alternative is allowed only occasionally and noncommercially, and
|
||||
only if you received the object code with such an offer, in accord
|
||||
with subsection 6b.
|
||||
|
||||
d) Convey the object code by offering access from a designated
|
||||
place (gratis or for a charge), and offer equivalent access to the
|
||||
Corresponding Source in the same way through the same place at no
|
||||
further charge. You need not require recipients to copy the
|
||||
Corresponding Source along with the object code. If the place to
|
||||
copy the object code is a network server, the Corresponding Source
|
||||
may be on a different server (operated by you or a third party)
|
||||
that supports equivalent copying facilities, provided you maintain
|
||||
clear directions next to the object code saying where to find the
|
||||
Corresponding Source. Regardless of what server hosts the
|
||||
Corresponding Source, you remain obligated to ensure that it is
|
||||
available for as long as needed to satisfy these requirements.
|
||||
|
||||
e) Convey the object code using peer-to-peer transmission, provided
|
||||
you inform other peers where the object code and Corresponding
|
||||
Source of the work are being offered to the general public at no
|
||||
charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded
|
||||
from the Corresponding Source as a System Library, need not be
|
||||
included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any
|
||||
tangible personal property which is normally used for personal, family,
|
||||
or household purposes, or (2) anything designed or sold for incorporation
|
||||
into a dwelling. In determining whether a product is a consumer product,
|
||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||
product received by a particular user, "normally used" refers to a
|
||||
typical or common use of that class of product, regardless of the status
|
||||
of the particular user or of the way in which the particular user
|
||||
actually uses, or expects or is expected to use, the product. A product
|
||||
is a consumer product regardless of whether the product has substantial
|
||||
commercial, industrial or non-consumer uses, unless such uses represent
|
||||
the only significant mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods,
|
||||
procedures, authorization keys, or other information required to install
|
||||
and execute modified versions of a covered work in that User Product from
|
||||
a modified version of its Corresponding Source. The information must
|
||||
suffice to ensure that the continued functioning of the modified object
|
||||
code is in no case prevented or interfered with solely because
|
||||
modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or
|
||||
specifically for use in, a User Product, and the conveying occurs as
|
||||
part of a transaction in which the right of possession and use of the
|
||||
User Product is transferred to the recipient in perpetuity or for a
|
||||
fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied
|
||||
by the Installation Information. But this requirement does not apply
|
||||
if neither you nor any third party retains the ability to install
|
||||
modified object code on the User Product (for example, the work has
|
||||
been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or updates
|
||||
for a work that has been modified or installed by the recipient, or for
|
||||
the User Product in which it has been modified or installed. Access to a
|
||||
network may be denied when the modification itself materially and
|
||||
adversely affects the operation of the network or violates the rules and
|
||||
protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided,
|
||||
in accord with this section must be in a format that is publicly
|
||||
documented (and with an implementation available to the public in
|
||||
source code form), and must require no special password or key for
|
||||
unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this
|
||||
License by making exceptions from one or more of its conditions.
|
||||
Additional permissions that are applicable to the entire Program shall
|
||||
be treated as though they were included in this License, to the extent
|
||||
that they are valid under applicable law. If additional permissions
|
||||
apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by
|
||||
this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option
|
||||
remove any additional permissions from that copy, or from any part of
|
||||
it. (Additional permissions may be written to require their own
|
||||
removal in certain cases when you modify the work.) You may place
|
||||
additional permissions on material, added by you to a covered work,
|
||||
for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you
|
||||
add to a covered work, you may (if authorized by the copyright holders of
|
||||
that material) supplement the terms of this License with terms:
|
||||
|
||||
a) Disclaiming warranty or limiting liability differently from the
|
||||
terms of sections 15 and 16 of this License; or
|
||||
|
||||
b) Requiring preservation of specified reasonable legal notices or
|
||||
author attributions in that material or in the Appropriate Legal
|
||||
Notices displayed by works containing it; or
|
||||
|
||||
c) Prohibiting misrepresentation of the origin of that material, or
|
||||
requiring that modified versions of such material be marked in
|
||||
reasonable ways as different from the original version; or
|
||||
|
||||
d) Limiting the use for publicity purposes of names of licensors or
|
||||
authors of the material; or
|
||||
|
||||
e) Declining to grant rights under trademark law for use of some
|
||||
trade names, trademarks, or service marks; or
|
||||
|
||||
f) Requiring indemnification of licensors and authors of that
|
||||
material by anyone who conveys the material (or modified versions of
|
||||
it) with contractual assumptions of liability to the recipient, for
|
||||
any liability that these contractual assumptions directly impose on
|
||||
those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further
|
||||
restrictions" within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is
|
||||
governed by this License along with a term that is a further
|
||||
restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this
|
||||
License, you may add to a covered work material governed by the terms
|
||||
of that license document, provided that the further restriction does
|
||||
not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you
|
||||
must place, in the relevant source files, a statement of the
|
||||
additional terms that apply to those files, or a notice indicating
|
||||
where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the
|
||||
form of a separately written license, or stated as exceptions;
|
||||
the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly
|
||||
provided under this License. Any attempt otherwise to propagate or
|
||||
modify it is void, and will automatically terminate your rights under
|
||||
this License (including any patent licenses granted under the third
|
||||
paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your
|
||||
license from a particular copyright holder is reinstated (a)
|
||||
provisionally, unless and until the copyright holder explicitly and
|
||||
finally terminates your license, and (b) permanently, if the copyright
|
||||
holder fails to notify you of the violation by some reasonable means
|
||||
prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, you do not qualify to receive new licenses for the same
|
||||
material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or
|
||||
run a copy of the Program. Ancillary propagation of a covered work
|
||||
occurring solely as a consequence of using peer-to-peer transmission
|
||||
to receive a copy likewise does not require acceptance. However,
|
||||
nothing other than this License grants you permission to propagate or
|
||||
modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a
|
||||
covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically
|
||||
receives a license from the original licensors, to run, modify and
|
||||
propagate that work, subject to this License. You are not responsible
|
||||
for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an
|
||||
organization, or substantially all assets of one, or subdividing an
|
||||
organization, or merging organizations. If propagation of a covered
|
||||
work results from an entity transaction, each party to that
|
||||
transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party's predecessor in interest had or could
|
||||
give under the previous paragraph, plus a right to possession of the
|
||||
Corresponding Source of the work from the predecessor in interest, if
|
||||
the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the
|
||||
rights granted or affirmed under this License. For example, you may
|
||||
not impose a license fee, royalty, or other charge for exercise of
|
||||
rights granted under this License, and you may not initiate litigation
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for
|
||||
sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this
|
||||
License of the Program or a work on which the Program is based. The
|
||||
work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims
|
||||
owned or controlled by the contributor, whether already acquired or
|
||||
hereafter acquired, that would be infringed by some manner, permitted
|
||||
by this License, of making, using, or selling its contributor version,
|
||||
but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For
|
||||
purposes of this definition, "control" includes the right to grant
|
||||
patent sublicenses in a manner consistent with the requirements of
|
||||
this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||
patent license under the contributor's essential patent claims, to
|
||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||
propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express
|
||||
agreement or commitment, however denominated, not to enforce a patent
|
||||
(such as an express permission to practice a patent or covenant not to
|
||||
sue for patent infringement). To "grant" such a patent license to a
|
||||
party means to make such an agreement or commitment not to enforce a
|
||||
patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license,
|
||||
and the Corresponding Source of the work is not available for anyone
|
||||
to copy, free of charge and under the terms of this License, through a
|
||||
publicly available network server or other readily accessible means,
|
||||
then you must either (1) cause the Corresponding Source to be so
|
||||
available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner
|
||||
consistent with the requirements of this License, to extend the patent
|
||||
license to downstream recipients. "Knowingly relying" means you have
|
||||
actual knowledge that, but for the patent license, your conveying the
|
||||
covered work in a country, or your recipient's use of the covered work
|
||||
in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or
|
||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||
covered work, and grant a patent license to some of the parties
|
||||
receiving the covered work authorizing them to use, propagate, modify
|
||||
or convey a specific copy of the covered work, then the patent license
|
||||
you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within
|
||||
the scope of its coverage, prohibits the exercise of, or is
|
||||
conditioned on the non-exercise of one or more of the rights that are
|
||||
specifically granted under this License. You may not convey a covered
|
||||
work if you are a party to an arrangement with a third party that is
|
||||
in the business of distributing software, under which you make payment
|
||||
to the third party based on the extent of your activity of conveying
|
||||
the work, and under which the third party grants, to any of the
|
||||
parties who would receive the covered work from you, a discriminatory
|
||||
patent license (a) in connection with copies of the covered work
|
||||
conveyed by you (or copies made from those copies), or (b) primarily
|
||||
for and in connection with specific products or compilations that
|
||||
contain the covered work, unless you entered into that arrangement,
|
||||
or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting
|
||||
any implied license or other defenses to infringement that may
|
||||
otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot convey a
|
||||
covered work so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you may
|
||||
not convey it at all. For example, if you agree to terms that obligate you
|
||||
to collect a royalty for further conveying from those to whom you convey
|
||||
the Program, the only way you could satisfy both those terms and this
|
||||
License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Use with the GNU Affero General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU Affero General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the special requirements of the GNU Affero General Public License,
|
||||
section 13, concerning interaction through a network will apply to the
|
||||
combination as such.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of
|
||||
the GNU General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Program specifies that a certain numbered version of the GNU General
|
||||
Public License "or any later version" applies to it, you have the
|
||||
option of following the terms and conditions either of that numbered
|
||||
version or of any later version published by the Free Software
|
||||
Foundation. If the Program does not specify a version number of the
|
||||
GNU General Public License, you may choose any version ever published
|
||||
by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future
|
||||
versions of the GNU General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, your program's commands
|
||||
might be different; for a GUI interface, you would use an "about box".
|
||||
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU GPL, see
|
||||
<https://www.gnu.org/licenses/>.
|
||||
|
||||
The GNU General Public License does not permit incorporating your program
|
||||
into proprietary programs. If your program is a subroutine library, you
|
||||
may consider it more useful to permit linking proprietary applications with
|
||||
the library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License. But first, please read
|
||||
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
|
@ -1,43 +0,0 @@
|
|||
# polybar-cryptocurrency
|
||||
|
||||
![pcrypto](https://user-images.githubusercontent.com/21110159/64199525-30750300-ce93-11e9-812b-0eaf94494b1f.png)
|
||||
![pcrypto2](https://user-images.githubusercontent.com/21110159/64337066-324fdb00-cfe7-11e9-8962-b82d1f76b72f.png)
|
||||
![pcrypto3](https://user-images.githubusercontent.com/21110159/64337087-4c89b900-cfe7-11e9-983e-23b02e32e9a1.png)
|
||||
|
||||
|
||||
A polybar script much like [polybar-crypto](https://github.com/willHol/polybar-crypto).
|
||||
It's a great script, but:
|
||||
* I dislike messing with configuration files for small scripts
|
||||
* I feel as if changing what the module displays should be quick
|
||||
* [Coinranking's API](https://docs.coinranking.com/public) is much better than CMC, in my opinion (currency symbols)
|
||||
* [Guarda's icons](https://github.com/guardaco/crypto-icons) are recent and look really nice, and it's fun to be able to fetch them quickly
|
||||
|
||||
## Setup
|
||||
```
|
||||
git clone https://github.com/plinki/polybar-cryptocurrency.git
|
||||
|
||||
cd polybar-cryptocurrency && ./setup.sh
|
||||
```
|
||||
__or__ copy coins.otf to ~/.fonts, and coins.svg & pcrypto.py to ~/.config/polybar
|
||||
|
||||
### Module
|
||||
Add to your polybar config:
|
||||
```
|
||||
[bar/my-left]
|
||||
modules-right = crypto
|
||||
|
||||
[module/crypto]
|
||||
type = custom/script
|
||||
exec = ~/.config/polybar/pcrypto.py --base USD --coins btc eth link ltc xrp xmr
|
||||
interval = 60
|
||||
|
||||
font-0 = "coins:style=Regular;0"
|
||||
```
|
||||
|
||||
### Icons
|
||||
Icons are fetched from coins.svg, if you'd like to use your own icon for a specific coin, just replace the unicode with the icon
|
||||
```
|
||||
:btc
|
||||
```
|
||||
|
||||
more options in `pcrypto.py -h`
|
Binary file not shown.
|
@ -1,304 +0,0 @@
|
|||
e900:1st
|
||||
e901:ada
|
||||
e902:adc
|
||||
e903:adx
|
||||
e904:aeon
|
||||
e905:amp
|
||||
e906:anc
|
||||
e907:ant
|
||||
e908:arch
|
||||
e909:ardr
|
||||
e90a:aur
|
||||
e90b:banx
|
||||
e90c:bat
|
||||
e90d:bay
|
||||
e90e:bc
|
||||
e90f:bch
|
||||
e910:bcn
|
||||
e911:bft
|
||||
e912:bnb
|
||||
e913:bnt
|
||||
e914:brk
|
||||
e915:brx
|
||||
e916:bsd
|
||||
e917:bta
|
||||
e918:btc
|
||||
e919:btcd
|
||||
e91a:btg
|
||||
e91b:btm
|
||||
e91c:bts
|
||||
e91d:clam
|
||||
e91e:clo
|
||||
e91f:cloak
|
||||
e920:cvc
|
||||
e921:dao
|
||||
e922:dash
|
||||
e923:dcr
|
||||
e924:dct
|
||||
e925:dent
|
||||
e926:dgb
|
||||
e927:dgd
|
||||
e928:dgx
|
||||
e929:dmd
|
||||
e92a:dnt
|
||||
e92b:doge
|
||||
e92c:edg
|
||||
e92d:emc
|
||||
e92e:eos
|
||||
e92f:erc
|
||||
e930:etc
|
||||
e931:eth
|
||||
e932:exp
|
||||
e933:fc2
|
||||
e934:fcn
|
||||
e935:fct
|
||||
e936:flo
|
||||
e937:frk
|
||||
e938:ftc
|
||||
e939:fun
|
||||
e93a:game
|
||||
e93b:gbg
|
||||
e93c:gbyte
|
||||
e93d:gdc
|
||||
e93e:gemz
|
||||
e93f:gld
|
||||
e940:gno
|
||||
e941:gnt
|
||||
e942:golos
|
||||
e943:grc
|
||||
e944:grs
|
||||
e945:gup
|
||||
e946:awc
|
||||
e947:hmq
|
||||
e948:icn
|
||||
e949:ifc
|
||||
e94a:incnt
|
||||
e94b:ioc
|
||||
e94c:cnd
|
||||
e94d:ixt
|
||||
e94e:jbs
|
||||
e94f:kmd
|
||||
e950:kore
|
||||
e951:lbc
|
||||
e952:ldoge
|
||||
e953:lsk
|
||||
e954:ltc
|
||||
e955:lun
|
||||
e956:maid
|
||||
e957:mco
|
||||
e958:mint
|
||||
e959:mln
|
||||
e95a:mona
|
||||
e95b:mrc
|
||||
e95c:msc
|
||||
e95d:msp
|
||||
e95e:mtl
|
||||
e95f:mtr
|
||||
e960:mue
|
||||
e961:nano
|
||||
e962:nav
|
||||
e963:nbt
|
||||
e964:neo
|
||||
e965:neos
|
||||
e966:neu
|
||||
e967:nlg
|
||||
e968:nmc
|
||||
e969:note
|
||||
e96a:nvc
|
||||
e96b:nxt
|
||||
e96c:oax
|
||||
e96d:ok
|
||||
e96e:omg
|
||||
e96f:omni
|
||||
e970:opal
|
||||
e971:part
|
||||
e972:pay
|
||||
e973:piggy
|
||||
e974:pink
|
||||
e975:pivx
|
||||
e976:plbt
|
||||
e977:plr
|
||||
e978:plu
|
||||
e979:pot
|
||||
e97a:ppc
|
||||
e97b:ptoy
|
||||
e97c:qcn
|
||||
e97d:qrk
|
||||
e97e:qtum
|
||||
e97f:rads
|
||||
e980:rbies
|
||||
e981:rbt
|
||||
e982:rby
|
||||
e983:rdd
|
||||
e984:rep
|
||||
e985:rise
|
||||
e986:rlc
|
||||
e987:salt
|
||||
e988:sar
|
||||
e989:scot
|
||||
e98a:sdc
|
||||
e98b:sia
|
||||
e98c:sjcx
|
||||
e98d:slg
|
||||
e98e:sls
|
||||
e98f:sngls
|
||||
e990:snrg
|
||||
e991:snt
|
||||
e992:start
|
||||
e993:steem
|
||||
e994:storj
|
||||
e995:str
|
||||
e996:strat
|
||||
e997:swift
|
||||
e998:swt
|
||||
e999:sync
|
||||
e99a:sys
|
||||
e99b:time
|
||||
e99c:tkn
|
||||
e99d:trig
|
||||
e99e:trst
|
||||
e99f:trx
|
||||
e9a0:tx
|
||||
e9a1:ubq
|
||||
e9a2:unity
|
||||
e9a3:usdt
|
||||
e9a4:ven
|
||||
e9a5:vior
|
||||
e9a6:vnl
|
||||
e9a7:vpn
|
||||
e9a8:vrc
|
||||
e9a9:vtc
|
||||
e9aa:waves
|
||||
e9ab:wings
|
||||
e9ac:xai
|
||||
e9ad:xaur
|
||||
e9ae:xbs
|
||||
e9af:xcp
|
||||
e9b0:xdn
|
||||
e9b1:xem
|
||||
e9b2:xmr
|
||||
e9b3:xpm
|
||||
e9b4:xrp
|
||||
e9b5:xtz
|
||||
e9b7:xzc
|
||||
e9b8:ybc
|
||||
e9b9:zec
|
||||
e9ba:zeit
|
||||
e9bb:zrx
|
||||
e9bc:stx
|
||||
e9bd:sbtc
|
||||
e9be:rcn
|
||||
e9bf:nmr
|
||||
e9c0:zil
|
||||
e9c1:vib
|
||||
e9c2:xnn
|
||||
e9c3:viu
|
||||
e9c4:veri
|
||||
e9c5:sc
|
||||
e9c6:rhoc
|
||||
e9c7:kcs
|
||||
e9c8:icx
|
||||
e9c9:ark
|
||||
e9ca:ae
|
||||
e9cb:tip
|
||||
e9cc:crpt
|
||||
e9cd:via
|
||||
e9ce:myst
|
||||
e9cf:miota
|
||||
e9d0:adt
|
||||
e9d1:eng
|
||||
e9d2:cfi
|
||||
e9d3:dsh
|
||||
e9d4:xlm
|
||||
e9d5:fsbt
|
||||
e9d6:atl
|
||||
e9d7:ath
|
||||
e9d8:arn
|
||||
e9d9:arc
|
||||
e9da:apt
|
||||
e9db:aidoc
|
||||
e9dc:amis
|
||||
e9dd:adst
|
||||
e9de:300
|
||||
e9df:ngc
|
||||
e9e0:srn
|
||||
e9e1:wax
|
||||
e9e2:dcn
|
||||
e9e3:powr
|
||||
e9e4:dkk
|
||||
e9e5:gbp
|
||||
e9e6:eur
|
||||
e9e7:usd
|
||||
e9e8:ukg
|
||||
e9e9:lrc
|
||||
e9ea:brd
|
||||
e9eb:mana
|
||||
e9ec:mer
|
||||
e9ed:tix
|
||||
e9ee:xel
|
||||
e9ef:zen
|
||||
e9f0:btcp
|
||||
e9f1:ebst
|
||||
e9f2:elf
|
||||
e9f3:hsr
|
||||
e9f4:iost
|
||||
e9f5:loom
|
||||
e9f6:mkr
|
||||
e9f7:nas
|
||||
e9f8:now
|
||||
e9f9:snm
|
||||
e9fa:synx
|
||||
e9fb:wan
|
||||
e9fd:ely
|
||||
e9fe:ela
|
||||
e9ff:smart
|
||||
ea00:aion
|
||||
ea01:tusd
|
||||
ea02:usdc
|
||||
ea03:vet
|
||||
ea04:pax
|
||||
ea05:joys
|
||||
ea06:bchsv
|
||||
ea07:bsv
|
||||
ea08:bth
|
||||
ea09:trezor
|
||||
ea0a:ledger
|
||||
ea0b:r
|
||||
ea0c:npxs
|
||||
ea0d:dai
|
||||
ea0e:link
|
||||
ea0f:hot
|
||||
ea10:gusd
|
||||
ea11:eurs
|
||||
ea12:vtho
|
||||
ea13:kin
|
||||
ea14:ont
|
||||
ea15:atom
|
||||
ea16:ankr
|
||||
ea17:erd
|
||||
ea18:ftm
|
||||
ea19:lto
|
||||
ea1a:und
|
||||
ea1b:vera
|
||||
ea1c:yec
|
||||
ea1d:aya
|
||||
ea1e:ethplo
|
||||
ea1f:iotx
|
||||
ea20:enj
|
||||
ea21:rvn
|
||||
ea22:xns
|
||||
ea23:pyn
|
||||
ea24:ncash
|
||||
ea25:loki
|
||||
ea26:knc
|
||||
ea27:job
|
||||
ea28:chz
|
||||
ea29:btu
|
||||
ea2a:apis
|
||||
ea2b:gas
|
||||
ea2c:busd
|
||||
ea2d:iq
|
||||
ea2e:lst
|
||||
ea2f:ong
|
||||
ea30:nut
|
||||
ea31:eosdt
|
|
@ -1,47 +0,0 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
import requests
|
||||
import argparse
|
||||
import json
|
||||
import sys
|
||||
import os
|
||||
|
||||
parser = argparse.ArgumentParser(description="Display currencies on polybar")
|
||||
parser.add_argument("--coins", type=str,
|
||||
nargs="+", help="Select coins to display")
|
||||
parser.add_argument("--base", type=str,
|
||||
nargs="?", default="USD", help="Currency base to convert against")
|
||||
parser.add_argument("--decimals", type=int,
|
||||
nargs="?", default=2, help="How many decimals to show")
|
||||
parser.add_argument("--display", type=str,
|
||||
nargs="?", default="price", choices=["price", "percentage", "both"], help="Display mode")
|
||||
|
||||
args = parser.parse_args()
|
||||
home = os.path.expanduser("~/")
|
||||
|
||||
unicode_dict = {}
|
||||
with open(f"{home}.config/polybar/polybar-cryptocurrency/coins.svg", "r", encoding="utf-8") as icons:
|
||||
for line in icons:
|
||||
unicode, coin = line.strip().split(":")
|
||||
unicode_dict[unicode] = coin
|
||||
|
||||
if not args.coins:
|
||||
parser.print_help()
|
||||
parser.exit()
|
||||
|
||||
for coin in args.coins:
|
||||
get = requests.get(
|
||||
f"https://api.coinranking.com/v1/public/coins?prefix={coin}&base={args.base}").json()["data"]
|
||||
price_float = round(float(get["coins"][0]["price"]), args.decimals)
|
||||
current_price = get["base"]["sign"] + str(price_float)
|
||||
change = get["coins"][0]["change"]
|
||||
|
||||
for _unicode, _coin in unicode_dict.items():
|
||||
if _coin == coin:
|
||||
icon = chr(int(_unicode, 16)) if len(_unicode) > 1 else _unicode
|
||||
if args.display == "price":
|
||||
sys.stdout.write(f" {icon} {current_price} ")
|
||||
if args.display == "percentage":
|
||||
sys.stdout.write(f" {icon} {change:+}% ")
|
||||
if args.display == "both":
|
||||
sys.stdout.write(f" {icon} {current_price} | {change:+}% ")
|
|
@ -1,26 +0,0 @@
|
|||
#!/bin/sh
|
||||
set -x
|
||||
|
||||
DISTRO=$(lsb_release -i | cut -f 2-)
|
||||
|
||||
case $DISTRO in
|
||||
'Manjaro')
|
||||
dir_fonts=/home/$USER/.local/share/fonts/
|
||||
;;
|
||||
'Arch')
|
||||
dir_fonts=/home/$USER/.local/share/fonts/
|
||||
;;
|
||||
'Artix')
|
||||
dir_fonts=/home/$USER/.local/share/fonts/
|
||||
;;
|
||||
*)
|
||||
dir_fonts=/home/$USER/.fonts/
|
||||
;;
|
||||
esac
|
||||
|
||||
mkdir $dir_fonts
|
||||
|
||||
dir_polybar=/home/$USER/.config/polybar/
|
||||
|
||||
cp coins.otf $dir_fonts
|
||||
cp -t $dir_polybar pcrypto.py coins.svg
|
|
@ -1,3 +0,0 @@
|
|||
//@theme "/usr/share/rofi/themes/purple.rasi"
|
||||
//@theme "/home/zoey/.config/rofi/themes/iceberg-dark.rasi"
|
||||
@theme "/usr/share/rofi/themes/purple.rasi"
|
|
@ -1,69 +0,0 @@
|
|||
HISTFILE=~/.zshist
|
||||
HISTSIZE=1000
|
||||
SAVEHIST=5000
|
||||
|
||||
###autocomplete
|
||||
source ~/Documents/Scripts/zsh/zsh-autocomplete/zsh-autocomplete.plugin.zsh
|
||||
|
||||
unsetopt autocd beep
|
||||
zstyle :compinstall filename '/home/zoey/.zshrc'
|
||||
#autoload -Uz compinit && compinit
|
||||
zstyle ':completion:*' menu select
|
||||
|
||||
# history
|
||||
autoload -Uz up-line-or-beginning-search down-line-or-beginning-search
|
||||
zle -N up-line-or-beginning-search
|
||||
zle -N down-line-or-beginning-search
|
||||
|
||||
[[ -n "${key[Up]}" ]] && bindkey -- "${key[Up]}" up-line-or-beginning-search
|
||||
[[ -n "${key[Down]}" ]] && bindkey -- "${key[Down]}" down-line-or-beginning-search
|
||||
|
||||
#bindkey -v
|
||||
bindkey "^[[2~" overwrite-mode # Ins
|
||||
bindkey "^[[3~" delete-char # Del
|
||||
bindkey "^[[5~" beginning-of-history #PageUp
|
||||
bindkey "^[[6~" end-of-history #PageDown
|
||||
|
||||
### ctrl+arrows
|
||||
bindkey "\e[1;5C" forward-word
|
||||
bindkey "\e[1;5D" backward-word
|
||||
|
||||
### ctrl+delete
|
||||
bindkey "\e[3;5~" kill-word
|
||||
|
||||
### ctrl+backspace
|
||||
bindkey '^H' backward-kill-word
|
||||
|
||||
# random
|
||||
|
||||
################# LOOKS #####################
|
||||
|
||||
|
||||
# prompt
|
||||
autoload -Uz promptinit && promptinit
|
||||
|
||||
PROMPT='🐰%F{204}%n%f%F{161}@%f%m %F{096}%~%f %F{204}❀%f '
|
||||
|
||||
|
||||
################ ALIASES ####################
|
||||
|
||||
# ssh
|
||||
alias lappy='ssh zoopy@192.168.0.56'
|
||||
alias janedoe='ssh jane\ doe@192.168.122.47'
|
||||
|
||||
# QEMU
|
||||
alias screamloop='sh ~/Documents/Scripts/screamloop.sh'
|
||||
|
||||
alias attachm='sudo sh ~/Documents/Scripts/attachmain.sh'
|
||||
alias attachs='sudo sh ~/Documents/Scripts/attachsecondary.sh'
|
||||
|
||||
alias govp='sudo sh ~/Documents/Scripts/perfgov.sh'
|
||||
alias govs='sudo sh ~/Documents/Scripts/schedutilgov.sh'
|
||||
|
||||
# random
|
||||
alias animemovies='cd /mnt/Pyon/Videos/Anime\ Movies/ && ls'
|
||||
alias anime='cd /mnt/Pyon/Videos/Anime && ls'
|
||||
alias piperestart='systemctl --user restart --now pipewire-media-session.service'
|
||||
alias sb='cd ~/Documents/Sawabot/ && sh Sawabot.sh'
|
||||
|
||||
alias drp='echo 1 | sudo tee /proc/sys/vm/drop_caches'
|
Loading…
Reference in a new issue