diff --git a/config/hypr/UserConfigs/UserKeybinds.conf b/config/hypr/UserConfigs/UserKeybinds.conf index 7ea021ac..92fbaf2c 100644 --- a/config/hypr/UserConfigs/UserKeybinds.conf +++ b/config/hypr/UserConfigs/UserKeybinds.conf @@ -42,7 +42,6 @@ bind = $mainMod, W, exec, $RunCMD select_wall bind = SHIFT_ALT,W, exec, $RunCMD random_wall bind = $mainMod, F1, exec, $RunCMD keybind bind = $mainMod_SHIFT, N, exec, swaync-client -C -bind = $mainMod, escape, exec, $RunCMD powermenu bind = $mainMod, COMMA, exec, pypr zoom bind = ALT, COMMA, exec, pypr zoom +1 diff --git a/config/hypr/initial-boot.sh b/config/hypr/initial-boot.sh index b343fdbe..0492d16a 100644 --- a/config/hypr/initial-boot.sh +++ b/config/hypr/initial-boot.sh @@ -23,7 +23,7 @@ effect="--transition-bezier .43,1.19,1,.4 --transition-fps 30 --transition-type gsettings set org.gnome.desktop.interface gtk-theme Darker > /dev/null 2>&1 & gsettings set org.gnome.desktop.wm.preferences theme Darker > /dev/null 2>&1 & gsettings set org.gnome.desktop.interface icon-theme GruvboxPlus > /dev/null 2>&1 & - gsettings set org.gnome.desktop.interface cursor-theme PearDarkCursors > /dev/null 2>&1 & + gsettings set org.gnome.desktop.interface cursor-theme sweet-cursors > /dev/null 2>&1 & gsettings set org.gnome.desktop.interface cursor-size 6 > /dev/null 2>&1 & gsettings set org.gnome.desktop.interface font-name JetBrainsMono Nerd Font 10 > /dev/null 2>&1 & @@ -36,8 +36,5 @@ effect="--transition-bezier .43,1.19,1,.4 --transition-fps 30 --transition-type # Create a marker file to indicate that the script has been executed. touch $HOME/.cache/.initial_startup_done - # for workspace - hyprctl reload - exit fi diff --git a/config/hypr/scripts/Music_cmd.sh b/config/hypr/scripts/Music_cmd.sh index c07f9bc7..b54dad81 100755 --- a/config/hypr/scripts/Music_cmd.sh +++ b/config/hypr/scripts/Music_cmd.sh @@ -1,73 +1,112 @@ #!/bin/bash ###################################### -# # -# Music # -# # +# # +# Music # +# # ###################################### music(){ + +# Directory local music folder +mDIR="$HOME/Music/" + # Directory for icons iDIR="$HOME/dotfiles/hypr/assets" -# Note: You can add more options below with the following format: -# ["TITLE"]="link" +# Online Stations. Edit as required +declare -A online_music=( + ["ʙʜᴀᴊᴀɴ 🚩"]="https://youtube.com/playlist?list=PLwIh-QEhrDJDM8IF3gLUgnEyZm6dBgr_n&si=_RDHngYobHlcxaJW" + ["ʟᴏꜰɪ ɢɪʀʟ 📻🎶"]="https://www.youtube.com/watch?v=jfKfPfyJRdk" + ["ɴᴇᴘᴀʟɪ ᴏʟᴅ ꜱᴏɴɢ 📻🎶"]="https://youtube.com/playlist?list=PLXuVG9D9JQ8RAhpH2TyISgBgEmXONIhGY&si=SLyxb2vxaE0XuXsz" + ["ʙᴏʟʟʏᴡᴏᴏᴅ 📻🎶"]="https://youtube.com/playlist?list=PL9bw4S5ePsEEqCMJSiYZ-KTtEjzVy0YvK&si=J0gPvKL4R4fIlPz9" + ["ᴛᴏᴘ 50 ʙᴏʟʟʏᴡᴏᴏᴅ 📻🎶"]="https://youtube.com/playlist?list=PLHuHXHyLu7BEnMJNeVvkXpxapvDSp5UdI&si=-TBeeNJ28NqVcnKu" + ["ʜɪɴᴅɪ ᴅᴊ 🔊🎶"]="https://youtube.com/playlist?list=PLuVudh8_zaHsZKa76lLfirUazcMZWzodb&si=14t1wkmsHiREB71u" + ["ʜɪɴᴅɪ ʀᴇᴍɪx 📻🎶"]="https://youtube.com/playlist?list=PLuVudh8_zaHvhUe3kLBrq5H3DeTY0bjN2&si=9dzEcnR3n5j1It3S" + ["ᴍɪx 🔊🎶"]="https://youtube.com/playlist?list=PLwIh-QEhrDJCPrtNv-r0swKWG-onndWjg&si=37SGSalBVz7kwhso" + ["ᴀʟʟ ᴛɪᴍᴇ ɴᴇᴘᴀʟɪ ʙᴇꜱᴛ 📻🎶"]="https://youtube.com/playlist?list=PLMRKdK25AuPX9eE1G1W6-xBAYGDvKRX6H&si=pAmEK2fV6bLLN8Ss" + ) -# Define menu options as an associative array -declare -A menu_options=( - ["ʙʜᴀᴊᴀɴ 🚩"]="https://youtube.com/playlist?list=PLwIh-QEhrDJDM8IF3gLUgnEyZm6dBgr_n&si=_RDHngYobHlcxaJW" - ["ʟᴏꜰɪ ɢɪʀʟ 📻🎶"]="https://www.youtube.com/watch?v=jfKfPfyJRdk" - ["ɴᴇᴘᴀʟɪ ᴏʟᴅ ꜱᴏɴɢ 📻🎶"]="https://youtube.com/playlist?list=PLXuVG9D9JQ8RAhpH2TyISgBgEmXONIhGY&si=SLyxb2vxaE0XuXsz" - ["ʙᴏʟʟʏᴡᴏᴏᴅ 📻🎶"]="https://youtube.com/playlist?list=PL9bw4S5ePsEEqCMJSiYZ-KTtEjzVy0YvK&si=J0gPvKL4R4fIlPz9" - ["ᴛᴏᴘ 50 ʙᴏʟʟʏᴡᴏᴏᴅ 📻🎶"]="https://youtube.com/playlist?list=PLHuHXHyLu7BEnMJNeVvkXpxapvDSp5UdI&si=-TBeeNJ28NqVcnKu" - ["ʜɪɴᴅɪ ᴅᴊ 🔊🎶"]="https://youtube.com/playlist?list=PLuVudh8_zaHsZKa76lLfirUazcMZWzodb&si=14t1wkmsHiREB71u" - ["ʜɪɴᴅɪ ʀᴇᴍɪx 📻🎶"]="https://youtube.com/playlist?list=PLuVudh8_zaHvhUe3kLBrq5H3DeTY0bjN2&si=9dzEcnR3n5j1It3S" - ["ᴍɪx 🔊🎶"]="https://youtube.com/playlist?list=PLwIh-QEhrDJCPrtNv-r0swKWG-onndWjg&si=37SGSalBVz7kwhso" - ["ᴀʟʟ ᴛɪᴍᴇ ɴᴇᴘᴀʟɪ ʙᴇꜱᴛ 📻🎶"]="https://youtube.com/playlist?list=PLMRKdK25AuPX9eE1G1W6-xBAYGDvKRX6H&si=pAmEK2fV6bLLN8Ss" -) + +# Populate local_music array with files from music directory and subdirectories +populate_local_music() { + local_music=() + filenames=() + while IFS= read -r file; do + local_music+=("$file") + filenames+=("$(basename "$file")") + done < <(find "$mDIR" -type f \( -iname "*.mp3" -o -iname "*.flac" -o -iname "*.wav" -o -iname "*.ogg" \)) +} # Function for displaying notifications notification() { - notify-send -u normal -i "$iDIR/music.png" "$1" + notify-send -u normal -i "$iDIR/music.png" "Playing: $@" } -# Function to play music -play_music() { - local choice="$1" - local link="${menu_options[$choice]}" +# Main function for playing local music +play_local_music() { + populate_local_music - # Check if the link is a playlist - if [[ $link == *playlist* ]]; then - mpv --shuffle --vid=no --no-resume-playback "$link" - elif [[ -n $link ]]; then - mpv "$link" + # Prompt the user to select a song + choice=$(printf "%s\n" "${filenames[@]}" | rofi -i -dmenu -p "Local Music") + + if [ -z "$choice" ]; then + exit 1 fi - # Check if mpv is running to ensure music is playing - if pgrep -x "mpv" >/dev/null; then - notification "Playing now: $choice" - fi + # Find the corresponding file path based on user's choice and set that to play the song then continue on the list + for (( i=0; i<"${#filenames[@]}"; ++i )); do + if [ "${filenames[$i]}" = "$choice" ]; then + + notification "$choice" + + # For some reason wont start playlist at 0 + if [[ $i -eq 0 ]]; then + # Play the selected local music file using mpv + mpv --loop-playlist --vid=no "$mDIR" + + else + file=$i + # Play the selected local music file using mpv + mpv --playlist-start="$file" --loop-playlist --vid=no "$mDIR" + fi + break + fi + done } +# Main function for shuffling local music +shuffle_local_music() { + notification "Shuffle local music" -###################################### -# # -# Music Control # -# # -###################################### + # Play music in $mDIR on shuffle + mpv --shuffle --loop-playlist --vid=no "$mDIR" +} -music_controls() { - local choice="$1" +# Main function for playing online music +play_online_music() { + choice=$(printf "%s\n" "${!online_music[@]}" | rofi -i -dmenu -p "Online Music") - case "$choice" in - "Play") playerctl --player=mpv play && notify-send -u low "▶️ Resuming music" ;; - "Pause") playerctl --player=mpv pause && notify-send -u low "⏸️ Music paused" ;; - "Stop") pkill mpv && notify-send -u low "🛑 Music stopped" ;; - "Next track") playerctl --player=mpv next && notify-send -u low "⏭️ Next track playing" ;; - "Previous track") playerctl --player=mpv previous && notify-send -u low "⏮️ Previous track playing" ;; - "Increase volume") adjust_volume 0.1 && notify-send -u low "🔊 Increasing track volume" ;; - "Decrease volume") adjust_volume -0.1 && notify-send -u low "🔉 Decreasing track volume" ;; - esac + if [ -z "$choice" ]; then + exit 1 + fi + + link="${online_music[$choice]}" + + notification "$choice" + + # Play the selected online music using mpv + mpv --shuffle --vid=no "$link" +} + +# Function to play/pause music +play_pause() { + playerctl --player=mpv play-pause + if playerctl --player=mpv status | grep -q "Playing"; then + notify-send -u low "▶️ Resuming music" + else + notify-send -u low "⏸️ Music paused" + fi } # Function to adjust volume @@ -81,64 +120,61 @@ adjust_volume() { notify-send -u low "$message" } -# Function to play/pause music -play_pause() { - playerctl --player=mpv play-pause - if playerctl --player=mpv status | grep -q "Playing"; then - notify-send -u low "▶️ Resuming music" - else - notify-send -u low "⏸️ Music paused" - fi +music_controls() { + local choice="$1" + + case "$choice" in + "Play") playerctl --player=mpv play && notify-send -u low "▶️ Resuming music" ;; + "Pause") playerctl --player=mpv pause && notify-send -u low "⏸️ Music paused" ;; + "Stop") pkill mpv && notify-send -u low "🛑 Music stopped" ;; + "Next track") playerctl --player=mpv next && notify-send -u low "⏭️ Next track playing" ;; + "Previous track") playerctl --player=mpv previous && notify-send -u low "⏮️ Previous track playing" ;; + "Increase volume") adjust_volume 0.1 "🔊 Increasing track volume" ;; + "Decrease volume") adjust_volume -0.1 "🔉 Decreasing track volume" ;; + esac } # Main function -main() { - local is_music_playing=$(playerctl --player=mpv status 2>/dev/null) - - if [ "$is_music_playing" == "Playing" ]; then - local controls=("Play" "Pause" "Stop" "Next track" "Previous track" "Increase volume" "Decrease volume") - choice=$(printf "%s\n" "${controls[@]}" | rofi -dmenu -i -p "Music Controls:") - music_controls "$choice" - else - local options=("Play from Playlist" "Play from Folder") - choice=$(printf "%s\n" "${options[@]}" | rofi -dmenu -i -p "Music Time:") - -case "$choice" in - "Play from Playlist") - playlist_choice=$(printf "%s\n" "${!menu_options[@]}" | rofi -dmenu -i -p "Choose playlist:") - play_music "$playlist_choice" - ;; - "Play from Folder") - local music_files=$(find ~/Music -type f \( -iname \*.mp3 -o -iname \*.flac -o -iname \*.wav -o -iname \*.ogg -o -iname \*.aac -o -iname \*.m4a -o -iname \*.wma -o -iname \*.opus \) -exec basename {} \; | rofi -dmenu -i -p "Choose music file:") - if [ -n "$music_files" ]; then - notification "Playing now: $music_files" # Moved the notification here - local full_path=$(find ~/Music -type f \( -iname \*.mp3 -o -iname \*.flac -o -iname \*.wav -o -iname \*.ogg -o -iname \*.aac -o -iname \*.m4a -o -iname \*.wma -o -iname \*.opus \) -exec realpath {} \; | grep "$music_files") - mpv "$full_path" - fi - ;; -esac - - - fi +main_menu() { + if playerctl --player=mpv status | grep -q "Playing"; then + local controls=("Pause" "Stop" "Next track" "Previous track" "Increase volume" "Decrease volume") + choice=$(printf "%s\n" "${controls[@]}" | rofi -dmenu -i -p "Music Controls") + music_controls "$choice" + else + local controls=("Play from Music Folder" "Play from Online Stations" "Shuffle Play from Music Folder") + choice=$(printf "%s\n" "${controls[@]}" | rofi -dmenu -i -p "Select music source") + case "$choice" in + "Play from Music Folder") play_local_music ;; + "Play from Online Stations") play_online_music ;; + "Shuffle Play from Music Folder") shuffle_local_music ;; + *) echo "Invalid choice" ;; + esac + fi } - - -###################################### -# # -# Usage # -# # -###################################### +# usage +usage() { + echo "Usage: $0 [-m] [-i] [-d] [-n] [-p] [-k] [-s]" + echo " -m Main menu" + echo " -i Increase volume" + echo " -d Decrease volume" + echo " -n Next track" + echo " -p Previous track" + echo " -k Play/pause" + echo " -s Stop music" + exit 1 +} while getopts "midnpks" flag; do case "${flag}" in - m) main ;; - i) adjust_volume 0.1 "🔊 Increasing track volume" ;; + m) main_menu ;; + i) adjust_volume 0.1 "🔊 Increasing track volume" ;; d) adjust_volume -0.1 "🔉 Decreasing track volume" ;; n) playerctl --player=mpv next && notify-send -u low "⏭️ Next track playing" ;; p) playerctl --player=mpv previous && notify-send -u low "⏮️ Previous track playing" ;; k) play_pause ;; s) pkill mpv && notify-send -u low "🛑 Music stopped" ;; + *) usage ;; esac done } diff --git a/config/hypr/scripts/Rofi_cmd.sh b/config/hypr/scripts/Rofi_cmd.sh index 8b59ed86..9295462e 100755 --- a/config/hypr/scripts/Rofi_cmd.sh +++ b/config/hypr/scripts/Rofi_cmd.sh @@ -34,15 +34,15 @@ clip() { edit() { menu() { - options=("Env-variables" "Window-Rules" "Startup_Apps" "User-Keybinds" "Monitors" "Laptop-Keybinds" "User-Settings" "Default-Settings" "Default-Keybinds") + options=("Env-variables" "Window-Rules" "Startup_Apps" "User-Keybinds" "Monitors" "Laptop-Keybinds" "User-Settings" ) for ((i = 0; i < ${#options[@]}; i++)); do printf "%d. view %s\n" "$((i + 1))" "${options[i]}" done } main() { - options=("ENVariables.conf" "WindowRules.conf" "Startup_Apps.conf" "UserKeybinds.conf" "Monitors.conf" "Laptops.conf" "UserSettings.conf" "Settings.conf" "Keybinds.conf") + options=("ENVariables.conf" "WindowRules.conf" "Startup_Apps.conf" "UserKeybinds.conf" "Monitors.conf" "Laptops.conf" "UserSettings.conf" ) choice=$(menu | rofi -dmenu -i -p " View / Edit Hyprland Configs:" | cut -d. -f1) - [[ $choice =~ ^[1-9]$ ]] && kitty -e nano "$UserConfigs/${options[choice - 1]}" + [[ $choice =~ ^[1-7]$ ]] && kitty -e nvim "$UserConfigs/${options[choice - 1]}" } main } @@ -70,74 +70,3 @@ emoji() { [[ -n "$A" ]] && wl-copy -- "$A" } - -###################################### -# # -# Powermenu # -# # -###################################### - -powermenu() { - uptime=$(uptime -p | sed -e 's/up //g') - host=$(hostnamectl hostname) - - # Options - shutdown='󰤁' - reboot='󰜉' - lock='' - suspend='󰤄' - logout='󰍃' - yes='󰸞' - no='󱎘' - - rofi_cmd() { - rofi -dmenu \ - -p "Uptime: $uptime" \ - -mesg "Uptime: $uptime" \ - -theme ~/.config/rofi/powermenu.rasi - } - - confirm_cmd() { - rofi -theme-str 'window {location: center; anchor: center; fullscreen: false; width: 350px;}' \ - -theme-str 'mainbox {children: [ "message", "listview" ];}' \ - -theme-str 'listview {columns: 2; lines: 1;}' \ - -theme-str 'element-text {horizontal-align: 0.5;}' \ - -theme-str 'textbox {horizontal-align: 0.5;}' \ - -dmenu \ - -p 'Confirmation' \ - -mesg 'Are you sure?' \ - -theme ~/.config/rofi/powermenu.rasi - } - - confirm_exit() { - echo -e "$yes\n$no" | confirm_cmd - } - - run_rofi() { - echo -e "$lock\n$suspend\n$logout\n$reboot\n$shutdown" | rofi_cmd - } - - # Execute Command - run_cmd() { - selected=$(confirm_exit) - if [[ "$selected" == "$yes" ]]; then - case $1 in - --shutdown) systemctl poweroff ;; - --reboot) systemctl reboot ;; - --suspend) hyprlock -f && systemctl suspend ;; - --logout) loginctl terminate-user $USER ;; - esac - else - exit 0 - fi - } - - chosen=$(run_rofi) - case ${chosen} in - $shutdown) run_cmd --shutdown ;; - $reboot) run_cmd --reboot ;; - $lock) hyprlock ;; - $suspend) run_cmd --suspend ;; - $logout) run_cmd --logout ;; - esac -} diff --git a/config/hypr/scripts/System_cmd.sh b/config/hypr/scripts/System_cmd.sh index 0a2f823a..36b30900 100755 --- a/config/hypr/scripts/System_cmd.sh +++ b/config/hypr/scripts/System_cmd.sh @@ -47,6 +47,26 @@ sys_poweroff() { poweroff fi } +sys_lock() { + if _need_confirm "Lock screen?"; then + pidof hyprlock || hyprlock -q + fi +} +sys_logout() { + if _need_confirm "Logout?"; then + loginctl kill-session $XDG_SESSION_ID + fi +} +sys_suspend() { + if _need_confirm "Suspend system?"; then + systemctl suspend + fi +} +sys_hibernate() { + if _need_confirm "Hibernate system?"; then + systemctl hibernate + fi +} ####################################################### # # @@ -110,16 +130,6 @@ reload_hypr() { notify-send -u low -i $reload 'Reload Hyprland' } -###################################### -# # -# lockscreen(hyprlock) # -# # -###################################### - -lock_screen() { - hyprlock -} - ###################################### # # # Battery Notifer # diff --git a/config/hypr/scripts/Ui_cmd.sh b/config/hypr/scripts/Ui_cmd.sh index 805de181..3d375eab 100755 --- a/config/hypr/scripts/Ui_cmd.sh +++ b/config/hypr/scripts/Ui_cmd.sh @@ -247,18 +247,3 @@ kb_changer() { notify-send -u low -i "$notif" "Keyboard language changed to $new_layout" } - - -###################################### -# # -# Cursor Zoom # -# # -###################################### - -cz() { -if [ $(hyprctl -j getoption misc:cursor_zoom_factor | jq '.float' | sed 's/\..*$//') == 1 ]; then - $(hyprctl keyword misc:cursor_zoom_factor 2) &> /dev/null -else - $(hyprctl keyword misc:cursor_zoom_factor 1) &> /dev/null -fi -} diff --git a/config/hypr/scripts/Xmenu.sh b/config/hypr/scripts/Xmenu.sh index b7bf3c49..6959a865 100755 --- a/config/hypr/scripts/Xmenu.sh +++ b/config/hypr/scripts/Xmenu.sh @@ -31,14 +31,17 @@ declare -A menu_options=( #RunCMD ["; Launcher"]="rofi -show drun -modi drun,filebrowser,run,window" ["cb Clipboard"]="$RunCMD clip" - ["rm RunCMDMusic"]="$RunCMD music -m" - ["emj RunCMDEmoji"]="$RunCMD emoji" + ["rm Music"]="$RunCMD music -m" + ["emj Emoji"]="$RunCMD emoji" ["kb Kebinds"]="$RunCMD keybind" - ["qe Edits"]="$RunCMD edit" + ["qe QuickEdits"]="$RunCMD edit" #System ["qq Shutdown"]="$RunCMD sys_poweroff" ["rr Reboot"]="$RunCMD sys_reboot" - ["SS Wlogout"]="wlogout" + ["lk Lock"]="$RunCMD sys_lock" + ["lo LogOut"]="$RunCMD sys_logout" + ["sp Suspend"]="$RunCMD sys_suspend" + ["hb Hibernate"]="$RunCMD sys_hibernate" ["cn Close Notifactions"]="swaync-client -C" ["dm0 disable monitor"]="$RunCMD disable_edp1" ["dm1 enable monitor"]="$RunCMD enable_edp1" @@ -63,6 +66,8 @@ main() { -mesg "Hello" \ -max-history-size 0 \ -auto-select + + ) if [ -z "$choice" ]; then diff --git a/config/lazygit/config.yml b/config/lazygit/config.yml new file mode 100644 index 00000000..6667ba0a --- /dev/null +++ b/config/lazygit/config.yml @@ -0,0 +1,96 @@ +gui: + authorColors: + 'S4NKALP': green + # stuff relating to the UI + branchColors: + main: green + master: green + docs: cyan + feature: yellow + staging: magenta + scrollHeight: 2 # how many lines you scroll by + scrollPastBottom: true # enable scrolling past the bottom + sidePanelWidth: 0.25 # number from 0 to 1 + expandFocusedSidePanel: true + mainPanelSplitMode: 'flexible' # one of 'horizontal' | 'flexible' | 'vertical' + language: 'auto' # one of 'auto' | 'en' | 'zh' | 'pl' | 'nl' | 'ja' | 'ko' + timeFormat: '02 Jan 06 15:04 MST' # https://pkg.go.dev/time#Time.Format + theme: + activeBorderColor: + - blue + - bold + inactiveBorderColor: + - default + searchingActiveBorderColor: + - green + - bold + optionsTextColor: + - blue + selectedLineBgColor: + - blue # set to `default` to have no background colour + selectedRangeBgColor: + - blue + cherryPickedCommitBgColor: + - cyan + cherryPickedCommitFgColor: + - blue + defaultFgColor: + - white + commitLength: + show: true + mouseEvents: true + skipDiscardChangeWarning: false + skipStashWarning: false + showFileTree: true # for rendering changes files in a tree format + showListFooter: true # for seeing the '5 of 20' message in list panels + showRandomTip: true + showBottomLine: true # for hiding the bottom information line (unless it has important information to tell you) + showCommandLog: true + # showIcons: true + nerdFontsVersion: '3' # nerd fonts version to use ("2" or "3"); empty means don't show nerd font icons + commandLogSize: 8 + splitDiff: 'auto' # one of 'auto' | 'always' +os: + editPreset: nvim +git: + paging: + colorArg: always + useConfig: false + pager: delta --features=mantis-shrimp --paging=never + commit: + signOff: false + merging: + # only applicable to unix users + manualCommit: false + # extra args passed to `git merge`, e.g. --no-ff + args: '' + log: + # one of date-order, author-date-order, topo-order. + # topo-order makes it easier to read the git log graph, but commits may not + # appear chronologically. See https://git-scm.com/docs/git-log#_commit_ordering + order: 'topo-order' + # one of always, never, when-maximised + # this determines whether the git graph is rendered in the commits panel + showGraph: 'when-maximised' + # displays the whole git graph by default in the commits panel (equivalent to passing the `--all` argument to `git log`) + showWholeGraph: false + skipHookPrefix: WIP + autoFetch: true + autoRefresh: true + branchLogCmd: 'git log --graph --color=always --abbrev-commit --decorate --date=relative --pretty=medium {{branchName}} --' + allBranchesLogCmd: 'git log --graph --all --color=always --abbrev-commit --decorate --date=relative --pretty=medium' + overrideGpg: false # prevents lazygit from spawning a separate process when using GPG + disableForcePushing: false + parseEmoji: true +refresher: + refreshInterval: 10 # File/submodule refresh interval in seconds. Auto-refresh can be disabled via option 'git.autoRefresh'. + fetchInterval: 600 # Re-fetch interval in seconds. Auto-fetch can be disabled via option 'git.autoFetch'. +update: + method: prompt # can be: prompt | background | never + days: 14 # how often an update is checked for +confirmOnQuit: false +# determines whether hitting 'esc' will quit the application when there is nothing to cancel/close +quitOnTopLevelReturn: false +disableStartupPopups: false +notARepository: 'prompt' # one of: 'prompt' | 'create' | 'skip' +promptToReturnFromSubprocess: true # display confirmation when subprocess terminates diff --git a/config/rofi/config-long.rasi b/config/rofi/config-long.rasi index bb26c83a..305ae14f 100644 --- a/config/rofi/config-long.rasi +++ b/config/rofi/config-long.rasi @@ -6,6 +6,7 @@ configuration { show-icons: true; icon-theme: "GruvboxPlus"; + case-sensitive: false; location: 0; font: "JetBrainsMono Nerd Font 12"; display-drun: "Launch"; @@ -130,11 +131,11 @@ border-radius: 10px; } - inputbar { + /* inputbar { background-image: url("~/dotfiles/hypr/assets/rofi.png", width); padding: 220 0 0; margin: 0 -2 0 0; - } + }*/ textbox { padding: 10px; diff --git a/config/rofi/config.rasi b/config/rofi/config.rasi index b96189b7..dc5fbd1f 100644 --- a/config/rofi/config.rasi +++ b/config/rofi/config.rasi @@ -5,6 +5,7 @@ configuration { show-icons: true; + case-sensitive: false; icon-theme: "GruvboxPlus"; location: 0; font: "JetBrainsMono Nerd Font 12"; @@ -130,11 +131,11 @@ border-radius: 10px; } - inputbar { + /* inputbar { background-image: url("~/dotfiles/hypr/assets/rofi.png", width); padding: 220 0 0; margin: 0 -2 0 0; - } + }*/ textbox { padding: 10px; diff --git a/config/rofi/powermenu.rasi b/config/rofi/powermenu.rasi deleted file mode 100644 index 96140aa3..00000000 --- a/config/rofi/powermenu.rasi +++ /dev/null @@ -1,174 +0,0 @@ -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -* { - font: "Iosevka Nerd Font Bold 11"; - background: #000000FF; - background-alt: #0A0B0CFF; - foreground: #E0CDA5FF; - selected: #DB4740FF; - active: #B1B946FF; - urgent: #DB4740FF; -} - - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: south east; - anchor: south east; - fullscreen: false; - width: 450px; - x-offset: 0px; - y-offset: -9px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 1px solid; - border-radius: 6px; - border-color: @selected; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 15px; - margin: 0px; - padding: 30px; - border: 0px solid; - border-radius: 5px; - border-color: @selected; - background-color: transparent; - children: [ "message", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: false; - spacing: 15px; - margin: 0px; - padding: 0px; - border: 0px; - border-radius: 5px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - children: [ "textbox-prompt-colon", "prompt"]; -} - -dummy { - background-color: transparent; -} - -textbox-prompt-colon { - font: "JetBrainsMono Nerd Font 12"; - enabled: false; - expand: false; - str: ""; - padding: 0 14px; - border-radius: 10px; - border-color: @urgent; - border: 2px solid; - background-color: @background; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.5; -} -prompt { - enabled: false; - padding: 12px; - border-radius: 10px; - border-color: @active; - border: 2px solid; - background-color: @background; - text-color: @foreground; -} - -/*****----- Message -----*****/ -message { - enabled: false; - margin: 0px; - padding: 12px; - border: 0px solid; - border-radius: 10px; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; - placeholder-color: @foreground; - blink: true; - markup: true; -} -error-message { - padding: 12px; - border: 0px solid; - border-radius: 10px; - border-color: @selected; - background-color: @background; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 5; - lines: 1; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 15px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 10px; - border: 0px solid; - border-radius: 10px; - border-color: @selected; - background-color: @background; - text-color: @foreground; - cursor: pointer; -} -element-text { - font: "JetBrainsMono Nerd Font 24"; - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} -element selected.normal { - background-color: var(background); - border-color: var(selected); - border: 0px solid; - text-color: var(selected); -}