diff --git a/.config/aliasrc b/.config/aliasrc index 8b97177..2aa05d3 100644 --- a/.config/aliasrc +++ b/.config/aliasrc @@ -33,6 +33,9 @@ alias yd='yt-dlp' #dotfiles configuration alias alias config='git --git-dir=$HOME/.cfg/ --work-tree=$HOME' +#containers +alias gaming='distrobox enter gaming' + note() { NOTEFILE="$HOME/.cache/notes" diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index a10fffb..b320427 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -20,14 +20,17 @@ monitor=,preferred,auto,1 # Execute your favorite apps at launch # exec-once = waybar & hyprpaper & firefox - exec-once = ~/.local/scripts/gammastep-init.sh & swaybg --output=* --image=$HOME/.config/wall - exec-once = swayidle -w timeout 900 'waylock &' timeout 1200 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' before-sleep 'waylock &' - #exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway - exec-once = udiskie & waybar & kanshi +exec-once = hybrid-bar +exec-once = gammastep-init.sh +exec-once = udiskie +exec-once = kanshi # Source a file (multi-file configs) # source = ~/.config/hypr/myColors.conf +# Some default env vars. +env = XCURSOR_SIZE,24 + # For all categories, see https://wiki.hyprland.org/Configuring/Variables/ input { kb_layout = us @@ -36,13 +39,14 @@ input { kb_options = kb_rules = + accel_profile = flat + follow_mouse = 1 touchpad { natural_scroll = no } - accel_profile = flat sensitivity = 0 # -1.0 - 1.0, 0 means no modification. } @@ -52,7 +56,7 @@ general { gaps_in = 5 gaps_out = 20 border_size = 2 - col.active_border = rgba(1affffee) + col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg col.inactive_border = rgba(595959aa) layout = dwindle @@ -61,7 +65,7 @@ general { decoration { # See https://wiki.hyprland.org/Configuring/Variables/ for more - rounding = 5 + rounding = 10 blur = yes blur_size = 3 blur_passes = 1 @@ -83,6 +87,7 @@ animations { animation = windows, 1, 7, myBezier animation = windowsOut, 1, 7, default, popin 80% animation = border, 1, 10, default + animation = borderangle, 1, 8, default animation = fade, 1, 7, default animation = workspaces, 1, 6, default } @@ -105,7 +110,7 @@ gestures { # Example per-device config # See https://wiki.hyprland.org/Configuring/Keywords/#executing for more -device:epic mouse V1 { +device:epic-mouse-v1 { sensitivity = -0.5 } @@ -120,33 +125,20 @@ device:epic mouse V1 { $mainMod = ALT # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more -bind = $mainMod, T, exec, foot -bind = $mainMod, C, killactive, -bind = $mainMod SHIFT, Q, exit, -bind = $mainMod, E, exec, foot -e lf -bind = $mainMod, F, togglefloating, -bind = $mainMod, R, exec, bemenu-run -bind = $mainMod, P, pseudo, # dwindle -bind = $mainMod, V, togglesplit, # dwindle -bind = $mainMod, G, togglegroup, # dwindle -bind = $mainMod, K, changegroupactive, f # dwindle -bind = $mainMod, J, changegroupactive, b # dwindle - - -bind = ,XF86AudioLowerVolume,exec, vol.sh -d 0.02 -bind = ,XF86AudioRaiseVolume,exec, vol.sh -i 0.02 -bind = ,XF86AudioMute,exec, vol.sh --toggle-mute -bind = ,XF86MonBrightnessDown, exec, brightnessctl set 5%- -bind = ,XF86MonBrightnessUp, exec, brightnessctl set 5%+ -bind = $mainMod SHIFT, S, exec, ss.sh -s -bind = $mainMod,W,exec,laptopscr.sh -on -bind = $mainMod SHIFT,W,exec,laptopscr.sh -off +bind = $mainMod, Return, exec, foot +bind = $mainMod SHIFT, Q, killactive, +bind = $mainMod SHIFT, E, exit, +#bind = $mainMod, E, exec, dolphin +bind = $mainMod SHIFT, space, togglefloating, +bind = $mainMod, D, exec, rofi -show run +bind = $mainMod, W, pseudo, # dwindle +bind = $mainMod, E, togglesplit, # dwindle # Move focus with mainMod + arrow keys -bind = $mainMod, H, movefocus, l -bind = $mainMod, L, movefocus, r -bind = $mainMod, K, movefocus, u -bind = $mainMod, J, movefocus, d +bind = $mainMod, h, movefocus, l +bind = $mainMod, l, movefocus, r +bind = $mainMod, j, movefocus, u +bind = $mainMod, k, movefocus, d # Switch workspaces with mainMod + [0-9] bind = $mainMod, 1, workspace, 1 diff --git a/.config/lf/pv.sh b/.config/lf/pv.sh index 4c4e360..7573b8f 100755 --- a/.config/lf/pv.sh +++ b/.config/lf/pv.sh @@ -26,3 +26,5 @@ case "$fn" in *.pdf) pdftotext "$1" -;; *) bat -f "$1";; #*) highlight -O ansi "$1" || cat "$1";; esac + +exit 0 diff --git a/.config/sway/config b/.config/sway/config index 9e97d97..9ec20f2 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -18,7 +18,6 @@ set $term foot # Your preferred application launcher # Note: it's recommended that you pass the final command to sway #set $menu bemenu-run | xargs swaymsg exec -- -#set $menu tofi-run | xargs swaymsg exec -- set $menu rofi -show run | xargs swaymsg exec -- ### Output configuration diff --git a/.local/scripts b/.local/scripts index 7a6dd91..dfa5aa2 160000 --- a/.local/scripts +++ b/.local/scripts @@ -1 +1 @@ -Subproject commit 7a6dd9161c909f43b169e514bc8572dde637db18 +Subproject commit dfa5aa217cf901933dd18dfe665340cffc60c2c8 diff --git a/.profile b/.profile index ec9e103..42739e3 100644 --- a/.profile +++ b/.profile @@ -98,6 +98,6 @@ export HSA_OVERRIDE_GFX_VERSION=10.3.0 #fix pinentry-curses on nixos #export GPG_TTY="$(tty)" -if [ "$(tty)" = /dev/tty1 ]; then - exec dbus-launch sway -fi +#if [ "$(tty)" = /dev/tty1 ]; then + #exec dbus-launch sway +#fi