Update Dotfiles

This commit is contained in:
The-Repo-Club 2023-04-24 14:15:27 +01:00
parent f9bcde63b1
commit a0bd798d73
No known key found for this signature in database
GPG Key ID: E30EC2FBFB05C44F
11 changed files with 262 additions and 75 deletions

View File

@ -1,19 +0,0 @@
output DP-1-0
off
output eDP-1
crtc 0
mode 1920x1080
pos 0x0
primary
rate 120.21
x-prop-broadcast_rgb Automatic
x-prop-colorspace Default
x-prop-max_bpc 12
x-prop-non_desktop 0
x-prop-scaling_mode Full aspect
output HDMI-1-0
crtc 3
mode 1920x1080
pos 1920x0
rate 60.00
x-prop-non_desktop 0

View File

@ -1,2 +0,0 @@
HDMI-1-0 00ffffffffffff004c2d520f334c5843101f0103804627782aaea5af4f42af260f5054bfef80714f810081c081809500a9c0b300010108e80030f2705a80b0588a00b9882100001e000000fd00184b1e873c000a202020202020000000fc005533324a3539780a2020202020000000ff0048344c523430303937360a2020012a020334f04d611203130420221f105f605d5e23090707830100006d030c002000b83c20006001020367d85dc401788003e30f0104023a801871382d40582c4500b9882100001e023a80d072382d40102c4580b9882100001e04740030f2705a80b0588a00b9882100001e565e00a0a0a0295030203500b9882100001a00000090
eDP-1 00ffffffffffff0006afedd100000000221d0104a52213780348358f575992291e505400000001010101010101010101010101010101546f809c70383e406c30aa0058c1100000180000000f0000000000000000000000000020000000fd003c788a8a1d010a202020202020000000fe004231353648414e31332e31200a00a9

View File

@ -11,7 +11,7 @@ if [ "$WM" == "i3" ]; then
if ! test -f "$HOME/.config/polybar/launch.sh"; then
echo "$HOME/.config/polybar/launch.sh could not be found"
else
sh $HOME/.config/polybar/launch.sh
exec "$HOME/.config/polybar/launch.sh"
fi
else
echo "polybar already Running"

View File

@ -1,19 +0,0 @@
output DP-1-0
off
output eDP-1
crtc 0
mode 1920x1080
pos 0x0
primary
rate 120.21
x-prop-broadcast_rgb Automatic
x-prop-colorspace Default
x-prop-max_bpc 12
x-prop-non_desktop 0
x-prop-scaling_mode Full aspect
output HDMI-1-0
crtc 3
mode 1920x1080
pos 1920x0
rate 60.00
x-prop-non_desktop 0

View File

@ -1,2 +0,0 @@
HDMI-1-0 00ffffffffffff004c2d520f334c5843101f0103804627782aaea5af4f42af260f5054bfef80714f810081c081809500a9c0b300010108e80030f2705a80b0588a00b9882100001e000000fd00184b1e873c000a202020202020000000fc005533324a3539780a2020202020000000ff0048344c523430303937360a2020012a020334f04d611203130420221f105f605d5e23090707830100006d030c002000b83c20006001020367d85dc401788003e30f0104023a801871382d40582c4500b9882100001e023a80d072382d40102c4580b9882100001e04740030f2705a80b0588a00b9882100001e565e00a0a0a0295030203500b9882100001a00000090
eDP-1 00ffffffffffff0006afedd100000000221d0104a52213780348358f575992291e505400000001010101010101010101010101010101546f809c70383e406c30aa0058c1100000180000000f0000000000000000000000000020000000fd003c788a8a1d010a202020202020000000fe004231353648414e31332e31200a00a9

View File

@ -1,19 +0,0 @@
output DP-1-0
off
output eDP-1
crtc 0
mode 1920x1080
pos 0x0
primary
rate 120.21
x-prop-broadcast_rgb Automatic
x-prop-colorspace Default
x-prop-max_bpc 12
x-prop-non_desktop 0
x-prop-scaling_mode Full aspect
output HDMI-1-0
crtc 3
mode 1920x1080
pos 1920x0
rate 60.00
x-prop-non_desktop 0

View File

