Removing a lot of unused files

This commit is contained in:
jfm 2024-04-24 17:07:39 +02:00
parent b350b52c4f
commit 7e1db0d772
83 changed files with 1 additions and 4890 deletions

View File

@ -1,60 +1,19 @@
# Dotfiles
These are the configuration files I currently use for my daily driver setup of i3 etc on Arch linux.
# Multimonitor support
I have implemented a custom couple of scripts to handle screen setup for work, home and just on the laptop. It does not work with docking/undocking yet though
# Desktop
I use a custom configured desktop without a normal DE. I prefer the simplicity and control I can get by choosing my own components
## Screenshot
![Screenshot](screenshot.png)
## Components
* [i3-gaps](https://github.com/Airblader/i3)
* [Rofi](https://github.com/DaveDavenport/rofi)
* [Polybar](https://github.com/jaagr/polybar)
* [Dunst](https://github.com/dunst-project/dunst)
* [Compton](https://github.com/chjj/compton)
## Applications
* [Nitrogen](https://github.com/l3ib/nitrogen)
* [NetworkManager](https://github.com/NetworkManager/NetworkManager)
* [pasystray](https://github.com/christophgysin/pasystray)
I Use Gnome as my daily driver
## Other Software I Use
* [WeeChat](https://github.com/weechat/weechat)
* [NewsBoat](https://github.com/newsboat/newsboat)
* [RTV](https://github.com/michael-lazar/rtv)
* [Bark](https://github.com/jfm/bark)
* [NeoVim](https://github.com/neovim/neovim)
### Looks
#### Themes
Icon Theme: Papirus Dark
GTK Theme: Materia Dark
#### Colorscheme
I aim to use the nice Solarized Dark colorscheme as much as possible because I just find it very pleasing to the eyes.
#### Fonts
I try to use the excellent Source Code Pro for Powerline font everywhere. On Arch we need to install the Powerline fonts from the git repository for it to work properly.
# Stow Commands
I use Gnu Stow to manage my dotfiles. Dotfiles from this repository can be used by issuing:
~~~
stow -t ~ i3
stow -t ~ rofi
stow -t ~ termite
stow -t ~ newsboat
stow -t ~ neovim
stow -t ~ bash
stow -t ~ polybar
stow -t ~ powerline
stow -t ~ dunst
stow -t ~ gtk
stow -t ~ rtv
stow -t ~ weechat
stow -t ~ compton
~~~

View File

@ -1,251 +0,0 @@
font:
# The normal (roman) font face to use.
size: 11
normal:
family: Droid Sans Mono Slashed for Powerline
# Style can be specified to pick a specific face.
style: Regular
# The bold font face
bold:
family: Droid Sans Mono Slashed for Powerline
# Style can be specified to pick a specific face.
# style: Bold
# The italic font face
italic:
family: Droid Sans Mono Slashed for Powerline
# Style can be specified to pick a specific face.
# style: Italic
colors:
# Default colors
primary:
background: '0x002b36'
foreground: '0x839496'
# Normal colors
normal:
black: '0x073642'
red: '0xdc322f'
green: '0x859900'
yellow: '0xb58900'
blue: '0x268bd2'
magenta: '0xd33682'
cyan: '0x2aa198'
white: '0xeee8d5'
# Bright colors
bright:
black: '0x002b36'
red: '0xcb4b16'
green: '0x586e75'
yellow: '0x657b83'
blue: '0x839496'
magenta: '0x6c71c4'
cyan: '0x93a1a1'
white: '0xfdf6e3'
visual_bell:
animation: EaseOutExpo
duration: 0
mouse_bindings:
- { mouse: Middle, action: PasteSelection }
mouse:
# Click settings
#
# The `double_click` and `triple_click` settings control the time
# alacritty should wait for accepting multiple clicks as one double
# or triple click.
double_click: { threshold: 300 }
triple_click: { threshold: 300 }
# Faux Scrollback
#
# The `faux_scrollback_lines` setting controls the number
# of lines the terminal should scroll when the alternate
# screen buffer is active. This is used to allow mouse
# scrolling for applications like `man`.
#
# To disable this completely, set `faux_scrollback_lines` to 0.
faux_scrolling_lines: 1
selection:
semantic_escape_chars: ",│`|:\"' ()[]{}<>"
dynamic_title: true
hide_cursor_when_typing: false
# Style of the cursor
#
# Values for 'cursor_style':
# - Block
# - Underline
# - Beam
cursor_style: Block
# Whether the cursor should be a hollow block on window focus loss
unfocused_hollow_cursor: true
# Live config reload (changes require restart)
live_config_reload: true
# Shell
#
# You can set shell.program to the path of your favorite shell, e.g. /bin/fish.
# Entries in shell.args are passed unmodified as arguments to the shell.
#
# shell:
# program: /bin/bash
# args:
# - --login
# Key bindings
#
# Each binding is defined as an object with some properties. Most of the
# properties are optional. All of the alphabetical keys should have a letter for
# the `key` value such as `V`. Function keys are probably what you would expect
# as well (F1, F2, ..). The number keys above the main keyboard are encoded as
# `Key1`, `Key2`, etc. Keys on the number pad are encoded `Number1`, `Number2`,
# etc. These all match the glutin::VirtualKeyCode variants.
#
# A list with all available `key` names can be found here:
# https://docs.rs/glutin/*/glutin/enum.VirtualKeyCode.html#variants
#
# Possible values for `mods`
# `Command`, `Super` refer to the super/command/windows key
# `Control` for the control key
# `Shift` for the Shift key
# `Alt` and `Option` refer to alt/option
#
# mods may be combined with a `|`. For example, requiring control and shift
# looks like:
#
# mods: Control|Shift
#
# The parser is currently quite sensitive to whitespace and capitalization -
# capitalization must match exactly, and piped items must not have whitespace
# around them.
#
# Either an `action`, `chars`, or `command` field must be present.
# `action` must be one of `Paste`, `PasteSelection`, `Copy`, or `Quit`.
# `chars` writes the specified string every time that binding is activated.
# These should generally be escape sequences, but they can be configured to
# send arbitrary strings of bytes.
# `command` must be a map containing a `program` string, and `args` array of
# strings. For example:
# - { ... , command: { program: "alacritty", args: ["-e", "vttest"] } }
#
# Want to add a binding (e.g. "PageUp") but are unsure what the X sequence
# (e.g. "\x1b[5~") is? Open another terminal (like xterm) without tmux,
# then run `showkey -a` to get the sequence associated to a key combination.
key_bindings:
- { key: V, mods: Control|Shift, action: Paste }
- { key: C, mods: Control|Shift, action: Copy }
- { key: Paste, action: Paste }
- { key: Copy, action: Copy }
- { key: Q, mods: Command, action: Quit }
- { key: W, mods: Command, action: Quit }
- { key: Insert, mods: Shift, action: PasteSelection }
- { key: Key0, mods: Control, action: ResetFontSize }
- { key: Equals, mods: Control, action: IncreaseFontSize }
- { key: Subtract, mods: Control, action: DecreaseFontSize }
- { key: Home, chars: "\x1bOH", mode: AppCursor }
- { key: Home, chars: "\x1b[H", mode: ~AppCursor }
- { key: End, chars: "\x1bOF", mode: AppCursor }
- { key: End, chars: "\x1b[F", mode: ~AppCursor }
- { key: PageUp, mods: Shift, chars: "\x1b[5;2~" }
- { key: PageUp, mods: Control, chars: "\x1b[5;5~" }
- { key: PageUp, chars: "\x1b[5~" }
- { key: PageDown, mods: Shift, chars: "\x1b[6;2~" }
- { key: PageDown, mods: Control, chars: "\x1b[6;5~" }
- { key: PageDown, chars: "\x1b[6~" }
- { key: Tab, mods: Shift, chars: "\x1b[Z" }
- { key: Back, chars: "\x7f" }
- { key: Back, mods: Alt, chars: "\x1b\x7f" }
- { key: Insert, chars: "\x1b[2~" }
- { key: Delete, chars: "\x1b[3~" }
- { key: Left, mods: Shift, chars: "\x1b[1;2D" }
- { key: Left, mods: Control, chars: "\x1b[1;5D" }
- { key: Left, mods: Alt, chars: "\x1b[1;3D" }
- { key: Left, chars: "\x1b[D", mode: ~AppCursor }
- { key: Left, chars: "\x1bOD", mode: AppCursor }
- { key: Right, mods: Shift, chars: "\x1b[1;2C" }
- { key: Right, mods: Control, chars: "\x1b[1;5C" }
- { key: Right, mods: Alt, chars: "\x1b[1;3C" }
- { key: Right, chars: "\x1b[C", mode: ~AppCursor }
- { key: Right, chars: "\x1bOC", mode: AppCursor }
- { key: Up, mods: Shift, chars: "\x1b[1;2A" }
- { key: Up, mods: Control, chars: "\x1b[1;5A" }
- { key: Up, mods: Alt, chars: "\x1b[1;3A" }
- { key: Up, chars: "\x1b[A", mode: ~AppCursor }
- { key: Up, chars: "\x1bOA", mode: AppCursor }
- { key: Down, mods: Shift, chars: "\x1b[1;2B" }
- { key: Down, mods: Control, chars: "\x1b[1;5B" }
- { key: Down, mods: Alt, chars: "\x1b[1;3B" }
- { key: Down, chars: "\x1b[B", mode: ~AppCursor }
- { key: Down, chars: "\x1bOB", mode: AppCursor }
- { key: F1, chars: "\x1bOP" }
- { key: F2, chars: "\x1bOQ" }
- { key: F3, chars: "\x1bOR" }
- { key: F4, chars: "\x1bOS" }
- { key: F5, chars: "\x1b[15~" }
- { key: F6, chars: "\x1b[17~" }
- { key: F7, chars: "\x1b[18~" }
- { key: F8, chars: "\x1b[19~" }
- { key: F9, chars: "\x1b[20~" }
- { key: F10, chars: "\x1b[21~" }
- { key: F11, chars: "\x1b[23~" }
- { key: F12, chars: "\x1b[24~" }
- { key: F1, mods: Shift, chars: "\x1b[1;2P" }
- { key: F2, mods: Shift, chars: "\x1b[1;2Q" }
- { key: F3, mods: Shift, chars: "\x1b[1;2R" }
- { key: F4, mods: Shift, chars: "\x1b[1;2S" }
- { key: F5, mods: Shift, chars: "\x1b[15;2~" }
- { key: F6, mods: Shift, chars: "\x1b[17;2~" }
- { key: F7, mods: Shift, chars: "\x1b[18;2~" }
- { key: F8, mods: Shift, chars: "\x1b[19;2~" }
- { key: F9, mods: Shift, chars: "\x1b[20;2~" }
- { key: F10, mods: Shift, chars: "\x1b[21;2~" }
- { key: F11, mods: Shift, chars: "\x1b[23;2~" }
- { key: F12, mods: Shift, chars: "\x1b[24;2~" }
- { key: F1, mods: Control, chars: "\x1b[1;5P" }
- { key: F2, mods: Control, chars: "\x1b[1;5Q" }
- { key: F3, mods: Control, chars: "\x1b[1;5R" }
- { key: F4, mods: Control, chars: "\x1b[1;5S" }
- { key: F5, mods: Control, chars: "\x1b[15;5~" }
- { key: F6, mods: Control, chars: "\x1b[17;5~" }
- { key: F7, mods: Control, chars: "\x1b[18;5~" }
- { key: F8, mods: Control, chars: "\x1b[19;5~" }
- { key: F9, mods: Control, chars: "\x1b[20;5~" }
- { key: F10, mods: Control, chars: "\x1b[21;5~" }
- { key: F11, mods: Control, chars: "\x1b[23;5~" }
- { key: F12, mods: Control, chars: "\x1b[24;5~" }
- { key: F1, mods: Alt, chars: "\x1b[1;6P" }
- { key: F2, mods: Alt, chars: "\x1b[1;6Q" }
- { key: F3, mods: Alt, chars: "\x1b[1;6R" }
- { key: F4, mods: Alt, chars: "\x1b[1;6S" }
- { key: F5, mods: Alt, chars: "\x1b[15;6~" }
- { key: F6, mods: Alt, chars: "\x1b[17;6~" }
- { key: F7, mods: Alt, chars: "\x1b[18;6~" }
- { key: F8, mods: Alt, chars: "\x1b[19;6~" }
- { key: F9, mods: Alt, chars: "\x1b[20;6~" }
- { key: F10, mods: Alt, chars: "\x1b[21;6~" }
- { key: F11, mods: Alt, chars: "\x1b[23;6~" }
- { key: F12, mods: Alt, chars: "\x1b[24;6~" }
- { key: F1, mods: Super, chars: "\x1b[1;3P" }
- { key: F2, mods: Super, chars: "\x1b[1;3Q" }
- { key: F3, mods: Super, chars: "\x1b[1;3R" }
- { key: F4, mods: Super, chars: "\x1b[1;3S" }
- { key: F5, mods: Super, chars: "\x1b[15;3~" }
- { key: F6, mods: Super, chars: "\x1b[17;3~" }
- { key: F7, mods: Super, chars: "\x1b[18;3~" }
- { key: F8, mods: Super, chars: "\x1b[19;3~" }
- { key: F9, mods: Super, chars: "\x1b[20;3~" }
- { key: F10, mods: Super, chars: "\x1b[21;3~" }
- { key: F11, mods: Super, chars: "\x1b[23;3~" }
- { key: F12, mods: Super, chars: "\x1b[24;3~" }

View File

@ -1,241 +0,0 @@
# Thank you code_nomad: http://9m.no/ꪯ鵞
#################################
#
# Backend
#
#################################
# Backend to use: "xrender" or "glx".
# GLX backend is typically much faster but depends on a sane driver.
backend = "glx";
#################################
#
# GLX backend
#
#################################
glx-no-stencil = true;
# GLX backend: Copy unmodified regions from front buffer instead of redrawing them all.
# My tests with nvidia-drivers show a 10% decrease in performance when the whole screen is modified,
# but a 20% increase when only 1/4 is.
# My tests on nouveau show terrible slowdown.
# Useful with --glx-swap-method, as well.
glx-copy-from-front = false;
# GLX backend: Use MESA_copy_sub_buffer to do partial screen update.
# My tests on nouveau shows a 200% performance boost when only 1/4 of the screen is updated.
# May break VSync and is not available on some drivers.
# Overrides --glx-copy-from-front.
# glx-use-copysubbuffermesa = 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).
# Recommended if it works.
# glx-no-rebind-pixmap = true;
# GLX backend: GLX buffer swap method we assume.
# Could be undefined (0), copy (1), exchange (2), 3-6, or buffer-age (-1).
# undefined is the slowest and the safest, and the default value.
# copy is fastest, but may fail on some drivers,
# 2-6 are gradually slower but safer (6 is still faster than 0).
# Usually, double buffer means 2, triple buffer means 3.
# buffer-age means auto-detect using GLX_EXT_buffer_age, supported by some drivers.
# Useless with --glx-use-copysubbuffermesa.
# Partially breaks --resize-damage.
# Defaults to undefined.
glx-swap-method = "undefined";
#################################
#
# Shadows
#
#################################
# Enabled client-side shadows on windows.
shadow = false;
# Don't draw shadows on DND windows.
no-dnd-shadow = true;
# Avoid drawing shadows on dock/panel windows.
no-dock-shadow = true;
# Zero the part of the shadow's mask behind the window. Fix some weirdness with ARGB windows.
# The blur radius for shadows. (default 12)
shadow-radius = 5;
# The left offset for shadows. (default -15)
shadow-offset-x = -5;
# The top offset for shadows. (default -15)
shadow-offset-y = -5;
# The translucency for shadows. (default .75)
shadow-opacity = 0.5;
# Set if you want different colour shadows
# shadow-red = 0.0;
# shadow-green = 0.0;
# shadow-blue = 0.0;
# The shadow exclude options are helpful if you have shadows enabled. Due to the way compton draws its shadows, certain applications will have visual glitches
# (most applications are fine, only apps that do weird things with xshapes or argb are affected).
# This list includes all the affected apps I found in my testing. The "! name~=''" part excludes shadows on any "Unknown" windows, this prevents a visual glitch with the XFWM alt tab switcher.
shadow-exclude = [
"! name~=''",
"name = 'Notification'",
"name = 'Plank'",
"name = 'Docky'",
"name = 'Kupfer'",
"name = 'xfce4-notifyd'",
"name *= 'VLC'",
"name *= 'compton'",
"name *= 'Chromium'",
"name *= 'Chrome'",
"class_g = 'Conky'",
"class_g = 'Kupfer'",
"class_g = 'Synapse'",
"class_g ?= 'Notify-osd'",
"class_g ?= 'Cairo-dock'",
"class_g ?= 'Xfce4-notifyd'",
"class_g ?= 'Xfce4-power-manager'",
"_GTK_FRAME_EXTENTS@:c"
];
# Avoid drawing shadow on all shaped windows (see also: --detect-rounded-corners)
shadow-ignore-shaped = false;
#################################
#
# Opacity
#
#################################
menu-opacity = 1;
inactive-opacity = 0.9;
active-opacity = 1;
frame-opacity = 1;
inactive-opacity-override = false;
alpha-step = 0.06;
opacity-rule = [
"100:name = 'Netflix'"
];
# Dim inactive windows. (0.0 - 1.0)
# inactive-dim = 0.2;
# Do not let dimness adjust based on window opacity.
# inactive-dim-fixed = true;
# Blur background of transparent windows. Bad performance with X Render backend. GLX backend is preferred.
# blur-background = true;
# Blur background of opaque windows with transparent frames as well.
# blur-background-frame = true;
# Do not let blur radius adjust based on window opacity.
blur-background-fixed = false;
blur-background-exclude = [
"name = 'Netflix'",
"class_g = 'netflix.com'",
"window_type = 'dock'",
"window_type = 'desktop'"
];
#################################
#
# Fading
#
#################################
# Fade windows during opacity changes.
fading = true;
# The time between steps in a fade in milliseconds. (default 10).
fade-delta = 4;
# Opacity change between steps while fading in. (default 0.028).
fade-in-step = 0.03;
# Opacity change between steps while fading out. (default 0.03).
fade-out-step = 0.03;
# Fade windows in/out when opening/closing
# no-fading-openclose = true;
# Specify a list of conditions of windows that should not be faded.
fade-exclude = [
"name = 'Netflix'",
"class_g = 'netflix.com'",
];
#################################
#
# Other
#
#################################
# Try to detect WM windows and mark them as active.
mark-wmwin-focused = true;
# Mark all non-WM but override-redirect windows active (e.g. menus).
mark-ovredir-focused = true;
# Use EWMH _NET_WM_ACTIVE_WINDOW to determine which window is focused instead of using FocusIn/Out events.
# Usually more reliable but depends on a EWMH-compliant WM.
use-ewmh-active-win = true;
# Detect rounded corners and treat them as rectangular when --shadow-ignore-shaped is on.
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.
# This prevents opacity being ignored for some apps.
# For example without this enabled my xfce4-notifyd is 100% opacity no matter what.
detect-client-opacity = true;
# Specify refresh rate of the screen.
# If not specified or 0, compton will try detecting this with X RandR extension.
refresh-rate = 0;
# Set VSync method. VSync methods currently available:
# none: No VSync
# drm: VSync with DRM_IOCTL_WAIT_VBLANK. May only work on some drivers.
# opengl: Try to VSync with SGI_video_sync OpenGL extension. Only work on some drivers.
# opengl-oml: Try to VSync with OML_sync_control OpenGL extension. Only work on some drivers.
# opengl-swc: Try to VSync with SGI_swap_control OpenGL extension. Only work on some drivers. Works only with GLX backend. Known to be most effective on many drivers. Does not actually control paint timing, only buffer swap is affected, so it doesnt have the effect of --sw-opti unlike other methods. Experimental.
# opengl-mswc: Try to VSync with MESA_swap_control OpenGL extension. Basically the same as opengl-swc above, except the extension we use.
# (Note some VSync methods may not be enabled at compile time.)
vsync = "opengl-swc";
# Enable DBE painting mode, intended to use with VSync to (hopefully) eliminate tearing.
# Reported to have no effect, though.
dbe = false;
# Painting on X Composite overlay window. Recommended.
paint-on-overlay = true;
# Limit compton 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;
# Unredirect all windows if a full-screen opaque window is detected, to maximize performance for full-screen windows, like games.
# Known to cause flickering when redirecting/unredirecting windows.
# paint-on-overlay may make the flickering less obvious.
unredir-if-possible = true;
# Specify a list of conditions of windows that should always be considered focused.
focus-exclude = [ ];
# Use WM_TRANSIENT_FOR to group windows, and consider windows in the same group focused at the same time.
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 = true;
#################################
#
# Window type settings
#
#################################
wintypes:
{
tooltip =
{
# fade: Fade the particular type of windows.
fade = true;
# shadow: Give those windows shadow
shadow = false;
# opacity: Default opacity for the type of windows.
opacity = 0.85;
# focus: Whether to always consider windows of this type focused.
focus = true;
};
};

View File

@ -1,328 +0,0 @@
[global]
### Display ###
# Which monitor should the notifications be displayed on.
monitor = 0
# Display notification on focused monitor. Possible modes are:
# mouse: follow mouse pointer
# keyboard: follow window with keyboard focus
# none: don't follow anything
#
# "keyboard" needs a window manager that exports the
# _NET_ACTIVE_WINDOW property.
# This should be the case for almost all modern window managers.
#
# If this option is set to mouse or keyboard, the monitor option
# will be ignored.
follow = none
# The geometry of the window:
# [{width}]x{height}[+/-{x}+/-{y}]
# The geometry of the message window.
# The height is measured in number of notifications everything else
# in pixels. If the width is omitted but the height is given
# ("-geometry x2"), the message window expands over the whole screen
# (dmenu-like). If width is 0, the window expands to the longest
# message displayed. A positive x is measured from the left, a
# negative from the right side of the screen. Y is measured from
# the top and down respectively.
# The width can be negative. In this case the actual width is the
# screen width minus the width defined in within the geometry option.
geometry = "500x5-10-30"
# Show how many messages are currently hidden (because of geometry).
indicate_hidden = yes
# Shrink window if it's smaller than the width. Will be ignored if
# width is 0.
shrink = no
# The transparency of the window. Range: [0; 100].
# This option will only work if a compositing window manager is
# present (e.g. xcompmgr, compiz, etc.).
transparency = 0
# The height of the entire notification. If the height is smaller
# than the font height and padding combined, it will be raised
# to the font height and padding.
notification_height = 0
# Draw a line of "separator_height" pixel height between two
# notifications.
# Set to 0 to disable.
separator_height = 2
# Padding between text and separator.
padding = 8
# Horizontal padding.
horizontal_padding = 8
# Defines width in pixels of frame around the notification window.
# Set to 0 to disable.
frame_width = 5
# Defines color of the frame around the notification window.
frame_color = "#aaaaaa"
# Define a color for the separator.
# possible values are:
# * auto: dunst tries to find a color fitting to the background;
# * foreground: use the same color as the foreground;
# * frame: use the same color as the frame;
# * anything else will be interpreted as a X color.
separator_color = frame
# Sort messages by urgency.
sort = yes
# Don't remove messages, if the user is idle (no mouse or keyboard input)
# for longer than idle_threshold seconds.
# Set to 0 to disable.
# Transient notifications ignore this setting.
idle_threshold = 120
### Text ###
font = Source Code Pro for Powerline 12
# The spacing between lines. If the height is smaller than the
# font height, it will get raised to the font height.
line_height = 0
# Possible values are:
# full: Allow a small subset of html markup in notifications:
# <b>bold</b>
# <i>italic</i>
# <s>strikethrough</s>
# <u>underline</u>
#
# For a complete reference see
# <http://developer.gnome.org/pango/stable/PangoMarkupFormat.html>.
#
# strip: This setting is provided for compatibility with some broken
# clients that send markup even though it's not enabled on the
# server. Dunst will try to strip the markup but the parsing is
# simplistic so using this option outside of matching rules for
# specific applications *IS GREATLY DISCOURAGED*.
#
# no: Disable markup parsing, incoming notifications will be treated as
# plain text. Dunst will not advertise that it has the body-markup
# capability if this is set as a global setting.
#
# It's important to note that markup inside the format option will be parsed
# regardless of what this is set to.
markup = full
# The format of the message. Possible variables are:
# %a appname
# %s summary
# %b body
# %i iconname (including its path)
# %I iconname (without its path)
# %p progress value if set ([ 0%] to [100%]) or nothing
# %n progress value if set without any extra characters
# %% Literal %
# Markup is allowed
format = "<b>%a</b>\n%b\n%s"
# Alignment of message text.
# Possible values are "left", "center" and "right".
alignment = left
# Show age of message if message is older than show_age_threshold
# seconds.
# Set to -1 to disable.
show_age_threshold = 60
# Split notifications into multiple lines if they don't fit into
# geometry.
word_wrap = yes
# When word_wrap is set to no, specify where to ellipsize long lines.
# Possible values are "start", "middle" and "end".
ellipsize = middle
# Ignore newlines '\n' in notifications.
ignore_newline = no
# Merge multiple notifications with the same content
stack_duplicates = true
# Hide the count of merged notifications with the same content
hide_duplicate_count = false
# Display indicators for URLs (U) and actions (A).
show_indicators = yes
### Icons ###
# Align icons left/right/off
icon_position = left
# Scale larger icons down to this size, set to 0 to disable
max_icon_size = 128
# Paths to default icons.
icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
### History ###
# Should a notification popped up from history be sticky or timeout
# as if it would normally do.
sticky_history = yes
# Maximum amount of notifications kept in history
history_length = 20
### Misc/Advanced ###
# dmenu path.
dmenu = /usr/bin/dmenu -p dunst:
# Browser for opening urls in context menu.
browser = /usr/bin/google-chrome-stable
# Always run rule-defined scripts, even if the notification is suppressed
always_run_script = true
# Define the title of the windows spawned by dunst
title = Dunst
# Define the class of the windows spawned by dunst
class = Dunst
# Print a notification on startup.
# This is mainly for error detection, since dbus (re-)starts dunst
# automatically after a crash.
startup_notification = false
### Legacy
# Use the Xinerama extension instead of RandR for multi-monitor support.
# This setting is provided for compatibility with older nVidia drivers that
# do not support RandR and using it on systems that support RandR is highly
# discouraged.
#
# By enabling this setting dunst will not be able to detect when a monitor
# is connected or disconnected which might break follow mode if the screen
# layout changes.
force_xinerama = false
# Experimental features that may or may not work correctly. Do not expect them
# to have a consistent behaviour across releases.
[experimental]
# Calculate the dpi to use on a per-monitor basis.
# If this setting is enabled the Xft.dpi value will be ignored and instead
# dunst will attempt to calculate an appropriate dpi value for each monitor
# using the resolution and physical size. This might be useful in setups
# where there are multiple screens with very different dpi values.
per_monitor_dpi = false
[shortcuts]
# Shortcuts are specified as [modifier+][modifier+]...key
# Available modifiers are "ctrl", "mod1" (the alt-key), "mod2",
# "mod3" and "mod4" (windows-key).
# Xev might be helpful to find names for keys.
# Close notification.
close = ctrl+space
# Close all notifications.
close_all = ctrl+shift+space
# Redisplay last message(s).
# On the US keyboard layout "grave" is normally above TAB and left
# of "1". Make sure this key actually exists on your keyboard layout,
# e.g. check output of 'xmodmap -pke'
#history = ctrl+h
# Context menu.
context = ctrl+shift+period
[urgency_low]
# IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment.
background = "#A3BE8C"
foreground = "#434C5E"
frame_color = "#A3BE8C"
timeout = 10
# Icon for notifications with low urgency, uncomment to enable
#icon = /path/to/icon
[urgency_normal]
background = "#A3BE8C"
foreground = "#434C5E"
frame_color = "#A3BE8C"
timeout = 10
# Icon for notifications with normal urgency, uncomment to enable
#icon = /path/to/icon
[urgency_critical]
background = "#BF616A"
foreground = "#D8DEE9"
frame_color = "#BF616A"
timeout = 0
# Icon for notifications with critical urgency, uncomment to enable
#icon = /path/to/icon
# Every section that isn't one of the above is interpreted as a rules to
# override settings for certain messages.
# Messages can be matched by "appname", "summary", "body", "icon", "category",
# "msg_urgency" and you can override the "timeout", "urgency", "foreground",
# "background", "new_icon" and "format".
# Shell-like globbing will get expanded.
#
# SCRIPTING
# You can specify a script that gets run when the rule matches by
# setting the "script" option.
# The script will be called as follows:
# script appname summary body icon urgency
# where urgency can be "LOW", "NORMAL" or "CRITICAL".
#
# NOTE: if you don't want a notification to be displayed, set the format
# to "".
# NOTE: It might be helpful to run dunst -print in a terminal in order
# to find fitting options for rules.
#[espeak]
# summary = "*"
# script = dunst_espeak.sh
#[script-test]
# summary = "*script*"
# script = dunst_test.sh
#[ignore]
# # This notification will not be displayed
# summary = "foobar"
# format = ""
#[history-ignore]
# # This notification will not be saved in history
# summary = "foobar"
# history_ignore = yes
#[signed_on]
# appname = Pidgin
# summary = "*signed on*"
# urgency = low
#
#[signed_off]
# appname = Pidgin
# summary = *signed off*
# urgency = low
#
#[says]
# appname = Pidgin
# summary = *says*
# urgency = critical
#
#[twitter]
# appname = Pidgin
# summary = *twitter.com*
# urgency = normal
#
# vim: ft=cfg

View File

@ -1,246 +0,0 @@
# i3 config file (v4)
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
# Set mod key (Mod1=<Alt>, Mod4=<Super>)
set $mod Mod4
# set default desktop layout (default is tiling) <stacking|tabbed>
#workspace_layout stacking
# Configure border style <normal|1pixel|pixel xx|none|pixel>
new_window none
#new_window pixel 0
#new_float normal
new_float none
# Hide borders
hide_edge_borders none
# change borders
bindsym $mod+u border none
bindsym $mod+y border pixel 0
bindsym $mod+n border normal
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
#font xft:DejaVu Sans Mono for Powerline 14
font xft:Source Code Pro for Powerline 14
# Use Mouse+$mod to drag floating windows
floating_modifier $mod
# start a terminal
bindsym $mod+Return exec termite
# kill focused window
bindsym $mod+Shift+q kill
# start program launcher
bindsym $mod+d exec --no-startup-id rofi -show drun -config ~/.config/rofi/config
# launch categorized menu
bindsym $mod+Tab exec --no-startup-id rofi -show window -config ~/.config/rofi/config
# Screen brightness controls
# bindsym XF86MonBrightnessUp exec "xbacklight -inc 10; notify-send 'brightness up'"
# bindsym XF86MonBrightnessDown exec "xbacklight -dec 10; notify-send 'brightness down'"
# Start Applications
bindsym $mod+Shift+d --release exec "killall dunst; exec notify-send 'restart dunst'"
bindsym Print exec --no-startup-id scrot '%Y-%m-%d_$wx$h_scrot.png' -e 'mv $f ~/Pictures/screenshots/'
bindsym $mod+Print --release exec --no-startup-id scrot -u '%Y-%m-%d_$wx$h_scrot.png' -e 'mv $f ~/Pictures/screenshots/'
bindsym $mod+Shift+Print --release exec --no-startup-id scrot -s '%Y-%m-%d_$wx$h_scrot.png' -e 'mv $f ~/Pictures/screenshots/'
# Music Control
bindsym $mod+Ctrl+Mod1+9 exec "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause"
bindsym $mod+Ctrl+Mod1+0 exec "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next"
bindsym $mod+Ctrl+Mod1+8 exec "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous"
# focus_follows_mouse no
# alternatively, you can use the cursor keys:
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
# alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
# workspace back and forth (with/without active container)
workspace_auto_back_and_forth no
bindsym $mod+b workspace back_and_forth
bindsym $mod+Shift+b move container to workspace back_and_forth; workspace back_and_forth
# split orientation
bindsym $mod+h split h;exec notify-send -u low -a "I3" "I3" "Tile Horizontally"
bindsym $mod+v split v;exec notify-send -u low -a "I3" "I3" "Tile Vertically"
bindsym $mod+q split toggle
# toggle fullscreen mode for the focused container
bindsym $mod+f fullscreen toggle
# change container layout (stacked, tabbed, toggle split)
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split
# toggle tiling / floating
bindsym $mod+Shift+space floating toggle
# change focus between tiling / floating windows
bindsym $mod+space focus mode_toggle
# toggle sticky
bindsym $mod+Shift+s sticky toggle
# focus the parent container
bindsym $mod+a focus parent
# move the currently focused window to the scratchpad
bindsym $mod+Shift+minus move scratchpad
# Show the next scratchpad window or hide the focused scratchpad window.
# If there are multiple scratchpad windows, this command cycles through them.
bindsym $mod+minus scratchpad show
#navigate workspaces next / previous
bindsym $mod+Ctrl+Right workspace next
bindsym $mod+Ctrl+Left workspace prev
# Workspace names
# to display names or symbols instead of plain workspace numbers you can use
# something like: set $ws1 1:mail
# set $ws2 2:
set $ws1 1:
set $ws2 2:
set $ws3 3:
set $ws4 4:
set $ws5 5:
set $ws6 6:
set $ws7 7:
set $ws8 8:
set $ws9 9:
set $ws10 10:
# switch to workspace
bindsym $mod+1 workspace $ws1
bindsym $mod+2 workspace $ws2
bindsym $mod+3 workspace $ws3
bindsym $mod+4 workspace $ws4
bindsym $mod+5 workspace $ws5
bindsym $mod+6 workspace $ws6
bindsym $mod+7 workspace $ws7
bindsym $mod+8 workspace $ws8
bindsym $mod+9 workspace $ws9
bindsym $mod+0 workspace $ws10
# Move to workspace with focused container
bindsym $mod+Shift+1 move container to workspace $ws1; workspace $ws1
bindsym $mod+Shift+2 move container to workspace $ws2; workspace $ws2
bindsym $mod+Shift+3 move container to workspace $ws3; workspace $ws3
bindsym $mod+Shift+4 move container to workspace $ws4; workspace $ws4
bindsym $mod+Shift+5 move container to workspace $ws5; workspace $ws5
bindsym $mod+Shift+6 move container to workspace $ws6; workspace $ws6
bindsym $mod+Shift+7 move container to workspace $ws7; workspace $ws7
bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8
bindsym $mod+Shift+9 move container to workspace $ws9; workspace $ws9
bindsym $mod+Shift+0 move container to workspace $ws10; workspace $ws10
# WORKSPACE CREATION
bindsym $mod+Ctrl+1 exec --no-startup-id ~/.config/i3/workspaces/ws01.sh
bindsym $mod+Ctrl+2 exec --no-startup-id ~/.config/i3/workspaces/ws02.sh
bindsym $mod+Ctrl+3 exec --no-startup-id ~/.config/i3/workspaces/ws03.sh
bindsym $mod+Ctrl+4 exec --no-startup-id ~/.config/i3/workspaces/ws04.sh
bindsym $mod+Shift+Ctrl+4 exec --no-startup-id ~/.config/i3/workspaces/ws04-music.sh
#bindsym $mod+Ctrl+5 exec --no-startup-id ~/.config/i3/workspaces/ws05.sh
#bindsym $mod+Ctrl+6 exec --no-startup-id ~/.config/i3/workspaces/ws06.sh
#bindsym $mod+Ctrl+7 exec --no-startup-id ~/.config/i3/workspaces/ws07.sh
bindsym $mod+Ctrl+9 exec --no-startup-id ~/.config/i3/workspaces/ws09.sh
bindsym $mod+Ctrl+0 exec --no-startup-id ~/.config/i3/workspaces/ws00.sh
# Open specific applications in floating mode
for_window [class="^.*"] border pixel 2
for_window [class="Nitrogen"] floating enable sticky enable border none
for_window [class="feh"] floating enable sticky enable border none
for_window [class="mpv"] floating enable sticky enable border none
for_window [class="Arandr"] floating enable sticky enable border none
for_window [class="Sms.py"] floating enable sticky enable border none
#for_window [class="^jetbrains-.+"][window_type=dialog] focus
#for_window [instance="sun-awt-X11-XWindowPeer"] border pixel 0
# reload the configuration file
bindsym $mod+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+r restart
# Lock screen
bindsym $mod+l exec --no-startup-id light-locker-command -l
# Autostart applications
#exec --no-startup-id compton --config /home/jfm/.config/compton/compton.conf
exec --no-startup-id nm-applet
exec --no-startup-id pasystray
exec --no-startup-id light-locker
exec --no-startup-id indicator-kdeconnect
# Color palette used for the terminal ( ~/.Xresources file )
# Colors are gathered based on the documentation:
# https://i3wm.org/docs/userguide.html#xresources
# Change the variable name at the place you want to match the color
# of your terminal like this:
# [example]
# If you want your bar to have the same background color as your
# terminal background change the line 362 from:
# background #14191D
# to:
# background $term_background
# Same logic applied to everything else.
set_from_resource $term_background background
set_from_resource $term_foreground foreground
set_from_resource $term_color0 color0
set_from_resource $term_color1 color1
set_from_resource $term_color2 color2
set_from_resource $term_color3 color3
set_from_resource $term_color4 color4
set_from_resource $term_color5 color5
set_from_resource $term_color6 color6
set_from_resource $term_color7 color7
set_from_resource $term_color8 color8
set_from_resource $term_color9 color9
set_from_resource $term_color10 color10
set_from_resource $term_color11 color11
set_from_resource $term_color12 color12
set_from_resource $term_color13 color13
set_from_resource $term_color14 color14
set_from_resource $term_color15 color15
# Theme colors
# class border backgr. text indic. child_border
client.focused #5E81AC #556064 #80FFF9 #b58900 #5E81AC
client.focused_inactive #2E3440 #2E3440 #1ABC9C #454948
client.unfocused #2E3440 #2E3440 #1ABC9C #454948
client.urgent #2E3440 #FDF6E3 #1ABC9C #268BD2
client.placeholder #000000 #0c0c0c #ffffff #000000
client.background #2B2C2B
#############################
### settings for i3-gaps: ###
#############################
# Set inner/outer gaps
gaps inner 10
gaps outer -4
# Smart gaps (gaps used if only more than one container on the workspace)
smart_gaps on
smart_borders on
#### Custom Config
exec --no-startup-id /home/jfm/.config/i3/scripts/start_layout.sh
#exec --no-startup-id /home/jfm/.config/i3/scripts/music.sh

View File

@ -1,22 +0,0 @@
The MIT License (MIT)
Copyright (c) 2015 Gui Meira
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.

View File

@ -1,37 +0,0 @@
# i3lock-fancy-multimonitor
The idea for this project was shamelessly copied from [meskarune](https://github.com/meskarune)'s [i3lock-fancy](https://github.com/meskarune/i3lock-fancy).
It uses [scrot](http://freecode.com/projects/scrot) to take a screenshot of the desktop, then [ImageMagick](http://www.imagemagick.org/) blurs the image and adds a lock icon and text.
By using information from [xrandr](http://www.x.org/wiki/Projects/XRandR/) and basic math, this script supports multiple monitor setups, displaying the icon and text centered on all screens.
The lock icon is different from the original project, with a transparent black circle around it. The text is also an image, making it easier to customize (and to put it at the correct position). Finally, it uses vanilla [i3lock](https://github.com/i3/i3lock) instead of [i3lock-color](https://github.com/eBrnd/i3lock-color). The author of i3lock-color [is not maintaining it anymore](https://github.com/eBrnd/i3lock-color/issues/6). If you want to customize the colors of i3lock, the recommended version of i3lock-color is [this one](https://github.com/Arcaena/i3lock-color), maintained by [Chris Guillott](https://github.com/Arcaena).
## Installation
Make sure you have all the dependencies:
```
sudo apt-get install scrot imagemagick i3lock
```
Copy the `lock` script along with the images to some place on your system (e.g.: the i3 folder) and give it execution permission:
```
git clone https://github.com/guimeira/i3lock-fancy-multimonitor.git
cp -r i3lock-fancy-multimonitor ~/.i3
chmod +x ~/.i3/i3lock-fancy-multimonitor/lock
```
Create a key binding on your i3 config file (in this example I'm using $mod+p):
```
echo "bindsym \$mod+p exec /home/<your username>/.i3/i3lock-fancy-multimonitor/lock" >> ~/.i3/config
```
Now reload the i3 configuration file. By default, the key binding is `$mod+Shift+c`.
## Command line parameters
`-n` or `--no-text`: hide the "Type password to unlock" text.
`-p` or `--pixelate`: pixelate the background instead of blurring it. Might be faster.

View File

@ -1,97 +0,0 @@
#!/bin/bash
# Defaults
# All options are here: http://www.imagemagick.org/Usage/blur/#blur_args
BLURTYPE="0x6"
#BLURTYPE="0x2"
#BLURTYPE="5x3"
#BLURTYPE="2x8"
#BLURTYPE="2x3"
DISPLAY_RE="([0-9]+)x([0-9]+)\\+([0-9]+)\\+([0-9]+)"
IMAGE_RE="([0-9]+)x([0-9]+)"
FOLDER="$(dirname "$(readlink -f "$0")")"
LOCK="$FOLDER/lock.png"
TEXT="$FOLDER/text.png"
PARAMS=""
OUTPUT_IMAGE="/tmp/i3lock.png"
DISPLAY_TEXT=true
PIXELATE=false
# Read user input
POSITIONAL=()
while [[ $# -gt 0 ]]
do
key="$1"
case $key in
-n|--no-text)
DISPLAY_TEXT=false
shift # past argument
;;
-p|--pixelate)
PIXELATE=true
shift # past argument
;;
*) # unknown option
POSITIONAL+=("$1") # save it in an array for later
shift # past argument
;;
esac
done
set -- "${POSITIONAL[@]}" # restore positional parameters
#Take screenshot:
scrot -z $OUTPUT_IMAGE
#Get dimensions of the lock image:
LOCK_IMAGE_INFO=`identify $LOCK`
[[ $LOCK_IMAGE_INFO =~ $IMAGE_RE ]]
IMAGE_WIDTH=${BASH_REMATCH[1]}
IMAGE_HEIGHT=${BASH_REMATCH[2]}
if $DISPLAY_TEXT ; then
#Get dimensions of the text image:
TEXT_IMAGE_INFO=`identify $TEXT`
[[ $TEXT_IMAGE_INFO =~ $IMAGE_RE ]]
TEXT_WIDTH=${BASH_REMATCH[1]}
TEXT_HEIGHT=${BASH_REMATCH[2]}
fi
#Execute xrandr to get information about the monitors:
while read LINE
do
#If we are reading the line that contains the position information:
if [[ $LINE =~ $DISPLAY_RE ]]; then
#Extract information and append some parameters to the ones that will be given to ImageMagick:
WIDTH=${BASH_REMATCH[1]}
HEIGHT=${BASH_REMATCH[2]}
X=${BASH_REMATCH[3]}
Y=${BASH_REMATCH[4]}
POS_X=$(($X+$WIDTH/2-$IMAGE_WIDTH/2))
POS_Y=$(($Y+$HEIGHT/2-$IMAGE_HEIGHT/2))
PARAMS="$PARAMS '$LOCK' '-geometry' '+$POS_X+$POS_Y' '-composite'"
if $DISPLAY_TEXT ; then
TEXT_X=$(($X+$WIDTH/2-$TEXT_WIDTH/2))
TEXT_Y=$(($Y+$HEIGHT/2-$TEXT_HEIGHT/2+200))
PARAMS="$PARAMS '$TEXT' '-geometry' '+$TEXT_X+$TEXT_Y' '-composite'"
fi
fi
done <<<"`xrandr`"
#Execute ImageMagick:
if $PIXELATE ; then
PARAMS="'$OUTPUT_IMAGE' '-scale' '10%' '-scale' '1000%' $PARAMS '$OUTPUT_IMAGE'"
else
PARAMS="'$OUTPUT_IMAGE' '-level' '0%,100%,0.6' '-blur' '$BLURTYPE' $PARAMS '$OUTPUT_IMAGE'"
fi
eval convert $PARAMS
#Lock the screen:
i3lock -i $OUTPUT_IMAGE -t
#Remove the generated image:
rm $OUTPUT_IMAGE

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

View File

@ -1,46 +0,0 @@
{
"layout": "splith",
"nodes": [
{
"border": "pixel",
"current_border_width": 1,
"floating": "auto_off",
"geometry": {
"height": 1164,
"width": 1918,
"x": 1920,
"y": 0
},
"name": "Slack",
"percent": 0.6,
"swallows": [
{
"class": "^Slack$"
}
],
"type": "con"
},
{
"border": "pixel",
"current_border_width": 1,
"floating": "auto_off",
"geometry": {
"height": 410,
"width": 654,
"x": 0,
"y": 0
},
"name": "WeeChat",
"percent": 0.7,
"swallows": [
{
"class": "^Termite$",
"title": "^weechat$"
}
],
"type": "con"
}
],
"percent": 0.5,
"type": "con"
}

View File

@ -1,49 +0,0 @@
{
"border": "pixel",
"floating": "auto_off",
"layout": "splith",
"percent": 1,
"type": "con",
"nodes": [
{
"border": "pixel",
"current_border_width": 1,
"floating": "auto_off",
"geometry": {
"height": 434,
"width": 738,
"x": 0,
"y": 0
},
"name": "WeeChat",
"percent": 1,
"swallows": [
{
"class": "^Termite$",
"title": "^weechat$"
}
],
"type": "con"
},
{
"border": "pixel",
"current_border_width": 1,
"floating": "auto_off",
"geometry": {
"height": 434,
"width": 738,
"x": 0,
"y": 0
},
"name": "Slack",
"percent": 0.5,
"swallows": [
{
"class": "^Slack$",
"instance": "^slack$",
}
],
"type": "con"
}
]
}

View File

@ -1,20 +0,0 @@
{
"border": "pixel",
"current_border_width": 1,
"floating": "auto_off",
"geometry": {
"height": 410,
"width": 654,
"x": 0,
"y": 0
},
"name": "Chats",
"percent": 0.5,
"swallows": [
{
"class": "^Google\\-chrome$",
"instance": "^google\\-chrome$"
}
],
"type": "con"
}

View File

@ -1,22 +0,0 @@
// vim:ts=4:sw=4:et
{
"border": "pixel",
"current_border_width": 1,
"floating": "auto_off",
"geometry": {
"height": 1164,
"width": 1918,
"x": 1,
"y": 1
},
"name": "Google Chrome",
"percent": 1,
"swallows": [
{
"class": "^Google\\-chrome",
"instance": "^google\\-chrome$"
}
],
"type": "con"
}

View File

@ -1,15 +0,0 @@
{
"border": "pixel",
"floating": "auto_off",
"layout": "stacked",
"percent": null,
"rect": {
"height": 480,
"width": 670,
"x": 944,
"y": 310
},
"type": "floating_con",
"nodes": []
}

View File

@ -1,76 +0,0 @@
{
"layout": "splith",
"nodes": [
{
"border": "pixel",
"current_border_width": 1,
"floating": "auto_off",
"geometry": {
"height": 1164,
"width": 1918,
"x": 1920,
"y": 0
},
"name": "VIM",
"percent": 0.6,
"swallows": [
{
"class": "^Termite$",
"title": "^vim$"
}
],
"type": "con"
},
{
"border": "pixel",
"floating": "auto_off",
"layout": "splitv",
"nodes": [
{
"border": "pixel",
"current_border_width": 1,
"floating": "auto_off",
"geometry": {
"height": 410,
"width": 654,
"x": 0,
"y": 0
},
"name": "shell1",
"percent": 0.5,
"swallows": [
{
"class": "^Termite$",
"title": "^shell1$"
}
],
"type": "con"
},
{
"border": "pixel",
"current_border_width": 1,
"floating": "auto_off",
"geometry": {
"height": 410,
"width": 654,
"x": 0,
"y": 0
},
"name": "shell2",
"percent": 0.5,
"swallows": [
{
"class": "^Termite$",
"title": "^shell2$"
}
],
"type": "con"
}
],
"percent": 0.4,
"type": "con"
}
],
"percent": 0.5,
"type": "con"
}

View File

@ -1,76 +0,0 @@
{
"layout": "splitv",
"nodes": [
{
"border": "pixel",
"current_border_width": 1,
"floating": "auto_off",
"geometry": {
"height": 410,
"width": 654,
"x": 0,
"y": 0
},
"name": "oc-shell1",
"percent": 0.5,
"swallows": [
{
"class": "^URxvt$",
"instance": "^oc-shell1$"
}
],
"type": "con"
},
{
"border": "pixel",
"floating": "auto_off",
"layout": "splith",
"nodes": [
{
"border": "pixel",
"current_border_width": 1,
"floating": "auto_off",
"geometry": {
"height": 410,
"width": 654,
"x": 0,
"y": 0
},
"name": "oc-shell2",
"percent": 0.5,
"swallows": [
{
"class": "^URxvt$",
"instance": "^oc-shell2$"
}
],
"type": "con"
},
{
"border": "pixel",
"current_border_width": 1,
"floating": "auto_off",
"geometry": {
"height": 410,
"width": 654,
"x": 0,
"y": 0
},
"name": "oc-shell3",
"percent": 0.5,
"swallows": [
{
"class": "^URxvt$",
"instance": "^oc-shell3$"
}
],
"type": "con"
}
],
"percent": 0.5,
"type": "con"
}
],
"percent": 0.5,
"type": "con"
}

View File

@ -1,67 +0,0 @@
{
"layout": "splitv",
"nodes": [
{
"border": "pixel",
"current_border_width": 1,
"floating": "auto_off",
"geometry": {
"height": 364,
"width": 724,
"x": 0,
"y": 0
},
"name": "jfm@moerks:~",
"percent": 0.333333333333333,
"swallows": [
{
"class": "^URxvt$",
"instance": "^logs-shell1"
}
],
"type": "con"
},
{
"border": "pixel",
"current_border_width": 1,
"floating": "auto_off",
"geometry": {
"height": 364,
"width": 724,
"x": 0,
"y": 0
},
"name": "jfm@moerks:~",
"percent": 0.333333333333333,
"swallows": [
{
"class": "^URxvt$",
"instance": "^logs-shell2"
}
],
"type": "con"
},
{
"border": "pixel",
"current_border_width": 1,
"floating": "auto_off",
"geometry": {
"height": 364,
"width": 724,
"x": 0,
"y": 0
},
"name": "jfm@moerks:~",
"percent": 0.333333333333333,
"swallows": [
{
"class": "^URxvt$",
"instance": "^logs-shell3$"
}
],
"type": "con"
}
],
"percent": 1.0,
"type": "con"
}

View File

@ -1,79 +0,0 @@
{
"border": "pixel",
"floating": "auto_off",
"layout": "splitv",
"percent": 0.5,
"type": "con",
"nodes": [
{
"border": "pixel",
"current_border_width": 1,
"floating": "auto_off",
"geometry": {
"height": 434,
"width": 738,
"x": 0,
"y": 0
},
"name": "jfm@moerks:~",
"percent": 0.5,
"swallows": [
{
"class": "^Termite$",
"title": "^newsboat$"
}
],
"type": "con"
},
{
"border": "pixel",
"floating": "auto_off",
"layout": "splith",
"percent": 0.5,
"type": "con",
"nodes": [
{
"border": "pixel",
"current_border_width": 1,
"floating": "auto_off",
"geometry": {
"height": 434,
"width": 738,
"x": 0,
"y": 0
},
"name": "Reddit",
"percent": 0.5,
"swallows": [
{
"class": "^Termite$",
"title": "^rtv$"
}
],
"type": "con"
},
{
"border": "pixel",
"current_border_width": 1,
"floating": "auto_off",
"geometry": {
"height": 434,
"width": 738,
"x": 0,
"y": 0
},
"name": "Hacker News",
"percent": 0.5,
"swallows": [
{
"class": "^Termite$",
"title": "^hackernews$"
}
],
"type": "con"
}
]
}
]
}

View File

@ -1,130 +0,0 @@
{
"border": "none",
"floating": "auto_off",
"layout": "splitv",
"percent": 0.333333333333333,
"type": "con",
"nodes": [
{
"border": "pixel",
"current_border_width": 0,
"floating": "auto_off",
"geometry": {
"height": 466,
"width": 739,
"x": 0,
"y": 0
},
"name": "Mail",
"percent": 0.5,
"swallows": [
{
"class": "^Google\\-chrome$",
"instance": "^mail.google.com$"
}
],
"type": "con"
},
{
"border": "pixel",
"current_border_width": 0,
"floating": "auto_off",
"geometry": {
"height": 466,
"width": 739,
"x": 0,
"y": 0
},
"name": "Calendar",
"percent": 0.5,
"swallows": [
{
"class": "^Google\\-chrome$",
"instance": "^calendar.google.com$"
}
],
"type": "con"
}
]
}
{
"border": "none",
"floating": "auto_off",
"layout": "splitv",
"percent": 0.333333333333333,
"type": "con",
"nodes": [
{
"border": "pixel",
"current_border_width": 0,
"floating": "auto_off",
"geometry": {
"height": 466,
"width": 739,
"x": 0,
"y": 0
},
"name": "Hangouts Chat",
"percent": 0.5,
"swallows": [
{
"class": "^Google\\-chrome$",
"instance": "^hangouts.google.com$"
}
],
"type": "con"
},
{
"border": "pixel",
"current_border_width": 0,
"floating": "auto_off",
"geometry": {
"height": 466,
"width": 739,
"x": 0,
"y": 0
},
"name": "Messages",
"percent": 0.5,
"swallows": [
{
"class": "^Google\\-chrome$",
"instance": "^messages.android.com$"
}
],
"type": "con"
}
]
}
{
"border": "none",
"floating": "auto_off",
"layout": "splitv",
"percent": 0.333333333333333,
"type": "con",
"nodes": [
{
"border": "pixel",
"current_border_width": 0,
"floating": "auto_off",
"geometry": {
"height": 466,
"width": 739,
"x": 0,
"y": 0
},
"name": "Slack",
"percent": 1,
"swallows": [
{
"class": "^Google\\-chrome$",
"instance": "^tdcgroup.slack.com$"
}
],
"type": "con"
}
]
}

View File

@ -1,49 +0,0 @@
{
"border": "pixel",
"current_border_width": 0,
"floating": "auto_off",
"geometry": {
"height": 466,
"width": 739,
"x": 0,
"y": 0
},
"name": "Chrome",
"percent": 0.333,
"swallows": [
{
"class": "^Google\\-chrome"
}
],
"type": "con"
}
{
"border": "none",
"floating": "auto_off",
"layout": "tabbed",
"percent": 0.666,
"type": "con",
"nodes": [
{
"border": "pixel",
"current_border_width": 0,
"floating": "auto_off",
"geometry": {
"height": 466,
"width": 739,
"x": 0,
"y": 0
},
"name": "IntelliJ",
"percent": 0.595663265306122,
"swallows": [
{
"class": "^jetbrains-idea$",
"instance": "^sun\\-awt\\-X11\\-XFramePeer$"
}
],
"type": "con"
}
]
}

View File

@ -1,100 +0,0 @@
{
"border": "none",
"floating": "auto_off",
"layout": "splitv",
"percent": 0.65,
"type": "con",
"nodes": [
{
"border": "pixel",
"current_border_width": 0,
"floating": "auto_off",
"geometry": {
"height": 466,
"width": 739,
"x": 0,
"y": 0
},
"name": "Newsboat",
"percent": 0.5,
"swallows": [
{
"class": "^Termite$",
"title": "^newsboat$"
}
],
"type": "con"
},
{
"border": "none",
"floating": "auto_off",
"layout": "splith",
"percent": 0.5,
"type": "con",
"nodes": [
{
"border": "pixel",
"current_border_width": 0,
"floating": "auto_off",
"geometry": {
"height": 466,
"width": 739,
"x": 0,
"y": 0
},
"name": "Reddit",
"percent": 0.5,
"swallows": [
{
"class": "^Termite$",
"title": "^rtv$"
}
],
"type": "con"
},
{
"border": "pixel",
"current_border_width": 0,
"floating": "auto_off",
"geometry": {
"height": 466,
"width": 739,
"x": 0,
"y": 0
},
"name": "Twitter",
"percent": 0.5,
"swallows": [
{
"class": "^Termite$",
"title": "^bark$"
}
],
"type": "con"
}
]
}
]
}
{
"border": "pixel",
"current_border_width": 0,
"floating": "auto_off",
"geometry": {
"height": 466,
"width": 739,
"x": 0,
"y": 0
},
"name": "Music",
"percent": 0.35,
"swallows": [
{
"class": "^Spotify$",
"instance": "^spotify$"
}
],
"type": "con"
}

View File

@ -1,150 +0,0 @@
{
"border": "none",
"floating": "auto_off",
"layout": "splitv",
"percent": 0.3,
"type": "con",
"nodes": [
{
"border": "pixel",
"current_border_width": 0,
"floating": "auto_off",
"geometry": {
"height": 466,
"width": 739,
"x": 0,
"y": 0
},
"name": "Chrome",
"percent": 0.7,
"swallows": [
{
"class": "^Google\\-chrome$",
"instance": "^google\\-chrome$"
}
],
"type": "con"
},
{
"border": "pixel",
"current_border_width": 0,
"floating": "auto_off",
"geometry": {
"height": 466,
"width": 739,
"x": 0,
"y": 0
},
"name": "Shell",
"percent": 0.3,
"swallows": [
{
"class": "^Termite$",
"title": "^shell$"
}
],
"type": "con"
}
]
}
{
"border": "none",
"floating": "auto_off",
"layout": "splitv",
"percent": 0.4,
"type": "con",
"nodes": [
{
"border": "pixel",
"current_border_width": 0,
"floating": "auto_off",
"geometry": {
"height": 466,
"width": 739,
"x": 0,
"y": 0
},
"name": "NeoVim",
"percent": 0.7,
"swallows": [
{
"class": "^Termite$",
"title": "^vim$"
}
],
"type": "con"
},
{
"border": "pixel",
"current_border_width": 0,
"floating": "auto_off",
"geometry": {
"height": 466,
"width": 739,
"x": 0,
"y": 0
},
"name": "Ranger",
"percent": 0.3,
"swallows": [
{
"class": "^Termite$",
"title": "^ranger$"
}
],
"type": "con"
}
]
}
{
"border": "none",
"floating": "auto_off",
"layout": "splitv",
"percent": 0.3,
"type": "con",
"nodes": [
{
"border": "pixel",
"current_border_width": 0,
"floating": "auto_off",
"geometry": {
"height": 466,
"width": 739,
"x": 0,
"y": 0
},
"name": "Netflix",
"percent": 0.5,
"swallows": [
{
"class": "^Termite$",
"title": "^music$"
}
],
"type": "con"
},
{
"border": "pixel",
"current_border_width": 0,
"floating": "auto_off",
"geometry": {
"height": 466,
"width": 739,
"x": 0,
"y": 0
},
"name": "WeeChat",
"percent": 0.5,
"swallows": [
{
"class": "^Termite$",
"title": "^weechat$"
}
],
"type": "con"
}
]
}

View File

@ -1,130 +0,0 @@
{
"border": "none",
"floating": "auto_off",
"layout": "splitv",
"percent": 0.3,
"type": "con",
"nodes": [
{
"border": "pixel",
"current_border_width": 0,
"floating": "auto_off",
"geometry": {
"height": 466,
"width": 739,
"x": 0,
"y": 0
},
"name": "Chrome",
"percent": 0.7,
"swallows": [
{
"class": "^Google\\-chrome$",
"instance": "^google\\-chrome$"
}
],
"type": "con"
},
{
"border": "pixel",
"current_border_width": 0,
"floating": "auto_off",
"geometry": {
"height": 466,
"width": 739,
"x": 0,
"y": 0
},
"name": "Shell",
"percent": 0.3,
"swallows": [
{
"class": "^Termite$",
"title": "^shell$"
}
],
"type": "con"
}
]
}
{
"border": "none",
"floating": "auto_off",
"layout": "splitv",
"percent": 0.4,
"type": "con",
"nodes": [
{
"border": "pixel",
"current_border_width": 0,
"floating": "auto_off",
"geometry": {
"height": 466,
"width": 739,
"x": 0,
"y": 0
},
"name": "NeoVim",
"percent": 0.7,
"swallows": [
{
"class": "^Termite$",
"title": "^vim$"
}
],
"type": "con"
},
{
"border": "pixel",
"current_border_width": 0,
"floating": "auto_off",
"geometry": {
"height": 466,
"width": 739,
"x": 0,
"y": 0
},
"name": "Ranger",
"percent": 0.3,
"swallows": [
{
"class": "^Termite$",
"title": "^shell2$"
}
],
"type": "con"
}
]
}
{
"border": "none",
"floating": "auto_off",
"layout": "splitv",
"percent": 0.3,
"type": "con",
"nodes": [
{
"border": "pixel",
"current_border_width": 0,
"floating": "auto_off",
"geometry": {
"height": 466,
"width": 739,
"x": 0,
"y": 0
},
"name": "WeeChat",
"percent": 0.5,
"swallows": [
{
"class": "^Termite$",
"title": "^weechat$"
}
],
"type": "con"
}
]
}

View File

@ -1,37 +0,0 @@
#!/bin/bash
connected_displays=$(xrandr | grep -v disconnected | grep connected | wc -l)
#echo $connected_displays
if [[ $connected_displays = 3 ]];
then
echo "WORK"
~/.config/i3/scripts/work-monitors.sh &
~/.config/i3/scripts/work-layout.sh &
fi
if [[ $connected_displays = 2 ]];
then
~/.config/i3/scripts/home-monitors.sh &
~/.config/i3/scripts/home-layout.sh &
echo "HOME"
fi
sleep 1
. ~/.config/i3/env
echo $PRIMARY
echo $SECONDARY
echo $LAPTOP
i3-msg "workspace 1:; move workspace to output $LAPTOP"
i3-msg "workspace 2:; move workspace to output $PRIMARY"
i3-msg "workspace 3:; move workspace to output $PRIMARY"
i3-msg "workspace 4:; move workspace to output $PRIMARY"
i3-msg "workspace 5:; move workspace to output $PRIMARY"
i3-msg "workspace 6:; move workspace to output $PRIMARY"
i3-msg "workspace 7:; move workspace to output $PRIMARY"
i3-msg "workspace 8:; move workspace to output $SECONDARY"
i3-msg "workspace 9:; move workspace to output $SECONDARY"
i3-msg "workspace 10:; move workspace to output $SECONDARY"
exit 0

View File

@ -1,18 +0,0 @@
#!/bin/sh
ENV_FILE="/home/jfm/.config/i3/env"
/bin/cat <<EOM >$ENV_FILE
export LAPTOP="DP1-3"
export PRIMARY="DP1-3"
export SECONDARY="DP1-3"
export LOCATION="home"
EOM
. $ENV_FILE
killall polybar &
sleep 1
polybar primary &
nitrogen --restore &

View File

@ -1,13 +0,0 @@
#!/bin/sh
export DISPLAY=:0
export XAUTHORITY=/home/jfm/.Xauthority
xrandr --output VIRTUAL1 --off
xrandr --output eDP1 --off
xrandr --output DP1 --off
xrandr --output HDMI2 --off
xrandr --output HDMI1 --off
xrandr --output DP1-1 --off
xrandr --output DP2 --off
xrandr --output DP1-3 --primary --mode 3440x1440 --pos 0x0 --rotate normal
xrandr --output DP1-2 --off

View File

@ -1,30 +0,0 @@
#!/bin/sh
lock() {
~/.config/i3/i3lock/lock --no-text
}
case "$1" in
lock)
lock
;;
logout)
i3-msg exit
;;
suspend)
lock && systemctl suspend
;;
hibernate)
lock && systemctl hibernate
;;
reboot)
systemctl reboot
;;
shutdown)
systemctl poweroff
;;
*)
echo "Usage: $0 {lock|logout|suspend|hibernate|reboot|shutdown}"
exit 2
esac
exit 0

View File

@ -1,18 +0,0 @@
#!/bin/sh
ENV_FILE="/home/jfm/.config/i3/env"
/bin/cat <<EOM >$ENV_FILE
export LAPTOP="eDP1"
export PRIMARY="eDP1"
export SECONDARY="eDP1"
export LDPI_PROFILE="laptop"
export HDPI_PROFILE="laptop"
EOM
. $ENV_FILE
killall polybar &
sleep 1
polybar primary &
nitrogen --restore &

View File

@ -1,2 +0,0 @@
#!/bin/sh
xrandr --output HDMI2 --off --output HDMI1 --off --output DP1 --off --output eDP1 --primary --mode 2560x1440 --pos 0x0 --rotate normal --output DP2 --off --output DP1-2 --off --output DP1-3 --off

View File

@ -1,3 +0,0 @@
#!/bin/bash
nohup mopidy --config ~/.config/mopidy/mopidy.conf >/dev/null 2>&1 &

View File

@ -1,12 +0,0 @@
#!/bin/bash
CONNECTED_CMD="xrandr --query | grep connected | grep -v disconnected | wc -l"
monitors=`eval $CONNECTED_CMD`
sleep 5
if [ $monitors -gt 1 ]
then
~/.config/i3/scripts/dock.sh &
else
~/.config/i3/scripts/undock.sh &
fi

View File

@ -1,24 +0,0 @@
#!/bin/bash
~/.config/i3/scripts/laptop-monitors.sh &
sleep 3
~/.config/i3/scripts/laptop-layout.sh &
sleep 1
. ~/.config/i3/env
echo $PRIMARY
echo $SECONDARY
echo $LAPTOP
i3-msg "workspace 1:; move workspace to output $LAPTOP"
i3-msg "workspace 2:; move workspace to output $LAPTOP"
i3-msg "workspace 3:; move workspace to output $LAPTOP"
i3-msg "workspace 4:; move workspace to output $LAPTOP"
i3-msg "workspace 5:; move workspace to output $LAPTOP"
i3-msg "workspace 6:; move workspace to output $LAPTOP"
i3-msg "workspace 7:; move workspace to output $LAPTOP"
i3-msg "workspace 8:; move workspace to output $LAPTOP"
i3-msg "workspace 9:; move workspace to output $LAPTOP"
i3-msg "workspace 0:; move workspace to output $LAPTOP"
exit

View File

@ -1,19 +0,0 @@
#!/bin/sh
ENV_FILE="/home/jfm/.config/i3/env"
/bin/cat <<EOM >$ENV_FILE
export LAPTOP="eDP1"
export PRIMARY="DP1-3"
export SECONDARY="DP1-2"
export LOCATION="work"
EOM
. $ENV_FILE
killall polybar &
sleep 1
polybar primary &
polybar secondary &
polybar laptop &
nitrogen --restore &

View File

@ -1,12 +0,0 @@
#!/bin/sh
export DISPLAY=:0
export XAUTHORITY=/home/jfm/.Xauthority
xrandr --output HDMI-2 --off
xrandr --output HDMI-1 --off
xrandr --output DP-1 --off
xrandr --output DP-2 --off
xrandr --output DP-1-1 --off
xrandr --output DP1-2 --mode 1680x1050 --pos 4480x0 --rotate normal
xrandr --output eDP-1 --mode 2560x1440 --pos 0x0 --rotate normal
xrandr --output DP1-3 --primary --mode 1920x1080 --pos 2560x0 --rotate normal

Binary file not shown.

Before

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 240 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.4 MiB

View File

@ -1,6 +0,0 @@
#!/bin/bash
. ~/.config/i3/env
i3-msg "workspace 10:; append_layout ~/.config/i3/layouts/workspace0-timewaste.json"
i3-msg "workspace 10:; exec termite -t weechat -e weechat"
i3-msg "workspace 10:; exec slack"
i3-msg "workspace 10:; move workspace to output $SECONDARY"

View File

@ -1,17 +0,0 @@
#!/bin/bash
. ~/.config/i3/env
if [ $LOCATION = "home" ];
then
i3-msg "workspace 1:; append_layout ~/.config/i3/layouts/ws-comms-wide.json"
i3-msg "workspace 1:; exec google-chrome-stable --proxy-pac-url=file:///home/jfm/Customers/TDC/Scripts/tdcproxy.js --force-device-scale-factor=1.00 --app=https://mail.google.com"
i3-msg "workspace 1:; exec google-chrome-stable --proxy-pac-url=file:///home/jfm/Customers/TDC/Scripts/tdcproxy.js --force-device-scale-factor=1.00 --app=https://calendar.google.com"
i3-msg "workspace 1:; exec google-chrome-stable --proxy-pac-url=file:///home/jfm/Customers/TDC/Scripts/tdcproxy.js --force-device-scale-factor=1.00 --app=https://hangouts.google.com"
i3-msg "workspace 1:; exec google-chrome-stable --proxy-pac-url=file:///home/jfm/Customers/TDC/Scripts/tdcproxy.js --force-device-scale-factor=1.00 --app=https://messages.android.com"
i3-msg "workspace 1:; exec google-chrome-stable --proxy-pac-url=file:///home/jfm/Customers/TDC/Scripts/tdcproxy.js --force-device-scale-factor=1.00 --app=https://tdcgroup.slack.com"
i3-msg "workspace 1:; move workspace to output $PRIMARY"
else
i3-msg "workspace 1:; append_layout ~/.config/i3/layouts/workspace1-comms.json"
i3-msg "workspace 1:; exec google-chrome-stable --proxy-pac-url=file:///home/jfm/Customers/TDC/Scripts/tdcproxy.js --no-default-browser-check --new-window https://www.toggl.com/app/timer https://mail.google.com/mail/u/0/#inbox https://calendar.google.com/calendar/r?tab=mc https://hangouts.google.com https://messages.android.com"
i3-msg "workspace 1:; move workspace to output $LAPTOP"
fi

View File

@ -1,7 +0,0 @@
#!/bin/bash
. ~/.config/i3/env
i3-msg "workspace 2:: append_layout ~/.config/i3/layouts/workspace2-web.json"
i3-msg "workspace 2:; exec google-chrome-stable --proxy-pac-url=file:///home/jfm/Customers/TDC/Scripts/tdcproxy.js --no-default-browser-check --new-window"
i3-msg "workspace 2:; move workspace to output $PRIMARY"

View File

@ -1,13 +0,0 @@
#!/bin/bash
. ~/.config/i3/env
if [ $LOCATION = "home" ];
then
i3-msg "workspace 3:; append_layout ~/.config/i3/layouts/ws-ide-wide.json"
i3-msg "workspace 3:; exec google-chrome-stable --proxy-pac-url=file:///home/jfm/Customers/TDC/Scripts/tdcproxy.js --no-default-browser-check --new-window"
i3-msg "workspace 3:; exec /home/jfm/Tools/idea-2018.3/bin/idea.sh"
i3-msg "workspace 3:; move workspace to output $PRIMARY"
else
i3-msg "workspace 3:; append_layout ~/.config/i3/layouts/workspace3-ide.json"
i3-msg "workspace 3:; move workspace to output $PRIMARY"
fi

View File

@ -1,20 +0,0 @@
#!/bin/bash
. ~/.config/i3/env
if [ $LOCATION = "home" ];
then
i3-msg "workspace 4:; append_layout ~/.config/i3/layouts/ws-work-wide-music.json"
i3-msg "workspace 4:; exec google-chrome-stable --no-default-browser-check --new-window"
i3-msg "workspace 4:; exec termite -t vim -e 'nvr -s --remote' --hold"
i3-msg "workspace 4:; exec termite -t shell"
i3-msg "workspace 4:; exec termite -t ranger -e ~/.config/ranger/ranger.sh --hold"
i3-msg "workspace 4:; exec termite -t music -e ncmpcpp"
i3-msg "workspace 4:; exec termite -t weechat -e weechat"
i3-msg "workspace 4:; move workspace to output $PRIMARY"
else
i3-msg "workspace 4:; append_layout ~/.config/i3/layouts/workspace4-work.json"
i3-msg "workspace 4:; exec termite -t shell1"
i3-msg "workspace 4:; exec termite -t shell2 -e ~/.config/ranger/ranger.sh --hold"
i3-msg "workspace 4:; exec termite -t vim -e 'nvr -s --remote' --hold"
i3-msg "workspace 4:; move workspace to output $PRIMARY"
fi

View File

@ -1,20 +0,0 @@
#!/bin/bash
. ~/.config/i3/env
if [ $LOCATION = "home" ];
then
i3-msg "workspace 4:; append_layout ~/.config/i3/layouts/ws-work-wide.json"
i3-msg "workspace 4:; exec google-chrome-stable --proxy-pac-url=file:///home/jfm/Customers/TDC/Scripts/tdcproxy.js --no-default-browser-check --new-window"
i3-msg "workspace 4:; exec termite -t vim -e 'nvr -s --remote' --hold"
i3-msg "workspace 4:; exec termite -t shell"
i3-msg "workspace 4:; exec termite -t shell2"
# i3-msg "workspace 4:; exec google-chrome-stable --app=http://netflix.com"
i3-msg "workspace 4:; exec termite -t weechat -e weechat"
i3-msg "workspace 4:; move workspace to output $PRIMARY"
else
i3-msg "workspace 4:; append_layout ~/.config/i3/layouts/workspace4-work.json"
i3-msg "workspace 4:; exec termite -t shell1"
i3-msg "workspace 4:; exec termite -t shell2"
i3-msg "workspace 4:; exec termite -t vim -e 'nvr -s --remote' --hold"
i3-msg "workspace 4:; move workspace to output $PRIMARY"
fi

View File

@ -1,8 +0,0 @@
#!/bin/bash
. ~/.config/i3/env
i3-msg "workspace 5:OC; append_layout ~/.config/i3/layouts/workspace5-oc.json"
i3-msg "workspace 5:OC; exec urxvt -name oc-shell1"
i3-msg "workspace 5:OC; exec urxvt -name oc-shell2"
i3-msg "workspace 5:OC; exec urxvt -name oc-shell3"
i3-msg "workspace 5:OC; move workspace to output $PRIMARY"

View File

@ -1,8 +0,0 @@
#!/bin/bash
. ~/.config/i3/env
i3-msg "workspace 6:Logs; append_layout ~/.config/i3/layouts/workspace6-logs.json"
i3-msg "workspace 6:Logs; exec urxvt -name logs-shell1"
i3-msg "workspace 6:Logs; exec urxvt -name logs-shell2"
i3-msg "workspace 6:Logs; exec urxvt -name logs-shell3"
i3-msg "workspace 6:Logs; move workspace to output $SECONDARY"

View File

@ -1,18 +0,0 @@
#!/bin/bash
. ~/.config/i3/env
if [ $LOCATION = "home" ];
then
i3-msg "workspace 9:; append_layout ~/.config/i3/layouts/ws-news-wide.json"
i3-msg "workspace 9:; exec termite -t newsboat -e newsboat --hold"
i3-msg "workspace 9:; exec termite -t bark -d '/home/jfm/Repositories/bark' -e 'pipenv run python Bark.py' --hold"
i3-msg "workspace 9:; exec termite -t rtv -e 'rtv --enable-media --theme default' --hold"
i3-msg "workspace 9:; exec spotify"
i3-msg "workspace 9:; move workspace to output $PRIMARY"
else
i3-msg "workspace 9:; append_layout ~/.config/i3/layouts/workspace9-news.json"
i3-msg "workspace 9:; exec termite -t newsboat -e newsboat --hold"
i3-msg "workspace 9:; exec termite -t hackernews -d '/home/jfm/Repositories/bark' -e 'pipenv run python Bark.py' --hold"
i3-msg "workspace 9:; exec termite -t rtv -e 'rtv --enable-media --theme default' --hold"
i3-msg "workspace 9:; move workspace to output $SECONDARY"
fi

View File

@ -1,401 +0,0 @@
# vim:fileencoding=utf-8:ft=conf
# Font family. You can also specify different fonts for the
# bold/italic/bold-italic variants. By default they are derived automatically,
# by the OSes font system. Setting them manually is useful for font families
# that have many weight variants like Book, Medium, Thick, etc. For example:
# font_family Operator Mono Book
# bold_font Operator Mono Medium
# italic_font Operator Mono Book Italic
# bold_italic_font Operator Mono Medium Italic
#
# You can get a list of full family names available on your computer by running
# kitty list-fonts
font_family Meslo LG M Regular
italic_font auto
bold_font auto
bold_italic_font auto
# Font size (in pts)
font_size 10.0
# The amount the font size is changed by (in pts) when increasing/decreasing
# the font size in a running terminal.
font_size_delta 2
# Adjust the line height.
# You can use either numbers, which are interpreted as pixels or percentages
# (number followed by %), which are interpreted as percentages of the
# unmodified line height. You can use negative pixels or percentages less than
# 100% to reduce line height (but this might cause rendering artifacts).
adjust_line_height 0
# Change the sizes of the lines used for the box drawing unicode characters
# These values are in pts. They will be scaled by the monitor DPI to arrive at
# a pixel value. There must be four values corresponding to thin, normal, thick,
# and very thick lines;
box_drawing_scale 0.001, 1, 1.5, 2
# The foreground color
foreground #839496
# The background color
background #002b36
# The opacity of the background. A number between 0 and 1, where 1 is opaque and 0 is fully transparent.
# This will only work if supported by the OS (for instance, when using a compositor under X11). Note
# that it only sets the default background color's opacity. This is so that
# things like the status bar in vim, powerline prompts, etc. still look good.
# But it means that if you use a color theme with a background color in your
# editor, it will not be rendered as transparent. Instead you should change the
# default background color in your kitty config and not use a background color
# in the editor color scheme. Or use the escape codes to set the terminals
# default colors in a shell script to launch your editor.
# Be aware that using a value less than 1.0 is a (possibly significant) performance hit.
background_opacity 1.0
# The foreground for selections
selection_foreground #002b36
# The background for selections
selection_background #586e75
# The color and style for highlighting URLs on mouse-over. url_style can be one of:
# none, single, double, curly
url_color #0087BD
url_style curly
# The cursor color
cursor #93a1a1
# The cursor shape can be one of (block, beam, underline)
cursor_shape block
# The interval (in seconds) at which to blink the cursor. Set to zero to
# disable blinking. Note that numbers smaller than repaint_delay will be
# limited to repaint_delay.
cursor_blink_interval 0.0
# Stop blinking cursor after the specified number of seconds of keyboard inactivity. Set to
# zero to never stop blinking.
cursor_stop_blinking_after 15.0
# Number of lines of history to keep in memory for scrolling back
scrollback_lines 10000
# Program with which to view scrollback in a new window. The scrollback buffer is passed as
# STDIN to this program. If you change it, make sure the program you use can
# handle ANSI escape sequences for colors and text formatting.
scrollback_pager less +G -R
# When viewing scrollback in a new window, put it in a new tab as well
scrollback_in_new_tab no
# Wheel scroll multiplier (modify the amount scrolled by the mouse wheel). Use negative
# numbers to change scroll direction.
wheel_scroll_multiplier 5.0
# The interval between successive clicks to detect double/triple clicks (in seconds)
click_interval 0.5
# Characters considered part of a word when double clicking. In addition to these characters
# any character that is marked as an alpha-numeric character in the unicode
# database will be matched.
select_by_word_characters :@-./_~?&=%+#
# Hide mouse cursor after the specified number of seconds of the mouse not being used. Set to
# zero to disable mouse cursor hiding.
mouse_hide_wait 3.0
# Set the active window to the window under the mouse when moving the mouse around
focus_follows_mouse no
# The enabled window layouts. A comma separated list of layout names. The special value * means
# all layouts. The first listed layout will be used as the startup layout.
# For a list of available layouts, see the file layouts.py
enabled_layouts *
# If enabled, the window size will be remembered so that new instances of kitty will have the same
# size as the previous instance. If disabled, the window will initially have size configured
# by initial_window_width/height, in pixels.
remember_window_size no
initial_window_width 640
initial_window_height 400
# Delay (in milliseconds) between screen updates. Decreasing it, increases
# frames-per-second (FPS) at the cost of more CPU usage. The default value
# yields ~100 FPS which is more than sufficient for most uses.
repaint_delay 10
# Delay (in milliseconds) before input from the program running in the terminal
# is processed. Note that decreasing it will increase responsiveness, but also
# increase CPU usage and might cause flicker in full screen programs that
# redraw the entire screen on each loop, because kitty is so fast that partial
# screen updates will be drawn.
input_delay 3
# Visual bell duration. Flash the screen when a bell occurs for the specified number of
# seconds. Set to zero to disable.
visual_bell_duration 0.0
# Enable/disable the audio bell. Useful in environments that require silence.
enable_audio_bell no
# The modifier keys to press when clicking with the mouse on URLs to open the URL
open_url_modifiers ctrl+shift
# The program with which to open URLs that are clicked on. The special value "default" means to
# use the operating system's default URL handler.
open_url_with default
# The modifiers to use rectangular selection (i.e. to select text in a
# rectangular block with the mouse)
rectangle_select_modifiers ctrl+alt
# Choose whether to use the system implementation of wcwidth() (used to
# control how many cells a character is rendered in). If you use the system
# implementation, then kitty and any programs running in it will agree. The
# problem is that system implementations often are based on outdated unicode
# standards and get the width of many characters, such as emoji, wrong. So if
# you are using kitty with programs that have their own up-to-date wcwidth()
# implementation, set this option to no, otherwise set it to yes.
use_system_wcwidth no
# The value of the TERM environment variable to set
term xterm-kitty
# The width (in pts) of window borders. Will be rounded to the nearest number of pixels based on screen resolution.
# Note that borders are displayed only when more than one window is visible. They are meant to separate multiple windows.
window_border_width 1
# The window margin (in pts) (blank area outside the border)
window_margin_width 0
# The window padding (in pts) (blank area between the text and the window border)
window_padding_width 0
# The color for the border of the active window
active_border_color #00ff00
# The color for the border of inactive windows
inactive_border_color #cccccc
# Fade the text in inactive windows by the specified amount (a number between
# zero and one, with 0 being fully faded).
inactive_text_alpha 1.0
# Tab-bar customization
active_tab_foreground #d3d4c4
active_tab_background #404552
active_tab_font_style normal
inactive_tab_foreground #7c838f
inactive_tab_background #383c4a
inactive_tab_font_style normal
tab_separator " ┇ "
# The 16 terminal colors. There are 8 basic colors, each color has a dull and
# bright version.
# solarized dark
color0 #073642
color8 #002b36
color1 #dc322f
color9 #cb4b16
color2 #859900
color10 #586e75
color3 #b58900
color11 #657b83
color4 #268bd2
color12 #839496
color5 #d33682
color13 #6c71c4
color6 #2aa198
color14 #93a1a1
color7 #eee8d5
color15 #fdf6e3
## black
#color0 #000000
#color8 #4d4d4d
#
## red
#color1 #cc0403
#color9 #f2201f
#
## green
#color2 #19cb00
#color10 #23fd00
#
## yellow
#color3 #cecb00
#color11 #fffd00
#
## blue
#color4 #0d73cc
#color12 #1a8fff
#
## magenta
#color5 #cb1ed1
#color13 #fd28ff
#
## cyan
#color6 #0dcdcd
#color14 #14ffff
#
## white
#color7 #dddddd
#color15 #ffffff
# Key mapping
# For a list of key names, see: http://www.glfw.org/docs/latest/group__keys.html
# For a list of modifier names, see: http://www.glfw.org/docs/latest/group__mods.html
#
# You can use the special action no_op to unmap a keyboard shortcut that is
# assigned in the default configuration.
#
# You can combine multiple actions to be triggered by a single shortcut, using the
# syntax below:
# map key combine <separator> action1 <separator> action2 <separator> action3 ...
# For example:
# map ctrl+shift+e combine : new_window : next_layout
# this will create a new window and switch to the next available layout
# Clipboard
map ctrl+shift+v paste_from_clipboard
map ctrl+shift+s no_op
map ctrl+shift+c copy_to_clipboard
map shift+insert no_op
# You can also pass the contents of the current selection to any program using
# pass_selection_to_program. By default, the system's open program is used, but
# you can specify your own, for example:
# map ctrl+shift+o pass_selection_to_program firefox
map ctrl+shift+o no_op
# Scrolling
map ctrl+shift+up no_op
map ctrl+shift+down no_op
map ctrl+shift+k no_op
map ctrl+shift+j no_op
map shift+page_up scroll_page_up
map shift+page_down scroll_page_down
map ctrl+shift+home no_op
map ctrl+shift+end no_op
map ctrl+shift+h no_op
# Window management
map ctrl+shift+enter no_op
map ctrl+n new_os_window
map ctrl+w close_window
map ctrl+shift+] no_op
map ctrl+shift+[ no_op
map ctrl+shift+f no_op
map ctrl+shift+1 no_op
map ctrl+shift+2 no_op
map ctrl+shift+3 no_op
map ctrl+shift+4 no_op
map ctrl+shift+5 no_op
map ctrl+shift+6 no_op
map ctrl+shift+7 no_op
map ctrl+shift+8 no_op
map ctrl+shift+9 no_op
map ctrl+shift+0 no_op
# You can open a new window running an arbitrary program, for example:
# map ctrl+shift+y new_window mutt
#
# You can pass the current selection to the new program by using the @selection placeholder
# map ctrl+shift+y new_window less @selection
#
# You can even send the contents of the current screen + history buffer as stdin using
# the placeholders @text (which is the plain text) and @ansi (which includes text styling escape codes)
# For example, the following command opens the scrollback buffer in less in a new window.
# map ctrl+shift+y new_window @ansi less +G -R
#
# You can open a new window with the current working directory set to the
# working directory of the current window using
# map ctrl+alt+enter new_window_with_cwd
# Tab management
map ctrl+shift+] next_tab
map ctrl+shift+[ previous_tab
map ctrl+t new_tab
map ctrl+q close_tab
map ctrl+shift+l no_op
map ctrl+shift+. move_tab_forward
map ctrl+shift+, move_tab_backward
# You can also create shortcuts to go to specific tabs, with 1 being the first tab
# map ctrl+alt+1 goto_tab 1
# map ctrl+alt+2 goto_tab 2
# Just as with new_window above, you can also pass the name of arbitrary
# commands to run when using new_tab and use new_tab_with_cwd.
# Miscellaneous
map ctrl+equal increase_font_size
map ctrl+minus decrease_font_size
map ctrl+0 restore_font_size
map ctrl+shift+f11 no_op
# Sending arbitrary text on shortcut key presses
# You can tell kitty to send arbitrary (UTF-8) encoded text to
# the client program when pressing specified shortcut keys. For example:
# map ctrl+alt+a send_text all Special text
# This will send "Special text" when you press the Ctrl+Alt+a key combination.
# The text to be sent is a python string literal so you can use escapes like
# \x1b to send control codes or \u21fb to send unicode characters (or you can
# just input the unicode characters directly as UTF-8 text). The first argument
# to send_text is the keyboard modes in which to activate the shortcut. The possible
# values are normal or application or kitty or a comma separated combination of them.
# The special keyword all means all modes. The modes normal and application refer to
# the DECCKM cursor key mode for terminals, and kitty refers to the special kitty
# extended keyboard protocol. Another example, that outputs a word and then moves the cursor
# to the start of the line (same as pressing the Home key):
# map ctrl+alt+a send_text normal Word\x1b[H
# map ctrl+alt+a send_text application Word\x1bOH
# Symbol mapping (special font for specified unicode code points). Map the
# specified unicode codepoints to a particular font. Useful if you need special
# rendering for some symbols, such as for Powerline. Avoids the need for
# patched fonts. Each unicode code point is specified in the form U+<code point
# in hexadecimal>. You can specify multiple code points, separated by commas
# and ranges separated by hyphens. symbol_map itself can be specified multiple times.
# Syntax is:
#
# symbol_map codepoints Font Family Name
#
# For example:
#
# symbol_map U+E0A0-U+E0A2,U+E0B0-U+E0B3 PowerlineSymbols
# OS specific tweaks
# Hide the kitty window's title bar on macOS.
macos_hide_titlebar no
# Use the option key as an alt key. With this set to no, kitty will use
# the macOS native Option+Key = unicode character behavior. This will
# break any Alt+key keyboard shortcuts in your terminal programs, but you
# can use the macOS unicode input technique.
macos_option_as_alt yes
# The number is a percentage of maximum volume.
# See man XBell for details.
x11_bell_volume 0
# Prefer color emoji fonts when available. Note that this only works
# on systems such as Linux that use fontconfig. On other OSes, the emoji
# font used is system dependent. It can be overriden using symbol_map in the kitty
# configuration.
prefer_color_emoji yes

View File

@ -1,7 +0,0 @@
default-timeout=3000
anchor=bottom-right
format=%a\n%b\n%s
border-size=0
background-color=#5E81ACFF
text-color=#D8DEE9FF

View File

@ -1,326 +0,0 @@
;==========================================================
;
;
; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
;
;
; To learn more about how to configure Polybar
; go to https://github.com/jaagr/polybar
;
; The README contains alot of information
;
;==========================================================
[colors]
nord0 = #2E3440
nord1 = #3B4252
nord2 = #434C5E
nord3 = #4C566A
nord4 = #D8DEE9
nord5 = #E5E9F0
nord6 = #ECEFF4
nord7 = #8FBCBB
nord8 = #88C0D0
nord9 = #81A1C1
nord10 = #5E81AC
nord11 = #BF616A
nord12 = #D08770
nord13 = #EBCB8B
nord14 = #A3BE8C
nord15 = #B48EAD
;background = #002b36
background = ${colors.nord0}
;foreground = #dfdfdf
foreground = ${colors.nord9}
foreground-icon = ${colors.nord14}
;primary = #ffb52a
primary = ${colors.nord6}
secondary = #e60053
alert = #bd2c40
;i3-focused-background = #93A1A1
i3-focused-background = ${colors.nord3}
;i3-unfocused-background = #002b36
i3-unfocused-background = ${colors.nord0}
;i3-visible-background = #002b36
i3-visible-background = ${colors.nord0}
;i3-urgent-background = #657b83
i3-urgent-background = ${colors.nord10}
[bar/primary]
monitor = ${env:PRIMARY:eDP1}
width = 100%
height = 27
fixed-center = false
bottom = true
background = ${colors.background}
foreground = ${colors.foreground}
padding-left = 0
padding-right = 2
module-margin-left = 1
module-margin-right = 2
font-0 = Source Code Pro for Powerline:pixelsize=12;1
font-1 = FontAwesome:pixelsize=12;1
modules-left = i3
modules-center =
modules-right = updates-arch-combined wlan eth battery cpu memory date
tray-position = center
tray-padding = 2
;tray-transparent = true
tray-background = ${colors.background}
[bar/secondary]
monitor = ${env:SECONDARY}
width = 100%
height = 27
fixed-center = false
bottom = true
background = ${colors.background}
foreground = ${colors.foreground}
padding-left = 0
padding-right = 2
module-margin-left = 1
module-margin-right = 2
font-0 = Source Code Pro for Powerline:pixelsize=12;1
font-1 = FontAwesome:pixelsize=12;1
modules-left = i3
modules-center =
modules-right = spotify
[bar/laptop]
monitor = ${env:LAPTOP}
width = 100%
height = 27
fixed-center = false
bottom = true
background = ${colors.background}
foreground = ${colors.foreground}
padding-left = 0
padding-right = 2
module-margin-left = 1
module-margin-right = 2
font-0 = Source Code Pro for Powerline:pixelsize=12;1
font-1 = FontAwesome:pixelsize=12;1
modules-left = i3
modules-center =
modules-right =
[module/i3]
type = internal/i3
format = <label-state> <label-mode>
index-sort = true
wrapping-scroll = false
; Only show workspaces on the same output as the bar
pin-workspaces = true
ws-icon-0 = 0:;
ws-icon-1 = 1:;
ws-icon-2 = 2:;
ws-icon-3 = 3:;
ws-icon-4 = 4:;
ws-icon-5 = 5:;
ws-icon-6 = 6:;
ws-icon-7 = 7:;
ws-icon-8 = 8:;
ws-icon-9 = 9:;
ws-icon-10 = 10:;
label-mode-padding = 2
label-mode-foreground = #000
label-mode-background = ${colors.primary}
; focused = Active workspace on focused monitor
label-focused = %icon%
label-focused-foreground = ${colors.foreground-icon}
label-focused-background = ${colors.i3-focused-background}
label-focused-padding = 2
; unfocused = Inactive workspace on any monitor
label-unfocused = %icon%
label-unfocused-foreground = ${colors.foreground-icon}
label-unfocused-background = ${colors.i3-unfocused-background}
label-unfocused-padding = 2
; visible = Active workspace on unfocused monitor
label-visible = %icon%
label-visible-foreground = ${colors.foreground-icon}
label-visible-background = ${colors.i3-visible-background}
label-visible-padding = 2
; urgent = Workspace with urgency hint set
label-urgent = %icon%
label-urgent-foreground = ${colors.foreground-icon}
label-urgent-background = ${colors.i3-urgent-background}
label-urgent-padding = 2
[module/cpu]
type = internal/cpu
interval = 2
format-prefix = " "
format-prefix-foreground = ${colors.foreground-icon}
label = %percentage:2%%
[module/memory]
type = internal/memory
interval = 2
format-prefix = " "
format-prefix-foreground = ${colors.foreground-icon}
label = %percentage_used%%
[module/wlan]
type = internal/network
interface = wlp2s0
interval = 3.0
format-connected-prefix = " "
format-connected-prefix-foreground = ${colors.foreground-icon}
format-connected = <label-connected>
label-connected = %essid%
format-disconnected =
;format-disconnected = <label-disconnected>
;label-disconnected = %ifname% disconnected
;label-disconnected-foreground = ${colors.foreground-alt}
;ramp-signal-0 =
;ramp-signal-1 = 
;ramp-signal-2 = 
;ramp-signal-3 = 
;ramp-signal-4 = 
;ramp-signal-foreground = ${colors.foreground}
[module/eth]
type = internal/network
interface = enp0s31f6
interval = 3.0
format-connected-prefix = " "
format-connected-prefix-foreground = ${colors.foreground-icon}
label-connected = %local_ip%
format-disconnected =
;format-disconnected = <label-disconnected>
;label-disconnected = %ifname% disconnected
;label-disconnected-foreground = ${colors.foreground-alt}
[module/date]
type = internal/date
interval = 5
date = "%Y-%m-%d"
date-alt = " %Y-%m-%d"
time = %H:%M
time-alt = %H:%M:%S
format-prefix = " "
format-prefix-foreground = ${colors.foreground-icon}
label = %date% %time%
;[module/pulseaudio]
;type = internal/pulseaudio
;format-volume = <label-volume> <bar-volume>
;label-volume = VOL %percentage%%
;label-volume-foreground = ${root.foreground}
;label-muted = 🔇 muted
;label-muted-foreground = #666
;bar-volume-width = 10
;bar-volume-foreground-0 = #55aa55
;bar-volume-foreground-1 = #55aa55
;bar-volume-foreground-2 = #55aa55
;bar-volume-foreground-3 = #55aa55
;bar-volume-foreground-4 = #55aa55
;bar-volume-foreground-5 = #f5a70a
;bar-volume-foreground-6 = #ff5555
;bar-volume-gradient = false
;bar-volume-indicator = |
;bar-volume-indicator-font = 2
;bar-volume-fill = ─
;bar-volume-fill-font = 2
;bar-volume-empty = ─
;bar-volume-empty-font = 2
;bar-volume-empty-foreground = ${colors.foreground-alt}
[module/battery]
type = internal/battery
battery = BAT0
adapter = AC
full-at = 94
interval = 120
format-charging = <animation-charging> <label-charging>
format-discharging = <animation-discharging> <label-discharging>
format-full-prefix = " "
format-full-prefix-foreground = ${colors.foreground-icon}
ramp-capacity-0 = 
ramp-capacity-1 = 
ramp-capacity-2 = 
ramp-capacity-foreground = ${colors.foreground}
animation-charging-0 = 
animation-charging-1 = 
animation-charging-2 = 
animation-charging-foreground = ${colors.foreground}
animation-charging-framerate = 750
animation-discharging-0 = 
animation-discharging-1 = 
animation-discharging-2 = 
animation-discharging-foreground = ${colors.foreground}
animation-discharging-framerate = 750
[module/updates-arch-combined]
type = custom/script
exec = ~/.config/polybar/scripts/updates-arch-combined.sh
interval = 600
[module/gpmdp]
type = custom/script
exec = ~/.config/polybar/scripts/gpmdp.sh
interval = 5
icon-play = ⏵
icon-pause = ⏸
icon-stop = ⏹
icon-prev = ⏮
icon-next = ⏭
[module/spotify]
type = custom/script
interval = 1
format = <label>
exec = python ~/.config/polybar/scripts/spotify_status.py -p ',' -f '{play_pause} {artist} - {song}'
[global/wm]
margin-top = 5
margin-bottom = 5

View File

@ -1,21 +0,0 @@
#!/bin/bash
RUNNING_CMD=$(ps ax | grep gpmdp | wc -l)
STATUS_CMD=$(gpmdp-remote status)
CURRENT_CMD=$(gpmdp-remote current)
ICON_PLAYING='\uf001'
ICON_PAUSE='\uf04c'
if [ $RUNNING_CMD -gt 3 ]
then
if [ $STATUS_CMD == "Playing" ]
then
echo -e $ICON_PLAYING $(gpmdp-remote current)
else
current=$CURRENT_CMD
if [ ${#current} -gt 3 ]
then
echo -e $ICON_PAUSE $(gpmdp-remote current)
fi
fi
fi

View File

@ -1,106 +0,0 @@
#!/bin/python
import sys
import dbus
import argparse
parser = argparse.ArgumentParser()
parser.add_argument("-t", "--trunclen", type=int, metavar="trunclen")
parser.add_argument(
"-f", "--format", type=str, metavar="custom format", dest="custom_format"
)
parser.add_argument(
"-p", "--playpause", type=str, metavar="play-pause indicator", dest="play_pause"
)
parser.add_argument(
"--font",
type=str,
metavar="the index of the font to use for the main label",
dest="font",
)
parser.add_argument(
"--playpause-font",
type=str,
metavar="the index of the font to use to display the playpause indicator",
dest="play_pause_font",
)
args = parser.parse_args()
def fix_string(string):
# corrects encoding for the python version used
if sys.version_info.major == 3:
return string
else:
return string.encode("utf-8")
# Default parameters
output = fix_string(u"{play_pause} {artist}: {song}")
trunclen = 25
play_pause = fix_string(u"\u25B6,\u23F8") # first character is play, second is paused
label_with_font = "%{{T{font}}}{label}%{{T-}}"
font = args.font
play_pause_font = args.play_pause_font
# parameters can be overwritten by args
if args.trunclen is not None:
trunclen = args.trunclen
if args.custom_format is not None:
output = args.custom_format
if args.play_pause is not None:
play_pause = args.play_pause
try:
session_bus = dbus.SessionBus()
spotify_bus = session_bus.get_object(
"org.mpris.MediaPlayer2.spotify", "/org/mpris/MediaPlayer2"
)
spotify_properties = dbus.Interface(spotify_bus, "org.freedesktop.DBus.Properties")
metadata = spotify_properties.Get("org.mpris.MediaPlayer2.Player", "Metadata")
status = spotify_properties.Get("org.mpris.MediaPlayer2.Player", "PlaybackStatus")
# Handle play/pause label
play_pause = play_pause.split(",")
if status == "Playing":
play_pause = play_pause[0]
elif status == "Paused":
play_pause = play_pause[1]
else:
play_pause = str()
if play_pause_font:
play_pause = label_with_font.format(font=play_pause_font, label=play_pause)
# Handle main label
artist = fix_string(metadata["xesam:artist"][0]) if metadata["xesam:artist"] else ""
song = fix_string(metadata["xesam:title"]) if metadata["xesam:title"] else ""
if not artist and not song:
print("")
else:
if len(song) > trunclen:
song = song[0:trunclen]
song += "..."
if ("(" in song) and (")" not in song):
song += ")"
if font:
artist = label_with_font.format(font=font, label=artist)
song = label_with_font.format(font=font, label=song)
print(output.format(artist=artist, song=song, play_pause=play_pause))
except Exception as e:
if isinstance(e, dbus.exceptions.DBusException):
print("")
else:
print(e)

View File

@ -1,17 +0,0 @@
#!/bin/sh
if ! updates_arch=$(checkupdates 2> /dev/null | wc -l ); then
updates_arch=0
fi
if ! updates_aur=$(yay -Qum | wc -l); then
updates_aur=0
fi
updates=$(("$updates_arch" + "$updates_aur"))
if [ "$updates" -gt 0 ]; then
echo "$updates"
else
echo ""
fi

View File

@ -1,31 +0,0 @@
{
"name": "Default color scheme for shell prompts",
"groups": {
"hostname": { "fg": "brightyellow", "bg": "mediumorange", "attrs": [] },
"environment": { "fg": "white", "bg": "darkestgreen", "attrs": [] },
"mode": { "fg": "darkestgreen", "bg": "brightgreen", "attrs": ["bold"] },
"attached_clients": { "fg": "white", "bg": "darkestgreen", "attrs": [] },
"gitstatus": { "fg": "gray8", "bg": "gray2", "attrs": [] },
"gitstatus_branch": { "fg": "gray8", "bg": "gray2", "attrs": [] },
"gitstatus_branch_clean": { "fg": "green", "bg": "gray2", "attrs": [] },
"gitstatus_branch_dirty": { "fg": "gray8", "bg": "gray2", "attrs": [] },
"gitstatus_branch_detached": { "fg": "mediumpurple", "bg": "gray2", "attrs": [] },
"gitstatus_tag": { "fg": "darkcyan", "bg": "gray2", "attrs": [] },
"gitstatus_behind": { "fg": "gray10", "bg": "gray2", "attrs": [] },
"gitstatus_ahead": { "fg": "gray10", "bg": "gray2", "attrs": [] },
"gitstatus_staged": { "fg": "green", "bg": "gray2", "attrs": [] },
"gitstatus_unmerged": { "fg": "brightred", "bg": "gray2", "attrs": [] },
"gitstatus_changed": { "fg": "mediumorange", "bg": "gray2", "attrs": [] },
"gitstatus_untracked": { "fg": "brightestorange", "bg": "gray2", "attrs": [] },
"gitstatus_stashed": { "fg": "darkblue", "bg": "gray2", "attrs": [] },
"gitstatus:divider": { "fg": "gray8", "bg": "gray2", "attrs": [] }
},
"mode_translations": {
"vicmd": {
"groups": {
"mode": {"fg": "darkestcyan", "bg": "white", "attrs": ["bold"]}
}
}
}
}

View File

@ -1,28 +0,0 @@
{
"name": "Solarized dark for shell",
"groups": {
"mode": { "fg": "solarized:base3", "bg": "solarized:green", "attrs": ["bold"] },
"gitstatus": { "fg": "gray8", "bg": "solarized:base02", "attrs": [] },
"gitstatus_branch": { "fg": "gray8", "bg": "solarized:base02", "attrs": [] },
"gitstatus_branch_clean": { "fg": "green", "bg": "solarized:base02", "attrs": [] },
"gitstatus_branch_dirty": { "fg": "gray8", "bg": "solarized:base02", "attrs": [] },
"gitstatus_branch_detached": { "fg": "mediumpurple", "bg": "solarized:base02", "attrs": [] },
"gitstatus_tag": { "fg": "darkcyan", "bg": "solarized:base02", "attrs": [] },
"gitstatus_behind": { "fg": "gray10", "bg": "solarized:base02", "attrs": [] },
"gitstatus_ahead": { "fg": "gray10", "bg": "solarized:base02", "attrs": [] },
"gitstatus_staged": { "fg": "green", "bg": "solarized:base02", "attrs": [] },
"gitstatus_unmerged": { "fg": "brightred", "bg": "solarized:base02", "attrs": [] },
"gitstatus_changed": { "fg": "mediumorange", "bg": "solarized:base02", "attrs": [] },
"gitstatus_untracked": { "fg": "brightestorange", "bg": "solarized:base02", "attrs": [] },
"gitstatus_stashed": { "fg": "darkblue", "bg": "solarized:base02", "attrs": [] },
"gitstatus:divider": { "fg": "gray8", "bg": "solarized:base02", "attrs": [] }
},
"mode_translations": {
"vicmd": {
"groups": {
"mode": { "fg": "solarized:base3", "bg": "solarized:blue", "attrs": ["bold"] }
}
}
}
}

View File

@ -1,39 +0,0 @@
{
"common": {
"term_truecolor": false
},
"ext": {
"shell": {
"colorscheme": "solarized",
"theme": "solarized",
"cwd": {
"max_depth": 2
},
"local_themes": {
"continuation": "continuation",
"select": "select"
}
},
"vim": {
"colorscheme": "solarized",
"theme": "default",
"local_themes": {
"__tabline__": "tabline",
"cmdwin": "cmdwin",
"help": "help",
"quickfix": "quickfix",
"powerline.matchers.vim.plugin.nerdtree.nerdtree": "plugin_nerdtree",
"powerline.matchers.vim.plugin.commandt.commandt": "plugin_commandt",
"powerline.matchers.vim.plugin.gundo.gundo": "plugin_gundo",
"powerline.matchers.vim.plugin.gundo.gundo_preview": "plugin_gundo-preview"
}
},
"wm": {
"colorscheme": "default",
"theme": "default",
"update_interval": 2
}
}
}

View File

@ -1,17 +0,0 @@
{
"segments": {
"left": [
{
"function": "powerline.segments.shell.cwd",
"args" : {
"dir_shorten_len" : 2
},
"priority": 10
},
{
"function": "powerline_gitstatus.gitstatus",
"priority": 40
}
]
}
}

View File

@ -1,21 +0,0 @@
{
"segments": {
"left": [
{
"function": "powerline.segments.common.env.virtualenv",
"priority": 50
},
{
"function": "powerline.segments.shell.cwd",
"priority": 10,
"args": {
"dir_limit_depth": 1
}
},
{
"function": "powerline_gitstatus.gitstatus",
"priority": 10
}
]
}
}

View File

@ -1,18 +0,0 @@
rofi.fullscreen: false
rofi.separator-style: dash
rofi.hide-scrollbar: true
rofi.padding: 20
rofi.bw: 0
rofi.lines: 10
rofi.line-padding: 5
rofi.font: Hack Nerd Font 12
rofi.show-icons: true
rofi.location: 8
! Window 'background''border' 'separator'
rofi.color-window: #FF5E81AC, #00000000, #268bd2
! State 'bg', 'fg', 'altbg', 'hlbg', 'hlfg'
rofi.color-normal: #00000000, #D8DEE9, #00000000, #00000000, #8FBCBB
rofi.color-active: #00000000, #D8DEE9, #00000000, #00000000, #8FBCBB
rofi.color-urgent: #00000000, #D8DEE9, #00000000, #00000000, #8FBCBB

View File

@ -1,15 +0,0 @@
# rofi.location: 1
rofi.font: Source Code Pro for Powerline 10
rofi.lines: 10
rofi.color-enabled: true
rofi.bw: 5
#rofi.color-window: #16a085, #16a085, #1e2529
#rofi.color-normal: #16a085, #424242, #16a085
#rofi.color-active: #16a085, #424242, #16a085
#rofi.color-urgent: #16a085, #424242, #16a085
rofi.color-window: #002b36, #073642, #073642
rofi.color-normal: #002b36, #fdf6e3, #002b36, #b58900, #002b36
rofi.color-active: #002b36, #fdf6e3, #002b36, #b58900, #002b36
rofi.color-urgent: #002b36, #fdf6e3, #002b36, #b58900, #002b36

Binary file not shown.

Before

Width:  |  Height:  |  Size: 97 KiB

View File

@ -1,19 +0,0 @@
# Config for rofi-wifi-menu
# position values:
# 1 2 3
# 8 0 4
# 7 6 5
POSITION=0
#y-offset
YOFF=17
#x-offset
XOFF=0
#fields to be displayed
FIELDS=SSID,SECURITY,BARS
#font
FONT="Source Code Pro for Powerline 15"

View File

@ -1,73 +0,0 @@
# Example mailcap file for Reddit Terminal Viewer
# https://github.com/michael-lazar/rtv/
#
# Copy the contents of this file to {HOME}/.mailcap, or point to it using $MAILCAPS
# Then launch RTV using the --enable-media flag. All shell commands defined in
# this file depend on external programs that must be installed on your system.
#
# HELP REQUESTED! If you come up with your own commands (especially for OS X)
# and would like to share, please post an issue on the GitHub tracker and we
# can get them added to this file as references.
#
#
# Mailcap 101
# - The first entry with a matching MIME type will be executed, * is a wildcard
# - %s will be replaced with the image or video url
# - Add ``test=test -n "$DISPLAY"`` if your command opens a new window
# - Add ``needsterminal`` for commands that use the terminal
# - Add ``copiousoutput`` for commands that dump text to stdout
###############################################################################
# Commands below this point will open media in a separate window without
# pausing execution of RTV.
###############################################################################
# Feh is a simple and effective image viewer
# Note that rtv returns a list of urls for imgur albums, so we don't put quotes
# around the `%s`
image/x-imgur-album; curl %s | imv -; test=test -n "$DISPLAY"
image/gif; mpv '%s' --autofit-larger 1024x768 --loop=inf; test=test -n "$DISPLAY"
image/*; curl '%s' | imv -; test=test -n "$DISPLAY"
# Youtube videos are assigned a custom mime-type, which can be streamed with
# vlc or youtube-dl.
#video/x-youtube; vlc '%s' --width 1024 --height 768; test=test -n "$DISPLAY"
video/x-youtube; mpv --ytdl-format=bestvideo+bestaudio/best '%s' --autofit-larger 1024x768 -mute; test=test -n "$DISPLAY"
# Mpv is a simple and effective video streamer
video/*; mpv '%s' --autofit-larger 1024x768 --loop=inf; test=test -n "$DISPLAY"
###############################################################################
# Commands below this point will attempt to display media directly in the
# terminal when a desktop is not available (e.g. inside of an SSH session)
###############################################################################
# View images directly in your terminal with iTerm2
# curl -L https://iterm2.com/misc/install_shell_integration_and_utilities.sh | bash
# image/*; curl -s %s | ~/.iterm2/imgcat && read -n 1; needsterminal
# View true images in the terminal, supported by rxvt-unicode, xterm and st
# Requires the w3m-img package
# image/*; w3m -o 'ext_image_viewer=off' '%s'; needsterminal
# Don't have a solution for albums yet
#image/x-imgur-album; echo
# 256 color images using half-width unicode characters
# Much higher quality that img2txt, but must be built from source
# https://github.com/rossy/img2xterm
#image/*; curl -s '%s' | convert -resize 80x80 - jpg:/tmp/rtv.jpg && img2xterm /tmp/rtv.jpg; needsterminal; copiousoutput
# Display images in classic ascii using img2txt and lib-caca
#image/*; curl -s '%s' | convert - jpg:/tmp/rtv.jpg && img2txt -f utf8 /tmp/rtv.jpg; needsterminal; copiousoutput
# Full motion videos - requires a framebuffer to view
#video/x-youtube; mpv -vo drm -quiet '%s'; needsterminal
#video/*; mpv -vo drm -quiet '%s'; needsterminal
# Ascii videos
# video/x-youtube; youtube-dl -q -o - '%s' | mplayer -cache 8192 -vo caca -quiet -; needsterminal
# video/*; wget '%s' -O - | mplayer -cache 8192 -vo caca -quiet -; needsterminal
#
text/html; /usr/bin/google-chrome-stable '--app=file://%s' &> /dev/null & sleep 1; test=test -n "$DISPLAY"; nametemplate=%s.html; needsterminal
text/html; w3m %s; nametemplate=%s.html; copiousoutput

View File

@ -1,8 +0,0 @@
{
"color_scheme": "Packages/Material Theme/schemes/Material-Theme-Darker.tmTheme",
"ignored_packages":
[
"Vintage"
],
"theme": "Material-Theme-Darker.sublime-theme"
}

View File

@ -1,6 +0,0 @@
// These settings override both User and Default settings for the Python syntax
{
"tab_size": 4,
"translate_tabs_to_spaces": true,
"rulers": [80]
}

View File

@ -1,55 +0,0 @@
# Copyright (c) 2016-present Arctic Ice Studio <development@arcticicestudio.com>
# Copyright (c) 2016-present Sven Greb <code@svengreb.de>
# Project: Nord Termite
# Repository: https://github.com/arcticicestudio/nord-termite
# License: MIT
[options]
#font = Source Code Pro for Powerline 10
font = Hack Nerd Font 10
scrollback_lines = 10000
size_hints = true
[colors]
cursor = #d8dee9
cursor_foreground = #2e3440
foreground = #d8dee9
foreground_bold = #d8dee9
background = #2e3440
highlight = #4c566a
color0 = #3b4252
color1 = #bf616a
color2 = #a3be8c
color3 = #ebcb8b
color4 = #81a1c1
color5 = #b48ead
color6 = #88c0d0
color7 = #e5e9f0
color8 = #4c566a
color9 = #bf616a
color10 = #a3be8c
color11 = #ebcb8b
color12 = #81a1c1
color13 = #b48ead
color14 = #8fbcbb
color15 = #eceff4
color100 = #2e3440
color101 = #3b4252
color102 = #434c5e
color103 = #4c566a
color104 = #d8dee9
color105 = #e5e9f0
color106 = #eceff4
color107 = #8fBcBB
color108 = #88c0d0
color109 = #81a1c1
color110 = #5e81ac
color111 = #bf616a
color112 = #d08770
color113 = #ebcb8b
color114 = #a3be8c
color115 = #b48ead

View File

@ -1,55 +0,0 @@
# Copyright (c) 2016-present Arctic Ice Studio <development@arcticicestudio.com>
# Copyright (c) 2016-present Sven Greb <code@svengreb.de>
# Project: Nord Termite
# Repository: https://github.com/arcticicestudio/nord-termite
# License: MIT
[options]
#font = Source Code Pro for Powerline 10
font = Hack Nerd Font 10
scrollback_lines = 10000
size_hints = true
[colors]
cursor = #d8dee9
cursor_foreground = #2e3440
foreground = #d8dee9
foreground_bold = #d8dee9
background = #2e3440
highlight = #4c566a
color0 = #3b4252
color1 = #bf616a
color2 = #a3be8c
color3 = #ebcb8b
color4 = #81a1c1
color5 = #b48ead
color6 = #88c0d0
color7 = #e5e9f0
color8 = #4c566a
color9 = #bf616a
color10 = #a3be8c
color11 = #ebcb8b
color12 = #81a1c1
color13 = #b48ead
color14 = #8fbcbb
color15 = #eceff4
color100 = #2e3440
color101 = #3b4252
color102 = #434c5e
color103 = #4c566a
color104 = #d8dee9
color105 = #e5e9f0
color106 = #eceff4
color107 = #8fBcBB
color108 = #88c0d0
color109 = #81a1c1
color110 = #5e81ac
color111 = #bf616a
color112 = #d08770
color113 = #ebcb8b
color114 = #a3be8c
color115 = #b48ead

View File

@ -1,33 +0,0 @@
[options]
font = Source Code Pro for Powerline 11
scrollback_lines = 10000
size_hints = true
# Solarized dark color scheme
[colors]
foreground = #839496
foreground_bold = #eee8d5
foreground_dim = #002b36
background = #002b36
cursor = #93a1a1
# if unset, will reverse foreground and background
#highlight = #839496
# colors from color0 to color254 can be set
color0 = #073642
color1 = #dc322f
color2 = #859900
color3 = #b58900
color4 = #268bd2
color5 = #d33682
color6 = #2aa198
color7 = #eee8d5
color8 = #002b36
color9 = #cb4b16
color10 = #586e75
color11 = #657b83
color12 = #839496
color13 = #6c71c4
color14 = #93a1a1
color15 = #fdf6e3

View File

@ -1,52 +0,0 @@
# Copyright (c) 2016-present Arctic Ice Studio <development@arcticicestudio.com>
# Copyright (c) 2016-present Sven Greb <code@svengreb.de>
# Project: Nord Termite
# Repository: https://github.com/arcticicestudio/nord-termite
# License: MIT
[options]
#font = Source Code Pro for Powerline 10
font = Hack Nerd Font 10
scrollback_lines = 10000
size_hints = true
[colors]
# special
foreground = #373b41
foreground_bold = #373b41
cursor = #373b41
background = #ffffff
# black
color0 = #1d1f21
color8 = #969896
# red
color1 = #cc6666
color9 = #cc6666
# green
color2 = #b5bd68
color10 = #b5bd68
# yellow
color3 = #f0c674
color11 = #f0c674
# blue
color4 = #81a2be
color12 = #81a2be
# magenta
color5 = #b294bb
color13 = #b294bb
# cyan
color6 = #8abeb7
color14 = #8abeb7
# white
color7 = #c5c8c6
color15 = #ffffff

View File

@ -1,33 +0,0 @@
[options]
font = Source Code Pro for Powerline 15
scrollback_lines = 10000
size_hints = true
# Solarized dark color scheme
[colors]
foreground = #839496
foreground_bold = #eee8d5
foreground_dim = #002b36
background = #002b36
cursor = #93a1a1
# if unset, will reverse foreground and background
#highlight = #839496
# colors from color0 to color254 can be set
color0 = #073642
color1 = #dc322f
color2 = #859900
color3 = #b58900
color4 = #268bd2
color5 = #d33682
color6 = #2aa198
color7 = #eee8d5
color8 = #002b36
color9 = #cb4b16
color10 = #586e75
color11 = #657b83
color12 = #839496
color13 = #6c71c4
color14 = #93a1a1
color15 = #fdf6e3

View File

@ -1,33 +0,0 @@
[options]
font = Source Code Pro for Powerline 15
scrollback_lines = 10000
size_hints = true
# Solarized dark color scheme
[colors]
foreground = #839496
foreground_bold = #eee8d5
foreground_dim = #002b36
background = #002b36
cursor = #93a1a1
# if unset, will reverse foreground and background
#highlight = #839496
# colors from color0 to color254 can be set
color0 = #073642
color1 = #dc322f
color2 = #859900
color3 = #b58900
color4 = #268bd2
color5 = #d33682
color6 = #2aa198
color7 = #eee8d5
color8 = #002b36
color9 = #cb4b16
color10 = #586e75
color11 = #657b83
color12 = #839496
color13 = #6c71c4
color14 = #93a1a1
color15 = #fdf6e3

View File

@ -1,2 +0,0 @@
Xft.dpi: 120
Xcursor.size: 16

View File

@ -1,234 +0,0 @@
Xft.dpi: 96
Xft.antialias: true
Xft.hinting: true
Xft.rgba: rgb
Xft.autohint: false
Xft.hintstyle: hintslight
Xft.lcdfilter: lcddefault
XTerm*pointerColor: #16A085
XTerm*faceSize: 11
XTerm*metaSendsEscape: true
! Solarized Dark color scheme for the X Window System
#define S_yellow #b58900
#define S_orange #cb4b16
#define S_red #dc322f
#define S_magenta #d33682
#define S_violet #6c71c4
#define S_blue #268bd2
#define S_cyan #2aa198
#define S_green #859900
#define S_base03 #002b36
#define S_base02 #073642
#define S_base01 #586e75
#define S_base00 #657b83
#define S_base0 #839496
#define S_base1 #93a1a1
#define S_base2 #eee8d5
#define S_base3 #fdf6e3
URxvt*background: S_base03
*background: S_base03
*foreground: S_base0
*fading: 40
*fadeColor: S_base03
*cursorColor: S_base1
*pointerColorBackground: S_base01
*pointerColorForeground: S_base1
*color0: S_base02
*color1: S_red
*color2: S_green
*color3: S_yellow
*color4: S_blue
*color5: S_magenta
*color6: S_cyan
*color7: S_base2
*color9: S_orange
*color8: S_base03
*color10: S_base01
*color11: S_base00
*color12: S_base0
*color13: S_violet
*color14: S_base1
*color15: S_base3
Xcursor.theme: xcursor-breeze
Xcursor.size: 0
XTerm*background: #272827
XTerm*foreground: #fdf6e3
XTerm*reverseVideo: on
XTerm*faceName: Terminus:size=11:antialias=true
XTerm*selectToClipboard: true
URxvt*font: xft:DejaVu Sans Mono for Powerline:size=11:minspace=False
! URxvt.font: 9x15,xft:TerminessTTFNerdFontMono
! alternative font settings with 'terminus':
!URxvt.font: -xos4-terminus-medium-r-normal--16-160-72-72-c-80-iso10646-1
!URxvt.bold.font: -xos4-terminus-bold-r-normal--16-160-72-72-c-80-iso10646-1
!! terminus names see end of file!
URxvt.depth: 32
! URxvt.background: [80]#000000
URxvt*scrollBar: false
URxvt*mouseWheelScrollPage: false
URxvt*cursorBlink: true
! URxvt*background: black
URxvt*foreground: grey
URxvt*saveLines: 5000
! for 'fake' transparency (without Compton) uncomment the following three lines
! URxvt*inheritPixmap: true
! URxvt*transparent: true
! URxvt*shading: 138
! other possible settings:
! Rxvt.perl-ext-common: ...,clipboard
! URxvt.keysym.M-C-c: perl:clipboard:copy
! URxvt.keysym.M-v: perl:clipboard:paste
! URxvt.keysym.M-C-v: perl:clipboard:paste_escaped
! URxvt*termName: string
! URxvt*geometry: geometry
! URxvt*chdir: string
! URxvt*reverseVideo: boolean
! URxvt*loginShell: boolean
! URxvt*multiClickTime: number
! URxvt*jumpScroll: boolean
! URxvt*skipScroll: boolean
! URxvt*pastableTabs: boolean
! URxvt*scrollstyle: plain
! URxvt*scrollBar_right: boolean
! URxvt*scrollBar_floating: true
! URxvt*scrollBar_align: mode
! URxvt*thickness: number
! URxvt*scrollTtyOutput: boolean
! URxvt*scrollTtyKeypress: boolean
! URxvt*scrollWithBuffer: boolean
! URxvt*tintColor: !7DA55
! URxvt*blurRadius: HxV
! URxvt*fading: number
! URxvt*fadeColor: color
! URxvt*utmpInhibit: boolean
! URxvt*urgentOnBell: boolean
! URxvt*visualBell: boolean
! URxvt*mapAlert: boolean
! URxvt*meta8: boolean
! URxvt*tripleclickwords: boolean
! URxvt*insecure: boolean
! URxvt*cursorUnderline: boolean
! URxvt*pointerBlank: boolean
! URxvt*color0: color
! URxvt*color1: color
! URxvt*color2: color
! URxvt*color3: color
! URxvt*color4: color
! URxvt*color5: color
! URxvt*color6: color
! URxvt*color7: color
! URxvt*color8: color
! URxvt*color9: color
! URxvt*color10: color
! URxvt*color11: color
! URxvt*color12: color
! URxvt*color13: color
! URxvt*color14: color
! URxvt*color15: color
! URxvt*colorBD: color
! URxvt*colorIT: color
! URxvt*colorUL: color
! URxvt*colorRV: color
! URxvt*underlineColor: color
! URxvt*scrollColor: color
! URxvt*troughColor: color
! URxvt*highlightColor: color
! URxvt*highlightTextColor: color
! URxvt*cursorColor: color
! URxvt*cursorColor2: color
! URxvt*pointerColor: color
! URxvt*pointerColor2: color
! URxvt*borderColor: color
! URxvt*iconFile: file
! URxvt*font: fontname
! URxvt*boldFont: fontname
! URxvt*italicFont: fontname
! URxvt*boldItalicFont: fontname
! URxvt*intensityStyles: boolean
! URxvt*inputMethod: name
! URxvt*preeditType: style
! URxvt*imLocale: string
! URxvt*imFont: fontname
! URxvt*title: string
! URxvt*iconName: string
! URxvt*buffered: boolean
! URxvt*depth: number
! URxvt*visual: number
! URxvt*transient-for: windowid
! URxvt*override-redirect: boolean
! URxvt*hold: boolean
! URxvt*externalBorder: number
! URxvt*internalBorder: number
! URxvt*borderLess: true
! URxvt*lineSpace: number
! URxvt*letterSpace: number
! URxvt*skipBuiltinGlyphs: boolean
! URxvt*pointerBlankDelay: number
! URxvt*backspacekey: string
! URxvt*deletekey: string
! URxvt*print-pipe: string
! URxvt*modifier: modifier
! URxvt*cutchars: string
! URxvt*answerbackString: string
! URxvt*secondaryScreen: boolean
! URxvt*secondaryScroll: boolean
! URxvt*perl-lib: string
! URxvt*perl-eval: perl-eval
! URxvt*perl-ext-common: string
! URxvt*perl-ext: string
! URxvt*iso14755: boolean
! URxvt*iso14755_52: boolean
! URxvt*xrm: string
! URxvt*keysym.sym: keysym
! URxvt*background.border: boolean
! URxvt*background.expr: string
! URxvt*background.interval: seconds
! URxvt*bell-command: string
! URxvt*kuake.hotkey: string
! URxvt*matcher.button: string
! URxvt*matcher.launcher: string
! URxvt*matcher.launcher.*: string
! URxvt*matcher.pattern.*: string
! URxvt*matcher.rend.*: string
! URxvt*remote-clipboard.fetch: string
! URxvt*remote-clipboard.store: string
! URxvt*searchable-scrollback: string
! URxvt*selection-autotransform.*: string
! URxvt*selection-pastebin.cmd: string
! URxvt*selection-pastebin.url: string
! URxvt*selection.pattern-0: string
! URxvt*tab-bg: colour
! URxvt*tab-fg: colour
! URxvt*tabbar-bg: colour
! URxvt*tabbar-fg: colour
! URxvt*url-launcher: string
! The Terminus font uses the following X-names:
! -xos4-terminus-medium-r-normal--12-120-72-72-c-60-iso10646-1
! -xos4-terminus-medium-r-normal--14-140-72-72-c-80-iso10646-1
! -xos4-terminus-medium-r-normal--16-160-72-72-c-80-iso10646-1
! -xos4-terminus-medium-r-normal--20-200-72-72-c-100-iso10646-1
! -xos4-terminus-medium-r-normal--22-220-72-72-c-110-iso10646-1
! -xos4-terminus-medium-r-normal--24-240-72-72-c-120-iso10646-1
! -xos4-terminus-medium-r-normal--28-280-72-72-c-140-iso10646-1
! -xos4-terminus-medium-r-normal--32-320-72-72-c-160-iso10646-1
! -xos4-terminus-bold-r-normal--12-120-72-72-c-60-iso10646-1
! -xos4-terminus-bold-r-normal--14-140-72-72-c-80-iso10646-1
! -xos4-terminus-bold-r-normal--16-160-72-72-c-80-iso10646-1
! -xos4-terminus-bold-r-normal--20-200-72-72-c-100-iso10646-1
! -xos4-terminus-bold-r-normal--24-240-72-72-c-120-iso10646-1
! -xos4-terminus-bold-r-normal--28-280-72-72-c-140-iso10646-1
! -xos4-terminus-bold-r-normal--32-320-72-72-c-160-iso10646-1

View File

@ -1,42 +0,0 @@
syntax on
filetype indent on
set encoding=utf-8
set clipboard=unnamed
set smartindent
set shiftwidth=2
set tabstop=2
set expandtab
set number
set autoread
set background=dark
colorscheme solarized
"NERDTree
let NERDTreeShowHidden=1
let g:NERDTreeDirArrowExpandable = '▸'
let g:NERDTreeDirArrowCollapsible = '▾'
"Airline
let g:airline#extensions#tabline#enabled = 1
let g:Powerline_symbols='unicode'
let g:airline_powerline_fonts = 1
let g:airline_theme='solarized'
let g:airline_solarized_bg='dark'
"YCM
let g:ycm_python_binary_path = '/usr/bin/python3'
let g:ycm_server_python_interpreter = 'python2'
let g:ycm_autoclose_preview_window_after_completion=1
let g:ycm_min_num_of_chars_for_completion=10
"Mappings
:nmap <c-s> :w<CR>
:imap <c-s> <Esc>:w<CR>a
nnoremap <F7> :bp<CR>
nnoremap <F8> :bn<CR>
map <C-n> :NERDTreeToggle<CR>
"AutoCommands
au BufWinEnter * set number
au FileType xml setlocal equalprg=xmllint\ --format\ --recover\ -\ 2>/dev/null

View File

@ -1,94 +0,0 @@
[{
"layer": "top", // Waybar at top layer
"output": "DP-5",
"position": "bottom", // Waybar at the bottom of your screen
// "height": 30, // Waybar height
// "width": 1280, // Waybar width
// Choose the order of the modules
"modules-left": ["sway/workspaces", "sway/mode"],
"modules-center": ["tray"],
"modules-right": ["custom/arch", "custom/spotify", "pulseaudio", "network", "cpu", "memory", "battery", "clock"],
// Modules configuration
"sway/workspaces": {
"disable-scroll": true,
"all-outputs": false,
"format": "{name}"
},
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"
},
"tray": {
// "icon-size": 21,
"spacing": 10
},
"clock": {
"format": "{:%Y-%m-%d | %H:%M}",
"tooltip-format": "{:%Y-%m-%d | %H:%M}",
"format-alt": "{:%Y-%m-%d}"
},
"cpu": {
"format": " {usage}%"
},
"memory": {
"format": " {}%"
},
"battery": {
"states": {
"good": 95,
"warning": 30,
"critical": 15
},
"format": "{icon} {capacity}%",
// "format-good": "", // An empty format will hide the module
// "format-full": "",
"interval": 5,
"format-icons": ["", "", "", "", ""]
},
"network": {
"format-wifi": " {essid} ({signalStrength}%)",
"format-ethernet": " {ifname}: {ipaddr}",
"format-disconnected": "⚠ Disconnected"
},
"pulseaudio": {
//"scroll-step": 1,
"format": "{icon} {volume}%",
"format-bluetooth": "{icon} {volume}% ",
"format-muted": "",
"format-icons": {
"headphones": "",
"handsfree": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", ""]
},
"on-click": "pavucontrol"
},
"custom/spotify": {
"format": " {}",
"max-length": 40,
"interval": 3,
"exec": "python $HOME/.config/waybar/scripts/spotify_status.py 2> /dev/null" // Script in resources folder
},
"custom/arch": {
"format": " {}",
"max-length": 40,
"interval": 300,
"exec": "$HOME/.config/waybar/scripts/updates-arch-combined.sh 2> /dev/null" // Script in resources folder
}
},
{
"layer": "top", // Waybar at top layer
"output": "DP-4",
"position": "bottom", // Waybar at the bottom of your screen
"modules-left": ["sway/workspaces"],
"modules-center": [],
"modules-right": [],
"sway/workspaces": {
"disable-scroll": true,
"all-outputs": false,
"format": "{name}"
}
}
]

View File

@ -1,79 +0,0 @@
{
"layer": "top", // Waybar at top layer
"output": "eDP-1",
"position": "bottom", // Waybar at the bottom of your screen
// "height": 30, // Waybar height
// "width": 1280, // Waybar width
// Choose the order of the modules
"modules-left": ["sway/workspaces", "sway/mode"],
"modules-center": ["tray"],
"modules-right": ["custom/arch", "custom/spotify", "pulseaudio", "network", "cpu", "memory", "battery", "clock"],
// Modules configuration
"sway/workspaces": {
"disable-scroll": true,
"all-outputs": true,
"format": "{name}"
},
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"
},
"tray": {
// "icon-size": 21,
"spacing": 10
},
"clock": {
"format": "{:%Y-%m-%d | %H:%M}",
"tooltip-format": "{:%Y-%m-%d | %H:%M}",
"format-alt": "{:%Y-%m-%d}"
},
"cpu": {
"format": " {usage}%"
},
"memory": {
"format": " {}%"
},
"battery": {
"states": {
"good": 95,
"warning": 30,
"critical": 15
},
"format": "{icon} {capacity}%",
// "format-good": "", // An empty format will hide the module
// "format-full": "",
"format-icons": ["", "", "", "", ""]
},
"network": {
"format-wifi": " {essid} ({signalStrength}%)",
"format-ethernet": " {ifname}: {ipaddr}",
"format-disconnected": "⚠ Disconnected"
},
"pulseaudio": {
//"scroll-step": 1,
"format": "{icon} {volume}%",
"format-bluetooth": "{icon} {volume}% ",
"format-muted": "",
"format-icons": {
"headphones": "",
"handsfree": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", ""]
},
"on-click": "pavucontrol"
},
"custom/spotify": {
"format": " {}",
"max-length": 40,
"interval": 3,
"exec": "python $HOME/.config/waybar/scripts/spotify_status.py 2> /dev/null" // Script in resources folder
},
"custom/arch": {
"format": " {}",
"max-length": 40,
"interval": 300,
"exec": "$HOME/.config/waybar/scripts/updates-arch-combined.sh 2> /dev/null" // Script in resources folder
}
}

View File

@ -1,111 +0,0 @@
#!/bin/python
import sys
import dbus
import argparse
parser = argparse.ArgumentParser()
parser.add_argument("-t", "--trunclen", type=int, metavar="trunclen")
parser.add_argument(
"-f", "--format", type=str, metavar="custom format", dest="custom_format"
)
parser.add_argument(
"-p", "--playpause", type=str, metavar="play-pause indicator", dest="play_pause"
)
parser.add_argument(
"--font",
type=str,
metavar="the index of the font to use for the main label",
dest="font",
)
parser.add_argument(
"--playpause-font",
type=str,
metavar="the index of the font to use to display the playpause indicator",
dest="play_pause_font",
)
args = parser.parse_args()
def fix_string(string):
# corrects encoding for the python version used
if sys.version_info.major == 3:
return string
else:
return string.encode("utf-8")
def clean_string(string):
return string.replace("&", "&amp;")
# Default parameters
# output = fix_string(u"{play_pause} {artist}: {song}")
output = fix_string(u" {artist}: {song}")
trunclen = 25
play_pause = fix_string(u"\u25B6,\u23F8") # first character is play, second is paused
label_with_font = "%{{T{font}}}{label}%{{T-}}"
font = args.font
play_pause_font = args.play_pause_font
# parameters can be overwritten by args
if args.trunclen is not None:
trunclen = args.trunclen
if args.custom_format is not None:
output = args.custom_format
if args.play_pause is not None:
play_pause = args.play_pause
try:
session_bus = dbus.SessionBus()
spotify_bus = session_bus.get_object(
"org.mpris.MediaPlayer2.spotify", "/org/mpris/MediaPlayer2"
)
spotify_properties = dbus.Interface(spotify_bus, "org.freedesktop.DBus.Properties")
metadata = spotify_properties.Get("org.mpris.MediaPlayer2.Player", "Metadata")
status = spotify_properties.Get("org.mpris.MediaPlayer2.Player", "PlaybackStatus")
# Handle play/pause label
play_pause = play_pause.split(",")
if status == "Playing":
play_pause = play_pause[0]
elif status == "Paused":
play_pause = play_pause[1]
else:
play_pause = str()
if play_pause_font:
play_pause = label_with_font.format(font=play_pause_font, label=play_pause)
# Handle main label
artist = fix_string(metadata["xesam:artist"][0]) if metadata["xesam:artist"] else ""
song = fix_string(metadata["xesam:title"]) if metadata["xesam:title"] else ""
if not artist and not song:
print("")
else:
if len(song) > trunclen:
song = song[0:trunclen]
song += "..."
if ("(" in song) and (")" not in song):
song += ")"
if font:
artist = label_with_font.format(font=font, label=artist)
song = label_with_font.format(font=font, label=song)
print(output.format(artist=artist, song=song, play_pause=play_pause))
except Exception as e:
if isinstance(e, dbus.exceptions.DBusException):
print("")
else:
print(e)

View File

@ -1,17 +0,0 @@
#!/bin/sh
if ! updates_arch=$(checkupdates 2> /dev/null | wc -l ); then
updates_arch=0
fi
if ! updates_aur=$(yay -Qum | wc -l); then
updates_aur=0
fi
updates=$(("$updates_arch" + "$updates_aur"))
if [ "$updates" -gt 0 ]; then
echo "$updates"
else
echo ""
fi

View File

@ -1,117 +0,0 @@
@define-color nord00 #2E3440;
@define-color nord01 #3B4252;
@define-color nord02 #434C5E;
@define-color nord03 #4C566A;
@define-color nord04 #D8DEE9;
@define-color nord05 #E5E9F0;
@define-color nord06 #ECEFF4;
@define-color nord07 #8FBCBB;
@define-color nord08 #88C0D0;
@define-color nord09 #81A1C1;
@define-color nord10 #5E81AC;
@define-color nord11 #BF616A;
@define-color nord12 #D08770;
@define-color nord13 #EBCB8B;
@define-color nord14 #A3BE8C;
@define-color nord15 #B48EAD;
* {
border: none;
border-radius: 0;
font-family: 'Hack Nerd Font', Roboto, Helvetica, Arial, sans-serif;
font-size: 13px;
min-height: 0;
}
window#waybar {
background: @nord00;
border-bottom: 3px solid @nord03;
color: white;
}
#workspaces button {
padding: 0 5px;
background: transparent;
color: @nord04;
border-bottom: 3px solid transparent;
}
#workspaces button.focused {
background: @nord03;
border-bottom: 3px solid @nord14;
}
#clock, #battery, #cpu, #memory, #pulseaudio, #network {
padding: 0 10px;
margin: 0 5px;
}
#clock {
border-bottom: 3px solid @nord14;
color: @nord04;
}
#cpu {
border-bottom: 3px solid @nord14;
color: @nord04;
}
#memory {
border-bottom: 3px solid @nord14;
color: @nord04;
}
#network {
border-bottom: 3px solid @nord14;
color: @nord04;
}
#pulseaudio {
border-bottom: 3px solid @nord14;
color: @nord04;
}
#battery {
border-bottom: 3px solid @nord14;
color: @nord04;
}
#battery.charging {
color: @nord04;
border-bottom: 3px solid @nord07;
}
#battery.discharging {
color: @nord04;
border-bottom: 3px solid @nord11;
}
@keyframes blink {
to {
background-color: #ffffff;
color: black;
}
}
#battery.warning:not(.charging) {
background: #f53c3c;
color: white;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
#custom-spotify {
border-bottom: 3px solid @nord14;
color: @nord04;
padding: 0 10px;
margin: 0 5px;
}
#custom-arch {
border-bottom: 3px solid @nord11;
color: @nord04;
padding: 0 10px;
margin: 0 5px;
}

View File

@ -1,103 +0,0 @@
[{
"layer": "top", // Waybar at top layer
"output": "DP-5",
"position": "bottom", // Waybar at the bottom of your screen
"modules-left": ["sway/workspaces", "sway/mode"],
"modules-center": ["tray"],
"modules-right": ["custom/arch", "pulseaudio", "network", "cpu", "memory", "battery", "clock"],
"sway/workspaces": {
"disable-scroll": true,
"all-outputs": false,
"format": "{name}"
},
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"
},
"tray": {
// "icon-size": 21,
"spacing": 10
},
"clock": {
"format": "{:%Y-%m-%d | %H:%M}",
"tooltip-format": "{:%Y-%m-%d | %H:%M}",
"format-alt": "{:%Y-%m-%d}"
},
"cpu": {
"format": " {usage:3}%"
},
"memory": {
"format": " {}%"
},
"battery": {
"states": {
"good": 95,
"warning": 30,
"critical": 15
},
"format": "{icon} {capacity}%",
// "format-good": "", // An empty format will hide the module
// "format-full": "",
"interval": 5,
"format-icons": ["", "", "", "", ""]
},
"network": {
"format-wifi": " {essid} ({signalStrength}%)",
"format-ethernet": " {ifname}: {ipaddr}",
"format-disconnected": "⚠ Disconnected"
},
"pulseaudio": {
//"scroll-step": 1,
"format": "{icon} {volume}%",
"format-bluetooth": "{icon} {volume}% ",
"format-muted": "",
"format-icons": {
"headphones": "",
"handsfree": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", ""]
},
"on-click": "pavucontrol"
},
"custom/arch": {
"format": " {}",
"max-length": 40,
"interval": 300,
"exec": "$HOME/.config/waybar/scripts/updates-arch-combined.sh 2> /dev/null"
}
},
{
"layer": "top", // Waybar at top layer
"output": "DP-4",
"position": "bottom", // Waybar at the bottom of your screen
"modules-left": ["sway/workspaces"],
"modules-center": [],
"modules-right": ["custom/spotify"],
"sway/workspaces": {
"disable-scroll": true,
"all-outputs": false,
"format": "{name}"
},
"custom/spotify": {
"format": " {}",
"max-length": 40,
"interval": 3,
"exec": "python $HOME/.config/waybar/scripts/spotify_status.py 2> /dev/null"
}
},
{
"layer": "top", // Waybar at top layer
"output": "eDP-1",
"position": "bottom", // Waybar at the bottom of your screen
"modules-left": ["sway/workspaces"],
"modules-center": [],
"modules-right": [],
"sway/workspaces": {
"disable-scroll": true,
"all-outputs": false,
"format": "{name}"
}
}
]

View File

@ -1,5 +0,0 @@
#!/bin/bash
export NVIM_LISTEN_ADDRESS=/tmp/nvim$(uuidgen)
termite -e tmux

View File

@ -1,6 +0,0 @@
#!/bin/bash
export NVIM_LISTEN_ADDRESS=
tmux setenv NVIM_LISTEN_ADDRESS=/tmp/nvim$(uuidgen)

View File

@ -1,88 +0,0 @@
# Path to your oh-my-zsh installation.
export ZSH="/home/jfm/.oh-my-zsh"
# THEME
ZSH_THEME="gallois"
# PLUGINS
plugins=(
git
docker
fzf
helm
pipenv
)
source $ZSH/oh-my-zsh.sh
# CUSTOM SETTINGS
# PROMPT
autoload -U colors && colors
# Remove mode switching delay.
KEYTIMEOUT=5
# Change cursor shape for different vi modes.
function zle-keymap-select {
if [[ ${KEYMAP} == vicmd ]] ||
[[ $1 = 'block' ]]; then
PS1="%{$fg_bold[green]%}%n@%m%{$reset_color%} %{$fg_bold[blue]%}%d%{$reset_color%}"$'\n'"%{$bg[cyan]$fg_bold[black]%} NORMAL %{$reset_color%}  "
echo -ne '\e[1 q'
elif [[ ${KEYMAP} == main ]] ||
[[ ${KEYMAP} == viins ]] ||
[[ ${KEYMAP} = '' ]] ||
[[ $1 = 'beam' ]]; then
PS1="%{$fg_bold[green]%}%n@%m%{$reset_color%} %{$fg_bold[blue]%}%d%{$reset_color%}"$'\n'"%{$bg[green]$fg_bold[black]%} INSERT %{$reset_color%}  "
echo -ne '\e[5 q'
fi
zle reset-prompt
}
zle -N zle-keymap-select
# Use beam shape cursor on startup.
#PS1="%{$fg_bold[green]%}%n@%m%{$reset_color%} %{$fg_bold[blue]%}%d%{$reset_color%}"$'\n'"%{$bg[green]$fg_bold[black]%} INSERT %{$reset_color%}  "
PS1="%{$fg_bold[green]%}%n@%m%{$reset_color%} %{$fg_bold[blue]%}%d%{$reset_color%}"$'\n'" "
echo -ne '\e[5 q'
# Use beam shape cursor for each new prompt.
preexec() {
echo -ne '\e[5 q'
}
# Preferred editor for local and remote sessions
if [[ -n $SSH_CONNECTION ]]; then
export EDITOR='vim'
else
export EDITOR='nvim'
fi
export M2_HOME=/home/jfm/Tools/apache-maven
export PATH=$PATH:$M2_HOME/bin:/home/jfm/Tools/openshift-origin-client/:/home/jfm/Tools/aws/:/home/jfm/Tools/spin/
export GIT_EDITOR=nvim
export VISUAL="nvim"
# BINDS
# Aliases
alias code="cd /home/jfm/Customers/TDC/Code/Onboarding"
alias ops="cd /home/jfm/Customers/TDC/Code/GitLab/ops"
alias onboarding="cd /home/jfm/Customers/TDC/Code/GitLab/onboarding"
alias mst="cd /home/jfm/Customers/TDC/Code/GitLab/onboarding/microservice-tools"
alias dotfiles="cd /home/jfm/Repositories/dotfiles"
alias tdc="cd /home/jfm/Customers/TDC"
alias top="htop"
alias ssh="TERM=xterm-256color ssh"
alias vim="nvim"
alias vi="nvim"
alias kubectx="/home/jfm/Repositories/GitHub/kubectx/kubectx"
alias vtmux="tmux split-window -d -v -p 40 && vim"
alias dtmux="tmux split-window -d -h -p 40 && vim"
alias ptmux="tmux split-window -d -h -p 40 \; split-window -d -t 2 -v -p 25 && vim"
alias ftmux="tmux split-window -d -h -p 40 \; split-window -d -t 2 -v -p 25 nnn && vim"
alias brewme="cd /home/jfm/Repositories/brewme-reports && ptmux"
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh