Browse Source

Fixed dunst issue caused by env variable not being set by ly

main
Yiğit Çolakoğlu 4 years ago
parent
commit
758af64711
7 changed files with 18 additions and 5 deletions
  1. +2
    -0
      config/X11/xinitrc
  2. +2
    -1
      config/surf/cookies.txt
  3. +8
    -0
      config/surf/history.txt
  4. +1
    -1
      local/bin/dmenu-arch
  5. +1
    -1
      local/bin/dmenu-edit
  6. +2
    -0
      profile
  7. +2
    -2
      suckless/dwm/rules.h

+ 2
- 0
config/X11/xinitrc View File

@ -14,6 +14,8 @@ source ~/.config.env
gpgconf --dry-run --create-socketdir
eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
systemctl --user import-environment DISPLAY
dbus-update-activation-environment --systemd DISPLAY
export SSH_AUTH_SOCK
clipmenud > /tmp/clipmenud.out 2> /tmp/clipmenud.err &


+ 2
- 1
config/surf/cookies.txt View File

@ -1,2 +1,3 @@
#HttpOnly_.google.com TRUE / TRUE 1632862083 NID 212=KHX5zOKOsFZez_kS5jEAqSrltn3wEizkXDRGl9HflSUc9YR8xEGzQKxq6TBiqOvAzAo1MlT6kaEQqUKRfWfCERMc5okEiwhIya8Dti0_uiP99MDnEhXyKfyARUs2H9PK2R4ozvIwhPmUNEtkJX5OQoQzClfBETSRosTP8ThQP78 None
.google.com TRUE / TRUE 1619642973 1P_JAR 2021-03-29-20 None
.google.com TRUE / TRUE 1619643092 1P_JAR 2021-03-29-20 None
.unsplash.com TRUE / TRUE 1648587996 ugid 7eaf846a16a77665ebcd81475279fff45390171 None

+ 8
- 0
config/surf/history.txt View File

@ -3,3 +3,11 @@
2021-03-29 23:47:58 https://www.google.com/?gws_rd=ssl Google
2021-03-29 23:48:04 https://www.google.com/ Google
2021-03-29 23:49:28 https://www.google.com/ Google
2021-03-29 23:51:32 https://www.google.com/ Google
2021-03-29 23:58:15 file:///usr/share/doc/arch-wiki/html/en/2bwm.html 2bwm - ArchWiki
2021-03-29 23:58:27 http://localhost:9999/ http://localhost:9999/
2021-03-29 23:58:54 file:///usr/share/doc/arch-wiki/html/en/2bwm.html 2bwm - ArchWiki
2021-03-29 23:59:49 file:///usr/share/doc/arch-wiki/html/en/32-bit_package_guidelines.html 32-bit package guidelines - ArchWiki
2021-03-29 23:59:50 file:///usr/share/doc/arch-wiki/html/en/32-bit_package_guidelines.html 32-bit package guidelines - ArchWiki
2021-03-30 00:00:20 file:///usr/share/doc/arch-wiki/html/en/32-bit_package_guidelines.html 32-bit package guidelines - ArchWiki
2021-03-30 00:06:35 http://localhost:9999/ http://localhost:9999/

+ 1
- 1
local/bin/dmenu-arch View File

@ -1,7 +1,7 @@
#!/bin/sh
LANGUAGE=en
BROWSER=brave-nightly
BROWSER=surf
entries=$(find "/usr/share/doc/arch-wiki/html/$LANGUAGE" -type f | sed -n "s|/usr/share/doc/arch-wiki/html/$LANGUAGE/||p" | sed -n "s/\.html$//p")


+ 1
- 1
local/bin/dmenu-edit View File

@ -2,7 +2,7 @@
DMENU='dmenu -z 1900 -x 10 -y 10 -i'
blacklist="powerlevel10k|secret|gitignore|log|plugins|patch"
whitelist="config.h|keybind.h|colors.h|color.h"
whitelist="config.h|keybind.h|colors.h|color.h|rules.h"
declare -A mappings
items=$(find "$HOME/.dotfiles/config" -type f | grep -Ev $blacklist | sed -n "s|$HOME/.dotfiles/config/|config/|p")


+ 2
- 0
profile View File

@ -26,6 +26,8 @@ export XDG_CONFIG_HOME="$HOME"/.config
export XDG_CACHE_HOME="$HOME"/.cache
export XDG_DATA_DIRS="/usr/local/share:/usr/share"
export XDG_CONFIG_DIRS="/etc/xdg"
export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"
export XDG_RUNTIME_DIR="/run/user/1000"
# LF Icons
LF_ICONS=$(sed ~/.config/lf/diricons \


+ 2
- 2
suckless/dwm/rules.h View File

@ -9,7 +9,6 @@ static const Rule rules[] = {
RULE(.class = "firefoxdeveloperedition", .tags = 1 << 1)
RULE(.class = "Brave-browser", .tags = 1 << 1)
RULE(.class = "tabbed-surf", .tags = 1 << 1)
RULE(.class = "tabbed", .tags = 1 << 1)
RULE(.class = "bitwarden", .tags = 1 << 6)
RULE(.class = "Bitwarden", .tags = 1 << 6)
RULE(.class = "Mailspring", .tags = 1 << 7)
@ -35,9 +34,10 @@ static const Rule rules[] = {
RULE(.instance = "sxiv", 0, .isfloating = 1, .floatpos="100% 1% 600W 350H")
RULE(.class = "neomutt-send", 0, .isfloating = 1, .floatpos="50% 50% 1000W 700H")
RULE(.class = "Zathura", 0, .isfloating = 1, .floatpos="100% 50% 700W 1000H")
RULE(.class = "Surf", 0, .isfloating = 1, .floatpos="100% 100% 800W 1200H")
RULE(.class = "weather", 0, .isfloating = 1, .floatpos="50% 50% 1200W 800H")
RULE(.class = "center", 0, .isfloating = 1, .floatpos="50% 50% 1000W 600H")
RULE(.class = "htop", 0, .isfloating = 1, .floatpos="50% 50% 1200W 600H")
RULE(.title = "SimCrop", 0, .isfloating = 1, .floatpos="50% 50% 800W 500H")
RULE(.title = "SimCrop", 0, .isfloating = 1, .floatpos="50% 50% 800W 500H")
};

Loading…
Cancel
Save