@ -1,2 +0,0 @@
HDMI-1-0 00ffffffffffff004c2d520f334c5843101f0103804627782aaea5af4f42af260f5054bfef80714f810081c081809500a9c0b300010108e80030f2705a80b0588a00b9882100001e000000fd00184b1e873c000a202020202020000000fc005533324a3539780a2020202020000000ff0048344c523430303937360a2020012a020334f04d611203130420221f105f605d5e23090707830100006d030c002000b83c20006001020367d85dc401788003e30f0104023a801871382d40582c4500b9882100001e023a80d072382d40102c4580b9882100001e04740030f2705a80b0588a00b9882100001e565e00a0a0a0295030203500b9882100001a00000090
eDP-1 00ffffffffffff0006afedd100000000221d0104a52213780348358f575992291e505400000001010101010101010101010101010101546f809c70383e406c30aa0058c1100000180000000f0000000000000000000000000020000000fd003c788a8a1d010a202020202020000000fe004231353648414e31332e31200a00a9

View File

@ -12,7 +12,7 @@
#Created:
# Sun 23 April 2023, 09:31:18 PM [GMT+1]
#Modified:
# Sun 23 April 2023, 10:06:38 PM [GMT+1]
# Mon 24 April 2023, 01:56:34 PM [GMT+1]
#
#Description:
# Config for DK Window Manager
@ -21,14 +21,9 @@
# dk, bash
#
if ! command -v picom &>/dev/null; then
echo "picom could not be found"
else
if ! pgrep -x "picom" >/dev/null; then
picom -CGb --config "$HOME"/.config/picom/picom.conf &
else
echo "picom already Running"
fi
# Autostart stuff if its not already started
if [[ -f "$HOME/.config/dk/scripts/autostart" ]]; then
exec "$HOME/.config/dk/scripts/autostart"
fi
# example dkrc to show some basic command usage and error reporting

255
dk/.config/dk/scripts/autostart Executable file
View File

@ -0,0 +1,255 @@
#!/usr/bin/env bash
#-*-coding:utf-8 -*-
#Auto updated?
# Yes
#File:
# autostart
#Author:
# The-Repo-Club [wayne6324@gmail.com]
#Github:
# https://github.com/The-Repo-Club/
#
#Created:
# Mon 24 April 2023, 01:52:19 PM [GMT+1]
#Modified:
# Mon 24 April 2023, 02:07:39 PM [GMT+1]
#
#Description:
# Autostart for DK Window Manager
#
#Dependencies:
# DK, Bash
#
##################
## Polkit Gnome ##
##################
if command -v /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &>/dev/null; then
if ! pgrep -f "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1" >/dev/null; then
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
else
echo "polkit-gnome already Running"
fi
fi
###############
## Auto Lock ##
###############
if command -v xautolock &>/dev/null; then
# shellcheck disable=SC2155
if ! pgrep -x "xautolock" >/dev/null; then
(
sleep 2s
xautolock \
-time 15 -locker "multimonitorlock -l -- --time-str=%I:%M:%S %p" \
-detectsleep
) &
else
echo "xautolock already Running"
fi
fi
if command -v xss-lock &>/dev/null; then
# shellcheck disable=SC2155
if ! pgrep -x "xss-lock" >/dev/null; then
(
sleep 2s
xss-lock -- multimonitorlock -l -- --time-str="%I:%M:%S %p"
) &
else
echo "xautolock already Running"
fi
fi
################
## Picom Comp ##
################
if ! command -v picom &>/dev/null; then
echo "picom could not be found"
else
if ! pgrep -x "picom" >/dev/null; then
picom -CGb --config "$HOME"/.config/picom/picom.conf &
else
echo "picom already Running"
fi
fi
#############
## Polybar ##
#############
if ! command -v polybar &>/dev/null; then
echo "polybar could not be found"
else
if ! pgrep -x "polybar" >/dev/null; then
if ! test -f "$HOME/.config/polybar/launch.sh"; then
echo "$HOME/.config/polybar/launch.sh could not be found"
else
exec "$HOME/.config/polybar/launch.sh"
fi
else
echo "polybar already Running"
fi
fi
##############
## ClipMenu ##
##############
if command -v clipmenu-daemon &>/dev/null; then
if ! pgrep -f "clipmenu-daemon" >/dev/null; then
(
sleep 2s
clipmenu-daemon
) &
else
echo "clipmenu-daemon already Running"
fi
fi
################
## xRoot Menu ##
################
if command -v xroot &>/dev/null; then
if ! pgrep -f "xroot" >/dev/null; then
if command -v xmenu_desktop &>/dev/null; then
if ! pgrep -f "xmenu_desktop" >/dev/null; then
(
sleep 2s
xroot -r xmenu_desktop
) &
else
echo "xroot already Running"
fi
fi
else
echo "xroot already Running"
fi
fi
####################
## Fix Background ##
####################
if ! command -v feh &>/dev/null; then
echo "feh could not be found"
else
if ! test -f "$HOME/.fehbg"; then
echo "$HOME/.fehbg could not be found"
else
sh "$HOME/.fehbg"
(
sleep 2s
sh "$HOME/.fehbg"
) &
fi
fi
################
## Tray Icons ##
################
if ! command -v ckb-next &>/dev/null; then
echo "ckb-next could not be found"
else
if ! pgrep -x "ckb-next" >/dev/null; then
(
sleep 2s
ckb-next --background
) &
else
echo "ckb-next already Running"
fi
fi
if command -v nm-applet &>/dev/null; then
if ! pgrep -x "nm-applet" >/dev/null; then
(
sleep 2s
nm-applet
) &
else
echo "nm-applet already Running"
fi
fi
if command -v blueman-applet &>/dev/null; then
if ! pgrep -x "blueman-applet" >/dev/null; then
(
sleep 2s
blueman-applet
) &
else
echo "blueman-applet already Running"
fi
fi
if command -v touchpad-indicator &>/dev/null; then
if ! pgrep -f "touchpad-indicator" >/dev/null; then
(
sleep 2s
touchpad-indicator
) &
else
echo "touchpad-indicator already Running"
fi
fi
if command -v cbatticon &>/dev/null; then
if ! pgrep -x "cbatticon" >/dev/null; then
(
sleep 2s
cbatticon
) &
else
echo "cbatticon already Running"
fi
fi
if command -v volumeicon &>/dev/null; then
if ! pgrep -x "volumeicon" >/dev/null; then
(
sleep 5s
volumeicon
) &
else
echo "volumeicon already Running"
fi
fi
if command -v gufwicon &>/dev/null; then
if ! pgrep -x "gufwicon" >/dev/null; then
(
sleep 5s
gufwicon
) &
else
echo "gufwicon already Running"
fi
fi
if command -v numlockx &>/dev/null; then
numlockx on &
fi
################
## Other Junk ##
################
systemctl --user import-environment DISPLAY XAUTHORITY
if command -v dbus-update-activation-environment >/dev/null 2>&1; then
dbus-update-activation-environment DISPLAY XAUTHORITY
fi
# see https://wiki.archlinux.org/title/GNOME/Keyring#xinitrc
eval "$(/usr/bin/gnome-keyring-daemon --start)"
export SSH_AUTH_SOCK
# see https://github.com/NixOS/nixpkgs/issues/14966#issuecomment-520083836
mkdir -p "$HOME"/.local/share/keyrings

