diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc index bc7d810..892be7c 100755 --- a/.config/bspwm/bspwmrc +++ b/.config/bspwm/bspwmrc @@ -1,4 +1,6 @@ #!/usr/bin/env bash +#xrandr --output DP-4 --primary --mode 2560x1440 --rotate normal --output HDMI-0 --rotate right --right-of DP-4 + killall bspc ################################################## @@ -12,12 +14,16 @@ killall nm-applet && nm-applet & killall volumeicon && volumeicon & #killall conky #sleep 3 && conky -c ~/.config/conky/conkyrc + ~/scripts/random_wallpaper.sh wmname LG3D export _JAVA_AWT_WM_NONREPARETING=1 bspc monitor -d 1 2 3 4 5 +#bspc monitor DP-4 -d 1 2 3 4 5 +#bspc monitor HDMI-0 -d 6 7 8 9 0 + bspc config border_width 2 bspc config window_gap 10 @@ -29,9 +35,9 @@ bspc config gapless_monocle true #bspc config pointer_follows_focus true #bspc config single_monocle true bspc config top_monocle_padding 20 -bspc config left_monocle_padding 20 -bspc config right_monocle_padding 20 -bspc config bottom_monocle_padding 20 +bspc config left_monocle_padding 20 +bspc config right_monocle_padding 20 +bspc config bottom_monocle_padding 20 #bspc config ignore_ewmh_fullscreen enter # Colors @@ -62,3 +68,4 @@ bspc rule -a \* state=tiled # TODO heres polybar polybar panel-bspwm +#polybar panel-bspwm-2 diff --git a/.config/emacs/custom-default.el b/.config/emacs/custom-default.el index 5ff834a..a09d946 100644 --- a/.config/emacs/custom-default.el +++ b/.config/emacs/custom-default.el @@ -39,8 +39,8 @@ ;; select theme (setq custom-theme-sel 'doom-one) -;; default transparency (85 . 50) or (100 . 100) -(set-frame-parameter (selected-frame) 'alpha '(85 . 50)) +;; default transparency (85 . 85) or (100 . 100) +(set-frame-parameter (selected-frame) 'alpha '(85 . 85)) ;; Org setup (setq custom-org-directory "~/org" diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 7ce620d..6c2f048 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -2,16 +2,16 @@ monitor=DP-3, 2560x1440,0x0,1 monitor=HDMI-A-1,1920x1080,2560x-480,1,transform,3 -workspace= name:work1,monitor:DP-3,1 -workspace= name:work2,monitor:HDMI-A-1,2 - # See https://wiki.hyprland.org/Configuring/Keywords/ for more # Execute your favorite apps at launch +exec-once = source ~/.xprofile exec-once = killall hypaper & hyprpaper -c ~/.config/hypr/hyprpaper/hyprpaper.conf & +exec-once = ~/scripts/random_hypaper.sh exec-once = killall waybar exec-once = waybar --config ~/.config/hypr/waybar/config-mon1 --style ~/.config/hypr/waybar/style.css & exec-once = waybar --config ~/.config/hypr/waybar/config-mon2 --style ~/.config/hypr/waybar/style.css & +exec-once = seadrive-gui & # Source a file (multi-file configs) # source = ~/.config/hypr/myColors.conf @@ -33,9 +33,25 @@ env = LIBVA_DRIVER_NAME, nvidia env = GBM_BACKEND, nvidia-drm env = GDK_BACKEND, wayland,x11 +env = __GLX_VENDOR_LIBRARY_NAME,nvidia +env = __GL_VRR_ALLOWED,1 +env = WLR_DRM_NO_ATOMIC,1 + +workspace = 1, monitor:DP-3 +workspace = 2, monitor:DP-3 +workspace = 3, monitor:DP-3 +workspace = 4, monitor:DP-3 +workspace = 5, monitor:DP-3 +workspace = 6, monitor:HDMI-A-1 +workspace = 7, monitor:HDMI-A-1 +workspace = 8, monitor:HDMI-A-1 +workspace = 9, monitor:HDMI-A-1 +workspace = 0, monitor:HDMI-A-1 + + # For all categories, see https://wiki.hyprland.org/Configuring/Variables/ input { - kb_layout = us + kb_layout = kr kb_variant = kb_model = kb_options = diff --git a/.config/hypr/hyprpaper/hyprpaper.conf b/.config/hypr/hyprpaper/hyprpaper.conf index 0db2e5c..78fef59 100644 --- a/.config/hypr/hyprpaper/hyprpaper.conf +++ b/.config/hypr/hyprpaper/hyprpaper.conf @@ -1,3 +1,5 @@ +splash = false + preload = ~/walls/normal/from_arcolinux/mystery-3840x2160.jpg preload = ~/walls/idol/portrait/karina/img2.jpeg diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini index 2f698ea..fcff1a3 100644 --- a/.config/polybar/config.ini +++ b/.config/polybar/config.ini @@ -324,6 +324,68 @@ tray-background = ${colors.background} scroll-up = bspwm-desknext scroll-down = bspwm-deskprev +#################################################################################################### +## BSPWM PANEL2 +#################################################################################################### +[bar/panel-bspwm-2] +monitor = HDMI-0 +;monitor-fallback = HDMI1 +width = 100% +height = 20 +;offset-x = 1% +;offset-y = 1% +radius = 0.0 +fixed-center = true +bottom = false +separator = + +background = ${colors.background} +foreground = ${colors.foreground} + +line-size = 2 +line-color = #f00 + +wm-restack = bspwm +override-redirect = true + +; Enable support for inter-process messaging +; See the Messaging wiki page for more details. +enable-ipc = true + +border-size = 0 +;border-left-size = 0 +;border-right-size = 25 +;border-top-size = 0 +;border-bottom-size = 25 +border-color = #00000000 + +padding-left = 1 +padding-right = 1 + +module-margin-left = 0 +module-margin-right = 0 + +font-0 = "Ubuntu:style=Bold:size=9;2" +font-1 = "UbuntuMono Nerd Font:style=Bold:size=18;3" +font-2 = "Font Awesome 6 Free:style=Regular:pixelsize=8;1" +font-3 = "Font Awesome 6 Free:style=Solid:pixelsize=8;1" +font-4 = "Font Awesome 6 Brands:pixelsize=8;1" + +modules-left = bspwm xwindow +modules-center = +modules-right = kernel cpu2 memory2 filesystem uptime date + +tray-detached = false +tray-offset-x = 0 +tray-offset-y = 0 +tray-position = right +tray-padding = 4 +tray-maxsize = 20 +tray-scale = 1.0 +tray-background = ${colors.background} + +scroll-up = bspwm-desknext +scroll-down = bspwm-deskprev #################################################################################################### ## EXWM PANEL #################################################################################################### diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index d37564a..bbe1deb 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -12,10 +12,12 @@ super+b super+f firefox # workspace -super + {1,2,3,4,5} - bspc desktop -f {1,2,3,4,5}; bspc query -N -n .local.window.hidden | xargs -I\{\} bspc node \{\} -g hidden; bspc query -N -n .local.window.fullscreen | xargs -I\{\} bspc node \{\} -t tiled; polybar-msg cmd show; -super + shift + {1-5} - bspc node -d '^{1-5}' +super + {1,2,3,4,5,6,7,8,9,0} + bspc desktop -f {1,2,3,4,5,6,7,8,9,0}; bspc query -N -n .local.window.hidden | xargs -I\{\} bspc node \{\} -g hidden; bspc query -N -n .local.window.fullscreen | xargs -I\{\} bspc node \{\} -t tiled; polybar-msg cmd show; +super + shift + {1-9} + bspc node -d '^{1-9}' +super + shift + 0 + bspc node -d 0 super+t thunar # close & kill diff --git a/scripts/random_hyprpaper.sh b/scripts/random_hyprpaper.sh index 8f79f34..a1f6951 100755 --- a/scripts/random_hyprpaper.sh +++ b/scripts/random_hyprpaper.sh @@ -11,7 +11,7 @@ randomfile=$(printf "%s\n" "${files[RANDOM % ${#files[@]}]}") echo $randomfile hyprctl hyprpaper preload $randomfile -hyprctl hyprpaper wallpaper "DP-3,$randomfile" +hyprctl hyprpaper wallpaper "DP-3,contain:$randomfile" files=() while IFS= read -r -d $'\0'; do @@ -20,5 +20,6 @@ done < <(find $wal_dir2 -type f -name "*" -print0) randomfile=$(printf "%s\n" "${files[RANDOM % ${#files[@]}]}") echo $randomfile hyprctl hyprpaper preload $randomfile -hyprctl hyprpaper wallpaper "HDMI-A-1,$randomfile" +hyprctl hyprpaper wallpaper "HDMI-A-1,contain:$randomfile" +hyprctl hyprpaper unload all diff --git a/scripts/random_wallpaper.sh b/scripts/random_wallpaper.sh index 231e657..f5e71e7 100755 --- a/scripts/random_wallpaper.sh +++ b/scripts/random_wallpaper.sh @@ -10,5 +10,11 @@ while IFS= read -r -d $'\0'; do done < <(find $wal_dir -type f -name "*" -print0) randomfile=$(printf "%s\n" "${files[RANDOM % ${#files[@]}]}") echo $randomfile -wal -i $randomfile --saturate 1.0 -#feh --bg-fill $randomfile + +files=() +while IFS= read -r -d $'\0'; do + files+=("$REPLY") +done < <(find $wal_dir -type f -name "*" -print0) +randomfile2=$(printf "%s\n" "${files[RANDOM % ${#files[@]}]}") +echo $randomfile2 +feh --bg-max "$randomfile" --bg-max "$randomfile2"