laptop
Elias Almqvist 1 year ago
commit a7b657249a
No known key found for this signature in database
GPG Key ID: E31A99CE3E75A158
  1. 3
      .gitignore
  2. BIN
      .wallpaper.png
  3. 22
      alacritty/.config/alacritty/alacritty.yml
  4. 4
      eww/.config/eww/eww.scss
  5. 2
      leftwm/.config/leftwm/config.ron
  6. 2
      nvim/.config/nvim/plugin/after/presence.lua
  7. 90
      picom/.config/picom/picom.conf
  8. 4
      zsh/.zshrc

3
.gitignore vendored

@ -7,3 +7,6 @@ xmonad/.xmonad/*.errors
xmonad/.xmonad/*.o xmonad/.xmonad/*.o
xmonad/.xmonad/xmonad-x86_64-linux xmonad/.xmonad/xmonad-x86_64-linux
xmonad/.xmonad/build-x86_64-linux/ xmonad/.xmonad/build-x86_64-linux/
# ZSH plugins
oh-my-zsh/.oh-my-zsh/custom/plugins/

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 MiB

After

Width:  |  Height:  |  Size: 20 MiB

@ -2,7 +2,7 @@
env: env:
TERM: xterm-256color TERM: xterm-256color
background_opacity: 1.0 background_opacity: 0.94
window: window:
padding: padding:
@ -26,27 +26,27 @@ scrolling:
font: font:
# Normal (roman) font face # Normal (roman) font face
normal: normal:
family: Fira Code family: Droid Sans Mono
# The `style` can be specified to pick a specific face. # The `style` can be specified to pick a specific face.
style: Normal style: Normal
# Bold font face # Bold font face
bold: bold:
family: Fira Code family: Droid Sans Mono
# The `style` can be specified to pick a specific face. # The `style` can be specified to pick a specific face.
style: Bold style: Bold
# Italic font face # Italic font face
italic: italic:
family: Fira Code family: Droid Sans Mono
style: Italic style: Italic
# Bold italic font face # Bold italic font face
bold_italic: bold_italic:
family: Fira Code family: Droid Sans Mono
# The `style` can be specified to pick a specific face. # The `style` can be specified to pick a specific face.
style: Bold Italic style: Bold Italic
@ -54,20 +54,14 @@ font:
# Point size # Point size
size: 7 size: 7
# Offset is the extra space around each character. `offset.y` can be thought of
# as modifying the line spacing, and `offset.x` as modifying the letter spacing.
offset:
x: 0
y: 1
# If `true`, bold text is drawn using the bright color variants. # If `true`, bold text is drawn using the bright color variants.
draw_bold_text_with_bright_colors: true draw_bold_text_with_bright_colors: true
colors: colors:
# Default colors # Default colors
primary: primary:
background: "0x1d1f21" background: "0x181818"
foreground: "0xc5c8c6" foreground: "0xffffff"
# Colors the cursor will use if `custom_cursor_colors` is true # Colors the cursor will use if `custom_cursor_colors` is true
cursor: cursor:
@ -109,7 +103,7 @@ cursor:
# - ▇ Block # - ▇ Block
# - _ Underline # - _ Underline
# - | Beam # - | Beam
style: Beam style: Block
key_bindings: key_bindings:
# (Windows, Linux, and BSD only) # (Windows, Linux, and BSD only)

@ -17,7 +17,7 @@ $white: #c5c8c6;
$bg-color: #1d1f21; $bg-color: #1d1f21;
$bg-alt-color: #131519; $bg-alt-color: #131519;
$fg-color: #c5c8c6; $fg-color: #c5c8c6;
$fg-alt-color: #5f5f5f; $fg-alt-color: #afafaf;
$fg-sel-color: $cyan; $fg-sel-color: $cyan;
$fg-desel-color: $fg-alt-color; $fg-desel-color: $fg-alt-color;
$border-color: #434549; $border-color: #434549;
@ -40,7 +40,7 @@ tooltip {
.bar-1, .bar-1,
.bar-2 { .bar-2 {
background-color: rgba(29, 31, 33, 0.65); background-color: rgba(0, 0, 0, 0.5);
} }
.main-cont { .main-cont {

@ -72,7 +72,7 @@
(command: Execute, value: "rofi -show drun", modifier: ["modkey"], key: "d"), (command: Execute, value: "rofi -show drun", modifier: ["modkey"], key: "d"),
(command: Execute, value: "rofi -show ssh", modifier: ["modkey"], key: "s"), (command: Execute, value: "rofi -show ssh", modifier: ["modkey"], key: "s"),
(command: Execute, value: "alacritty", modifier: ["modkey"], key: "Return"), (command: Execute, value: "alacritty", modifier: ["modkey"], key: "Return"),
(command: Execute, value: "firefox", modifier: ["modkey"], key: "b"), // (command: Execute, value: "xdg-open https://google.com", modifier: ["modkey"], key: "b"), //
(command: Execute, value: "playerctl play-pause", modifier: ["modkey"], key: "u"), (command: Execute, value: "playerctl play-pause", modifier: ["modkey"], key: "u"),
(command: CloseWindow, value: "", modifier: ["modkey", "Shift"], key: "q"), (command: CloseWindow, value: "", modifier: ["modkey", "Shift"], key: "q"),
(command: SoftReload, value: "", modifier: ["modkey", "Shift"], key: "x"), (command: SoftReload, value: "", modifier: ["modkey", "Shift"], key: "x"),

@ -2,7 +2,7 @@ require("presence").setup({
-- General options -- General options
auto_update = true, -- Update activity based on autocmd events (if `false`, map or manually execute `:lua package.loaded.presence:update()`) auto_update = true, -- Update activity based on autocmd events (if `false`, map or manually execute `:lua package.loaded.presence:update()`)
neovim_image_text = "Neovim", -- Text displayed when hovered over the Neovim image neovim_image_text = "Neovim", -- Text displayed when hovered over the Neovim image
main_image = "file", -- Main image display (either "neovim" or "file") main_image = "neovim", -- Main image display (either "neovim" or "file")
client_id = "793271441293967371", -- Use your own Discord application client id (not recommended) client_id = "793271441293967371", -- Use your own Discord application client id (not recommended)
log_level = nil, -- Log messages at or above this level (one of the following: "debug", "info", "warn", "error") log_level = nil, -- Log messages at or above this level (one of the following: "debug", "info", "warn", "error")
debounce_timeout = 10, -- Number of seconds to debounce events (or calls to `:lua package.loaded.presence:update(<filename>, true)`) debounce_timeout = 10, -- Number of seconds to debounce events (or calls to `:lua package.loaded.presence:update(<filename>, true)`)

@ -9,12 +9,12 @@
fading = true; fading = true;
# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028) # Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028)
# fade-in-step = 0.028 fade-in-step = 0.06
fade-in-step = 0.04; # fade-in-step = 0.04;
# Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03) # Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03)
# fade-out-step = 0.03 # fade-out-step = 0.03
fade-out-step = 0.04; fade-out-step = 0.06;
# The time between steps in fade step, in milliseconds. (> 0, defaults to 10) # The time between steps in fade step, in milliseconds. (> 0, defaults to 10)
# fade-delta = 10 # fade-delta = 10
@ -36,21 +36,21 @@ fade-out-step = 0.04;
# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0) # Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
# inactive-opacity = 1 # inactive-opacity = 1
inactive-opacity = 1.0; # inactive-opacity = 1.0;
#
# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default) # # Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
# frame-opacity = 1.0 # # frame-opacity = 1.0
frame-opacity = 1.0; # frame-opacity = 1.0;
#
# Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows. # # Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows.
# inactive-opacity-override = true # # inactive-opacity-override = true
inactive-opacity-override = false; # inactive-opacity-override = false;
#
# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0) # # Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
active-opacity = 1.0 # active-opacity = 1.0
#
# Dim inactive windows. (0.0 - 1.0, defaults to 0.0) # # Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
inactive-dim = 1.0 # inactive-dim = 1.0
# Specify a list of conditions of windows that should always be considered focused. # Specify a list of conditions of windows that should always be considered focused.
# focus-exclude = [] # focus-exclude = []
@ -64,7 +64,7 @@ focus-exclude = [ "class_g = 'Cairo-clock'" ];
# Note we don't make any guarantee about possible conflicts with other # Note we don't make any guarantee about possible conflicts with other
# programs that set '_NET_WM_WINDOW_OPACITY' on frame or client windows. # programs that set '_NET_WM_WINDOW_OPACITY' on frame or client windows.
# example: # example:
# opacity-rule = [ "80:class_g = 'URxvt'" ]; # opacity-rule = [ "80:class_g = 'Alacritty'" ];
# #
# opacity-rule = [ # opacity-rule = [
# "100:class_g ='Alacritty'", # "100:class_g ='Alacritty'",
@ -78,8 +78,8 @@ focus-exclude = [ "class_g = 'Cairo-clock'" ];
# Parameters for background blurring, see the *BLUR* section for more information. # Parameters for background blurring, see the *BLUR* section for more information.
blur-method = "dual_kawase"; blur-method = "dual_kawase";
blur-strength = 400; blur-strength = 800;
blur-size = 2; blur-size = 16;
# Blur background of semi-transparent / ARGB windows. # Blur background of semi-transparent / ARGB windows.
# Bad in performance, with driver-dependent behavior. # Bad in performance, with driver-dependent behavior.
@ -114,7 +114,6 @@ blur-background-exclude = [
"window_type = 'desktop'", "window_type = 'desktop'",
#"window_type = 'alacritty'", #"window_type = 'alacritty'",
"window_type = 'firefox'", "window_type = 'firefox'",
"class_g = 'Polybar'",
"_GTK_FRAME_EXTENTS@:c" "_GTK_FRAME_EXTENTS@:c"
]; ];
@ -132,8 +131,8 @@ blur-background-exclude = [
backend = "glx"; backend = "glx";
# Enable/disable VSync. # Enable/disable VSync.
# vsync = false vsync = false
vsync = true; # vsync = true;
# Enable remote control via D-Bus. See the *D-BUS API* section below for more details. # Enable remote control via D-Bus. See the *D-BUS API* section below for more details.
# dbus = false # dbus = false
@ -142,11 +141,11 @@ vsync = true;
# child that has 'WM_STATE') and mark them as active. # child that has 'WM_STATE') and mark them as active.
# #
# mark-wmwin-focused = false # mark-wmwin-focused = false
mark-wmwin-focused = true; # mark-wmwin-focused = true;
#
# Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused. # # Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused.
# mark-ovredir-focused = false # # mark-ovredir-focused = false
mark-ovredir-focused = true; # mark-ovredir-focused = true;
# Try to detect windows with rounded corners and don't consider them # Try to detect windows with rounded corners and don't consider them
# shaped windows. The accuracy is not very high, unfortunately. # shaped windows. The accuracy is not very high, unfortunately.
@ -158,13 +157,31 @@ detect-rounded-corners = true;
# not passing '_NET_WM_OPACITY' of client windows to frame windows. # not passing '_NET_WM_OPACITY' of client windows to frame windows.
# #
# detect-client-opacity = false # detect-client-opacity = false
detect-client-opacity = true; # detect-client-opacity = true;
# opacity-rule = [ "100:_NET_WM_STATE@[0]:32a = '_NET_WM_STATE_FULLSCREEN'",
# "100:_NET_WM_STATE@[1]:32a = '_NET_WM_STATE_FULLSCREEN'",
# "100:_NET_WM_STATE@[2]:32a = '_NET_WM_STATE_FULLSCREEN'",
# "100:_NET_WM_STATE@[3]:32a = '_NET_WM_STATE_FULLSCREEN'",
# "100:_NET_WM_STATE@[4]:32a = '_NET_WM_STATE_FULLSCREEN'" ];
# opacity-rule = [ "100:fullscreen", "95:!fullscreen" ];
opacity-rule = [
"100:class_g = 'Alacritty' && focused",
"90:class_g = 'Alacritty' && !focused"
];
opacity-exclude = [
"class_g = 'eww-bar-1'"
];
# unredir-if-possible = true
# Specify refresh rate of the screen. If not specified or 0, picom will # Specify refresh rate of the screen. If not specified or 0, picom will
# try detecting this with X RandR extension. # try detecting this with X RandR extension.
# #
# refresh-rate = 60 # refresh-rate = 60
refresh-rate = 0; refresh-rate = 60;
# Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window, # Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window,
# rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy, # rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy,
@ -328,16 +345,16 @@ log-level = "warn";
################################# #################################
# Corners # # Corners #
################################# #################################
corner-radius = 0.0; corner-radius = 6.0;
rounded-corners-exclude = [ rounded-corners-exclude = [
#"window_type = 'normal'", #"window_type = 'normal'",
# "class_g = 'awesome'", # "class_g = 'awesome'",
# "class_g = 'URxvt'", # "class_g = 'Alacritty'",
# "class_g = 'XTerm'", # "class_g = 'XTerm'",
# "class_g = 'kitty'", # "class_g = 'kitty'",
# "class_g = 'Alacritty'", "class_g = 'Alacritty'",
"class_g = 'eww-bar-1'", "class_g = 'eww-bar-1'",
"class_g = 'eww-bar-2'", "class_g = 'eww-bar-2'"
# "class_g = 'discord'", # "class_g = 'discord'",
# "class_g = 'Polybar'", # "class_g = 'Polybar'",
# "class_g = 'code-oss'", # "class_g = 'code-oss'",
@ -346,9 +363,6 @@ rounded-corners-exclude = [
# "class_g = 'Thunderbird'" # "class_g = 'Thunderbird'"
]; ];
round-borders = 0; round-borders = 0;
round-borders-exclude = [
#"class_g = 'TelegramDesktop'",
];
wintypes: wintypes:

@ -8,7 +8,7 @@ export ZSH="/home/elal/.oh-my-zsh"
# load a random theme each time oh-my-zsh is loaded, in which case, # load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME # to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes # See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
ZSH_THEME="almtech2" ZSH_THEME="edvardm"
# Good themes: # Good themes:
# afowler # afowler
# bira # bira
@ -75,7 +75,7 @@ ZSH_THEME="almtech2"
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse) # Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup. # Add wisely, as too many plugins slow down shell startup.
plugins=(git) plugins=(git zsh-autosuggestions zsh-syntax-highlighting fast-syntax-highlighting)
source $ZSH/oh-my-zsh.sh source $ZSH/oh-my-zsh.sh

Loading…
Cancel
Save