mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
Compare commits
3 Commits
7b418c2abc
...
29949a1f3d
Author | SHA1 | Date | |
---|---|---|---|
29949a1f3d | |||
616edc0cc7 | |||
3bb6de1dd9 |
@ -1,91 +1,101 @@
|
|||||||
|
# Logging
|
||||||
|
log-level = "info";
|
||||||
|
# log-file = "/path/to/your/log/file";
|
||||||
|
|
||||||
# Shadow
|
# Shadow
|
||||||
shadow = true; # Enabled client-side shadows on windows.
|
shadow = true;
|
||||||
no-dock-shadow = true; # Avoid drawing shadows on dock/panel windows.
|
shadow-radius = 24;
|
||||||
no-dnd-shadow = false; # Don't draw shadows on DND windows.
|
shadow-offset-x = -24;
|
||||||
clear-shadow = true; # Zero the part of the shadow's mask behind the
|
shadow-offset-y = -24;
|
||||||
# window. Fix some weirdness with ARGB windows.
|
shadow-opacity = 0.6;
|
||||||
shadow-radius = 12; # The blur radius for shadows. (default 12)
|
# shadow-red = 0.0;
|
||||||
shadow-offset-x = -16; # The left offset for shadows. (default -15)
|
# shadow-green = 0.0;
|
||||||
shadow-offset-y = -16; # The top offset for shadows. (default -15)
|
# shadow-blue = 0.0;
|
||||||
shadow-opacity = 0.65; # The translucency for shadows. (default .75)
|
shadow-exclude = [
|
||||||
# shadow-red = 0.0; # Red color value of shadow. (0.0 - 1.0, defaults to 0)
|
"class_g = 'slop'",
|
||||||
# shadow-green = 0.0; # Green color value of shadow. (0.0 - 1.0, defaults to 0)
|
"class_g = 'Conky'",
|
||||||
# shadow-blue = 0.0; # Blue color value of shadow. (0.0 - 1.0, defaults to 0)
|
"class_g ?= 'Notify-osd'",
|
||||||
shadow-exclude = [ "class_g = 'slop'" ]; # Exclude conditions for shadows.
|
"class_g = 'Cairo-clock'",
|
||||||
shadow-ignore-shaped = false; # Avoid drawing shadow on all shaped windows
|
"name = 'Notification'",
|
||||||
# (see also: --detect-rounded-corners)
|
"_GTK_FRAME_EXTENTS@:c"
|
||||||
|
];
|
||||||
|
# shadow-exclude = "n:e:Notification";
|
||||||
|
# shadow-exclude-reg = "x10+0+0";
|
||||||
|
xinerama-shadow-crop = true;
|
||||||
|
|
||||||
# Opacity
|
# Opacity
|
||||||
menu-opacity = 0.9; # The opacity for menus. (default 1.0)
|
frame-opacity = 1.0;
|
||||||
inactive-opacity = 0.7; # Default opacity of inactive windows. (0.0 - 1.0)
|
# active-opacity = 0.8;
|
||||||
active-opacity = 1.0; # Default opacity for active windows. (0.0 - 1.0)
|
inactive-opacity = 0.7;
|
||||||
frame-opacity = 1.0; # Opacity of window titlebars and borders. (0.1 - 1.0)
|
inactive-opacity-override = true;
|
||||||
inactive-opacity-override = true; # Let inactive opacity set by 'inactive-opacity' overrides
|
# inactive-dim = 0.2;
|
||||||
# value of _NET_WM_OPACITY. Bad choice.
|
# inactive-dim-fixed = true;
|
||||||
opacity-rule = [
|
opacity-rule = [
|
||||||
"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
|
"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
|
||||||
];
|
];
|
||||||
alpha-step = 0.02; # XRender backend: Step size for alpha pictures. Increasing
|
|
||||||
# it may result in less X resource usage,
|
|
||||||
# Yet f ading may look bad.
|
|
||||||
|
|
||||||
# Blurring
|
# Blurring
|
||||||
blur-method = "dual_kawase";
|
blur:
|
||||||
blur-strength = 5;
|
{
|
||||||
blur-background = true; # Blur background of transparent windows.
|
method = "gaussian";
|
||||||
blur-background-exclude = [ "class_g = 'Peek'", "class_g = 'Onboard'", "class_g = 'slop'", "class_g = 'Polybar'" ];
|
size = 10;
|
||||||
blur-background-frame = true; # Blur background of opaque windows with transparent
|
deviation = 5.0;
|
||||||
# frames as well.
|
};
|
||||||
blur-background-fixed = false; # Do not let blur radius adjust based on window opacity.
|
blur-background-frame = true;
|
||||||
# Exclude conditions for background blur.
|
blur-background-fixed = true;
|
||||||
|
blur-background-exclude = [
|
||||||
|
"class_g = 'Peek'",
|
||||||
|
"class_g = 'Onboard'",
|
||||||
|
"class_g = 'slop'",
|
||||||
|
"class_g = 'Polybar'",
|
||||||
|
"window_type = 'dock'",
|
||||||
|
"window_type = 'desktop'",
|
||||||
|
"_GTK_FRAME_EXTENTS@:c"
|
||||||
|
];
|
||||||
|
|
||||||
# Fading
|
# Fading
|
||||||
fading = true; # Fade windows during opacity changes.
|
fading = true;
|
||||||
# fade-delta = 16; # The time between steps in a fade in milliseconds. (default 10).
|
fade-delta = 10;
|
||||||
fade-in-step = 0.022; # Opacity change between steps while fading in. (default 0.028).
|
fade-in-step = 0.03;
|
||||||
fade-out-step = 0.02; # Opacity change between steps while fading out. (default 0.03).
|
fade-out-step = 0.03;
|
||||||
# no-fading-openclose = true; # Avoid fade windows in/out when opening/closing.
|
no-fading-openclose = false;
|
||||||
# fade-exclude = [ ]; # Exclude conditions for fading.
|
no-fading-destroyed-argb = false;
|
||||||
|
# fade-exclude = [ ];
|
||||||
|
|
||||||
# Other
|
# Other
|
||||||
backend = "glx" # Backend to use: "xrender" or "glx". GLX backend is typically
|
backend = "glx";
|
||||||
# much faster but depends on a sane driver.
|
mark-wmwin-focused = true;
|
||||||
mark-wmwin-focused = true; # Try to detect WM windows and mark them as active.
|
mark-ovredir-focused = true;
|
||||||
mark-ovredir-focused = true; # Mark all non-WM but override-redirect windows active (e.g. menus).
|
use-ewmh-active-win = false;
|
||||||
use-ewmh-active-win = true; # Use EWMH _NET_WM_ACTIVE_WINDOW to determine which window is focused
|
detect-rounded-corners = true;
|
||||||
# instead of using FocusIn/Out events. Usually more reliable but
|
detect-client-opacity = true;
|
||||||
# depends on a EWMH-compliant WM.
|
refresh-rate = 0;
|
||||||
detect-rounded-corners = true; # Detect rounded corners and treat them as rectangular when --shadow-ignore-shaped is on.
|
vsync = true;
|
||||||
detect-client-opacity = true; # Detect _NET_WM_OPACITY on client windows, useful for window
|
# sw-opti = true;
|
||||||
# managers not passing _NET_WM_OPACITY of client windows to frame windows.
|
# unredir-if-possible = true;
|
||||||
refresh-rate = 0; # For --sw-opti: Specify refresh rate of the screen. 0 for auto.
|
# unredir-if-possible-delay = 5000;
|
||||||
vsync = "none"; # "none", "drm", "opengl", "opengl-oml", "opengl-swc", "opengl-mswc"
|
# unredir-if-possible-exclude = [ ];
|
||||||
# See man page for more details.
|
focus-exclude = [
|
||||||
dbe = false; # Enable DBE painting mode. Rarely needed.
|
"i:ai:chromium",
|
||||||
paint-on-overlay = true; # Painting on X Composite overlay window. Recommended.
|
"class_g = 'Firefox'",
|
||||||
sw-opti = false; # Limit compton to repaint at most once every 1 / refresh_rate.
|
];
|
||||||
# Incompatible with certain VSync methods.
|
detect-transient = true;
|
||||||
unredir-if-possible = false; # Unredirect all windows if a full-screen opaque window is
|
detect-client-leader = true;
|
||||||
# detected, to maximize performance for full-screen windows.
|
invert-color-include = [ ];
|
||||||
focus-exclude = [ "i:ai:chromium" ]; # A list of conditions of windows that should always be considered focused.
|
# resize-damage = 1;
|
||||||
detect-transient = true; # Use WM_TRANSIENT_FOR to group windows, and consider windows in
|
|
||||||
# the same group focused at the same time.
|
|
||||||
detect-client-leader = true; # Use WM_CLIENT_LEADER to group windows.
|
|
||||||
invert-color-include = [ ]; # Conditions for windows to be painted with inverted color.
|
|
||||||
|
|
||||||
# GLX backend # GLX backend fine-tune options. See man page for more info.
|
# GLX backend
|
||||||
glx-no-stencil = true; # Recommended.
|
glx-no-stencil = true;
|
||||||
glx-copy-from-front = false; # Useful with --glx-swap-method,
|
glx-no-rebind-pixmap = true;
|
||||||
# glx-use-copysubbuffermesa = true; # Recommended if it works. Breaks VSync.
|
xrender-sync-fence = true;
|
||||||
glx-no-rebind-pixmap = true; # Recommended if it works.
|
#use-damage = true;
|
||||||
glx-swap-method = "undefined"; # See man page.
|
|
||||||
|
|
||||||
# Window type settings
|
# Window type settings
|
||||||
wintypes:
|
wintypes:
|
||||||
{
|
{
|
||||||
tooltip = { fade = true; shadow = false; opacity = 1; focus = true; };
|
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
|
||||||
# fade: Fade the particular type of windows.
|
dock = { shadow = false; }
|
||||||
# shadow: Give those windows shadow
|
dnd = { shadow = false; }
|
||||||
# opacity: Default opacity for the type of windows.
|
popup_menu = { opacity = 0.8; }
|
||||||
# focus: Whether to always consider windows of this type focused.
|
dropdown_menu = { opacity = 0.8; }
|
||||||
};
|
};
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
VteTerminal,
|
VteTerminal,
|
||||||
TerminalScreen,
|
TerminalScreen,
|
||||||
vte-terminal {
|
vte-terminal {
|
||||||
padding: 1.3em;
|
padding: 1.8em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.window-frame, .window-frame:backdrop {
|
.window-frame, .window-frame:backdrop {
|
||||||
|
@ -123,7 +123,7 @@ for_window [title="^rofi$"] floating enable
|
|||||||
new_window none
|
new_window none
|
||||||
new_float none
|
new_float none
|
||||||
|
|
||||||
gaps inner 12
|
gaps inner 20
|
||||||
gaps outer 4
|
gaps outer 4
|
||||||
|
|
||||||
focus_follows_mouse yes
|
focus_follows_mouse yes
|
||||||
@ -177,7 +177,7 @@ exec --no-startup-id xbindkeys
|
|||||||
exec --no-startup-id solaar
|
exec --no-startup-id solaar
|
||||||
exec --no-startup-id pullover
|
exec --no-startup-id pullover
|
||||||
exec --no-startup-id mailnag
|
exec --no-startup-id mailnag
|
||||||
exec --no-startup-id compton -b
|
exec --no-startup-id compton -b --experimental-backends
|
||||||
exec --no-startup-id chromium --no-startup-window
|
exec --no-startup-id chromium --no-startup-window
|
||||||
exec --no-startup-id thunderbird
|
exec --no-startup-id thunderbird
|
||||||
|
|
||||||
|
@ -2,8 +2,9 @@
|
|||||||
background = transparent
|
background = transparent
|
||||||
text = #eceff1
|
text = #eceff1
|
||||||
icon = #147a82
|
icon = #147a82
|
||||||
warning = #bd2c40
|
warning = #ffcb00
|
||||||
critical = #bd2c40
|
critical = #bd2c40
|
||||||
|
urgent = #e53935
|
||||||
|
|
||||||
[settings]
|
[settings]
|
||||||
format-foreground = ${colours.text}
|
format-foreground = ${colours.text}
|
||||||
@ -12,29 +13,35 @@ format-spacing = 0
|
|||||||
format-margin = 2.5
|
format-margin = 2.5
|
||||||
format-offset = 0
|
format-offset = 0
|
||||||
|
|
||||||
|
screenchange-reload = true
|
||||||
|
|
||||||
[bar/i3bar]
|
[bar/i3bar]
|
||||||
monitor = ${env:MONITOR:HDMI-0}
|
|
||||||
dpi = ${xrdb:Xft.dpi:96}
|
dpi = ${xrdb:Xft.dpi:96}
|
||||||
fixed-center = false
|
fixed-center = false
|
||||||
enable-ipc = true
|
enable-ipc = true
|
||||||
|
|
||||||
width = 100%
|
width = 100%
|
||||||
height = 32
|
#offset-x = 18px
|
||||||
|
height = 16pt
|
||||||
bottom = true
|
bottom = true
|
||||||
radius = 0
|
radius = 0
|
||||||
|
|
||||||
|
font-0 = sans:pixelsize=9;2
|
||||||
|
font-1 = FontAwesome5Pro:pixelsize=10;2
|
||||||
|
|
||||||
foreground = ${colours.text}
|
foreground = ${colours.text}
|
||||||
background = ${colours.background}
|
background = ${colours.background}
|
||||||
|
|
||||||
|
padding-left = 0
|
||||||
|
padding-right = 2pt
|
||||||
|
|
||||||
|
border-size = 0
|
||||||
|
border-left-size = 16pt
|
||||||
|
border-right-size = 16pt
|
||||||
|
border-bottom-size = 8pt
|
||||||
|
|
||||||
line-size = 0
|
line-size = 0
|
||||||
line-colour = #f00
|
line-colour = #f00
|
||||||
padding-left = 2
|
|
||||||
padding-right = 2
|
|
||||||
module-margin-left = 0
|
|
||||||
module-margin-right = 1
|
|
||||||
|
|
||||||
font-0 = sans:pixelsize=9;1
|
|
||||||
font-1 = FontAwesome5Pro:pixelsize=10;2
|
|
||||||
|
|
||||||
modules-left = i3
|
modules-left = i3
|
||||||
modules-center =
|
modules-center =
|
||||||
@ -43,11 +50,11 @@ modules-right = volume updates weather wlan eth memory cpu xbacklight battery te
|
|||||||
|
|
||||||
tray-position = right
|
tray-position = right
|
||||||
tray-detached = false
|
tray-detached = false
|
||||||
tray-background = ${root.background}
|
tray-background = ${colours.background}
|
||||||
tray-offset-x = -4
|
#tray-offset-x = -20
|
||||||
tray-offset-y = 0
|
#tray-offset-y = 0
|
||||||
tray-maxsize = 16
|
tray-maxsize = 16
|
||||||
tray-padding = 2
|
tray-padding = 8pt
|
||||||
tray-scale = 1.0
|
tray-scale = 1.0
|
||||||
|
|
||||||
cursor-click = pointer
|
cursor-click = pointer
|
||||||
@ -115,7 +122,7 @@ label-visible-underline = ${self.label-focused-underline}
|
|||||||
|
|
||||||
; urgent = Workspace with urgency hint set
|
; urgent = Workspace with urgency hint set
|
||||||
label-urgent = ${self.label-focused}
|
label-urgent = ${self.label-focused}
|
||||||
label-urgent-foreground = ${colours.critical}
|
label-urgent-foreground = ${colours.urgent}
|
||||||
label-urgent-padding = ${self.label-focused-padding}
|
label-urgent-padding = ${self.label-focused-padding}
|
||||||
|
|
||||||
|
|
||||||
@ -226,7 +233,7 @@ ramp-volume-5 = ""
|
|||||||
type = internal/battery
|
type = internal/battery
|
||||||
battery = BAT0
|
battery = BAT0
|
||||||
adapter = AC0
|
adapter = AC0
|
||||||
full-at = 95
|
full-at = 98
|
||||||
|
|
||||||
format-full = <label-full>
|
format-full = <label-full>
|
||||||
format-charging = <label-charging>
|
format-charging = <label-charging>
|
||||||
@ -300,12 +307,4 @@ menu-2-0-exec = sudo poweroff
|
|||||||
menu-2-1 = cancel
|
menu-2-1 = cancel
|
||||||
menu-2-1-exec = menu-open-0
|
menu-2-1-exec = menu-open-0
|
||||||
|
|
||||||
|
|
||||||
[settings]
|
|
||||||
screenchange-reload = true
|
|
||||||
;compositing-background = xor
|
|
||||||
;compositing-background = screen
|
|
||||||
;compositing-foreground = source
|
|
||||||
;compositing-border = over
|
|
||||||
|
|
||||||
; vim:ft=dosini
|
; vim:ft=dosini
|
||||||
|
6
aliases
6
aliases
@ -129,10 +129,10 @@ alias grm="git rm"
|
|||||||
alias gc="git commit"
|
alias gc="git commit"
|
||||||
alias gcm="gc -m"
|
alias gcm="gc -m"
|
||||||
gcmst() { git stash -u -k && git commit -m "$1" && git stash pop; }
|
gcmst() { git stash -u -k && git commit -m "$1" && git stash pop; }
|
||||||
alias gca="git commit --amend"
|
alias gca="git commit --amend --date=\"$(date -R)\""
|
||||||
alias gcn="git commit --no-edit"
|
alias gcn="git commit --no-edit"
|
||||||
alias gcan="git commit --amend --no-edit"
|
alias gcan="gca --no-edit"
|
||||||
alias gcam="git commit --amend -m"
|
alias gcam="gca -m"
|
||||||
alias gst="git status"
|
alias gst="git status"
|
||||||
|
|
||||||
alias gm="git merge"
|
alias gm="git merge"
|
||||||
|
Loading…
Reference in New Issue
Block a user