cleaning
This commit is contained in:
parent
a5c00fb503
commit
d60d7eabab
@ -1,233 +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 = 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 = "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;
|
|
||||||
};
|
|
||||||
};
|
|
@ -1,33 +0,0 @@
|
|||||||
# This file is automatically generated by the fish.
|
|
||||||
# Do NOT edit it directly, your changes will be overwritten.
|
|
||||||
SET __fish_classic_git_prompt_initialized:\x1d
|
|
||||||
SET __fish_init_2_39_8:\x1d
|
|
||||||
SET __fish_init_2_3_0:\x1d
|
|
||||||
SET fish_color_autosuggestion:9C9C9C
|
|
||||||
SET fish_color_cancel:\x2dr
|
|
||||||
SET fish_color_command:F4F4F4
|
|
||||||
SET fish_color_comment:B0B0B0
|
|
||||||
SET fish_color_cwd:green
|
|
||||||
SET fish_color_cwd_root:red
|
|
||||||
SET fish_color_end:969696
|
|
||||||
SET fish_color_error:FFA779
|
|
||||||
SET fish_color_escape:bryellow\x1e\x2d\x2dbold
|
|
||||||
SET fish_color_history_current:\x2d\x2dbold
|
|
||||||
SET fish_color_host:normal
|
|
||||||
SET fish_color_match:\x2d\x2dbackground\x3dbrblue
|
|
||||||
SET fish_color_normal:normal
|
|
||||||
SET fish_color_operator:bryellow
|
|
||||||
SET fish_color_param:A0A0F0
|
|
||||||
SET fish_color_quote:666A80
|
|
||||||
SET fish_color_redirection:FAFAFA
|
|
||||||
SET fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dbrblack
|
|
||||||
SET fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack
|
|
||||||
SET fish_color_status:red
|
|
||||||
SET fish_color_user:brgreen
|
|
||||||
SET fish_color_valid_path:\x2d\x2dunderline
|
|
||||||
SET fish_greeting:Welcome\x20to\x20fish\x2c\x20the\x20friendly\x20interactive\x20shell
|
|
||||||
SET fish_key_bindings:fish_default_key_bindings
|
|
||||||
SET fish_pager_color_completion:\x1d
|
|
||||||
SET fish_pager_color_description:B3A06D\x1eyellow
|
|
||||||
SET fish_pager_color_prefix:white\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
|
|
||||||
SET fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
|
|
@ -1,81 +0,0 @@
|
|||||||
function fish_prompt
|
|
||||||
and set retc blue
|
|
||||||
or set retc red
|
|
||||||
tty | string match -q -r tty
|
|
||||||
and set tty tty
|
|
||||||
or set tty pts
|
|
||||||
|
|
||||||
set_color $retc
|
|
||||||
if [ $tty = tty ]
|
|
||||||
echo -n .-
|
|
||||||
else
|
|
||||||
echo -n '┬─'
|
|
||||||
end
|
|
||||||
set_color -o blue
|
|
||||||
echo -n [
|
|
||||||
if test "$USER" = root -o "$USER" = toor
|
|
||||||
set_color -o red
|
|
||||||
else
|
|
||||||
set_color -o red
|
|
||||||
end
|
|
||||||
echo -n $USER
|
|
||||||
set_color -o white
|
|
||||||
echo -n @
|
|
||||||
if [ -z "$SSH_CLIENT" ]
|
|
||||||
set_color -o blue
|
|
||||||
else
|
|
||||||
set_color -o cyan
|
|
||||||
end
|
|
||||||
echo -n (prompt_hostname)
|
|
||||||
set_color -o white
|
|
||||||
#echo -n :(prompt_pwd)
|
|
||||||
echo -n :(pwd|sed "s=$HOME=~=")
|
|
||||||
set_color -o blue
|
|
||||||
echo -n ']'
|
|
||||||
set_color normal
|
|
||||||
set_color $retc
|
|
||||||
if [ $tty = tty ]
|
|
||||||
echo -n '-'
|
|
||||||
else
|
|
||||||
echo -n '─'
|
|
||||||
end
|
|
||||||
set_color -o blue
|
|
||||||
echo -n '['
|
|
||||||
set_color normal
|
|
||||||
set_color $retc
|
|
||||||
echo -n (date +%X)
|
|
||||||
set_color -o blue
|
|
||||||
echo -n ]
|
|
||||||
|
|
||||||
if type -q acpi
|
|
||||||
if [ (acpi -a 2> /dev/null | string match -r off) ]
|
|
||||||
echo -n '─['
|
|
||||||
set_color -o red
|
|
||||||
echo -n (acpi -b|cut -d' ' -f 4-)
|
|
||||||
set_color -o blue
|
|
||||||
echo -n ']'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
echo
|
|
||||||
set_color normal
|
|
||||||
for job in (jobs)
|
|
||||||
set_color $retc
|
|
||||||
if [ $tty = tty ]
|
|
||||||
echo -n '; '
|
|
||||||
else
|
|
||||||
echo -n '│ '
|
|
||||||
end
|
|
||||||
set_color brown
|
|
||||||
echo $job
|
|
||||||
end
|
|
||||||
set_color normal
|
|
||||||
set_color $retc
|
|
||||||
if [ $tty = tty ]
|
|
||||||
echo -n "'->"
|
|
||||||
else
|
|
||||||
echo -n '╰─>'
|
|
||||||
end
|
|
||||||
set_color -o red
|
|
||||||
echo -n '$ '
|
|
||||||
set_color normal
|
|
||||||
end
|
|
@ -1,249 +0,0 @@
|
|||||||
# This file has been auto-generated by i3-config-wizard(1).
|
|
||||||
# It will not be overwritten, so edit it as you like.
|
|
||||||
#
|
|
||||||
# Should you change your keyboard layout some time, delete
|
|
||||||
# this file and re-run i3-config-wizard(1).
|
|
||||||
#
|
|
||||||
|
|
||||||
# i3 config file (v4)
|
|
||||||
#
|
|
||||||
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
|
|
||||||
|
|
||||||
set $mod Mod1
|
|
||||||
|
|
||||||
# Font for window titles. Will also be used by the bar unless a different font
|
|
||||||
# is used in the bar {} block below.
|
|
||||||
font pango:monospace 8
|
|
||||||
|
|
||||||
# This font is widely installed, provides lots of unicode glyphs, right-to-left
|
|
||||||
# text rendering and scalability on retina/hidpi displays (thanks to pango).
|
|
||||||
#font pango:DejaVu Sans Mono 8
|
|
||||||
|
|
||||||
# Before i3 v4.8, we used to recommend this one as the default:
|
|
||||||
# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
|
|
||||||
# The font above is very space-efficient, that is, it looks good, sharp and
|
|
||||||
# clear in small sizes. However, its unicode glyph coverage is limited, the old
|
|
||||||
# X core fonts rendering does not support right-to-left and this being a bitmap
|
|
||||||
# font, it doesn’t scale on retina/hidpi displays.
|
|
||||||
|
|
||||||
# Use Mouse+$mod to drag floating windows to their wanted position
|
|
||||||
floating_modifier $mod
|
|
||||||
|
|
||||||
# start a terminal
|
|
||||||
#bindsym $mod+Return exec --no-startup-id terminator
|
|
||||||
|
|
||||||
# kill focused window
|
|
||||||
bindsym $mod+Shift+q kill
|
|
||||||
|
|
||||||
# start dmenu (a program launcher)
|
|
||||||
# bindsym $mod+d exec dmenu_run
|
|
||||||
# There also is the (new) i3-dmenu-desktop which only displays applications
|
|
||||||
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
|
|
||||||
# installed.
|
|
||||||
bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
|
|
||||||
|
|
||||||
# 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+Control+space focus mode_toggle
|
|
||||||
|
|
||||||
# focus the parent container
|
|
||||||
bindsym $mod+a focus parent
|
|
||||||
|
|
||||||
# focus the child container
|
|
||||||
#bindsym $mod+d focus child
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# enable Alt+Tab Functionality
|
|
||||||
bindsym $mod+Tab workspace next
|
|
||||||
bindsym $mod+Shift+Tab workspace prev
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
#empty space
|
|
||||||
bindsym $mod+space exec "i3 open"
|
|
||||||
|
|
||||||
# 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'"
|
|
||||||
|
|
||||||
# resize window (you can also use the mouse for that)
|
|
||||||
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"
|
|
||||||
}
|
|
||||||
|
|
||||||
set $resize "resize: [← ]-width+[→ ] [↓]-height+[↑]"
|
|
||||||
bindsym $mod+r mode $resize
|
|
||||||
|
|
||||||
# custom keybinds
|
|
||||||
#bindsym $mod+Shift+f exec firefox
|
|
||||||
bindsym $mod+Shift+Delete exec --no-startup-id xkill
|
|
||||||
|
|
||||||
#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 shutdown -P now
|
|
||||||
bindsym b exec shutdown -r now
|
|
||||||
bindsym s exec "i3lock -c 475263 -f && sudo pm-suspend" mode "default"
|
|
||||||
bindsym h exec "i3lock -c 475263 -f && sudo pm-hibernate" mode "default"
|
|
||||||
bindsym l exec "i3lock -c 475263 -f" mode "default"
|
|
||||||
bindsym Return mode "default"
|
|
||||||
bindsym Escape mode "default"
|
|
||||||
}
|
|
||||||
|
|
||||||
#Application Launcher
|
|
||||||
set $launcher "application launcher: [w]eb [e]mails [t]erminal [f]iles libre[c]ad libre[o]ffice"
|
|
||||||
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 "terminator" mode "default"
|
|
||||||
bindsym c exec --no-startup-id "librecad" mode "default"
|
|
||||||
bindsym o exec --no-startup-id "libreoffice" mode "default"
|
|
||||||
bindsym f exec --no-startup-id "thunar" mode "default"
|
|
||||||
bindsym Return mode "default"
|
|
||||||
bindsym Escape mode "default"
|
|
||||||
}
|
|
||||||
|
|
||||||
# Start i3bar to display a workspace bar (plus the system information i3status
|
|
||||||
# finds out, if available)
|
|
||||||
bar {
|
|
||||||
font pango:Source Sans Pro-10 10
|
|
||||||
status_command i3blocks -c ~/.config/i3/i3blocks.conf
|
|
||||||
colors {
|
|
||||||
separator #FFFFFF
|
|
||||||
background #000000
|
|
||||||
statusline #000000
|
|
||||||
focused_workspace #FFFFFF #FFFFFF #000000
|
|
||||||
active_workspace #FFFFFF #FFFFFF #000000
|
|
||||||
inactive_workspace #FFFFFF #000000 #FFFFFF
|
|
||||||
urgent_workspace #FFFFFF #000000 #FFFFFF
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
exec --no-startup-id feh --bg-fill .wallpaper/A.jpg
|
|
||||||
exec --no-startup-id compton --config ~/.config/compton.conf -b
|
|
||||||
exec --no-startup-id qopenvpn
|
|
||||||
exec --no-startup-id connman-gtk --tray
|
|
||||||
exec --no-startup-id clementine
|
|
||||||
exec --no-startup-id dropbox
|
|
||||||
|
|
||||||
# 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 light -A 5 # increase screen brightness
|
|
||||||
bindsym XF86MonBrightnessDown exec --no-startup-id light -U 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
|
|
||||||
|
|
||||||
for_window [class="^.*"] border pixel 0
|
|
||||||
gaps inner 5
|
|
||||||
gaps outer 0
|
|
||||||
smart_gaps on
|
|
Loading…
Reference in New Issue
Block a user