View File

@ -194,7 +194,7 @@ locale =
; center
; right
; none
tray-position = right
tray-position = none
; If true, the bar will not shift its
; contents when the tray changes

View File

@ -1 +1 @@
{"first-time": false, "version": "2.2.2-0extras19.04.1", "is_working": false, "autostart": true, "on_mouse_plugged": true, "on_start": -1, "on_end": 1, "disable_on_typing": true, "interval": 800.0, "start_hidden": false, "show_notifications": true, "theme": "light", "touchpad_enabled": true, "natural_scrolling": true, "speed": 0.0, "tapping": true, "two_finger_scrolling": true, "edge_scrolling": false, "cicular_scrolling": true, "right-top-corner": 0, "right-bottom-corner": 0, "left-top-corner": 0, "left-bottom-corner": 0, "one-finger-tap": 0, "two-finger-tap": 0, "three-finger-tap": 0, "faulty-devices": ["11/2/6/0", "11/2/5/7326", "18/4f3/3140/100", "11/2/1/0", "11/2/a/0", "3/1b1c/1b4f/324", "3/30fa/301/111", "3/46d/c08b/111"]}
{"first-time": false, "version": "2.2.2-0extras19.04.1", "is_working": false, "autostart": true, "on_mouse_plugged": true, "on_start": -1, "on_end": 1, "disable_on_typing": true, "interval": 800.0, "start_hidden": false, "show_notifications": true, "theme": "light", "touchpad_enabled": false, "natural_scrolling": true, "speed": 0.0, "tapping": true, "two_finger_scrolling": true, "edge_scrolling": false, "cicular_scrolling": true, "right-top-corner": 0, "right-bottom-corner": 0, "left-top-corner": 0, "left-bottom-corner": 0, "one-finger-tap": 0, "two-finger-tap": 0, "three-finger-tap": 0, "faulty-devices": ["11/2/6/0", "11/2/5/7326", "18/4f3/3140/100", "11/2/1/0", "11/2/a/0", "3/1b1c/1b4f/324", "3/30fa/301/111", "3/46d/c08b/111"]}