diff --git a/.github/workflows/opencommit.yml b/.github/workflows/opencommit.yml deleted file mode 100644 index c5512b4..0000000 --- a/.github/workflows/opencommit.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: 'OpenCommit Action' - -on: - push: - branches-ignore: [main master dev development release] - -jobs: - opencommit: - timeout-minutes: 5 - name: OpenCommit - runs-on: ubuntu-latest - permissions: write-all - steps: - - name: Setup Node.js Environment - uses: actions/setup-node@v2 - with: - node-version: '16' - - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - uses: di-sukharev/opencommit@github-action-v1.0.4 - with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - env: - OCO_API_KEY: ${{ secrets.OCO_API_KEY }} - - # customization - OCO_TOKENS_MAX_INPUT: 4096 - OCO_TOKENS_MAX_OUTPUT: 500 - OCO_OPENAI_BASE_PATH: '' - OCO_DESCRIPTION: false - OCO_EMOJI: false - OCO_MODEL: gpt-4o - OCO_LANGUAGE: en - OCO_PROMPT_MODULE: conventional-commit diff --git a/hypr/hypridle.conf b/hypr/hypridle.conf index 3cb84d0..b408c3b 100644 --- a/hypr/hypridle.conf +++ b/hypr/hypridle.conf @@ -1,34 +1,30 @@ general { - lock_cmd = pidof hyprlock || hyprlock # runs hyprlock if it is not already running (this is always run when "loginctl lock-session" is called) - # unlock_cmd = killall hyprlock # kills hyprlock when unlocking (this is always run when "loginctl unlock-session" is called) - before_sleep_cmd = loginctl lock-session # ensures that the session is locked before going to sleep - after_sleep_cmd = hyprctl dispatch dpms on # turn of screen after sleep (not strictly necessary, but just in case) - ignore_dbus_inhibit = false # whether to ignore dbus-sent idle-inhibit requests (used by e.g. firefox or steam) + lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances. + before_sleep_cmd = loginctl lock-session # lock before suspend. + after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display. } -# turn off screen faster if session is already locked -# (disabled by default) listener { - timeout = 60 # 30 seconds - on-timeout = pidof hyprlock && hyprctl dispatch dpms off # turns off the screen if hyprlock is active - on-resume = pidof hyprlock && hyprctl dispatch dpms on # command to run when activity is detected after timeout has fired. + timeout = 60 + on-timeout = pidof hyprlock && hyprctl dispatch dpms off + on-resume = pidof hyprlock && hyprctl dispatch dpms on } # Warn listener { - timeout = 540 # 9 min - on-timeout = notify-send "You are idle!" # command to run when timeout has passed - on-resume = notify-send "Welcome back!" # command to run when activity is detected after timeout has fired. + timeout = 540 + on-timeout = notify-send "You are idle!" + on-resume = notify-send "Welcome back!" } # Screenlock listener { - timeout = 600 # 10 min - on-timeout = loginctl lock-session # command to run when timeout has passed + timeout = 600 + on-timeout = loginctl lock-session } -# Turn off screen +# Turn off screen # # (disabled by default) # listener { # timeout = 630 # 10.5 min diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 5e27833..c3a8d6e 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -8,7 +8,7 @@ exec-once = waybar -c ~/.config/waybar/config2 # exec-once = /usr/bin/openrgb --startminimized --profile "ssx" exec-once = dbus-update-activation-environment --all exec-once = /usr/libexec/lxqt-policykit-agent -exec-once = gnome-keyring-daemon --start --components=secrets,pkcs11 +exec-once = systemctl --user start gnome-keyring-daemon exec-once = $HOME/scripts/startup.sh @@ -33,12 +33,14 @@ env = XDG_SESSION_TYPE,wayland # Some default env vars. env = QT_QPA_PLATFORMTHEME,qt6ct # change to qt6ct if you have that env = QT_STYLE_OVERRIDE=kvantum + #mice env = HYPRCURSOR_THEME,Adwaita env = HYPRCURSOR_SIZE,24 env = XCURSOR_SIZE,24 env = WLR_NO_HARDWARE_CURSORS=1 -#etc + +#xwayland and java env = OGL_DEDICATED_HW_STATE_PER_CONTEXT=ENABLE_ROBUST env = ELECTRON_OZONE_PLATFORM_HINT , auto env = XDG_STATE_HOME="${HOME}/.local/state" @@ -135,9 +137,7 @@ windowrulev2 = noscreenshare, class:^(Bitwarden)$ windowrulev2 = float,class:^(io.bassi.Amberol)$ windowrulev2 = size 413 689,class:^(io.bassi.Amberol)$ windowrulev2 = float,class:^(qalculate-gtk)$,title:^(Qalculate!)$ -windowrulev2 = stayfocused, title:^()$,class:^(steam)$ -windowrulev2 = minsize 1 1, title:^()$,class:^(steam)$ -windowrulev2 = tile,1,class:^(affinity.exe)$ +windowrulev2 = tile,,class:^(affinity.exe)$ $mainMod = SUPER diff --git a/hypr/hyprlock.conf b/hypr/hyprlock.conf index b97fa8a..a26eb3c 100644 --- a/hypr/hyprlock.conf +++ b/hypr/hyprlock.conf @@ -1,30 +1,32 @@ input-field { monitor= - size = 200, 50 + size = 300, 90 outline_thickness = 3 - dots_size = 0.33 # Scale of input-field height, 0.2 - 0.8 - dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0 + dots_size = 0.33 + dots_spacing = 0.15 dots_center = false - dots_rounding = -1 # -1 default circle, -2 follow input-field rounding - outer_color = rgb(151515) - inner_color = rgb(200, 200, 200) + dots_rounding = -1 + outer_color = rgba(0, 0, 0, 0) + inner_color = rgba(255, 255, 255, 0.1) font_color = rgb(10, 10, 10) - fade_on_empty = true - fade_timeout = 1000 # Milliseconds before fade_on_empty is triggered. - placeholder_text = Input Password... # Text rendered in the input box when it's empty. + fade_on_empty = false + fade_timeout = 1000 + font_family = Qgod + font_size = 18 + placeholder_text = 🔒Input Password hide_input = false - rounding = -1 # -1 means complete rounding (circle/oval) + rounding = -1 check_color = rgb(204, 136, 34) - fail_color = rgb(204, 34, 34) # if authentication failed, changes outer_color and fail message color - fail_text = $FAIL ($ATTEMPTS) # can be set to empty - fail_transition = 300 # transition time in ms between normal outer_color and fail_color + fail_color = rgb(204, 34, 34) + fail_text = $FAIL ($ATTEMPTS) + fail_transition = 300 capslock_color = -1 numlock_color = -1 - bothlock_color = -1 # when both locks are active. -1 means don't change outer color (same for above) - invert_numlock = false # change color if numlock is off - swap_font_color = false # see below + bothlock_color = -1 + invert_numlock = false + swap_font_color = false - position = 0, -20 + position = 0, -290 halign = center valign = center } @@ -33,10 +35,8 @@ background { monitor = path = ~/.config/hypr/lock.png color = rgba(25, 20, 20, 1.0) - - # all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations - blur_passes = 0 # 0 disables blurring - blur_size = 7 + blur_passes = 1 # 0 disables blurring + blur_size = 1 noise = 0.0117 contrast = 0.8916 brightness = 0.8172 @@ -44,3 +44,27 @@ background { vibrancy_darkness = 0.0 } +# Reboot +label { + monitor = + text = 󰜉 + color = rgba(255, 255, 255, 0.6) + font_size = 50 + onclick = reboot now + position = -80,0 + halign = right + valign = top +} + +# Power off +label { + monitor = + text = 󰐥 + color = rgba(255, 255, 255, 0.6) + font_size = 50 + onclick = shutdown now + position = -20, 0 + halign =right + valign = top +} + diff --git a/hypr/hyprpaper.conf b/hypr/hyprpaper.conf index 7041dc0..46de17b 100644 --- a/hypr/hyprpaper.conf +++ b/hypr/hyprpaper.conf @@ -1,7 +1,7 @@ +preload= /home/mahalo/photos/wallhaven-8ggqqj.jpg preload= /home/mahalo/photos/wallhaven-e8x3yo.jpg -preload= /home/mahalo/photos/wallhaven-p8qrym.jpg wallpaper = DP-1,/home/mahalo/photos/wallhaven-e8x3yo.jpg -wallpaper = DP-2,/home/mahalo/photos/wallhaven-p8qrym.jpg +wallpaper = DP-2,/home/mahalo/photos/wallhaven-8ggqqj.jpg #set the default wallpaper(s) seen on initial workspace(s) --depending on the number of monitors used diff --git a/systemd/user/ssh-agent.service b/systemd/user/ssh-agent.service index 22c2e82..55a4e5d 100644 --- a/systemd/user/ssh-agent.service +++ b/systemd/user/ssh-agent.service @@ -1,11 +1,10 @@ [Unit] -Description=SSH Agent +Description=User ssh-agent [Service] Type=simple Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket -ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK +ExecStart=/usr/bin/ssh-agent -D -a ${SSH_AUTH_SOCK} [Install] WantedBy=default.target -