From a5c00fb503ba2d5a93f6423a5e5e08f6f7b9882c Mon Sep 17 00:00:00 2001 From: opafix Date: Mon, 17 Sep 2018 10:56:47 +0100 Subject: [PATCH] new file structure --- .Xdefaults => Falk/.Xdefaults | 0 .Xresources => Falk/.Xresources | 0 Falk/README.md | 0 Falk/compton.conf | 238 +++++++++++++++++++++++++ Falk/i3.conf | 299 ++++++++++++++++++++++++++++++++ Falk/i3blocks.conf | 167 ++++++++++++++++++ Fearnley/.Xdefaults | 45 +++++ Fearnley/.Xresources | 2 + Fearnley/README.md | 0 Fitzwilliam/.Xdefaults | 45 +++++ Fitzwilliam/.Xresources | 2 + Fitzwilliam/README.md | 0 Fitzwilliam/compton.conf | 238 +++++++++++++++++++++++++ Fitzwilliam/i3.conf | 299 ++++++++++++++++++++++++++++++++ Fitzwilliam/i3blocks.conf | 167 ++++++++++++++++++ Phranque/.Xdefaults | 45 +++++ Phranque/.Xresources | 2 + Phranque/README.md | 0 Phranque/compton.conf | 238 +++++++++++++++++++++++++ Phranque/i3.conf | 299 ++++++++++++++++++++++++++++++++ Phranque/i3blocks.conf | 167 ++++++++++++++++++ 21 files changed, 2253 insertions(+) rename .Xdefaults => Falk/.Xdefaults (100%) rename .Xresources => Falk/.Xresources (100%) create mode 100644 Falk/README.md create mode 100644 Falk/compton.conf create mode 100644 Falk/i3.conf create mode 100644 Falk/i3blocks.conf create mode 100644 Fearnley/.Xdefaults create mode 100644 Fearnley/.Xresources create mode 100644 Fearnley/README.md create mode 100644 Fitzwilliam/.Xdefaults create mode 100644 Fitzwilliam/.Xresources create mode 100644 Fitzwilliam/README.md create mode 100644 Fitzwilliam/compton.conf create mode 100644 Fitzwilliam/i3.conf create mode 100644 Fitzwilliam/i3blocks.conf create mode 100644 Phranque/.Xdefaults create mode 100644 Phranque/.Xresources create mode 100644 Phranque/README.md create mode 100644 Phranque/compton.conf create mode 100644 Phranque/i3.conf create mode 100644 Phranque/i3blocks.conf diff --git a/.Xdefaults b/Falk/.Xdefaults similarity index 100% rename from .Xdefaults rename to Falk/.Xdefaults diff --git a/.Xresources b/Falk/.Xresources similarity index 100% rename from .Xresources rename to Falk/.Xresources diff --git a/Falk/README.md b/Falk/README.md new file mode 100644 index 00000000..e69de29b diff --git a/Falk/compton.conf b/Falk/compton.conf new file mode 100644 index 00000000..ec67bfbf --- /dev/null +++ b/Falk/compton.conf @@ -0,0 +1,238 @@ +# 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 = "xrender"; + +################################# +# +# 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 = true; + +# 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 = true; +# 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. +clear-shadow = true; +# 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.75; +active-opacity = 1; +frame-opacity = 1; +inactive-opacity-override = false; +alpha-step = 0.06; + +# 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 = [ + "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 = [ ]; + +################################# +# +# 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 doesn’t 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 = "drm"; + +# Enable DBE painting mode, intended to use with VSync to (hopefully) eliminate tearing. +# Reported to have no effect, though. +dbe = true; +# 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; + }; +}; diff --git a/Falk/i3.conf b/Falk/i3.conf new file mode 100644 index 00000000..68df51d9 --- /dev/null +++ b/Falk/i3.conf @@ -0,0 +1,299 @@ +################################################################################### +# ____ __ _ _ _ ____ __ _ # +# / __ \ / _(_) ( ) (_)___ \ / _(_) # +# | | | |_ __ __ _| |_ ___ _|/ ___ _ __) | ___ ___ _ __ | |_ _ __ _ # +# | | | | '_ \ / _` | _| \ \/ / / __| | ||__ < / __/ _ \| '_ \| _| |/ _` | # +# | |__| | |_) | (_| | | | |> < \__ \ | |___) | | (_| (_) | | | | | | | (_| | # +# \____/| .__/ \__,_|_| |_/_/\_\ |___/ |_|____/ \___\___/|_| |_|_| |_|\__, | # +# / ____| | | | _ | ____| | | __/ | # +# | (___ |_| _ ___| |_ ___ _ __ ___ (_) | |__ ___ __ _ _ __ _ __ | | __|___/ _ # +# \___ \| | | / __| __/ _ \ '_ ` _ \ | __/ _ \/ _` | '__| '_ \| |/ _ \ | | | # +# ____) | |_| \__ \ || __/ | | | | |_ | | | __/ (_| | | | | | | | __/ |_| | # +# |_____/ \__, |___/\__\___|_| |_| |_(_) |_| \___|\__,_|_| |_| |_|_|\___|\__, | # +# __/ | __/ | # +# |___/ |___/ # +################################################################################### +# Last Edit: 17/09/2018 # +################################################################################### + +set $mod Mod1 +set $sup Mod4 + +# Font for window titles. Will also be used by the bar unless a different font +# is used in the bar {} block below. +font xft:Fira Sans:size=8 + +############################################################ +# _ __ ____ _ _ _ # +# | |/ / | _ \(_) | (_) # +# | ' / ___ _ _ | |_) |_ _ __ __| |_ _ __ __ _ ___ # +# | < / _ \ | | | | _ <| | '_ \ / _` | | '_ \ / _` / __| # +# | . \ __/ |_| | | |_) | | | | | (_| | | | | | (_| \__ \ # +# |_|\_\___|\__, | |____/|_|_| |_|\__,_|_|_| |_|\__, |___/ # +# __/ | __/ | # +# |___/ |___/ # +############################################################ + +## Use Mouse+$mod to drag floating windows to their wanted position +floating_modifier $mod + +# kill focused window +bindsym $mod+Shift+q kill + +# start dmenu (a program launcher) +# bindsym $mod+d exec dmenu + +# Rofi bindings +bindsym $mod+d exec rofi -show run +bindsym $mod+shift+d exec rofi -show window + +# enable Alt+Tab Functionality +bindsym $mod+Tab workspace next +bindsym $mod+Shift+Tab workspace prev + +# change focus +bindsym $mod+j focus left +bindsym $mod+k focus down +bindsym $mod+l focus up +bindsym $mod+semicolon focus right + +# 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 + +# move focused window +bindsym $mod+Shift+j move left +bindsym $mod+Shift+k move down +bindsym $mod+Shift+l move up +bindsym $mod+Shift+semicolon move 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 + +# split in horizontal orientation +bindsym $mod+h split h + +# split in vertical orientation +bindsym $mod+v split v + +# enter 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 + +# focus the parent container +bindsym $mod+a focus parent + +# 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 + +# exit i3 (logs you out of your X session) +bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" + +# Pulse Audio Controls +bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% #increase sound volume +bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% #decrease sound volume +bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound + +# Sreen brightness controls +bindsym XF86MonBrightnessUp exec --no-startup-id sudo xbacklight -inc 5 # increase screen brightness +bindsym XF86MonBrightnessDown exec --no-startup-id sudo xbacklight -dec 5 # decrease screen brightness + +# Media player controls +bindsym XF86AudioPlay exec --no-startup-id playerctl play +bindsym XF86AudioPause exec --no-startup-id playerctl pause +bindsym XF86AudioNext exec --no-startup-id playerctl next +bindsym XF86AudioPrev exec --no-startup-id playerctl previous + +############################################################# +# __ __ _ # +# \ \ / / | | # +# \ \ /\ / /__ _ __| | _____ _ __ __ _ ___ ___ ___ # +# \ \/ \/ / _ \| '__| |/ / __| '_ \ / _` |/ __/ _ \/ __| # +# \ /\ / (_) | | | <\__ \ |_) | (_| | (_| __/\__ \ # +# \/ \/ \___/|_| |_|\_\___/ .__/ \__,_|\___\___||___/ # +# | | # +# |_| # +# # +############################################################# + +# Define names for default workspaces for which we configure key bindings later on. +# We use variables to avoid repeating the names in multiple places. +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 focused container to workspace +bindsym $mod+Shift+1 move container to workspace $ws1 +bindsym $mod+Shift+2 move container to workspace $ws2 +bindsym $mod+Shift+3 move container to workspace $ws3 +bindsym $mod+Shift+4 move container to workspace $ws4 +bindsym $mod+Shift+5 move container to workspace $ws5 +bindsym $mod+Shift+6 move container to workspace $ws6 +bindsym $mod+Shift+7 move container to workspace $ws7 +bindsym $mod+Shift+8 move container to workspace $ws8 +bindsym $mod+Shift+9 move container to workspace $ws9 +bindsym $mod+Shift+0 move container to workspace $ws10 + +################################## +# __ __ _ # +# | \/ | | | # +# | \ / | ___ __| | ___ ___ # +# | |\/| |/ _ \ / _` |/ _ \/ __| # +# | | | | (_) | (_| | __/\__ \ # +# |_| |_|\___/ \__,_|\___||___/ # +# # +################################## + +# resize window (you can also use the mouse for that) +bindsym $mod+r mode "resize" +mode "resize" { + # These bindings trigger as soon as you enter the resize mode + + # Pressing left will shrink the window’s width. + # Pressing right will grow the window’s width. + # Pressing up will shrink the window’s height. + # Pressing down will grow the window’s height. + bindsym j resize shrink width 10 px or 10 ppt + bindsym k resize grow height 10 px or 10 ppt + bindsym l resize shrink height 10 px or 10 ppt + bindsym semicolon resize grow width 10 px or 10 ppt + + # same bindings, but for the arrow keys + bindsym Left resize shrink width 10 px or 10 ppt + bindsym Down resize grow height 10 px or 10 ppt + bindsym Up resize shrink height 10 px or 10 ppt + bindsym Right resize grow width 10 px or 10 ppt + + # back to normal: Enter or Escape or $mod+r + bindsym Return mode "default" + bindsym Escape mode "default" + bindsym $mod+r mode "default" +} + +#Application Launcher +set $launcher "application launcher: [w]eb [e]mails [t]erminal [f]iles [s]team [a]udio" +bindsym $mod+Return mode $launcher +mode $launcher { + bindsym w exec --no-startup-id "firefox" mode "default" + bindsym e exec --no-startup-id "thunderbird" mode "default" + bindsym t exec --no-startup-id "urxvtc" mode "default" + bindsym s exec --no-startup-id "steam" mode "default" + bindsym a exec --no-startup-id "pavucontrol" mode "default" + bindsym f exec --no-startup-id "pcmanfm" mode "default" + bindsym Return mode "default" + bindsym Escape mode "default" +} + +#Power Menu +set $sysmenu "system: [r]eload [e]xit [l]ock [p]oweroff re[b]oot [s]uspend [h]ibernate" +bindsym $mod+Delete mode $sysmenu +mode $sysmenu { + bindsym r restart + bindsym e exit + bindsym p exec sudo shutdown -P now + bindsym b exec sudo shutdown -r now + bindsym s exec "i3lock -i ~/.lock -f && sudo pm-suspend" mode "default" + bindsym h exec "i3lock -i ~/.lock -f && sudo pm-hibernate" mode "default" + bindsym l exec "i3lock -i ~/.lock -f" mode "default" + bindsym Return mode "default" + bindsym Escape mode "default" +} + +################################ +# _ ____ ____ # +# (_)___ \ | _ \ # +# _ __) | | |_) | __ _ _ __ # +# | ||__ < | _ < / _` | '__| # +# | |___) | | |_) | (_| | | # +# |_|____/ |____/ \__,_|_| # +# # +################################ + +# Start i3bar to display a workspace bar (plus the system information i3blocks finds +# out, if available) +bar { + font pango:Fira Sans 10 + status_command i3blocks -c ~/.config/i3/i3blocks.conf + colors { + separator #FFFFFF + background #000000 + statusline #FFFFFF + focused_workspace #FFFFFF #FFFFFF #000000 + active_workspace #FFFFFF #FFFFFF #000000 + inactive_workspace #FFFFFF #000000 #FFFFFF + urgent_workspace #FFFFFF #000000 #FFFFFF + } +} + +############################################################### +# _____ _ _ _ _ _ _ _ # +# |_ _| (_) | (_) | (_) | | (_) # +# | | _ __ _| |_ _ __ _| |_ ___ __ _| |_ _ ___ _ __ # +# | | | '_ \| | __| |/ _` | | / __|/ _` | __| |/ _ \| '_ \ # +# _| |_| | | | | |_| | (_| | | \__ \ (_| | |_| | (_) | | | | # +# |_____|_| |_|_|\__|_|\__,_|_|_|___/\__,_|\__|_|\___/|_| |_| # +# # +############################################################### + +# Start the Bumblebee Daemon +#exec --no-startup-id sudo bumblebeed -D + +# Set Keyboard Layout +exec --no-startup-id setxkbmap gb + +# Set Wallpaper +exec --no-startup-id feh --bg-fill ~/.wallpaper + +# Start RXVT-Unicode Daemon +exec --no-startup-id urxvtd + +# Start Compton +exec --no-startup-id compton -b --config ~/.config/compton.conf + +# Start Network Manager Tray Applet +exec --no-startup-id nm-applet + +# Remove Window Border +for_window [class="^.*"] border pixel 0 + +#Configure Gaps +gaps inner 5 +gaps outer 0 +smart_gaps on diff --git a/Falk/i3blocks.conf b/Falk/i3blocks.conf new file mode 100644 index 00000000..0004d2fe --- /dev/null +++ b/Falk/i3blocks.conf @@ -0,0 +1,167 @@ +# i3blocks config file +# +# Please see man i3blocks for a complete reference! +# The man page is also hosted at http://vivien.github.io/i3blocks +# +# List of valid properties: +# +# align +# color +# command +# full_text +# instance +# interval +# label +# min_width +# name +# separator +# separator_block_width +# short_text +# signal +# urgent + +# Global properties +# +# The top properties below are applied to every block, but can be overridden. +# Each block command defaults to the script name to avoid boilerplate. +command=/usr/libexec/i3blocks/$BLOCK_NAME +separator_block_width=15 +markup=none + +# Volume indicator +# +# The first parameter sets the step (and units to display) +# The second parameter overrides the mixer selection +# See the script for details. +[volume] +label=VOL +#label=♪ +instance=Master +#instance=PCM +interval=once +signal=10 +separator=false + +[brghtness] +label=LIGHT +interval=1 +command=xbacklight -get | sed 's/$/%/' + +# Memory usage +# +# The type defaults to "mem" if the instance is not specified. +[memory] +label=RAM +separator=false +interval=30 +instance=mem + +#[memory] +#label=SWAP +#instance=swap +#separator=false +#interval=30 + +# Disk usage +# +# The directory defaults to $HOME if the instance is not specified. +# The script may be called with a optional argument to set the alert +# (defaults to 10 for 10%). +[disk] +label=DISK +#instance=/mnt/data +interval=30 + +# Network interface monitoring +# +# If the instance is not specified, use the interface used for default route. +# The address can be forced to IPv4 or IPv6 with -4 or -6 switches. +[iface] +#instance=wlan0 +color=#00FF00 +interval=10 +separator=false + +[wifi] +#instance=wlp3s0 +interval=10 +separator=false + +[bandwidth] +#instance=eth0 +interval=5 + +# CPU usage +# +# The script may be called with -w and -c switches to specify thresholds, +# see the script for details. +[cpu_usage] +label=CPU +interval=10 +min_width=CPU: 100.00% +separator=false + +#[load_average] +#interval=10 + +[GPU] +label=GPU +command=sed 's/0000:01:00.0 //' /proc/acpi/bbswitch +interval=10 +separator=true + +# Battery indicator +# +# The battery instance defaults to 0. +[battery] +label=BAT +#label=⚡ +#instance=1 +interval=30 + +# Temperature +# +# Support multiple chips, though lm-sensors. +# The script may be called with -w and -c switches to specify thresholds, +# see the script for details. +[temperature] +label=TEMP +interval=10 + + +# Date Time +# +[time] +command=date '+%Y-%m-%d %H:%M:%S' +interval=5 + +# Generic media player support +# +# This displays "ARTIST - SONG" if a music is playing. +# Supported players are: spotify, vlc, audacious, xmms2, mplayer, and others. +#[mediaplayer] +#instance=spotify +#interval=5 +#signal=10 + +# OpenVPN support +# +# Support multiple VPN, with colors. +#[openvpn] +#interval=20 + +# Key indicators +# +# Add the following bindings to i3 config file: +# +# bindsym --release Caps_Lock exec pkill -SIGRTMIN+11 i3blocks +# bindsym --release Num_Lock exec pkill -SIGRTMIN+11 i3blocks +#[keyindicator] +#instance=CAPS +#interval=once +#signal=11 + +#[keyindicator] +#instance=NUM +#interval=once +#signal=11 diff --git a/Fearnley/.Xdefaults b/Fearnley/.Xdefaults new file mode 100644 index 00000000..07adc357 --- /dev/null +++ b/Fearnley/.Xdefaults @@ -0,0 +1,45 @@ + +# RXVT Config. terminus font is required! + +#Rxvt*font:xft: true +#Rxvt*font: terminus-iso8859-1-14 +#Rxvt*font: xft:Monaco:pixelsize=13 +Rxvt*font: xft:Noto Sans Mono:pixelsize=13 + +URxvt*transparent: false +URxvt*tintColor: White +URxvt*shading: 25 +URxvt*scrollBar: false + +URxvt.borderColor: #0f0f0f +URxvt.internalBorder: 0 +URxvt.externalBorder: 1 + +urxvt*foreground: #ffffff + +*background: #000000 +*foreground: #ffffff +! Black +*color0: #202020 +*color8: #606060 +! Red +*color1: #ff6565 +*color9: #ff8d8d +! Green +*color2: #93d44f +*color10: #c8e7a8 +! Yellow +*color3: #eab93d +*color11: #ffc123 +! Blue +*color4: #204a87 +*color12: #3465a4 +! Mangenta +*color5: #ce5c00 +*color13: #f57900 +! Cyan +*color6: #89b6e2 +*color14: #46a4ff +! White +*color7: #cccccc +*color15: #ffffff diff --git a/Fearnley/.Xresources b/Fearnley/.Xresources new file mode 100644 index 00000000..bb002a44 --- /dev/null +++ b/Fearnley/.Xresources @@ -0,0 +1,2 @@ +Xft:dpi 96 + diff --git a/Fearnley/README.md b/Fearnley/README.md new file mode 100644 index 00000000..e69de29b diff --git a/Fitzwilliam/.Xdefaults b/Fitzwilliam/.Xdefaults new file mode 100644 index 00000000..07adc357 --- /dev/null +++ b/Fitzwilliam/.Xdefaults @@ -0,0 +1,45 @@ + +# RXVT Config. terminus font is required! + +#Rxvt*font:xft: true +#Rxvt*font: terminus-iso8859-1-14 +#Rxvt*font: xft:Monaco:pixelsize=13 +Rxvt*font: xft:Noto Sans Mono:pixelsize=13 + +URxvt*transparent: false +URxvt*tintColor: White +URxvt*shading: 25 +URxvt*scrollBar: false + +URxvt.borderColor: #0f0f0f +URxvt.internalBorder: 0 +URxvt.externalBorder: 1 + +urxvt*foreground: #ffffff + +*background: #000000 +*foreground: #ffffff +! Black +*color0: #202020 +*color8: #606060 +! Red +*color1: #ff6565 +*color9: #ff8d8d +! Green +*color2: #93d44f +*color10: #c8e7a8 +! Yellow +*color3: #eab93d +*color11: #ffc123 +! Blue +*color4: #204a87 +*color12: #3465a4 +! Mangenta +*color5: #ce5c00 +*color13: #f57900 +! Cyan +*color6: #89b6e2 +*color14: #46a4ff +! White +*color7: #cccccc +*color15: #ffffff diff --git a/Fitzwilliam/.Xresources b/Fitzwilliam/.Xresources new file mode 100644 index 00000000..bb002a44 --- /dev/null +++ b/Fitzwilliam/.Xresources @@ -0,0 +1,2 @@ +Xft:dpi 96 + diff --git a/Fitzwilliam/README.md b/Fitzwilliam/README.md new file mode 100644 index 00000000..e69de29b diff --git a/Fitzwilliam/compton.conf b/Fitzwilliam/compton.conf new file mode 100644 index 00000000..ec67bfbf --- /dev/null +++ b/Fitzwilliam/compton.conf @@ -0,0 +1,238 @@ +# 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 = "xrender"; + +################################# +# +# 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 = true; + +# 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 = true; +# 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. +clear-shadow = true; +# 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.75; +active-opacity = 1; +frame-opacity = 1; +inactive-opacity-override = false; +alpha-step = 0.06; + +# 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 = [ + "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 = [ ]; + +################################# +# +# 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 doesn’t 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 = "drm"; + +# Enable DBE painting mode, intended to use with VSync to (hopefully) eliminate tearing. +# Reported to have no effect, though. +dbe = true; +# 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; + }; +}; diff --git a/Fitzwilliam/i3.conf b/Fitzwilliam/i3.conf new file mode 100644 index 00000000..68df51d9 --- /dev/null +++ b/Fitzwilliam/i3.conf @@ -0,0 +1,299 @@ +################################################################################### +# ____ __ _ _ _ ____ __ _ # +# / __ \ / _(_) ( ) (_)___ \ / _(_) # +# | | | |_ __ __ _| |_ ___ _|/ ___ _ __) | ___ ___ _ __ | |_ _ __ _ # +# | | | | '_ \ / _` | _| \ \/ / / __| | ||__ < / __/ _ \| '_ \| _| |/ _` | # +# | |__| | |_) | (_| | | | |> < \__ \ | |___) | | (_| (_) | | | | | | | (_| | # +# \____/| .__/ \__,_|_| |_/_/\_\ |___/ |_|____/ \___\___/|_| |_|_| |_|\__, | # +# / ____| | | | _ | ____| | | __/ | # +# | (___ |_| _ ___| |_ ___ _ __ ___ (_) | |__ ___ __ _ _ __ _ __ | | __|___/ _ # +# \___ \| | | / __| __/ _ \ '_ ` _ \ | __/ _ \/ _` | '__| '_ \| |/ _ \ | | | # +# ____) | |_| \__ \ || __/ | | | | |_ | | | __/ (_| | | | | | | | __/ |_| | # +# |_____/ \__, |___/\__\___|_| |_| |_(_) |_| \___|\__,_|_| |_| |_|_|\___|\__, | # +# __/ | __/ | # +# |___/ |___/ # +################################################################################### +# Last Edit: 17/09/2018 # +################################################################################### + +set $mod Mod1 +set $sup Mod4 + +# Font for window titles. Will also be used by the bar unless a different font +# is used in the bar {} block below. +font xft:Fira Sans:size=8 + +############################################################ +# _ __ ____ _ _ _ # +# | |/ / | _ \(_) | (_) # +# | ' / ___ _ _ | |_) |_ _ __ __| |_ _ __ __ _ ___ # +# | < / _ \ | | | | _ <| | '_ \ / _` | | '_ \ / _` / __| # +# | . \ __/ |_| | | |_) | | | | | (_| | | | | | (_| \__ \ # +# |_|\_\___|\__, | |____/|_|_| |_|\__,_|_|_| |_|\__, |___/ # +# __/ | __/ | # +# |___/ |___/ # +############################################################ + +## Use Mouse+$mod to drag floating windows to their wanted position +floating_modifier $mod + +# kill focused window +bindsym $mod+Shift+q kill + +# start dmenu (a program launcher) +# bindsym $mod+d exec dmenu + +# Rofi bindings +bindsym $mod+d exec rofi -show run +bindsym $mod+shift+d exec rofi -show window + +# enable Alt+Tab Functionality +bindsym $mod+Tab workspace next +bindsym $mod+Shift+Tab workspace prev + +# change focus +bindsym $mod+j focus left +bindsym $mod+k focus down +bindsym $mod+l focus up +bindsym $mod+semicolon focus right + +# 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 + +# move focused window +bindsym $mod+Shift+j move left +bindsym $mod+Shift+k move down +bindsym $mod+Shift+l move up +bindsym $mod+Shift+semicolon move 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 + +# split in horizontal orientation +bindsym $mod+h split h + +# split in vertical orientation +bindsym $mod+v split v + +# enter 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 + +# focus the parent container +bindsym $mod+a focus parent + +# 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 + +# exit i3 (logs you out of your X session) +bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" + +# Pulse Audio Controls +bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% #increase sound volume +bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% #decrease sound volume +bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound + +# Sreen brightness controls +bindsym XF86MonBrightnessUp exec --no-startup-id sudo xbacklight -inc 5 # increase screen brightness +bindsym XF86MonBrightnessDown exec --no-startup-id sudo xbacklight -dec 5 # decrease screen brightness + +# Media player controls +bindsym XF86AudioPlay exec --no-startup-id playerctl play +bindsym XF86AudioPause exec --no-startup-id playerctl pause +bindsym XF86AudioNext exec --no-startup-id playerctl next +bindsym XF86AudioPrev exec --no-startup-id playerctl previous + +############################################################# +# __ __ _ # +# \ \ / / | | # +# \ \ /\ / /__ _ __| | _____ _ __ __ _ ___ ___ ___ # +# \ \/ \/ / _ \| '__| |/ / __| '_ \ / _` |/ __/ _ \/ __| # +# \ /\ / (_) | | | <\__ \ |_) | (_| | (_| __/\__ \ # +# \/ \/ \___/|_| |_|\_\___/ .__/ \__,_|\___\___||___/ # +# | | # +# |_| # +# # +############################################################# + +# Define names for default workspaces for which we configure key bindings later on. +# We use variables to avoid repeating the names in multiple places. +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 focused container to workspace +bindsym $mod+Shift+1 move container to workspace $ws1 +bindsym $mod+Shift+2 move container to workspace $ws2 +bindsym $mod+Shift+3 move container to workspace $ws3 +bindsym $mod+Shift+4 move container to workspace $ws4 +bindsym $mod+Shift+5 move container to workspace $ws5 +bindsym $mod+Shift+6 move container to workspace $ws6 +bindsym $mod+Shift+7 move container to workspace $ws7 +bindsym $mod+Shift+8 move container to workspace $ws8 +bindsym $mod+Shift+9 move container to workspace $ws9 +bindsym $mod+Shift+0 move container to workspace $ws10 + +################################## +# __ __ _ # +# | \/ | | | # +# | \ / | ___ __| | ___ ___ # +# | |\/| |/ _ \ / _` |/ _ \/ __| # +# | | | | (_) | (_| | __/\__ \ # +# |_| |_|\___/ \__,_|\___||___/ # +# # +################################## + +# resize window (you can also use the mouse for that) +bindsym $mod+r mode "resize" +mode "resize" { + # These bindings trigger as soon as you enter the resize mode + + # Pressing left will shrink the window’s width. + # Pressing right will grow the window’s width. + # Pressing up will shrink the window’s height. + # Pressing down will grow the window’s height. + bindsym j resize shrink width 10 px or 10 ppt + bindsym k resize grow height 10 px or 10 ppt + bindsym l resize shrink height 10 px or 10 ppt + bindsym semicolon resize grow width 10 px or 10 ppt + + # same bindings, but for the arrow keys + bindsym Left resize shrink width 10 px or 10 ppt + bindsym Down resize grow height 10 px or 10 ppt + bindsym Up resize shrink height 10 px or 10 ppt + bindsym Right resize grow width 10 px or 10 ppt + + # back to normal: Enter or Escape or $mod+r + bindsym Return mode "default" + bindsym Escape mode "default" + bindsym $mod+r mode "default" +} + +#Application Launcher +set $launcher "application launcher: [w]eb [e]mails [t]erminal [f]iles [s]team [a]udio" +bindsym $mod+Return mode $launcher +mode $launcher { + bindsym w exec --no-startup-id "firefox" mode "default" + bindsym e exec --no-startup-id "thunderbird" mode "default" + bindsym t exec --no-startup-id "urxvtc" mode "default" + bindsym s exec --no-startup-id "steam" mode "default" + bindsym a exec --no-startup-id "pavucontrol" mode "default" + bindsym f exec --no-startup-id "pcmanfm" mode "default" + bindsym Return mode "default" + bindsym Escape mode "default" +} + +#Power Menu +set $sysmenu "system: [r]eload [e]xit [l]ock [p]oweroff re[b]oot [s]uspend [h]ibernate" +bindsym $mod+Delete mode $sysmenu +mode $sysmenu { + bindsym r restart + bindsym e exit + bindsym p exec sudo shutdown -P now + bindsym b exec sudo shutdown -r now + bindsym s exec "i3lock -i ~/.lock -f && sudo pm-suspend" mode "default" + bindsym h exec "i3lock -i ~/.lock -f && sudo pm-hibernate" mode "default" + bindsym l exec "i3lock -i ~/.lock -f" mode "default" + bindsym Return mode "default" + bindsym Escape mode "default" +} + +################################ +# _ ____ ____ # +# (_)___ \ | _ \ # +# _ __) | | |_) | __ _ _ __ # +# | ||__ < | _ < / _` | '__| # +# | |___) | | |_) | (_| | | # +# |_|____/ |____/ \__,_|_| # +# # +################################ + +# Start i3bar to display a workspace bar (plus the system information i3blocks finds +# out, if available) +bar { + font pango:Fira Sans 10 + status_command i3blocks -c ~/.config/i3/i3blocks.conf + colors { + separator #FFFFFF + background #000000 + statusline #FFFFFF + focused_workspace #FFFFFF #FFFFFF #000000 + active_workspace #FFFFFF #FFFFFF #000000 + inactive_workspace #FFFFFF #000000 #FFFFFF + urgent_workspace #FFFFFF #000000 #FFFFFF + } +} + +############################################################### +# _____ _ _ _ _ _ _ _ # +# |_ _| (_) | (_) | (_) | | (_) # +# | | _ __ _| |_ _ __ _| |_ ___ __ _| |_ _ ___ _ __ # +# | | | '_ \| | __| |/ _` | | / __|/ _` | __| |/ _ \| '_ \ # +# _| |_| | | | | |_| | (_| | | \__ \ (_| | |_| | (_) | | | | # +# |_____|_| |_|_|\__|_|\__,_|_|_|___/\__,_|\__|_|\___/|_| |_| # +# # +############################################################### + +# Start the Bumblebee Daemon +#exec --no-startup-id sudo bumblebeed -D + +# Set Keyboard Layout +exec --no-startup-id setxkbmap gb + +# Set Wallpaper +exec --no-startup-id feh --bg-fill ~/.wallpaper + +# Start RXVT-Unicode Daemon +exec --no-startup-id urxvtd + +# Start Compton +exec --no-startup-id compton -b --config ~/.config/compton.conf + +# Start Network Manager Tray Applet +exec --no-startup-id nm-applet + +# Remove Window Border +for_window [class="^.*"] border pixel 0 + +#Configure Gaps +gaps inner 5 +gaps outer 0 +smart_gaps on diff --git a/Fitzwilliam/i3blocks.conf b/Fitzwilliam/i3blocks.conf new file mode 100644 index 00000000..0004d2fe --- /dev/null +++ b/Fitzwilliam/i3blocks.conf @@ -0,0 +1,167 @@ +# i3blocks config file +# +# Please see man i3blocks for a complete reference! +# The man page is also hosted at http://vivien.github.io/i3blocks +# +# List of valid properties: +# +# align +# color +# command +# full_text +# instance +# interval +# label +# min_width +# name +# separator +# separator_block_width +# short_text +# signal +# urgent + +# Global properties +# +# The top properties below are applied to every block, but can be overridden. +# Each block command defaults to the script name to avoid boilerplate. +command=/usr/libexec/i3blocks/$BLOCK_NAME +separator_block_width=15 +markup=none + +# Volume indicator +# +# The first parameter sets the step (and units to display) +# The second parameter overrides the mixer selection +# See the script for details. +[volume] +label=VOL +#label=♪ +instance=Master +#instance=PCM +interval=once +signal=10 +separator=false + +[brghtness] +label=LIGHT +interval=1 +command=xbacklight -get | sed 's/$/%/' + +# Memory usage +# +# The type defaults to "mem" if the instance is not specified. +[memory] +label=RAM +separator=false +interval=30 +instance=mem + +#[memory] +#label=SWAP +#instance=swap +#separator=false +#interval=30 + +# Disk usage +# +# The directory defaults to $HOME if the instance is not specified. +# The script may be called with a optional argument to set the alert +# (defaults to 10 for 10%). +[disk] +label=DISK +#instance=/mnt/data +interval=30 + +# Network interface monitoring +# +# If the instance is not specified, use the interface used for default route. +# The address can be forced to IPv4 or IPv6 with -4 or -6 switches. +[iface] +#instance=wlan0 +color=#00FF00 +interval=10 +separator=false + +[wifi] +#instance=wlp3s0 +interval=10 +separator=false + +[bandwidth] +#instance=eth0 +interval=5 + +# CPU usage +# +# The script may be called with -w and -c switches to specify thresholds, +# see the script for details. +[cpu_usage] +label=CPU +interval=10 +min_width=CPU: 100.00% +separator=false + +#[load_average] +#interval=10 + +[GPU] +label=GPU +command=sed 's/0000:01:00.0 //' /proc/acpi/bbswitch +interval=10 +separator=true + +# Battery indicator +# +# The battery instance defaults to 0. +[battery] +label=BAT +#label=⚡ +#instance=1 +interval=30 + +# Temperature +# +# Support multiple chips, though lm-sensors. +# The script may be called with -w and -c switches to specify thresholds, +# see the script for details. +[temperature] +label=TEMP +interval=10 + + +# Date Time +# +[time] +command=date '+%Y-%m-%d %H:%M:%S' +interval=5 + +# Generic media player support +# +# This displays "ARTIST - SONG" if a music is playing. +# Supported players are: spotify, vlc, audacious, xmms2, mplayer, and others. +#[mediaplayer] +#instance=spotify +#interval=5 +#signal=10 + +# OpenVPN support +# +# Support multiple VPN, with colors. +#[openvpn] +#interval=20 + +# Key indicators +# +# Add the following bindings to i3 config file: +# +# bindsym --release Caps_Lock exec pkill -SIGRTMIN+11 i3blocks +# bindsym --release Num_Lock exec pkill -SIGRTMIN+11 i3blocks +#[keyindicator] +#instance=CAPS +#interval=once +#signal=11 + +#[keyindicator] +#instance=NUM +#interval=once +#signal=11 diff --git a/Phranque/.Xdefaults b/Phranque/.Xdefaults new file mode 100644 index 00000000..07adc357 --- /dev/null +++ b/Phranque/.Xdefaults @@ -0,0 +1,45 @@ + +# RXVT Config. terminus font is required! + +#Rxvt*font:xft: true +#Rxvt*font: terminus-iso8859-1-14 +#Rxvt*font: xft:Monaco:pixelsize=13 +Rxvt*font: xft:Noto Sans Mono:pixelsize=13 + +URxvt*transparent: false +URxvt*tintColor: White +URxvt*shading: 25 +URxvt*scrollBar: false + +URxvt.borderColor: #0f0f0f +URxvt.internalBorder: 0 +URxvt.externalBorder: 1 + +urxvt*foreground: #ffffff + +*background: #000000 +*foreground: #ffffff +! Black +*color0: #202020 +*color8: #606060 +! Red +*color1: #ff6565 +*color9: #ff8d8d +! Green +*color2: #93d44f +*color10: #c8e7a8 +! Yellow +*color3: #eab93d +*color11: #ffc123 +! Blue +*color4: #204a87 +*color12: #3465a4 +! Mangenta +*color5: #ce5c00 +*color13: #f57900 +! Cyan +*color6: #89b6e2 +*color14: #46a4ff +! White +*color7: #cccccc +*color15: #ffffff diff --git a/Phranque/.Xresources b/Phranque/.Xresources new file mode 100644 index 00000000..bb002a44 --- /dev/null +++ b/Phranque/.Xresources @@ -0,0 +1,2 @@ +Xft:dpi 96 + diff --git a/Phranque/README.md b/Phranque/README.md new file mode 100644 index 00000000..e69de29b diff --git a/Phranque/compton.conf b/Phranque/compton.conf new file mode 100644 index 00000000..ec67bfbf --- /dev/null +++ b/Phranque/compton.conf @@ -0,0 +1,238 @@ +# 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 = "xrender"; + +################################# +# +# 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 = true; + +# 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 = true; +# 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. +clear-shadow = true; +# 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.75; +active-opacity = 1; +frame-opacity = 1; +inactive-opacity-override = false; +alpha-step = 0.06; + +# 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 = [ + "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 = [ ]; + +################################# +# +# 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 doesn’t 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 = "drm"; + +# Enable DBE painting mode, intended to use with VSync to (hopefully) eliminate tearing. +# Reported to have no effect, though. +dbe = true; +# 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; + }; +}; diff --git a/Phranque/i3.conf b/Phranque/i3.conf new file mode 100644 index 00000000..68df51d9 --- /dev/null +++ b/Phranque/i3.conf @@ -0,0 +1,299 @@ +################################################################################### +# ____ __ _ _ _ ____ __ _ # +# / __ \ / _(_) ( ) (_)___ \ / _(_) # +# | | | |_ __ __ _| |_ ___ _|/ ___ _ __) | ___ ___ _ __ | |_ _ __ _ # +# | | | | '_ \ / _` | _| \ \/ / / __| | ||__ < / __/ _ \| '_ \| _| |/ _` | # +# | |__| | |_) | (_| | | | |> < \__ \ | |___) | | (_| (_) | | | | | | | (_| | # +# \____/| .__/ \__,_|_| |_/_/\_\ |___/ |_|____/ \___\___/|_| |_|_| |_|\__, | # +# / ____| | | | _ | ____| | | __/ | # +# | (___ |_| _ ___| |_ ___ _ __ ___ (_) | |__ ___ __ _ _ __ _ __ | | __|___/ _ # +# \___ \| | | / __| __/ _ \ '_ ` _ \ | __/ _ \/ _` | '__| '_ \| |/ _ \ | | | # +# ____) | |_| \__ \ || __/ | | | | |_ | | | __/ (_| | | | | | | | __/ |_| | # +# |_____/ \__, |___/\__\___|_| |_| |_(_) |_| \___|\__,_|_| |_| |_|_|\___|\__, | # +# __/ | __/ | # +# |___/ |___/ # +################################################################################### +# Last Edit: 17/09/2018 # +################################################################################### + +set $mod Mod1 +set $sup Mod4 + +# Font for window titles. Will also be used by the bar unless a different font +# is used in the bar {} block below. +font xft:Fira Sans:size=8 + +############################################################ +# _ __ ____ _ _ _ # +# | |/ / | _ \(_) | (_) # +# | ' / ___ _ _ | |_) |_ _ __ __| |_ _ __ __ _ ___ # +# | < / _ \ | | | | _ <| | '_ \ / _` | | '_ \ / _` / __| # +# | . \ __/ |_| | | |_) | | | | | (_| | | | | | (_| \__ \ # +# |_|\_\___|\__, | |____/|_|_| |_|\__,_|_|_| |_|\__, |___/ # +# __/ | __/ | # +# |___/ |___/ # +############################################################ + +## Use Mouse+$mod to drag floating windows to their wanted position +floating_modifier $mod + +# kill focused window +bindsym $mod+Shift+q kill + +# start dmenu (a program launcher) +# bindsym $mod+d exec dmenu + +# Rofi bindings +bindsym $mod+d exec rofi -show run +bindsym $mod+shift+d exec rofi -show window + +# enable Alt+Tab Functionality +bindsym $mod+Tab workspace next +bindsym $mod+Shift+Tab workspace prev + +# change focus +bindsym $mod+j focus left +bindsym $mod+k focus down +bindsym $mod+l focus up +bindsym $mod+semicolon focus right + +# 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 + +# move focused window +bindsym $mod+Shift+j move left +bindsym $mod+Shift+k move down +bindsym $mod+Shift+l move up +bindsym $mod+Shift+semicolon move 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 + +# split in horizontal orientation +bindsym $mod+h split h + +# split in vertical orientation +bindsym $mod+v split v + +# enter 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 + +# focus the parent container +bindsym $mod+a focus parent + +# 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 + +# exit i3 (logs you out of your X session) +bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" + +# Pulse Audio Controls +bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% #increase sound volume +bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% #decrease sound volume +bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound + +# Sreen brightness controls +bindsym XF86MonBrightnessUp exec --no-startup-id sudo xbacklight -inc 5 # increase screen brightness +bindsym XF86MonBrightnessDown exec --no-startup-id sudo xbacklight -dec 5 # decrease screen brightness + +# Media player controls +bindsym XF86AudioPlay exec --no-startup-id playerctl play +bindsym XF86AudioPause exec --no-startup-id playerctl pause +bindsym XF86AudioNext exec --no-startup-id playerctl next +bindsym XF86AudioPrev exec --no-startup-id playerctl previous + +############################################################# +# __ __ _ # +# \ \ / / | | # +# \ \ /\ / /__ _ __| | _____ _ __ __ _ ___ ___ ___ # +# \ \/ \/ / _ \| '__| |/ / __| '_ \ / _` |/ __/ _ \/ __| # +# \ /\ / (_) | | | <\__ \ |_) | (_| | (_| __/\__ \ # +# \/ \/ \___/|_| |_|\_\___/ .__/ \__,_|\___\___||___/ # +# | | # +# |_| # +# # +############################################################# + +# Define names for default workspaces for which we configure key bindings later on. +# We use variables to avoid repeating the names in multiple places. +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 focused container to workspace +bindsym $mod+Shift+1 move container to workspace $ws1 +bindsym $mod+Shift+2 move container to workspace $ws2 +bindsym $mod+Shift+3 move container to workspace $ws3 +bindsym $mod+Shift+4 move container to workspace $ws4 +bindsym $mod+Shift+5 move container to workspace $ws5 +bindsym $mod+Shift+6 move container to workspace $ws6 +bindsym $mod+Shift+7 move container to workspace $ws7 +bindsym $mod+Shift+8 move container to workspace $ws8 +bindsym $mod+Shift+9 move container to workspace $ws9 +bindsym $mod+Shift+0 move container to workspace $ws10 + +################################## +# __ __ _ # +# | \/ | | | # +# | \ / | ___ __| | ___ ___ # +# | |\/| |/ _ \ / _` |/ _ \/ __| # +# | | | | (_) | (_| | __/\__ \ # +# |_| |_|\___/ \__,_|\___||___/ # +# # +################################## + +# resize window (you can also use the mouse for that) +bindsym $mod+r mode "resize" +mode "resize" { + # These bindings trigger as soon as you enter the resize mode + + # Pressing left will shrink the window’s width. + # Pressing right will grow the window’s width. + # Pressing up will shrink the window’s height. + # Pressing down will grow the window’s height. + bindsym j resize shrink width 10 px or 10 ppt + bindsym k resize grow height 10 px or 10 ppt + bindsym l resize shrink height 10 px or 10 ppt + bindsym semicolon resize grow width 10 px or 10 ppt + + # same bindings, but for the arrow keys + bindsym Left resize shrink width 10 px or 10 ppt + bindsym Down resize grow height 10 px or 10 ppt + bindsym Up resize shrink height 10 px or 10 ppt + bindsym Right resize grow width 10 px or 10 ppt + + # back to normal: Enter or Escape or $mod+r + bindsym Return mode "default" + bindsym Escape mode "default" + bindsym $mod+r mode "default" +} + +#Application Launcher +set $launcher "application launcher: [w]eb [e]mails [t]erminal [f]iles [s]team [a]udio" +bindsym $mod+Return mode $launcher +mode $launcher { + bindsym w exec --no-startup-id "firefox" mode "default" + bindsym e exec --no-startup-id "thunderbird" mode "default" + bindsym t exec --no-startup-id "urxvtc" mode "default" + bindsym s exec --no-startup-id "steam" mode "default" + bindsym a exec --no-startup-id "pavucontrol" mode "default" + bindsym f exec --no-startup-id "pcmanfm" mode "default" + bindsym Return mode "default" + bindsym Escape mode "default" +} + +#Power Menu +set $sysmenu "system: [r]eload [e]xit [l]ock [p]oweroff re[b]oot [s]uspend [h]ibernate" +bindsym $mod+Delete mode $sysmenu +mode $sysmenu { + bindsym r restart + bindsym e exit + bindsym p exec sudo shutdown -P now + bindsym b exec sudo shutdown -r now + bindsym s exec "i3lock -i ~/.lock -f && sudo pm-suspend" mode "default" + bindsym h exec "i3lock -i ~/.lock -f && sudo pm-hibernate" mode "default" + bindsym l exec "i3lock -i ~/.lock -f" mode "default" + bindsym Return mode "default" + bindsym Escape mode "default" +} + +################################ +# _ ____ ____ # +# (_)___ \ | _ \ # +# _ __) | | |_) | __ _ _ __ # +# | ||__ < | _ < / _` | '__| # +# | |___) | | |_) | (_| | | # +# |_|____/ |____/ \__,_|_| # +# # +################################ + +# Start i3bar to display a workspace bar (plus the system information i3blocks finds +# out, if available) +bar { + font pango:Fira Sans 10 + status_command i3blocks -c ~/.config/i3/i3blocks.conf + colors { + separator #FFFFFF + background #000000 + statusline #FFFFFF + focused_workspace #FFFFFF #FFFFFF #000000 + active_workspace #FFFFFF #FFFFFF #000000 + inactive_workspace #FFFFFF #000000 #FFFFFF + urgent_workspace #FFFFFF #000000 #FFFFFF + } +} + +############################################################### +# _____ _ _ _ _ _ _ _ # +# |_ _| (_) | (_) | (_) | | (_) # +# | | _ __ _| |_ _ __ _| |_ ___ __ _| |_ _ ___ _ __ # +# | | | '_ \| | __| |/ _` | | / __|/ _` | __| |/ _ \| '_ \ # +# _| |_| | | | | |_| | (_| | | \__ \ (_| | |_| | (_) | | | | # +# |_____|_| |_|_|\__|_|\__,_|_|_|___/\__,_|\__|_|\___/|_| |_| # +# # +############################################################### + +# Start the Bumblebee Daemon +#exec --no-startup-id sudo bumblebeed -D + +# Set Keyboard Layout +exec --no-startup-id setxkbmap gb + +# Set Wallpaper +exec --no-startup-id feh --bg-fill ~/.wallpaper + +# Start RXVT-Unicode Daemon +exec --no-startup-id urxvtd + +# Start Compton +exec --no-startup-id compton -b --config ~/.config/compton.conf + +# Start Network Manager Tray Applet +exec --no-startup-id nm-applet + +# Remove Window Border +for_window [class="^.*"] border pixel 0 + +#Configure Gaps +gaps inner 5 +gaps outer 0 +smart_gaps on diff --git a/Phranque/i3blocks.conf b/Phranque/i3blocks.conf new file mode 100644 index 00000000..0004d2fe --- /dev/null +++ b/Phranque/i3blocks.conf @@ -0,0 +1,167 @@ +# i3blocks config file +# +# Please see man i3blocks for a complete reference! +# The man page is also hosted at http://vivien.github.io/i3blocks +# +# List of valid properties: +# +# align +# color +# command +# full_text +# instance +# interval +# label +# min_width +# name +# separator +# separator_block_width +# short_text +# signal +# urgent + +# Global properties +# +# The top properties below are applied to every block, but can be overridden. +# Each block command defaults to the script name to avoid boilerplate. +command=/usr/libexec/i3blocks/$BLOCK_NAME +separator_block_width=15 +markup=none + +# Volume indicator +# +# The first parameter sets the step (and units to display) +# The second parameter overrides the mixer selection +# See the script for details. +[volume] +label=VOL +#label=♪ +instance=Master +#instance=PCM +interval=once +signal=10 +separator=false + +[brghtness] +label=LIGHT +interval=1 +command=xbacklight -get | sed 's/$/%/' + +# Memory usage +# +# The type defaults to "mem" if the instance is not specified. +[memory] +label=RAM +separator=false +interval=30 +instance=mem + +#[memory] +#label=SWAP +#instance=swap +#separator=false +#interval=30 + +# Disk usage +# +# The directory defaults to $HOME if the instance is not specified. +# The script may be called with a optional argument to set the alert +# (defaults to 10 for 10%). +[disk] +label=DISK +#instance=/mnt/data +interval=30 + +# Network interface monitoring +# +# If the instance is not specified, use the interface used for default route. +# The address can be forced to IPv4 or IPv6 with -4 or -6 switches. +[iface] +#instance=wlan0 +color=#00FF00 +interval=10 +separator=false + +[wifi] +#instance=wlp3s0 +interval=10 +separator=false + +[bandwidth] +#instance=eth0 +interval=5 + +# CPU usage +# +# The script may be called with -w and -c switches to specify thresholds, +# see the script for details. +[cpu_usage] +label=CPU +interval=10 +min_width=CPU: 100.00% +separator=false + +#[load_average] +#interval=10 + +[GPU] +label=GPU +command=sed 's/0000:01:00.0 //' /proc/acpi/bbswitch +interval=10 +separator=true + +# Battery indicator +# +# The battery instance defaults to 0. +[battery] +label=BAT +#label=⚡ +#instance=1 +interval=30 + +# Temperature +# +# Support multiple chips, though lm-sensors. +# The script may be called with -w and -c switches to specify thresholds, +# see the script for details. +[temperature] +label=TEMP +interval=10 + + +# Date Time +# +[time] +command=date '+%Y-%m-%d %H:%M:%S' +interval=5 + +# Generic media player support +# +# This displays "ARTIST - SONG" if a music is playing. +# Supported players are: spotify, vlc, audacious, xmms2, mplayer, and others. +#[mediaplayer] +#instance=spotify +#interval=5 +#signal=10 + +# OpenVPN support +# +# Support multiple VPN, with colors. +#[openvpn] +#interval=20 + +# Key indicators +# +# Add the following bindings to i3 config file: +# +# bindsym --release Caps_Lock exec pkill -SIGRTMIN+11 i3blocks +# bindsym --release Num_Lock exec pkill -SIGRTMIN+11 i3blocks +#[keyindicator] +#instance=CAPS +#interval=once +#signal=11 + +#[keyindicator] +#instance=NUM +#interval=once +#signal=11