@ -1,11 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
source ../common.sh
|
|
||||||
|
|
||||||
sudo $installCMD common_programs
|
|
||||||
|
|
||||||
$main_dir/programs/xmonad.sh
|
|
||||||
$main_dir/programs/alacritty.sh
|
|
||||||
$main_dir/programs/installFonts.sh
|
|
||||||
$main_dir/programs/vim.sh
|
|
||||||
|
|
@ -1,39 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
common_programs_list=(\
|
|
||||||
htop \
|
|
||||||
tmux \
|
|
||||||
git \
|
|
||||||
fish \
|
|
||||||
mc \
|
|
||||||
wget \
|
|
||||||
sudo \
|
|
||||||
unzip \
|
|
||||||
dmenu \
|
|
||||||
cmake \
|
|
||||||
make \
|
|
||||||
gcc \
|
|
||||||
python3 \
|
|
||||||
pulseaudio \
|
|
||||||
pulseaudio-alsa \
|
|
||||||
alsa \
|
|
||||||
alsa-utils \
|
|
||||||
exa)
|
|
||||||
|
|
||||||
main_dir=$PWD
|
|
||||||
|
|
||||||
common_programs=$( IFS=$'\n'; echo "${common_programs_list[*]}" )
|
|
||||||
|
|
||||||
system=$(sudo cat /etc/os-release | sed -n 3p)
|
|
||||||
|
|
||||||
echo $main_dir
|
|
||||||
|
|
||||||
if [[ $system == *"arch"* ]]
|
|
||||||
then
|
|
||||||
installCMD="pacman -S"
|
|
||||||
elif [[ $system == *"debian"* ]]
|
|
||||||
then
|
|
||||||
installCMD="apt install"
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo $system
|
|
@ -1,20 +0,0 @@
|
|||||||
font:
|
|
||||||
normal:
|
|
||||||
family: Source Code Pro
|
|
||||||
style: Regular
|
|
||||||
|
|
||||||
bold:
|
|
||||||
family: Source Code Pro
|
|
||||||
style: Bold
|
|
||||||
|
|
||||||
italic:
|
|
||||||
family: Source Code Pro
|
|
||||||
style: Italic
|
|
||||||
|
|
||||||
bold_italic:
|
|
||||||
family: Source Code Pro
|
|
||||||
style: Bold Italic
|
|
||||||
|
|
||||||
size: 8
|
|
||||||
|
|
||||||
|
|
@ -1,45 +0,0 @@
|
|||||||
if status is-interactive
|
|
||||||
# Commands to run in interactive sessions can go here
|
|
||||||
end
|
|
||||||
|
|
||||||
set fish_greeting # Supresses fish's intro message
|
|
||||||
set TERM "xterm-256color" # Defines th terminal type
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#####################
|
|
||||||
### VISUALS BEGIN ###
|
|
||||||
#####################
|
|
||||||
set fish_color_normal brcyan
|
|
||||||
set fish_color_autosuggestion '#7d7d7d'
|
|
||||||
set fish_color_command brcyan
|
|
||||||
set fish_color_error '#ff6c6b'
|
|
||||||
set fish_color_param brcyan
|
|
||||||
|
|
||||||
#####################
|
|
||||||
### VISUALS END ###
|
|
||||||
#####################
|
|
||||||
|
|
||||||
# Changing "ls" to "exa"
|
|
||||||
alias ls='exa --color=always --group-directories-first' # my preferred listing
|
|
||||||
alias lsl='exa -al --color=always --group-directories-first' # my preferred listing
|
|
||||||
alias la='exa -a --color=always --group-directories-first' # all files and dirs
|
|
||||||
alias ll='exa -l --color=always --group-directories-first' # long format
|
|
||||||
alias lt='exa -aT --color=always --group-directories-first' # tree listing
|
|
||||||
alias l.='exa -a | egrep "^\."'
|
|
||||||
|
|
||||||
# navigation
|
|
||||||
alias ..='cd ..'
|
|
||||||
alias ...='cd ../..'
|
|
||||||
|
|
||||||
#adding flags
|
|
||||||
alias df='df -h' # human-readable sizes
|
|
||||||
alias free='free -m' # show sizes in MB
|
|
||||||
|
|
||||||
#aliseption
|
|
||||||
alias alias_edit='vim ~/.config/fish/config.fish'
|
|
||||||
alias alias_activate='source ~/.config/fish/config.fish'
|
|
||||||
|
|
||||||
#####################
|
|
||||||
### ALIASES END ###
|
|
||||||
#####################
|
|
@ -1,428 +0,0 @@
|
|||||||
#################################
|
|
||||||
# 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 = 7;
|
|
||||||
|
|
||||||
# The opacity of shadows. (0.0 - 1.0, defaults to 0.75)
|
|
||||||
# shadow-opacity = .75
|
|
||||||
|
|
||||||
# The left offset for shadows, in pixels. (defaults to -15)
|
|
||||||
# shadow-offset-x = -15
|
|
||||||
shadow-offset-x = -7;
|
|
||||||
|
|
||||||
# The top offset for shadows, in pixels. (defaults to -15)
|
|
||||||
# shadow-offset-y = -15
|
|
||||||
shadow-offset-y = -7;
|
|
||||||
|
|
||||||
# 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 = [
|
|
||||||
"name = 'Notification'",
|
|
||||||
"class_g = 'Conky'",
|
|
||||||
"class_g ?= 'Notify-osd'",
|
|
||||||
"class_g = 'Cairo-clock'",
|
|
||||||
"_GTK_FRAME_EXTENTS@:c"
|
|
||||||
];
|
|
||||||
|
|
||||||
# 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 = true;
|
|
||||||
|
|
||||||
# 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 = 10
|
|
||||||
|
|
||||||
# Specify a list of conditions of windows that should not be faded.
|
|
||||||
# fade-exclude = []
|
|
||||||
|
|
||||||
# Do not fade on window open/close.
|
|
||||||
# no-fading-openclose = false
|
|
||||||
|
|
||||||
# Do not fade destroyed ARGB windows with WM frame. Workaround of bugs in Openbox, Fluxbox, etc.
|
|
||||||
# no-fading-destroyed-argb = false
|
|
||||||
|
|
||||||
|
|
||||||
#################################
|
|
||||||
# Transparency / Opacity #
|
|
||||||
#################################
|
|
||||||
|
|
||||||
|
|
||||||
# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
|
|
||||||
# inactive-opacity = 1
|
|
||||||
inactive-opacity = 0.95;
|
|
||||||
|
|
||||||
# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
|
|
||||||
# frame-opacity = 1.0
|
|
||||||
frame-opacity = 0.9;
|
|
||||||
|
|
||||||
# Let inactive opacity set by -i override the '_NET_WM_WINDOW_OPACITY' values of windows.
|
|
||||||
# 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 never be considered focused.
|
|
||||||
# focus-exclude = []
|
|
||||||
focus-exclude = [ "class_g = 'Cairo-clock'" ];
|
|
||||||
|
|
||||||
# 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 = []
|
|
||||||
|
|
||||||
|
|
||||||
#################################
|
|
||||||
# Corners #
|
|
||||||
#################################
|
|
||||||
|
|
||||||
# Sets the radius of rounded window corners. When > 0, the compositor will
|
|
||||||
# round the corners of windows. Does not interact well with
|
|
||||||
# `transparent-clipping`.
|
|
||||||
corner-radius = 5
|
|
||||||
|
|
||||||
# Exclude conditions for rounded corners.
|
|
||||||
rounded-corners-exclude = [
|
|
||||||
"window_type = 'dock'",
|
|
||||||
"window_type = 'desktop'"
|
|
||||||
];
|
|
||||||
|
|
||||||
|
|
||||||
#################################
|
|
||||||
# Background-Blurring #
|
|
||||||
#################################
|
|
||||||
|
|
||||||
|
|
||||||
# Parameters for background blurring, see the *BLUR* section for more information.
|
|
||||||
# blur-method =
|
|
||||||
# blur-size = 12
|
|
||||||
#
|
|
||||||
# blur-deviation = false
|
|
||||||
#
|
|
||||||
blur-strength = 5
|
|
||||||
|
|
||||||
# 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 = false
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
|
|
||||||
# Specify the blur convolution kernel, with the following format:
|
|
||||||
# example:
|
|
||||||
# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";
|
|
||||||
#
|
|
||||||
# blur-kern = ""
|
|
||||||
blur-kern = "3x3box";
|
|
||||||
|
|
||||||
|
|
||||||
# Exclude conditions for background blur.
|
|
||||||
# blur-background-exclude = []
|
|
||||||
blur-background-exclude = [
|
|
||||||
"window_type = 'dock'",
|
|
||||||
"window_type = 'desktop'",
|
|
||||||
"_GTK_FRAME_EXTENTS@:c"
|
|
||||||
];
|
|
||||||
|
|
||||||
#################################
|
|
||||||
# General Settings #
|
|
||||||
#################################
|
|
||||||
|
|
||||||
# Enable remote control via D-Bus. See the man page for more details.
|
|
||||||
# dbus = true
|
|
||||||
|
|
||||||
# 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.
|
|
||||||
#
|
|
||||||
# backend = "glx"
|
|
||||||
backend = "xrender";
|
|
||||||
|
|
||||||
# Enable/disable VSync.
|
|
||||||
# vsync = false
|
|
||||||
vsync = true;
|
|
||||||
|
|
||||||
# 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_WINDOW_OPACITY' on client windows, useful for window managers
|
|
||||||
# not passing '_NET_WM_WINDOW_OPACITY' of client windows to frame windows.
|
|
||||||
#
|
|
||||||
# detect-client-opacity = false
|
|
||||||
detect-client-opacity = 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 = false
|
|
||||||
|
|
||||||
# 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.
|
|
||||||
#
|
|
||||||
# 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. This usually means windows from the same application
|
|
||||||
# will be considered focused or unfocused at the same time.
|
|
||||||
# 'WM_TRANSIENT_FOR' has higher priority if detect-transient is enabled, too.
|
|
||||||
#
|
|
||||||
# detect-client-leader = false
|
|
||||||
|
|
||||||
# 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 every time, 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. Read the man page for a detailed explanation of the interface.
|
|
||||||
#
|
|
||||||
# window-shader-fg = "default"
|
|
||||||
|
|
||||||
# Use rules to set per-window shaders. Syntax is SHADER_PATH:PATTERN, similar
|
|
||||||
# to opacity-rule. SHADER_PATH can be "default". This overrides window-shader-fg.
|
|
||||||
#
|
|
||||||
# window-shader-fg-rule = [
|
|
||||||
# "my_shader.frag:window_type != 'dock'"
|
|
||||||
# ]
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# Specify a list of conditions of windows that should never have transparent
|
|
||||||
# clipping applied. Useful for screenshot tools, where you need to be able to
|
|
||||||
# see through transparent parts of the window.
|
|
||||||
#
|
|
||||||
# transparent-clipping-exclude = []
|
|
||||||
|
|
||||||
# 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 = "warn";
|
|
||||||
|
|
||||||
# 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.
|
|
||||||
#
|
|
||||||
# clip-shadow-above:::
|
|
||||||
# Controls whether shadows that would have been drawn above the window should
|
|
||||||
# be clipped. Useful for dock windows that should have no shadow painted on top.
|
|
||||||
#
|
|
||||||
# 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 = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
|
|
||||||
dock = { shadow = false; clip-shadow-above = true; }
|
|
||||||
dnd = { shadow = false; }
|
|
||||||
popup_menu = { opacity = 0.8; }
|
|
||||||
dropdown_menu = { opacity = 0.8; }
|
|
||||||
};
|
|
@ -1,2 +0,0 @@
|
|||||||
set -g mouse on
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
echo $(acpi | grep -o -E '[0-9][0-9]?%|100%')
|
|
@ -1,64 +0,0 @@
|
|||||||
-- Xmobar (http://projects.haskell.org/xmobar/)
|
|
||||||
-- This is one of the xmobar configurations for DTOS.
|
|
||||||
-- This config is packaged in the DTOS repo as 'dtos-xmobar'
|
|
||||||
-- Color scheme: Doom One
|
|
||||||
-- Dependencies:
|
|
||||||
-- otf-font-awesome
|
|
||||||
-- ttf-mononoki
|
|
||||||
-- ttf-ubuntu-font-family
|
|
||||||
-- htop
|
|
||||||
-- emacs
|
|
||||||
-- pacman (Arch Linux)
|
|
||||||
-- trayer
|
|
||||||
-- 'dtos-local-bin' (from dtos-core-repo)
|
|
||||||
|
|
||||||
Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:hinting=true"
|
|
||||||
, additionalFonts = [ "xft:Mononoki:pixelsize=11:antialias=true:hinting=true"
|
|
||||||
, "xft:Font Awesome 5 Free Solid:pixelsize=12"
|
|
||||||
, "xft:Font Awesome 5 Brands:pixelsize=12"
|
|
||||||
]
|
|
||||||
, bgColor = "#282c34"
|
|
||||||
, fgColor = "#ff6c6b"
|
|
||||||
-- Position TopSize and BottomSize take 3 arguments:
|
|
||||||
-- an alignment parameter (L/R/C) for Left, Right or Center.
|
|
||||||
-- an integer for the percentage width, so 100 would be 100%.
|
|
||||||
-- an integer for the minimum pixel height for xmobar, so 24 would force a height of at least 24 pixels.
|
|
||||||
-- NOTE: The height should be the same as the trayer (system tray) height.
|
|
||||||
, position = TopSize L 100 24
|
|
||||||
, lowerOnStart = True
|
|
||||||
, hideOnStart = False
|
|
||||||
, allDesktops = True
|
|
||||||
, persistent = True
|
|
||||||
, iconRoot = ".xmonad/xpm/" -- default: "."
|
|
||||||
, commands = [
|
|
||||||
-- Echos a "penguin" icon in front of the kernel output.
|
|
||||||
Run Com "echo" ["<fn=3>\xf17c</fn>"] "penguin" 3600
|
|
||||||
-- Get kernel version (script found in .local/bin)
|
|
||||||
, Run Com ".local/bin/kernel" [] "kernel" 36000
|
|
||||||
-- Cpu usage in percent
|
|
||||||
, Run Cpu ["-t", "<fn=2>\xf108</fn> cpu: (<total>%)","-H","50","--high","red"] 20
|
|
||||||
-- Ram used number and percent
|
|
||||||
, Run Memory ["-t", "<fn=2>\xf233</fn> mem: <used>M (<usedratio>%)"] 20
|
|
||||||
-- Disk space free
|
|
||||||
, Run DiskU [("/", "<fn=2>\xf0c7</fn> hdd: <free> free")] [] 60
|
|
||||||
-- Echos an "up arrow" icon in front of the uptime output.
|
|
||||||
, Run Com "echo" ["<fn=2>\xf0aa</fn>"] "uparrow" 3600
|
|
||||||
-- Uptime
|
|
||||||
, Run Uptime ["-t", "uptime: <days>d <hours>h"] 360
|
|
||||||
-- Echos a "bell" icon in front of the pacman updates.
|
|
||||||
, Run Com "echo" ["<fn=2>\xf0f3</fn>"] "bell" 3600
|
|
||||||
-- Check for pacman updates (script found in .local/bin)
|
|
||||||
, Run Com ".local/bin/pacupdate" [] "pacupdate" 36000
|
|
||||||
-- Echos a "battery" icon in front of the pacman updates.
|
|
||||||
, Run Com "echo" ["<fn=2>\xf242</fn>"] "baticon" 3600
|
|
||||||
-- Battery
|
|
||||||
, Run BatteryP ["BAT0"] ["-t", "<acstatus><watts> (<left>%)"] 360
|
|
||||||
-- Time and date
|
|
||||||
, Run Date "<fn=2>\xf017</fn> %b %d %Y - (%H:%M) " "date" 50
|
|
||||||
-- Prints out the left side items such as workspaces, layout, etc.
|
|
||||||
, Run UnsafeStdinReader
|
|
||||||
]
|
|
||||||
, sepChar = "%"
|
|
||||||
, alignSep = "}{"
|
|
||||||
, template = " }{ <box type=Bottom width=2 mb=2 color=#51afef><fc=#51afef>%penguin% %kernel%</fc></box> <box type=Bottom width=2 mb=2 color=#ecbe7b><fc=#ecbe7b><action=`alacritty -e htop`>%cpu%</action></fc></box> <box type=Bottom width=2 mb=2 color=#ff6c6b><fc=#ff6c6b><action=`alacritty -e htop`>%memory%</action></fc></box> <box type=Bottom width=2 mb=2 color=#a9a1e1><fc=#a9a1e1>%disku%</fc></box> <box type=Bottom width=2 mb=2 color=#98be65><fc=#98be65>%uparrow% %uptime%</fc></box> <box type=Bottom width=2 mb=2 color=#c678dd><fc=#c678dd>%bell% <action=`alacritty -e sudo pacman -Syu`>%pacupdate%</action></fc></box> <box type=Bottom width=2 mb=2 color=#da8548><fc=#da8548>%baticon% %battery%</fc></box> <box type=Bottom width=2 mb=2 color=#46d9ff><fc=#46d9ff><action=`emacsclient -c -a 'emacs' --eval '(doom/window-maximize-buffer(dt/year-calendar))'`>%date%</action></fc></box> %trayerpad%"
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
uname -r | grep -Eo '[[:digit:]]+[.][[:digit:]]+[.]+[[:digit:]]'
|
|
@ -1,14 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
system=$(cat /etc/os-release | sed -n 3p)
|
|
||||||
|
|
||||||
if [[ $system == *"arch"* ]]
|
|
||||||
then
|
|
||||||
ip=$(ip -json route get 8.8.8.8 | jq -r '.[].prefsrc')
|
|
||||||
elif [[ $system == *"debian"* ]]
|
|
||||||
then
|
|
||||||
ip=$(hostname -I | awk '{print $1}')
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo $ip
|
|
||||||
|
|
@ -1,313 +0,0 @@
|
|||||||
-- KeY Defined : Imports
|
|
||||||
import XMonad
|
|
||||||
import XMonad.Util.EZConfig (additionalKeysP, mkNamedKeymap) -- Vim Style Key defines
|
|
||||||
import XMonad.Util.Dmenu -- Excatly what it says
|
|
||||||
import XMonad.Util.Ungrab -- For screenshots
|
|
||||||
import XMonad.Layout.ThreeColumns -- For big scrrens
|
|
||||||
import XMonad.Hooks.EwmhDesktops
|
|
||||||
import XMonad.Layout.Spacing
|
|
||||||
import XMonad.Layout.LayoutModifier
|
|
||||||
import XMonad.Layout.Gaps
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
-- Default defined
|
|
||||||
import Data.Monoid
|
|
||||||
import System.Exit
|
|
||||||
import XMonad.Layout.NoBorders
|
|
||||||
import XMonad.Hooks.ManageDocks
|
|
||||||
import XMonad.Hooks.ManageHelpers
|
|
||||||
import XMonad.Util.Run
|
|
||||||
import XMonad.Util.SpawnOnce
|
|
||||||
import XMonad.Actions.Navigation2D
|
|
||||||
import XMonad.Util.NamedActions
|
|
||||||
import Data.Maybe (fromJust)
|
|
||||||
import XMonad.Layout.ShowWName
|
|
||||||
import XMonad.Layout.ThreeColumns
|
|
||||||
import qualified XMonad.StackSet as W
|
|
||||||
import qualified Data.Map as M
|
|
||||||
|
|
||||||
-- KeY Defined : Terminal
|
|
||||||
myTerminal :: String
|
|
||||||
myTerminal = "alacritty"
|
|
||||||
|
|
||||||
-- KeY Defined : Shell interpreter
|
|
||||||
myShell :: String
|
|
||||||
myShell = "fish"
|
|
||||||
|
|
||||||
-- KeY Defined default web browser the sapce at the end is important.
|
|
||||||
myBrowser :: String
|
|
||||||
myBrowser = "qutebrowser "
|
|
||||||
|
|
||||||
-- KeY Defined default App Launcher.
|
|
||||||
myLauncher :: String
|
|
||||||
myLauncher = "dmenu_run "
|
|
||||||
|
|
||||||
-- KeY Defined Whether focus follows the mouse pointer.
|
|
||||||
myFocusFollowsMouse :: Bool
|
|
||||||
myFocusFollowsMouse = True
|
|
||||||
|
|
||||||
-- KeY Defined : Whether clicking on a window to focus also passes the click to the window
|
|
||||||
myClickJustFocuses :: Bool
|
|
||||||
myClickJustFocuses = False
|
|
||||||
|
|
||||||
-- KeY Defined : Width of the window border in pixels.
|
|
||||||
myBorderWidth = 3
|
|
||||||
|
|
||||||
-- KeY Defined : "windows key" = mod4Mask.
|
|
||||||
myModMask = mod4Mask
|
|
||||||
|
|
||||||
-- myWorkspaces = [" 1 ", " 2 ", " 3 ", " 4 ", " 5 ", " 6 ", " 7 ", " 8 ", " 9 "]
|
|
||||||
myWorkspaces = [" dev ", " www ", " sys ", " doc ", " vbox ", " chat ", " mus ", " vid ", " gfx "]
|
|
||||||
myWorkspaceIndices = M.fromList $ zipWith (,) myWorkspaces [1..] -- (,) == \x y -> (x,y)
|
|
||||||
|
|
||||||
clickable ws = "<action=xdotool key super+"++show i++">"++ws++"</action>"
|
|
||||||
where i = fromJust $ M.lookup ws myWorkspaceIndices
|
|
||||||
|
|
||||||
-- KeY Defined : Border colors for unfocused and focused windows, respectively.
|
|
||||||
myNormalBorderColor = "#dddddd" -- White
|
|
||||||
myFocusedBorderColor = "#F000FF" -- Purple
|
|
||||||
|
|
||||||
|
|
||||||
------------------------------------------------------------------------
|
|
||||||
-- Key Defined : Key bindings. Add, modify or remove key bindings here.
|
|
||||||
--
|
|
||||||
myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList $
|
|
||||||
|
|
||||||
-- KeY Defined : launch default terminal with the default Shell
|
|
||||||
[ ((modm, xK_Return), spawn $ (myTerminal ++ " -e " ++ myShell))
|
|
||||||
|
|
||||||
-- KeY Defined : Volume Up
|
|
||||||
, ((modm, xK_F3 ), spawn "amixer set Master 2%+")
|
|
||||||
|
|
||||||
-- KeY Defined : Volume Up
|
|
||||||
, ((modm, xK_F2 ), spawn "amixer set Master 2%-")
|
|
||||||
|
|
||||||
-- KeY Defined : Toggle mute
|
|
||||||
, ((modm, xK_F1 ), spawn "amixer -D pulse set Master 1+ toggle")
|
|
||||||
|
|
||||||
-- KeY Defined : Launch (p)rogramms
|
|
||||||
, ((modm, xK_p ), spawn $ (myLauncher))
|
|
||||||
|
|
||||||
-- KeY Defined : Launch (i)nternet Explorer
|
|
||||||
, ((modm, xK_i ), spawn $ (myBrowser))
|
|
||||||
|
|
||||||
-- KeY Defined : (c)lose focused window
|
|
||||||
, ((modm, xK_c ), kill)
|
|
||||||
|
|
||||||
-- KeY Defined : Rotate through the available layout algorithms
|
|
||||||
, ((modm, xK_space ), sendMessage NextLayout)
|
|
||||||
|
|
||||||
-- KeY Defined : Reset the layouts on the current workspace to default
|
|
||||||
, ((modm .|. shiftMask, xK_space ), setLayout $ XMonad.layoutHook conf)
|
|
||||||
|
|
||||||
-- KeY Definded : Take A (S)crenn Shot
|
|
||||||
, ((modm .|. shiftMask, xK_s ), unGrab *> spawn "scrot -s")
|
|
||||||
|
|
||||||
-- Resize viewed windows to the correct size
|
|
||||||
, ((modm, xK_n ), refresh)
|
|
||||||
|
|
||||||
-- Move focus to the next window
|
|
||||||
, ((modm, xK_Tab ), windows W.focusDown)
|
|
||||||
|
|
||||||
-- KeY Defined : Move focus to the next window
|
|
||||||
, ((modm, xK_j ), windows W.focusDown)
|
|
||||||
|
|
||||||
-- KeY Defined : Move focus to the previous window
|
|
||||||
, ((modm, xK_k ), windows W.focusUp )
|
|
||||||
|
|
||||||
-- Move focus to the master window
|
|
||||||
, ((modm, xK_m ), windows W.focusMaster )
|
|
||||||
|
|
||||||
-- Swap the focused window and the master window
|
|
||||||
, ((modm .|. shiftMask, xK_Return), windows W.swapMaster)
|
|
||||||
|
|
||||||
-- KeY Defined : Swap the focused window with the next window
|
|
||||||
, ((modm .|. shiftMask, xK_j ), windows W.swapDown )
|
|
||||||
|
|
||||||
-- KeY Defined : Swap the focused window with the previous window
|
|
||||||
, ((modm .|. shiftMask, xK_k ), windows W.swapUp )
|
|
||||||
|
|
||||||
-- KeY Defined : Shrink the master area
|
|
||||||
, ((modm, xK_h ), sendMessage Shrink)
|
|
||||||
|
|
||||||
-- KeY Defined : Expand the master area
|
|
||||||
, ((modm, xK_l ), sendMessage Expand)
|
|
||||||
|
|
||||||
-- Push window back into tiling
|
|
||||||
, ((modm, xK_t ), withFocused $ windows . W.sink)
|
|
||||||
|
|
||||||
-- Increment the number of windows in the master area
|
|
||||||
, ((modm , xK_comma ), sendMessage (IncMasterN 1))
|
|
||||||
|
|
||||||
-- Deincrement the number of windows in the master area
|
|
||||||
, ((modm , xK_period), sendMessage (IncMasterN (-1)))
|
|
||||||
|
|
||||||
-- KeY Defined : (Q)uit xmonad
|
|
||||||
, ((modm .|. shiftMask, xK_q ), io (exitWith ExitSuccess))
|
|
||||||
|
|
||||||
-- KeY Defined : (q) Restart xmonad
|
|
||||||
, ((modm , xK_q ), spawn "rm -r /home/key/.xmonad ; xmonad --recompile; xmonad --restart; pkill xmobar")
|
|
||||||
|
|
||||||
]
|
|
||||||
++
|
|
||||||
|
|
||||||
--
|
|
||||||
-- mod-[1..9], Switch to workspace N
|
|
||||||
-- mod-shift-[1..9], Move client to workspace N
|
|
||||||
--
|
|
||||||
[((m .|. modm, k), windows $ f i)
|
|
||||||
| (i, k) <- zip (XMonad.workspaces conf) [xK_1 .. xK_9]
|
|
||||||
, (f, m) <- [(W.greedyView, 0), (W.shift, shiftMask)]]
|
|
||||||
++
|
|
||||||
|
|
||||||
--
|
|
||||||
-- mod-{w,e,r}, Switch to physical/Xinerama screens 1, 2, or 3
|
|
||||||
-- mod-shift-{w,e,r}, Move client to screen 1, 2, or 3
|
|
||||||
--
|
|
||||||
[((m .|. modm, key), screenWorkspace sc >>= flip whenJust (windows . f))
|
|
||||||
| (key, sc) <- zip [xK_w, xK_e, xK_r] [0..]
|
|
||||||
, (f, m) <- [(W.view, 0), (W.shift, shiftMask)]]
|
|
||||||
|
|
||||||
|
|
||||||
------------------------------------------------------------------------
|
|
||||||
-- Mouse bindings: default actions bound to mouse events
|
|
||||||
--
|
|
||||||
myMouseBindings (XConfig {XMonad.modMask = modm}) = M.fromList $
|
|
||||||
|
|
||||||
-- mod-button1, Set the window to floating mode and move by dragging
|
|
||||||
[ ((modm, button1), (\w -> focus w >> mouseMoveWindow w
|
|
||||||
>> windows W.shiftMaster))
|
|
||||||
|
|
||||||
-- mod-button2, Raise the window to the top of the stack
|
|
||||||
, ((modm, button2), (\w -> focus w >> windows W.shiftMaster))
|
|
||||||
|
|
||||||
-- mod-button3, Set the window to floating mode and resize by dragging
|
|
||||||
, ((modm, button3), (\w -> focus w >> mouseResizeWindow w
|
|
||||||
>> windows W.shiftMaster))
|
|
||||||
|
|
||||||
-- you may also bind events to the mouse scroll wheel (button4 and button5)
|
|
||||||
]
|
|
||||||
|
|
||||||
------------------------------------------------------------------------
|
|
||||||
-- Layouts:
|
|
||||||
|
|
||||||
-- You can specify and transform your layouts by modifying these values.
|
|
||||||
-- If you change layout bindings be sure to use 'mod-shift-space' after
|
|
||||||
-- restarting (with 'mod-q') to reset your layout state to the new
|
|
||||||
-- defaults, as xmonad preserves your old layout settings by default.
|
|
||||||
--
|
|
||||||
-- The available layouts. Note that each layout is separated by |||,
|
|
||||||
-- which denotes layout choice.
|
|
||||||
--
|
|
||||||
myLayout = avoidStruts (tiled ||| Mirror tiled ||| Full)
|
|
||||||
where
|
|
||||||
-- default tiling algorithm partitions the screen into two panes
|
|
||||||
tiled = Tall nmaster delta ratio
|
|
||||||
|
|
||||||
-- The default number of windows in the master pane
|
|
||||||
nmaster = 1
|
|
||||||
|
|
||||||
-- Default proportion of screen occupied by master pane
|
|
||||||
ratio = 1/2
|
|
||||||
|
|
||||||
-- Percent of screen to increment by when resizing panes
|
|
||||||
delta = 3/100
|
|
||||||
|
|
||||||
------------------------------------------------------------------------
|
|
||||||
-- Window rules:
|
|
||||||
|
|
||||||
-- Execute arbitrary actions and WindowSet manipulations when managing
|
|
||||||
-- a new window. You can use this to, for example, always float a
|
|
||||||
-- particular program, or have a client always appear on a particular
|
|
||||||
-- workspace.
|
|
||||||
--
|
|
||||||
-- To find the property name associated with a program, use
|
|
||||||
-- > xprop | grep WM_CLASS
|
|
||||||
-- and click on the client you're interested in.
|
|
||||||
--
|
|
||||||
-- To match on the WM_NAME, you can use 'title' in the same way that
|
|
||||||
-- 'className' and 'resource' are used below.
|
|
||||||
--
|
|
||||||
|
|
||||||
-- KeY Defined
|
|
||||||
myManageHook = composeAll
|
|
||||||
[ className =? "MPlayer" --> doFloat
|
|
||||||
, className =? "Gimp" --> doFloat
|
|
||||||
, className =? "Steam" --> doFullFloat
|
|
||||||
, className =? "factorio" --> doFullFloat
|
|
||||||
, className =? "TerraTechLinux64.x86_64" --> doFullFloat
|
|
||||||
, resource =? "desktop_window" --> doIgnore
|
|
||||||
, resource =? "kdesktop" --> doIgnore
|
|
||||||
, manageDocks
|
|
||||||
]
|
|
||||||
|
|
||||||
------------------------------------------------------------------------
|
|
||||||
-- Event handling
|
|
||||||
|
|
||||||
-- * EwmhDesktops users should change this to ewmhDesktopsEventHook
|
|
||||||
--
|
|
||||||
-- Defines a custom handler function for X Events. The function should
|
|
||||||
-- return (All True) if the default handler is to be run afterwards. To
|
|
||||||
-- combine event hooks use mappend or mconcat from Data.Monoid.
|
|
||||||
--
|
|
||||||
myEventHook = mempty
|
|
||||||
------------------------------------------------------------------------
|
|
||||||
-- Status bars and logging
|
|
||||||
|
|
||||||
-- Perform an arbitrary action on each internal state change or X event.
|
|
||||||
-- See the 'XMonad.Hooks.DynamicLog' extension for examples.
|
|
||||||
--
|
|
||||||
myLogHook = mempty
|
|
||||||
------------------------------------------------------------------------
|
|
||||||
-- Startup hook
|
|
||||||
|
|
||||||
-- Perform an arbitrary action each time xmonad starts or is restarted
|
|
||||||
-- with mod-q. Used by, e.g., XMonad.Layout.PerWorkspace to initialize
|
|
||||||
-- per-workspace layout choices.
|
|
||||||
--
|
|
||||||
-- By default, do nothing.
|
|
||||||
myStartupHook = do
|
|
||||||
spawnOnce "compton &"
|
|
||||||
spawnOnce "feh --bg-fill --randomize $HOME/wallpaper/* &"
|
|
||||||
|
|
||||||
|
|
||||||
------------------------------------------------------------------------
|
|
||||||
-- Now run xmonad with all the defaults we set up.
|
|
||||||
|
|
||||||
-- Run xmonad with the settings you specify. No need to modify this.
|
|
||||||
--
|
|
||||||
main :: IO ()
|
|
||||||
main = do
|
|
||||||
xmproc <- spawnPipe ("xmobar $HOME/.config/xmobar/xmobarrc.hs")
|
|
||||||
xmonad $ docks defaults
|
|
||||||
|
|
||||||
|
|
||||||
-- A structure containing your configuration settings, overriding
|
|
||||||
-- fields in the default config. Any you don't override, will
|
|
||||||
-- use the defaults defined in xmonad/XMonad/Config.hs
|
|
||||||
--
|
|
||||||
-- No need to modify this.
|
|
||||||
--
|
|
||||||
defaults = def {
|
|
||||||
-- simple stuff
|
|
||||||
terminal = myTerminal,
|
|
||||||
focusFollowsMouse = myFocusFollowsMouse,
|
|
||||||
clickJustFocuses = myClickJustFocuses,
|
|
||||||
borderWidth = myBorderWidth,
|
|
||||||
modMask = myModMask,
|
|
||||||
workspaces = myWorkspaces,
|
|
||||||
normalBorderColor = myNormalBorderColor,
|
|
||||||
focusedBorderColor = myFocusedBorderColor,
|
|
||||||
|
|
||||||
-- key bindings
|
|
||||||
keys = myKeys,
|
|
||||||
mouseBindings = myMouseBindings,
|
|
||||||
|
|
||||||
-- hooks, layouts
|
|
||||||
layoutHook = spacingRaw True (Border 0 5 5 5) True (Border 5 5 5 5) True $ myLayout,
|
|
||||||
manageHook = myManageHook,
|
|
||||||
handleEventHook = myEventHook,
|
|
||||||
logHook = myLogHook,
|
|
||||||
startupHook = myStartupHook
|
|
||||||
}
|
|
@ -1,27 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
CONFIG_SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
|
||||||
MAIN_DIR=$PWD
|
|
||||||
|
|
||||||
os_list=(debian arch raspberry)
|
|
||||||
|
|
||||||
common_programs_list=(\
|
|
||||||
htop \
|
|
||||||
tmux \
|
|
||||||
git \
|
|
||||||
fish \
|
|
||||||
mc \
|
|
||||||
wget \
|
|
||||||
sudo \
|
|
||||||
unzip \
|
|
||||||
cmake \
|
|
||||||
make \
|
|
||||||
gcc \
|
|
||||||
exa)
|
|
||||||
|
|
||||||
default_installs_debian=(qutebrowser)
|
|
||||||
default_installs_arch=(qutebrowser)
|
|
||||||
default_installs_raspberry=(chromium)
|
|
||||||
|
|
||||||
os_list_count=${#os_list[@]}
|
|
||||||
|
|
@ -1,85 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
INSTALL_SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
|
||||||
|
|
||||||
source $INSTALL_SCRIPT_DIR/config.sh
|
|
||||||
source $INSTALL_SCRIPT_DIR/colors.sh
|
|
||||||
source $INSTALL_SCRIPT_DIR/programs/os_install.sh
|
|
||||||
|
|
||||||
exit_abord()
|
|
||||||
{
|
|
||||||
color_start "themeError"
|
|
||||||
echo "#############################################"
|
|
||||||
echo "# Linux instalation Script Has been aborded #"
|
|
||||||
echo "#############################################"
|
|
||||||
color_stop
|
|
||||||
}
|
|
||||||
|
|
||||||
exit_sucsess()
|
|
||||||
{
|
|
||||||
color_start "themeSuccess"
|
|
||||||
echo "###################################################"
|
|
||||||
echo "# Linux instalation Script Has ended with Sucsess #"
|
|
||||||
echo "###################################################"
|
|
||||||
color_stop
|
|
||||||
}
|
|
||||||
|
|
||||||
color_start "themeGreetings"
|
|
||||||
echo "###########################################"
|
|
||||||
echo "# Wellcome to my Linux instalation Script #"
|
|
||||||
echo "###########################################"
|
|
||||||
color_stop
|
|
||||||
echo ""
|
|
||||||
|
|
||||||
|
|
||||||
color_start "themeIndication"
|
|
||||||
echo "-------------------------------------------"
|
|
||||||
echo "The Following programms will be installed :"
|
|
||||||
echo "-------------------------------------------"
|
|
||||||
color_stop
|
|
||||||
|
|
||||||
color_start "themeFocus"
|
|
||||||
for i in "${!common_programs_list[@]}";
|
|
||||||
do
|
|
||||||
printf "${common_programs_list[$i]} | "
|
|
||||||
done
|
|
||||||
color_stop
|
|
||||||
echo ""
|
|
||||||
echo ""
|
|
||||||
|
|
||||||
color_start "themeInput"
|
|
||||||
echo "---------------------"
|
|
||||||
echo "Please Select your OS"
|
|
||||||
echo "---------------------"
|
|
||||||
color_stop
|
|
||||||
|
|
||||||
color_start "themeSelect"
|
|
||||||
for i in "${!os_list[@]}";
|
|
||||||
do
|
|
||||||
echo "[$(($i + 1))] ${os_list[$i]}"
|
|
||||||
done
|
|
||||||
color_stop
|
|
||||||
|
|
||||||
color_start "themeInput"
|
|
||||||
echo "---------------------"
|
|
||||||
color_stop
|
|
||||||
echo ""
|
|
||||||
|
|
||||||
color_start "themeUserInput"
|
|
||||||
read -p "Select your os or ( q to quit ) : " answer
|
|
||||||
color_stop
|
|
||||||
echo ""
|
|
||||||
|
|
||||||
if [[ "$answer" == "q" ]]; then
|
|
||||||
exit_abord
|
|
||||||
else
|
|
||||||
if [ $answer -lt $(($os_list_count + 1)) ]; then
|
|
||||||
answer=$(( $answer - 1 ))
|
|
||||||
OS=${os_list[$answer]}
|
|
||||||
install_"$OS"
|
|
||||||
else
|
|
||||||
echo " the given nurber was not correct >>ABORDING<<"
|
|
||||||
exit_abord
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
@ -1,99 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
COMMON_SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
|
||||||
|
|
||||||
source $COMMON_SCRIPT_DIR/../colors.sh
|
|
||||||
source $COMMON_SCRIPT_DIR/../config.sh
|
|
||||||
|
|
||||||
common_install()
|
|
||||||
{
|
|
||||||
color_start "themeIndication"
|
|
||||||
echo "-----------------------------------------------------------"
|
|
||||||
echo "Common installations these programs are OS independent from"
|
|
||||||
echo "-----------------------------------------------------------"
|
|
||||||
color_stop
|
|
||||||
sleep 1
|
|
||||||
for i in "${!common_programs_list[@]}";
|
|
||||||
do
|
|
||||||
if ! command -v ${common_programs_list[$i]} &> /dev/null
|
|
||||||
then
|
|
||||||
color_start "themeInstall"
|
|
||||||
echo "--> ${common_programs_list[$i]}"
|
|
||||||
echo " |--> Will Be Installed"
|
|
||||||
echo ""
|
|
||||||
color_stop
|
|
||||||
$1 ${common_programs_list[$i]}
|
|
||||||
else
|
|
||||||
color_start "themeSkip"
|
|
||||||
echo "--> ${common_programs_list[$i]}"
|
|
||||||
echo " |--> Was found and will not be installed"
|
|
||||||
echo ""
|
|
||||||
color_stop
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
default_install()
|
|
||||||
{
|
|
||||||
color_start "themeIndication"
|
|
||||||
echo "--------------------------------"
|
|
||||||
echo "Deffault installations for $OS"
|
|
||||||
echo "--------------------------------"
|
|
||||||
color_stop
|
|
||||||
sleep 1
|
|
||||||
table_in=default_install_$OS
|
|
||||||
for i in "${!table_in[@]}";
|
|
||||||
do
|
|
||||||
if ! command -v ${table_in[$i]} &> /dev/null
|
|
||||||
then
|
|
||||||
color_start "themeInstall"
|
|
||||||
echo "--> ${table_in[$i]}"
|
|
||||||
echo " |--> Will Be Installed"
|
|
||||||
echo ""
|
|
||||||
color_stop
|
|
||||||
$1 ${table_in[$i]}
|
|
||||||
else
|
|
||||||
color_start "themeSkip"
|
|
||||||
echo "--> ${table_in[$i]}"
|
|
||||||
echo " |--> Was found and will not be installed"
|
|
||||||
echo ""
|
|
||||||
color_stop
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
install_debian()
|
|
||||||
{
|
|
||||||
package_manager="sudo apt install -y "
|
|
||||||
color_start "themeIndication"
|
|
||||||
echo "---------------------------------"
|
|
||||||
echo "Istallation will begin for $OS"
|
|
||||||
echo "---------------------------------"
|
|
||||||
color_stop
|
|
||||||
#common_install "$package_manager"
|
|
||||||
default_install "$package_manager"
|
|
||||||
}
|
|
||||||
|
|
||||||
install_arch()
|
|
||||||
{
|
|
||||||
package_manager="yes | sudo packman -S "
|
|
||||||
color_start "themeIndication"
|
|
||||||
echo "---------------------------------"
|
|
||||||
echo "Istallation will begin for $OS"
|
|
||||||
echo "---------------------------------"
|
|
||||||
color_stop
|
|
||||||
common_install "$package_manager"
|
|
||||||
default_install_$OS "$package_manager"
|
|
||||||
}
|
|
||||||
|
|
||||||
install_raspberry()
|
|
||||||
{
|
|
||||||
package_manager="sudo apt install -y "
|
|
||||||
color_start "themeIndication"
|
|
||||||
echo "---------------------------------"
|
|
||||||
echo "Istallation will begin for $OS"
|
|
||||||
echo "---------------------------------"
|
|
||||||
color_stop
|
|
||||||
common_install "$package_manager"
|
|
||||||
default_install_$OS "$package_manager"
|
|
||||||
}
|
|
@ -1,31 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
MAIN_DIR=$PWD
|
|
||||||
|
|
||||||
source $MAIN_DIR/programs/os/debian_install.sh
|
|
||||||
source $MAIN_DIR/programs/os/arch_install.sh
|
|
||||||
source $MAIN_DIR/programs/os/raspberry_install.sh
|
|
||||||
|
|
||||||
|
|
||||||
os_list=(debian arch raspberry)
|
|
||||||
|
|
||||||
common_programs_list=(\
|
|
||||||
htop \
|
|
||||||
tmux \
|
|
||||||
git \
|
|
||||||
fish \
|
|
||||||
mc \
|
|
||||||
wget \
|
|
||||||
sudo \
|
|
||||||
unzip \
|
|
||||||
cmake \
|
|
||||||
make \
|
|
||||||
gcc \
|
|
||||||
exa)
|
|
||||||
|
|
||||||
default_installs_debian=(qutebrowser)
|
|
||||||
default_installs_arch=(qutebrowser)
|
|
||||||
default_installs_raspberry=(chromium)
|
|
||||||
|
|
||||||
os_list_count=${#os_list[@]}
|
|
||||||
|
|
@ -1,23 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
install_defaults_arch()
|
|
||||||
{
|
|
||||||
color_start "themeIndication"
|
|
||||||
echo "------------------------------"
|
|
||||||
echo "Default installations for Arch"
|
|
||||||
echo "------------------------------"
|
|
||||||
color_stop
|
|
||||||
sleep 1
|
|
||||||
for i in "${!default_installs_arch[@]}";
|
|
||||||
do
|
|
||||||
currentProg=${default_installs_arch[$i]}
|
|
||||||
|
|
||||||
if [ $( check_installed $currentProg ) -eq 0 ]
|
|
||||||
then
|
|
||||||
install_prog $currentProg
|
|
||||||
else
|
|
||||||
skip_prog $currentProg
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
@ -1,23 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
install_defaults_debian()
|
|
||||||
{
|
|
||||||
color_start "themeIndication"
|
|
||||||
echo "--------------------------------"
|
|
||||||
echo "Default installations for Debian"
|
|
||||||
echo "--------------------------------"
|
|
||||||
color_stop
|
|
||||||
sleep 1
|
|
||||||
for i in "${!default_installs_debian[@]}";
|
|
||||||
do
|
|
||||||
currentProg=${default_installs_debian[$i]}
|
|
||||||
|
|
||||||
if [ $( check_installed $currentProg ) -eq 0 ]
|
|
||||||
then
|
|
||||||
install_prog $currentProg
|
|
||||||
else
|
|
||||||
skip_prog $currentProg
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
@ -1,82 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
COMMON_SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
|
||||||
|
|
||||||
package_manager="none"
|
|
||||||
|
|
||||||
# arg($1) = Program's name
|
|
||||||
install_prog()
|
|
||||||
{
|
|
||||||
color_start "themeInstall"
|
|
||||||
echo "--> $1"
|
|
||||||
echo " |--> Will Be Installed"
|
|
||||||
echo ""
|
|
||||||
color_stop
|
|
||||||
$package_manager $1
|
|
||||||
}
|
|
||||||
|
|
||||||
# arg($1) = Program's name
|
|
||||||
skip_prog()
|
|
||||||
{
|
|
||||||
color_start "themeSkip"
|
|
||||||
echo "--> $1"
|
|
||||||
echo " |--> Was found and will not be installed"
|
|
||||||
echo ""
|
|
||||||
color_stop
|
|
||||||
}
|
|
||||||
|
|
||||||
#arg($1) = Package manager
|
|
||||||
common_install()
|
|
||||||
{
|
|
||||||
color_start "themeIndication"
|
|
||||||
echo "-----------------------------------------------------------"
|
|
||||||
echo "Common installations these programs are OS independent from"
|
|
||||||
echo "-----------------------------------------------------------"
|
|
||||||
color_stop
|
|
||||||
sleep 1
|
|
||||||
for i in "${!common_programs_list[@]}";
|
|
||||||
do
|
|
||||||
currentProg=${common_programs_list[$i]}
|
|
||||||
|
|
||||||
if [ $( check_installed $currentProg ) -eq 0 ]
|
|
||||||
then
|
|
||||||
install_prog $currentProg
|
|
||||||
else
|
|
||||||
skip_prog $currentProg
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
install_debian()
|
|
||||||
{
|
|
||||||
package_manager="sudo apt install -y "
|
|
||||||
color_start "themeIndication"
|
|
||||||
echo "---------------------------------"
|
|
||||||
echo "Istallation will begin for $OS"
|
|
||||||
echo "---------------------------------"
|
|
||||||
color_stop
|
|
||||||
common_install
|
|
||||||
install_defaults_debian
|
|
||||||
}
|
|
||||||
|
|
||||||
install_arch()
|
|
||||||
{
|
|
||||||
package_manager="yes | sudo packman -S "
|
|
||||||
color_start "themeIndication"
|
|
||||||
echo "---------------------------------"
|
|
||||||
echo "Istallation will begin for $OS"
|
|
||||||
echo "---------------------------------"
|
|
||||||
common_install
|
|
||||||
install_defaults_arch
|
|
||||||
}
|
|
||||||
|
|
||||||
install_raspberry()
|
|
||||||
{
|
|
||||||
package_manager="sudo apt install -y "
|
|
||||||
color_start "themeIndication"
|
|
||||||
echo "---------------------------------"
|
|
||||||
echo "Istallation will begin for $OS"
|
|
||||||
echo "---------------------------------"
|
|
||||||
common_install
|
|
||||||
install_defaults_raspberry
|
|
||||||
}
|
|
@ -1,23 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
install_defaults_raspberry()
|
|
||||||
{
|
|
||||||
color_start "themeIndication"
|
|
||||||
echo "-----------------------------------"
|
|
||||||
echo "Default installations for Raspberry"
|
|
||||||
echo "-----------------------------------"
|
|
||||||
color_stop
|
|
||||||
sleep 1
|
|
||||||
for i in "${!default_installs_raspberry[@]}";
|
|
||||||
do
|
|
||||||
currentProg=${default_installs_raspberry[$i]}
|
|
||||||
|
|
||||||
if [ $( check_installed $currentProg ) -eq 0 ]
|
|
||||||
then
|
|
||||||
install_prog $currentProg
|
|
||||||
else
|
|
||||||
skip_prog $currentProg
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
@ -1,86 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
SETUP_SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
|
||||||
|
|
||||||
source $SETUP_SCRIPT_DIR/config.sh
|
|
||||||
source $SETUP_SCRIPT_DIR/programs/os/os_install.sh
|
|
||||||
|
|
||||||
source $SETUP_SCRIPT_DIR/../scripts/colors.sh
|
|
||||||
source $SETUP_SCRIPT_DIR/../scripts/check_installed.sh
|
|
||||||
|
|
||||||
exit_abord()
|
|
||||||
{
|
|
||||||
color_start "themeError"
|
|
||||||
echo "#############################################"
|
|
||||||
echo "# Linux instalation Script Has been aborded #"
|
|
||||||
echo "#############################################"
|
|
||||||
color_stop
|
|
||||||
}
|
|
||||||
|
|
||||||
exit_sucsess()
|
|
||||||
{
|
|
||||||
color_start "themeSuccess"
|
|
||||||
echo "###################################################"
|
|
||||||
echo "# Linux instalation Script Has ended with Sucsess #"
|
|
||||||
echo "###################################################"
|
|
||||||
color_stop
|
|
||||||
}
|
|
||||||
|
|
||||||
color_start "themeGreetings"
|
|
||||||
echo "###########################################"
|
|
||||||
echo "# Wellcome to my Linux instalation Script #"
|
|
||||||
echo "###########################################"
|
|
||||||
color_stop
|
|
||||||
echo ""
|
|
||||||
|
|
||||||
|
|
||||||
color_start "themeIndication"
|
|
||||||
echo "-------------------------------------------"
|
|
||||||
echo "The Following programms will be installed :"
|
|
||||||
echo "-------------------------------------------"
|
|
||||||
color_stop
|
|
||||||
|
|
||||||
color_start "themeFocus"
|
|
||||||
for i in "${!common_programs_list[@]}";
|
|
||||||
do
|
|
||||||
printf "${common_programs_list[$i]} | "
|
|
||||||
done
|
|
||||||
color_stop
|
|
||||||
echo ""
|
|
||||||
echo ""
|
|
||||||
|
|
||||||
color_start "themeInput"
|
|
||||||
echo "---------------------"
|
|
||||||
echo "Please Select your OS"
|
|
||||||
echo "---------------------"
|
|
||||||
color_stop
|
|
||||||
|
|
||||||
color_start "themeSelect"
|
|
||||||
for i in "${!os_list[@]}";
|
|
||||||
do
|
|
||||||
echo "[$(($i + 1))] ${os_list[$i]}"
|
|
||||||
done
|
|
||||||
color_stop
|
|
||||||
|
|
||||||
color_start "themeInput"
|
|
||||||
echo "---------------------"
|
|
||||||
color_stop
|
|
||||||
echo ""
|
|
||||||
|
|
||||||
color_start "themeUserInput"
|
|
||||||
read -p "Select your os or ( q to quit ) : " answer
|
|
||||||
color_stop
|
|
||||||
echo ""
|
|
||||||
|
|
||||||
if [[ "$answer" == "q" ]]; then
|
|
||||||
exit_abord
|
|
||||||
else
|
|
||||||
if [ $answer -lt $(($os_list_count + 1)) ]; then
|
|
||||||
answer=$(( $answer - 1 ))
|
|
||||||
OS=${os_list[$answer]}
|
|
||||||
install_"$OS"
|
|
||||||
else
|
|
||||||
echo " the given nurber was not correct >>ABORDING<<"
|
|
||||||
exit_abord
|
|
||||||
fi
|
|
||||||
fi
|
|
@ -1,16 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
INSTALL_SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
|
||||||
|
|
||||||
source $INSTALL_SCRIPT_DIR/config.sh
|
|
||||||
source $INSTALL_SCRIPT_DIR/scripts/colors.sh
|
|
||||||
source $INSTALL_SCRIPT_DIR/programs/os_install.sh
|
|
||||||
source $INSTALL_SCRIPT_DIR/scripts/check_installed.sh
|
|
||||||
|
|
||||||
|
|
||||||
if [ $( check_installed hellim ) -eq 1 ]
|
|
||||||
then
|
|
||||||
echo Is installed
|
|
||||||
else
|
|
||||||
echo Is not installed
|
|
||||||
fi
|
|
@ -1,12 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
sudo apt-get install cmake pkg-config libfreetype6-dev libfontconfig1-dev libxcb-xfixes0-dev libxkbcommon-dev python3
|
|
||||||
git clone https://github.com/alacritty/alacritty.git
|
|
||||||
sudo curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
|
||||||
source $HOME/.cargo/env
|
|
||||||
cd alacritty/
|
|
||||||
cargo build --release
|
|
||||||
sudo cp target/release/alacritty /usr/local/bin
|
|
||||||
sudo cp extra/logo/alacritty-term.svg /usr/share/pixmaps/Alacritty.svg
|
|
||||||
cd ..
|
|
||||||
sudo rm -r alacritty/
|
|
@ -1,165 +0,0 @@
|
|||||||
Fonticons, Inc. (https://fontawesome.com)
|
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
Font Awesome Free License
|
|
||||||
|
|
||||||
Font Awesome Free is free, open source, and GPL friendly. You can use it for
|
|
||||||
commercial projects, open source projects, or really almost whatever you want.
|
|
||||||
Full Font Awesome Free license: https://fontawesome.com/license/free.
|
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
# Icons: CC BY 4.0 License (https://creativecommons.org/licenses/by/4.0/)
|
|
||||||
|
|
||||||
The Font Awesome Free download is licensed under a Creative Commons
|
|
||||||
Attribution 4.0 International License and applies to all icons packaged
|
|
||||||
as SVG and JS file types.
|
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
# Fonts: SIL OFL 1.1 License
|
|
||||||
|
|
||||||
In the Font Awesome Free download, the SIL OFL license applies to all icons
|
|
||||||
packaged as web and desktop font files.
|
|
||||||
|
|
||||||
Copyright (c) 2022 Fonticons, Inc. (https://fontawesome.com)
|
|
||||||
with Reserved Font Name: "Font Awesome".
|
|
||||||
|
|
||||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
||||||
This license is copied below, and is also available with a FAQ at:
|
|
||||||
http://scripts.sil.org/OFL
|
|
||||||
|
|
||||||
SIL OPEN FONT LICENSE
|
|
||||||
Version 1.1 - 26 February 2007
|
|
||||||
|
|
||||||
PREAMBLE
|
|
||||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
||||||
development of collaborative font projects, to support the font creation
|
|
||||||
efforts of academic and linguistic communities, and to provide a free and
|
|
||||||
open framework in which fonts may be shared and improved in partnership
|
|
||||||
with others.
|
|
||||||
|
|
||||||
The OFL allows the licensed fonts to be used, studied, modified and
|
|
||||||
redistributed freely as long as they are not sold by themselves. The
|
|
||||||
fonts, including any derivative works, can be bundled, embedded,
|
|
||||||
redistributed and/or sold with any software provided that any reserved
|
|
||||||
names are not used by derivative works. The fonts and derivatives,
|
|
||||||
however, cannot be released under any other type of license. The
|
|
||||||
requirement for fonts to remain under this license does not apply
|
|
||||||
to any document created using the fonts or their derivatives.
|
|
||||||
|
|
||||||
DEFINITIONS
|
|
||||||
"Font Software" refers to the set of files released by the Copyright
|
|
||||||
Holder(s) under this license and clearly marked as such. This may
|
|
||||||
include source files, build scripts and documentation.
|
|
||||||
|
|
||||||
"Reserved Font Name" refers to any names specified as such after the
|
|
||||||
copyright statement(s).
|
|
||||||
|
|
||||||
"Original Version" refers to the collection of Font Software components as
|
|
||||||
distributed by the Copyright Holder(s).
|
|
||||||
|
|
||||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
||||||
or substituting — in part or in whole — any of the components of the
|
|
||||||
Original Version, by changing formats or by porting the Font Software to a
|
|
||||||
new environment.
|
|
||||||
|
|
||||||
"Author" refers to any designer, engineer, programmer, technical
|
|
||||||
writer or other person who contributed to the Font Software.
|
|
||||||
|
|
||||||
PERMISSION & CONDITIONS
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining
|
|
||||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
||||||
redistribute, and sell modified and unmodified copies of the Font
|
|
||||||
Software, subject to the following conditions:
|
|
||||||
|
|
||||||
1) Neither the Font Software nor any of its individual components,
|
|
||||||
in Original or Modified Versions, may be sold by itself.
|
|
||||||
|
|
||||||
2) Original or Modified Versions of the Font Software may be bundled,
|
|
||||||
redistributed and/or sold with any software, provided that each copy
|
|
||||||
contains the above copyright notice and this license. These can be
|
|
||||||
included either as stand-alone text files, human-readable headers or
|
|
||||||
in the appropriate machine-readable metadata fields within text or
|
|
||||||
binary files as long as those fields can be easily viewed by the user.
|
|
||||||
|
|
||||||
3) No Modified Version of the Font Software may use the Reserved Font
|
|
||||||
Name(s) unless explicit written permission is granted by the corresponding
|
|
||||||
Copyright Holder. This restriction only applies to the primary font name as
|
|
||||||
presented to the users.
|
|
||||||
|
|
||||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
||||||
Software shall not be used to promote, endorse or advertise any
|
|
||||||
Modified Version, except to acknowledge the contribution(s) of the
|
|
||||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
||||||
permission.
|
|
||||||
|
|
||||||
5) The Font Software, modified or unmodified, in part or in whole,
|
|
||||||
must be distributed entirely under this license, and must not be
|
|
||||||
distributed under any other license. The requirement for fonts to
|
|
||||||
remain under this license does not apply to any document created
|
|
||||||
using the Font Software.
|
|
||||||
|
|
||||||
TERMINATION
|
|
||||||
This license becomes null and void if any of the above conditions are
|
|
||||||
not met.
|
|
||||||
|
|
||||||
DISCLAIMER
|
|
||||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
||||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
||||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
||||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
||||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
||||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
||||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
# Code: MIT License (https://opensource.org/licenses/MIT)
|
|
||||||
|
|
||||||
In the Font Awesome Free download, the MIT license applies to all non-font and
|
|
||||||
non-icon files.
|
|
||||||
|
|
||||||
Copyright 2022 Fonticons, Inc.
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
||||||
this software and associated documentation files (the "Software"), to deal in the
|
|
||||||
Software without restriction, including without limitation the rights to use, copy,
|
|
||||||
modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
|
|
||||||
and to permit persons to whom the Software is furnished to do so, subject to the
|
|
||||||
following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
|
|
||||||
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
|
||||||
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
||||||
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
||||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
# Attribution
|
|
||||||
|
|
||||||
Attribution is required by MIT, SIL OFL, and CC BY licenses. Downloaded Font
|
|
||||||
Awesome Free files already contain embedded comments with sufficient
|
|
||||||
attribution, so you shouldn't need to do anything additional when using these
|
|
||||||
files normally.
|
|
||||||
|
|
||||||
We've kept attribution comments terse, so we ask that you do not actively work
|
|
||||||
to remove them from files, especially code. They're a great way for folks to
|
|
||||||
learn about Font Awesome.
|
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
# Brand Icons
|
|
||||||
|
|
||||||
All brand icons are trademarks of their respective owners. The use of these
|
|
||||||
trademarks does not indicate endorsement of the trademark holder by Font
|
|
||||||
Awesome, nor vice versa. **Please do not use brand logos for any purpose except
|
|
||||||
to represent the company, product, or service to which they refer.**
|
|
@ -1,377 +0,0 @@
|
|||||||
area-chart:
|
|
||||||
name: chart-area
|
|
||||||
arrow-circle-o-down:
|
|
||||||
name: circle-down
|
|
||||||
prefix: far
|
|
||||||
arrow-circle-o-left:
|
|
||||||
name: circle-left
|
|
||||||
prefix: far
|
|
||||||
arrow-circle-o-right:
|
|
||||||
name: circle-right
|
|
||||||
prefix: far
|
|
||||||
arrow-circle-o-up:
|
|
||||||
name: circle-up
|
|
||||||
prefix: far
|
|
||||||
arrows:
|
|
||||||
name: up-down-left-right
|
|
||||||
arrows-alt:
|
|
||||||
name: maximize
|
|
||||||
arrows-h:
|
|
||||||
name: left-right
|
|
||||||
arrows-v:
|
|
||||||
name: up-down
|
|
||||||
bar-chart:
|
|
||||||
name: chart-column
|
|
||||||
behance-square:
|
|
||||||
name: square-behance
|
|
||||||
prefix: fab
|
|
||||||
bitbucket-square:
|
|
||||||
name: bitbucket
|
|
||||||
prefix: fab
|
|
||||||
calendar:
|
|
||||||
name: calendar-days
|
|
||||||
calendar-o:
|
|
||||||
name: calendar
|
|
||||||
prefix: far
|
|
||||||
caret-square-o-down:
|
|
||||||
name: square-caret-down
|
|
||||||
prefix: far
|
|
||||||
caret-square-o-left:
|
|
||||||
name: square-caret-left
|
|
||||||
prefix: far
|
|
||||||
caret-square-o-right:
|
|
||||||
name: square-caret-right
|
|
||||||
prefix: far
|
|
||||||
caret-square-o-up:
|
|
||||||
name: square-caret-up
|
|
||||||
prefix: far
|
|
||||||
cc:
|
|
||||||
name: closed-captioning
|
|
||||||
prefix: far
|
|
||||||
chain-broken:
|
|
||||||
name: link-slash
|
|
||||||
circle-o-notch:
|
|
||||||
name: circle-notch
|
|
||||||
circle-thin:
|
|
||||||
name: circle
|
|
||||||
prefix: far
|
|
||||||
clipboard:
|
|
||||||
name: paste
|
|
||||||
clone:
|
|
||||||
prefix: far
|
|
||||||
cloud-download:
|
|
||||||
name: cloud-arrow-down
|
|
||||||
cloud-upload:
|
|
||||||
name: cloud-arrow-up
|
|
||||||
code-fork:
|
|
||||||
name: code-branch
|
|
||||||
comment-alt:
|
|
||||||
name: comment-dots
|
|
||||||
prefix: far
|
|
||||||
commenting:
|
|
||||||
name: comment-dots
|
|
||||||
compass:
|
|
||||||
prefix: far
|
|
||||||
compress:
|
|
||||||
name: down-left-and-up-right-to-center
|
|
||||||
copyright:
|
|
||||||
prefix: far
|
|
||||||
creative-commons:
|
|
||||||
prefix: fab
|
|
||||||
credit-card:
|
|
||||||
prefix: far
|
|
||||||
credit-card-alt:
|
|
||||||
name: credit-card
|
|
||||||
cutlery:
|
|
||||||
name: utensils
|
|
||||||
diamond:
|
|
||||||
name: gem
|
|
||||||
prefix: far
|
|
||||||
eercast:
|
|
||||||
name: sellcast
|
|
||||||
prefix: fab
|
|
||||||
eur:
|
|
||||||
name: euro-sign
|
|
||||||
exchange:
|
|
||||||
name: right-left
|
|
||||||
expand:
|
|
||||||
name: up-right-and-down-left-from-center
|
|
||||||
external-link:
|
|
||||||
name: up-right-from-square
|
|
||||||
external-link-square:
|
|
||||||
name: square-up-right
|
|
||||||
eye:
|
|
||||||
prefix: far
|
|
||||||
eye-dropper:
|
|
||||||
name: eye-dropper
|
|
||||||
prefix: far
|
|
||||||
eye-slash:
|
|
||||||
prefix: far
|
|
||||||
eyedropper:
|
|
||||||
name: eye-dropper
|
|
||||||
facebook:
|
|
||||||
name: facebook-f
|
|
||||||
prefix: fab
|
|
||||||
facebook-official:
|
|
||||||
name: facebook
|
|
||||||
prefix: fab
|
|
||||||
facebook-square:
|
|
||||||
name: square-facebook
|
|
||||||
prefix: fab
|
|
||||||
file-text:
|
|
||||||
name: file-lines
|
|
||||||
files-o:
|
|
||||||
name: copy
|
|
||||||
prefix: far
|
|
||||||
floppy-o:
|
|
||||||
name: floppy-disk
|
|
||||||
prefix: far
|
|
||||||
gbp:
|
|
||||||
name: sterling-sign
|
|
||||||
git-square:
|
|
||||||
name: square-git
|
|
||||||
prefix: fab
|
|
||||||
github-square:
|
|
||||||
name: square-github
|
|
||||||
prefix: fab
|
|
||||||
gitlab-square:
|
|
||||||
name: square-gitlab
|
|
||||||
prefix: fab
|
|
||||||
glass:
|
|
||||||
name: martini-glass-empty
|
|
||||||
globe:
|
|
||||||
name: earth-americas
|
|
||||||
google-plus:
|
|
||||||
name: google-plus-g
|
|
||||||
prefix: fab
|
|
||||||
google-plus-circle:
|
|
||||||
name: google-plus
|
|
||||||
prefix: fab
|
|
||||||
google-plus-official:
|
|
||||||
name: google-plus
|
|
||||||
prefix: fab
|
|
||||||
google-plus-square:
|
|
||||||
name: square-google-plus
|
|
||||||
prefix: fab
|
|
||||||
hacker-news-square:
|
|
||||||
name: square-hacker-news
|
|
||||||
prefix: fab
|
|
||||||
hand-o-down:
|
|
||||||
name: hand-point-down
|
|
||||||
prefix: far
|
|
||||||
hand-o-left:
|
|
||||||
name: hand-point-left
|
|
||||||
prefix: far
|
|
||||||
hand-o-right:
|
|
||||||
name: hand-point-right
|
|
||||||
prefix: far
|
|
||||||
hand-o-up:
|
|
||||||
name: hand-point-up
|
|
||||||
prefix: far
|
|
||||||
header:
|
|
||||||
name: heading
|
|
||||||
home:
|
|
||||||
name: house
|
|
||||||
hourglass-o:
|
|
||||||
name: hourglass
|
|
||||||
id-badge:
|
|
||||||
prefix: far
|
|
||||||
ils:
|
|
||||||
name: shekel-sign
|
|
||||||
inr:
|
|
||||||
name: indian-rupee-sign
|
|
||||||
instagram-square:
|
|
||||||
name: square-instagram
|
|
||||||
prefix: fab
|
|
||||||
jpy:
|
|
||||||
name: yen-sign
|
|
||||||
js-square:
|
|
||||||
name: square-js
|
|
||||||
prefix: fab
|
|
||||||
krw:
|
|
||||||
name: won-sign
|
|
||||||
lastfm-square:
|
|
||||||
name: square-lastfm
|
|
||||||
prefix: fab
|
|
||||||
level-down:
|
|
||||||
name: turn-down
|
|
||||||
level-up:
|
|
||||||
name: turn-up
|
|
||||||
line-chart:
|
|
||||||
name: chart-line
|
|
||||||
linkedin:
|
|
||||||
name: linkedin-in
|
|
||||||
prefix: fab
|
|
||||||
linkedin-square:
|
|
||||||
name: linkedin
|
|
||||||
prefix: fab
|
|
||||||
list-alt:
|
|
||||||
name: rectangle-list
|
|
||||||
prefix: far
|
|
||||||
long-arrow-down:
|
|
||||||
name: down-long
|
|
||||||
long-arrow-left:
|
|
||||||
name: left-long
|
|
||||||
long-arrow-right:
|
|
||||||
name: right-long
|
|
||||||
long-arrow-up:
|
|
||||||
name: up-long
|
|
||||||
magic:
|
|
||||||
name: wand-magic-sparkles
|
|
||||||
map-marker:
|
|
||||||
name: location-dot
|
|
||||||
meanpath:
|
|
||||||
name: font-awesome
|
|
||||||
prefix: fab
|
|
||||||
mobile:
|
|
||||||
name: mobile-screen-button
|
|
||||||
money:
|
|
||||||
name: money-bill-1
|
|
||||||
object-group:
|
|
||||||
prefix: far
|
|
||||||
object-ungroup:
|
|
||||||
prefix: far
|
|
||||||
odnoklassniki-square:
|
|
||||||
name: square-odnoklassniki
|
|
||||||
prefix: fab
|
|
||||||
paste:
|
|
||||||
prefix: far
|
|
||||||
pencil-square:
|
|
||||||
name: square-pen
|
|
||||||
pencil-square-o:
|
|
||||||
name: pen-to-square
|
|
||||||
prefix: far
|
|
||||||
picture:
|
|
||||||
name: image
|
|
||||||
pie-chart:
|
|
||||||
name: chart-pie
|
|
||||||
pied-piper-square:
|
|
||||||
name: square-pied-piper
|
|
||||||
prefix: fab
|
|
||||||
pinterest-square:
|
|
||||||
name: square-pinterest
|
|
||||||
prefix: fab
|
|
||||||
reddit-square:
|
|
||||||
name: square-reddit
|
|
||||||
prefix: fab
|
|
||||||
refresh:
|
|
||||||
name: arrows-rotate
|
|
||||||
registered:
|
|
||||||
prefix: far
|
|
||||||
repeat:
|
|
||||||
name: arrow-rotate-right
|
|
||||||
rub:
|
|
||||||
name: ruble-sign
|
|
||||||
share-square-o:
|
|
||||||
name: share-from-square
|
|
||||||
sign-in:
|
|
||||||
name: right-to-bracket
|
|
||||||
sign-out:
|
|
||||||
name: right-from-bracket
|
|
||||||
snapchat-ghost:
|
|
||||||
name: snapchat
|
|
||||||
prefix: fab
|
|
||||||
snapchat-square:
|
|
||||||
name: square-snapchat
|
|
||||||
prefix: fab
|
|
||||||
sort-alpha-asc:
|
|
||||||
name: arrow-down-a-z
|
|
||||||
sort-alpha-desc:
|
|
||||||
name: arrow-down-z-a
|
|
||||||
sort-amount-asc:
|
|
||||||
name: arrow-down-short-wide
|
|
||||||
sort-amount-desc:
|
|
||||||
name: arrow-down-wide-short
|
|
||||||
sort-asc:
|
|
||||||
name: sort-up
|
|
||||||
sort-desc:
|
|
||||||
name: sort-down
|
|
||||||
sort-numeric-asc:
|
|
||||||
name: arrow-down-1-9
|
|
||||||
sort-numeric-desc:
|
|
||||||
name: arrow-down-9-1
|
|
||||||
star-half-empty:
|
|
||||||
name: star-half
|
|
||||||
star-half-full:
|
|
||||||
name: star-half
|
|
||||||
star-half-o:
|
|
||||||
name: star-half-stroke
|
|
||||||
prefix: far
|
|
||||||
steam-square:
|
|
||||||
name: square-steam
|
|
||||||
prefix: fab
|
|
||||||
support:
|
|
||||||
name: life-ring
|
|
||||||
prefix: far
|
|
||||||
tablet:
|
|
||||||
name: tablet-screen-button
|
|
||||||
tachometer:
|
|
||||||
name: gauge-high
|
|
||||||
tasks:
|
|
||||||
name: bars-progress
|
|
||||||
television:
|
|
||||||
name: tv
|
|
||||||
thumb-tack:
|
|
||||||
name: thumbtack
|
|
||||||
thumbs-o-down:
|
|
||||||
name: thumbs-down
|
|
||||||
prefix: far
|
|
||||||
thumbs-o-up:
|
|
||||||
name: thumbs-up
|
|
||||||
prefix: far
|
|
||||||
transgender:
|
|
||||||
name: mars-and-venus
|
|
||||||
transgender-alt:
|
|
||||||
name: transgender
|
|
||||||
trash:
|
|
||||||
name: trash-can
|
|
||||||
trash-o:
|
|
||||||
name: trash-can
|
|
||||||
prefix: far
|
|
||||||
try:
|
|
||||||
name: turkish-lira-sign
|
|
||||||
tumblr-square:
|
|
||||||
name: square-tumblr
|
|
||||||
prefix: fab
|
|
||||||
twitter-square:
|
|
||||||
name: square-twitter
|
|
||||||
prefix: fab
|
|
||||||
unlock-alt:
|
|
||||||
name: unlock
|
|
||||||
usd:
|
|
||||||
name: dollar-sign
|
|
||||||
user-circle-o:
|
|
||||||
name: circle-user
|
|
||||||
prefix: far
|
|
||||||
viadeo-square:
|
|
||||||
name: square-viadeo
|
|
||||||
prefix: fab
|
|
||||||
video-camera:
|
|
||||||
name: video
|
|
||||||
vimeo:
|
|
||||||
name: vimeo-v
|
|
||||||
prefix: fab
|
|
||||||
vimeo-square:
|
|
||||||
name: square-vimeo
|
|
||||||
prefix: fab
|
|
||||||
volume-control-phone:
|
|
||||||
name: phone-volume
|
|
||||||
whatsapp-square:
|
|
||||||
name: square-whatsapp
|
|
||||||
prefix: fab
|
|
||||||
wheelchair-alt:
|
|
||||||
name: accessible-icon
|
|
||||||
prefix: fab
|
|
||||||
window-maximize:
|
|
||||||
prefix: far
|
|
||||||
window-restore:
|
|
||||||
prefix: far
|
|
||||||
xing-square:
|
|
||||||
name: square-xing
|
|
||||||
prefix: fab
|
|
||||||
youtube-play:
|
|
||||||
name: youtube
|
|
||||||
prefix: fab
|
|
||||||
youtube-square:
|
|
||||||
name: square-youtube
|
|
||||||
prefix: fab
|
|
Before Width: | Height: | Size: 953 B |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 986 B |
Before Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 478 B |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 615 B |
Before Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 956 B |
Before Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 931 B |
Before Width: | Height: | Size: 816 B |
Before Width: | Height: | Size: 592 B |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 450 B |
Before Width: | Height: | Size: 937 B |
Before Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 726 B |
Before Width: | Height: | Size: 484 B |
Before Width: | Height: | Size: 975 B |
Before Width: | Height: | Size: 577 B |
Before Width: | Height: | Size: 785 B |
Before Width: | Height: | Size: 490 B |
Before Width: | Height: | Size: 782 B |
Before Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 391 B |
Before Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 895 B |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 696 B |
Before Width: | Height: | Size: 517 B |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 970 B |
Before Width: | Height: | Size: 388 B |
Before Width: | Height: | Size: 887 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 582 B |
Before Width: | Height: | Size: 581 B |
Before Width: | Height: | Size: 1006 B |
Before Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 969 B |
Before Width: | Height: | Size: 930 B |
Before Width: | Height: | Size: 685 B |
Before Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 508 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 1014 B |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 811 B |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 990 B |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 666 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 832 B |
Before Width: | Height: | Size: 693 B |
Before Width: | Height: | Size: 1.3 KiB |