This commit is contained in:
2023-10-01 19:57:01 +02:00
parent f40d34aa5f
commit aad2042c6b
9 changed files with 183 additions and 27 deletions

View File

@@ -1,7 +1,7 @@
[color]
; background = #f5f5f8
; foreground = #3d3d3e
; background = #0b0c16
; foreground = #c2c2c4
gradient = 1
gradient_count = 4

View File

@@ -1 +1 @@
isLight=1
isLight=0

120
desktop/.xinitrc.emacs Executable file
View File

@@ -0,0 +1,120 @@
#!/bin/sh
# screenlayout setup for odin
$HOME/.screenlayout/main.sh
# # start some nice programs
# # if [ -d /etc/X11/xinit/xinitrc.d ] ; then
# # for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
# # # shellcheck source=/dev/null
# # [ -x "$f" ] && . "$f"
# # done
# # unset f
# # fi
# xset -b # disable bell
# # ssh agent setup
# eval `/usr/bin/ssh-agent`
# if test -f /usr/lib/openssh/x11-ssh-askpass # Archlinux
# then
# SSH_ASKPASS=/usr/lib/openssh/x11-ssh-askpass ssh-add < /dev/null
# fi
# if test -f /usr/lib/ssh/x11-ssh-askpass # Debian
# then
# SSH_ASKPASS=/usr/lib/ssh/x11-ssh-askpass ssh-add < /dev/null
# fi
# # some merges
# xsetroot -cursor_name left_ptr &
# export GTK2_RC_FILES="$HOME/.gtkrc-2.0" &
# # xrdb merge .Xresources &
# # compositor
# picom -b --vsync &
# # fix android studio interface
# export _JAVA_AWT_WM_NONREPARENTING=1 &
# # set keyboard layout
# setxkbmap pl &
# # enable local fonts in .fonts directory
# xset +fp /usr/share/fonts/local &
# xset +fp /usr/share/fonts/misc &
# xset +fp ~/.fonts &
# xset fp rehash &
# fc-cache -fv &
# # powersaving options
# xset s off &
# xset s noblank &
# xset s noexpose &
# xset c on &
# xset -dpms &
# xset s 900 &
# # auths
# /usr/lib/mate-polkit/polkit-mate-authentication-agent-1 &
# gnome-keyring-daemon &
# source /etc/X11/xinit/xinitrc.d/50-systemd-user.sh
# ## Map super key to trigger rofi when used alone
# # xcape -e 'Super_L=Super_L|Shift_L|space' &
# # wallpaper engine and theming
# # nitrogen --restore &
# # wal --backend colorz -i $HOME/.dots/nitrogen/.config/nitrogen/pexels-engin-akyurt-1435752.jpg &
# . ~/.fehbg &
# xrdb -merge ~/.cache/wal/colors.Xresources
# ## Set screen locker
# xss-lock -v -- betterlockscreen -l --time-format '%I:%M %p' &
# ## Desktop portal
# /usr/lib/xdg-desktop-portal-gtk &
# # notification daemon
# dunst &
# ## Screenshot daemon
# flameshot &
# # Easyeffects daemon
# easyeffects --gapplication-service &
# ## Telegram daemon
# # telegram-desktop -startintray &
# ## Caffeine-ng
# # caffeine >/dev/null 2>&1 &
# ## Ulauncher
# # ulauncher --hide-window --no-window-shadow >/dev/null 2>&1 &
# # Emacs Server
# emacs --daemon &
# # Theme changing service
# xsettingsd &
# # Theming service
# # dusk &
# # Alacritty config
# # $HOME/.config/alacritty/theme-patcher.sh &
# ## THINKPAD-SPECIFIC
# hash dockd && dockd --daemon &
# # status bar
# bash $HOME/.cache/wal/bar.sh & disown
# # dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY
# # . /etc/X11/Xsession
# start dwm
exec emacs

View File

@@ -12,27 +12,27 @@
--wallpaper: url("/home/mike/Wallpapers/bigsur.jpeg");
/* Special */
--background: #f5f5f8;
--foreground: #3d3d3e;
--cursor: #3d3d3e;
--background: #0b0c16;
--foreground: #c2c2c4;
--cursor: #c2c2c4;
/* Colors */
--color0: #f5f5f8;
--color0: #0b0c16;
--color1: #0c5484;
--color2: #3f3969;
--color3: #7a2761;
--color4: #1b618d;
--color5: #216b98;
--color6: #3e81ab;
--color7: #7a7a7c;
--color8: #b7b7ba;
--color7: #85858a;
--color8: #484850;
--color9: #1171B0;
--color10: #554D8D;
--color11: #A33582;
--color12: #2482BC;
--color13: #2D8FCB;
--color14: #53ACE4;
--color15: #3d3d3e;
--color15: #c2c2c4;
}
/** colors will come from .cache/wal/colors.css as variables defined in :root
* see: cat $HOME/.cache/wal/colors.css

View File

@@ -1,10 +1,10 @@
sort=-time
layer=overlay
background-color=#f5f5f8
background-color=#0b0c16
width=300
height=110
border-size=3
text-color=#3d3d3e
text-color=#c2c2c4
border-color=#2D8FCB
border-radius=10
icons=1

View File

@@ -0,0 +1,22 @@
#version 330
in vec2 texcoord;
uniform float opacity;
uniform bool invert_color;
uniform sampler2D tex;
vec4 window_shader() {
vec4 c = texelFetch(tex, ivec2(texcoord), 0);
{
// Change vec4(1.0, 1.0, 1.0, 1.0) to your desired color
vec4 vdiff = abs(vec4(0.0, 0.0, 0.0, 1.0) - c);
float diff = max(max(max(vdiff.r, vdiff.g), vdiff.b), vdiff.a);
// Change 0.8 to your desired opacity
if (diff < 0.001)
c *= 0;
}
if (invert_color)
c = vec4(vec3(c.a, c.a, c.a) - vec3(c), c.a);
c *= opacity;
vec4 default_post_processing(vec4 c);
return c;
}

View File

@@ -41,7 +41,10 @@ shadow-exclude = [
# disables shadows on sticky windows:
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'",
# disables shadows on i3 frames
"class_g ?= 'i3-frame'"
"class_g ?= 'i3-frame'",
"class_g = 'Rofi'",
"class_g = 'Bspwm'",
"class_g ?= 'ulauncher'"
];
# Specify a X geometry that describes the region in which shadow should not
@@ -129,7 +132,7 @@ focus-exclude = [ "class_g = 'Cairo-clock'" ];
# Sets the radius of rounded window corners. When > 0, the compositor will
# round the corners of windows. Does not interact well with
# `transparent-clipping`.
corner-radius = 8
corner-radius = 9
# Exclude conditions for rounded corners.
rounded-corners-exclude = [
@@ -145,7 +148,7 @@ rounded-corners-exclude = [
blur: {
method = "dual_kawase";
strength = 12;
strength = 10;
background = false;
background-frame = false;
background-fixed = false;
@@ -300,6 +303,17 @@ use-damage = true;
#
# glx-fshader-win = ""
window-shader-fg-rule = [
# "black_to_transparent.frag:class_g = 'stalonetray'",
# "black_to_transparent.frag:class_g = 'Minecraft 1.7.10'",
"black_to_transparent.frag:class_g = 'i3lock'",
# "black_to_transparent.frag:focused = true",
# "black_to_transparent.frag:focused != true",
#"sphere.glsl:focused != true"
#"nordify.glsl:class_g = 'miru'"
]
# Force all windows to be painted with blending. Useful if you
# have a glx-fshader-win that could turn opaque pixels transparent.
#

View File

@@ -1,16 +1,16 @@
[Dynamic]
text = 3d3d3e
subtext = 3d3d3e
main = f5f5f8
sidebar = f5f5f8
player = f5f5f8
card = f5f5f8
shadow = f5f5f8
text = c2c2c4
subtext = c2c2c4
main = 0b0c16
sidebar = 0b0c16
player = 0b0c16
card = 0b0c16
shadow = 0b0c16
selected-row = 53ACE4
button = 1171B0
button-active = 53ACE4
button-disabled = b7b7ba
button-disabled = 484850
tab-active = 1171B0
notification = f5f5f8
notification = 0b0c16
notification-error = 1171B0
misc = f5f5f8
misc = 0b0c16

View File

@@ -89,8 +89,8 @@ fi
bindkey ' ' magic-space # [Space] - do history expansion - !![space] pastes previous command, ![num][space] jumps to history entry
bindkey '^[[1;5C' forward-word # [Ctrl-RightArrow] - move forward one word
bindkey '^[[1;5D' backward-word # [Ctrl-LeftArrow] - move backward one word
bindkey '^[[1;3C' forward-word # [Ctrl-RightArrow] - move forward one word
bindkey '^[[1;3D' backward-word # [Ctrl-LeftArrow] - move backward one word
if [[ "${terminfo[kcbt]}" != "" ]]; then
bindkey "${terminfo[kcbt]}" reverse-menu-complete # [Shift-Tab] - move through the completion menu backwards