diff --git a/config/hypr/UserConfigs/UserKeybinds.conf b/config/hypr/UserConfigs/UserKeybinds.conf deleted file mode 100644 index ebe1393d..00000000 --- a/config/hypr/UserConfigs/UserKeybinds.conf +++ /dev/null @@ -1,61 +0,0 @@ -# This is where you put your own keybinds. Be Mindful to check as well ~/.config/hypr/configs/Keybinds.conf to avoid conflict - -# See https://wiki.hyprland.org/Configuring/Keywords/ for more settings and variables -# See also Laptops.conf for laptops keybinds - -$mainMod = SUPER -$files = thunar -$term = kitty -$browser = firefox -$scriptsDir = $HOME/.config/hypr/scripts -$UserScripts = $HOME/.config/hypr/UserScripts - -# rofi App launcher -bindr = $mainMod, $mainMod_L, exec, pkill rofi || rofi -show drun -modi drun,filebrowser,run,window -bind = $mainMod, D, exec, pkill rofi || rofi -show drun -modi drun,filebrowser,run,window - -# Terminals -bind = CTRL_ALT, Return, exec, kitty --start-as=fullscreen --title all_is_kitty -bind = ALT_SHIFT,Return, exec, kitty --title fly_is_kitty --single-instance -bind = $mainMod, Return, exec, $term - -# Apps -bind = $mainMod, E, exec, $files -bind = ALT, F, exec, $browser -bind = ALT, Y, exec, kitty --title fly_is_kitty sh -c 'yazi' -bind = $mainMod, Slash, exec, kitty nvim -bind = $mainMod_SHIFT, Slash, exec, code - -# FEATURES / EXTRAS -bind = $mainMod ALT, R, exec, $scriptsDir/Refresh.sh # Refresh waybar, swaync, rofi -bind = $mainMod, F1, exec, $UserScripts/KeyBinds.sh # Keybinds -bind = $mainMod, X, exec, $scriptsDir/RofiPower.sh # Powermenu -bind = $mainMod, N, exec, $scriptsDir/RofiNotes.sh # Notes -bind = $mainMod, T, exec, $scriptsDir/RofiTmux.sh # Tmux -bind = $mainMod_SHIFT, A, exec, $scriptsDir/ToggleAnimation.sh -t # Animation ON/OFF -bind = ALT, slash, exec, $scriptsDir/RofiEmoji.sh # Emoji -bind = ALT, Q, exec, $scriptsDir/QuickLink.sh # QuickOpen Links -bind = ALT, E, exec, $scriptsDir/QuickEdit.sh # Quick Edit Hyprland Settings -bind = SHIFT_ALT, T, exec, $scriptsDir/RofiTodo.sh # Todo List -bind = ALT, F1, exec, $scriptsDir/SwitchKeyboardLayout.sh # Switch Keyboard Layout -bind = $mainMod_SHIFT, Q, exec, $scriptsDir/ChangeBlur.sh # Toggle blur settings -bind = $mainMod, R, exec, $scriptsDir/RofiRecord.sh # Screen Recorder -bind = $mainMod_SHIFT, R, exec, pkill wf-recorder --signal SIGINT && notify-send "🛑 Recording stopped" && pkill -RTMIN+8 waybar -bind = $mainMod, space, exec, $scriptsDir/ChangeLayout.sh # Toggle Master or Dwindle Layout -bind = SHIFT_ALT, C, exec, $scriptsDir/ClipManager.sh # Clipboard Manager -bind = $mainMod_SHIFT, N, exec, swaync-client -t -sw # swayNC panel - -# Online Music related keybinds -bind = ALT, M, exec, $scriptsDir/RofiMusic.sh -bind = ALT, S, exec, $scriptsDir/MusicControl.sh -s # Stop -bind = ALT, N, exec, $scriptsDir/MusicControl.sh -n # Next -bind = ALT, P, exec, $scriptsDir/MusicControl.sh -p # Previous -bind = ALT, R, exec, $scriptsDir/MusicControl.sh -k # Resume - -# Wallpaper related keybinds -bind = $mainMod_SHIFT, W, exec, $scriptsDir/WallpaperSelect.sh # Select Wallpaper to apply -bind = SHIFT_ALT, W, exec, $scriptsDir/Wallpaper.sh # Random Wallpapers - -# Waybar / Bar related -bind = $mainMod, H, exec, killall -SIGUSR1 waybar # Toggle hide/show waybar -bind = ALT, W, exec, $UserScripts/WaybarLayout.sh # Waybar Layout Menu diff --git a/config/hypr/UserConfigs/UserSettings.conf b/config/hypr/UserConfigs/UserSettings.conf deleted file mode 100644 index d750ddc9..00000000 --- a/config/hypr/UserConfigs/UserSettings.conf +++ /dev/null @@ -1,146 +0,0 @@ -# User Settings - -## refer to Hyprland wiki for more info https://wiki.hyprland.org/Configuring/Variables - -# blurls = waybar -# blurls = rofi - -dwindle { - pseudotile = yes - preserve_split = yes - special_scale_factor = 0.8 -} - -master { - new_is_master=1 - new_on_top=1 - mfact = 0.5 -} - -general { - sensitivity = 1.00 - apply_sens_to_raw = 1 - gaps_in = 4 - gaps_out = 8 - border_size = 2 - resize_on_border = true - - col.active_border = rgb(7287fd) rgb(74c7ec) rgb(89b4fa) 45deg - col.inactive_border = rgb(6c7086) - - layout = master -} - -group { - col.border_active = 00XFF4BC66D - - groupbar { - col.active = 0XFFDB696B - } -} - -decoration { - rounding = 8 - - active_opacity = 1.0 - inactive_opacity = 0.9 - fullscreen_opacity = 1.0 - - dim_inactive = true - dim_strength = 0.1 - - drop_shadow = true - shadow_range = 6 - shadow_render_power = 1 - col.shadow = rgb(cba7f7) - col.shadow_inactive = 0X50000000 - - blur { - enabled = true - size = 5 - passes = 2 - ignore_opacity = true - new_optimizations = true - } -} - -animations { - enabled = yes - - bezier = myBezier, 0.05, 0.9, 0.1, 1.05 - bezier = linear, 0.0, 0.0, 1.0, 1.0 - bezier = wind, 0.05, 0.9, 0.1, 1.05 - bezier = winIn, 0.1, 1.1, 0.1, 1.1 - bezier = winOut, 0.3, -0.3, 0, 1 - bezier = slow, 0, 0.85, 0.3, 1 - bezier = overshot, 0.7, 0.6, 0.1, 1.1 - bezier = bounce, 1.1, 1.6, 0.1, 0.85 - bezier = sligshot, 1, -1, 0.15, 1.25 - bezier = nice, 0, 6.9, 0.5, -4.20 - - animation = windowsIn, 1, 5, slow, popin - animation = windowsOut, 1, 5, winOut, popin - animation = windowsMove, 1, 5, wind, slide - animation = border, 1, 10, linear - animation = borderangle, 1, 180, linear, loop #used by rainbow borders and rotating colors - animation = fade, 1, 5, overshot - animation = workspaces, 1, 5, wind - animation = windows, 1, 5, bounce, popin -} - -input { - kb_layout=us,np - kb_variant = - kb_model = - kb_options = - kb_rules = - repeat_rate = 50 - repeat_delay = 300 - numlock_by_default = true - left_handed = 0 - follow_mouse = 1 - float_switch_override_focus = 0 - - touchpad { - disable_while_typing = 1 - natural_scroll = 0 - clickfinger_behavior = 0 - middle_button_emulation = 1 - tap-to-click = 1 - drag_lock = 0 - } -} - -gestures { - workspace_swipe=1 - workspace_swipe_fingers=3 - workspace_swipe_distance=400 - workspace_swipe_invert=1 - workspace_swipe_min_speed_to_force=30 - workspace_swipe_cancel_ratio=0.5 - workspace_swipe_create_new=1 - workspace_swipe_forever=1 -} - -misc { - disable_hyprland_logo = true - disable_splash_rendering = true - mouse_move_enables_dpms = true - #vrr = 0 - enable_swallow = true - no_direct_scanout = true #for fullscreen games - focus_on_activate = false - swallow_regex = ^(kitty)$ - #disable_autoreload = true -} - -binds { - workspace_back_and_forth=1 - allow_workspace_cycles=1 - pass_mouse_when_bound=0 -} - -#Could help when scaling and not pixelating -xwayland { - force_zero_scaling = true -} diff --git a/config/hypr/UserScripts/Caway.sh b/config/hypr/UserScripts/Caway.sh deleted file mode 100755 index 7b46f651..00000000 --- a/config/hypr/UserScripts/Caway.sh +++ /dev/null @@ -1,115 +0,0 @@ -#!/usr/bin/bash - -# Nuke all internal spawns when script dies -trap "trap - SIGTERM && kill -- -$$" SIGINT SIGTERM - -BARS=14; -FRAMERATE=60; -EQUILIZER=1; - -# Get script options -while getopts 'b:f:m:eh' flag; do - case "${flag}" in - b) BARS="${OPTARG}" ;; - f) FRAMERATE="${OPTARG}" ;; - e) EQUILIZER=0 ;; - h) - echo "caway usage: caway [ options ... ]" - echo "where options include:" - echo - echo " -b (Number of bars to display. Default 8)" - echo " -f (Framerate of the equilizer. Default 60)" - echo " -e (Disable equilizer. Default enabled)" - echo " -h (Show help message)" - exit 0 - ;; - esac -done - -bar="▁▂▃▄▅▆▇█" -dict="s/;//g;" - -# creating "dictionary" to replace char with bar + thin space " " -i=0 -while [ $i -lt ${#bar} ] -do - dict="${dict}s/$i/${bar:$i:1} /g;" - i=$((i=i+1)) -done - -# Remove last extra thin space -dict="${dict}s/.$//;" - -clean_create_pipe() { - if [ -p $1 ]; then - unlink $1 - fi - mkfifo $1 -} - -kill_pid_file() { - if [[ -f $1 ]]; then - while read pid; do - { kill "$pid" && wait "$pid"; } 2>/dev/null - done < $1 - fi -} - -# PID of the cava process and while loop launched from the script -cava_waybar_pid="/tmp/cava_waybar_pid" - -# Clean pipe for cava -cava_waybar_pipe="/tmp/cava_waybar.fifo" -clean_create_pipe $cava_waybar_pipe - -# Custom cava config -cava_waybar_config="/tmp/cava_waybar_config" -echo " -[general] -mode = normal -framerate = $FRAMERATE -bars = $BARS - -[output] -method = raw -raw_target = $cava_waybar_pipe -data_format = ascii -ascii_max_range = 7 -" > $cava_waybar_config - -# Clean pipe for playerctl -playerctl_waybar_pipe="/tmp/playerctl_waybar.fifo" -clean_create_pipe $playerctl_waybar_pipe - -# playerctl output into playerctl_waybar_pipe -playerctl -a metadata --format '{"text": "{{artist}} - {{title}}", "tooltip": "{{playerName}} : {{markup_escape(artist)}} - {{markup_escape(title)}}", "alt": "{{status}}", "class": "{{status}}"}' -F >$playerctl_waybar_pipe & - -# Read the playerctl o/p via its fifo pipe -while read -r line; do - # Kill the cava process to stop the input to cava_waybar_pipe - kill_pid_file $cava_waybar_pid - - echo "$line" | jq --unbuffered --compact-output - - # If the class says "Playing" and equilizer is enabled - # then show the cava equilizer - if [[ $EQUILIZER == 1 && $(echo $line | jq -r '.class') == 'Playing' ]]; then - # Show the playing title for 2 seconds - sleep 2 - - # cava output into cava_waybar_pipe - cava -p $cava_waybar_config >$cava_waybar_pipe & - - # Save the PID of child process - echo $! > $cava_waybar_pid - - # Read the cava o/p via its fifo pipe - while read -r cmd2; do - # Change the "text" key to bars - echo "$line" | jq --arg a $(echo $cmd2 | sed "$dict") '.text = $a' --unbuffered --compact-output - done < $cava_waybar_pipe & # Do this fifo read in background - - # Save the while loop PID into the file as well - echo $! >> $cava_waybar_pid - fi -done < $playerctl_waybar_pipe diff --git a/config/hypr/UserConfigs/ENVariables.conf b/config/hypr/configs/ENVariables.conf similarity index 100% rename from config/hypr/UserConfigs/ENVariables.conf rename to config/hypr/configs/ENVariables.conf diff --git a/config/hypr/configs/Keybinds.conf b/config/hypr/configs/Keybinds.conf index 6c6b8da5..ca191d59 100644 --- a/config/hypr/configs/Keybinds.conf +++ b/config/hypr/configs/Keybinds.conf @@ -1,9 +1,61 @@ - -# Default Keybinds +# See https://wiki.hyprland.org/Configuring/Keywords/ for more settings and variables +# See also Laptops.conf for laptops keybinds $mainMod = SUPER +$files = thunar +$term = kitty +$browser = firefox +$scriptsDir = $HOME/.config/hypr/scripts +# rofi App launcher +bindr = $mainMod, $mainMod_L, exec, pkill rofi || rofi -show drun -modi drun,filebrowser,run,window +bind = $mainMod, D, exec, pkill rofi || rofi -show drun -modi drun,filebrowser,run,window + +# Terminals +bind = CTRL_ALT, Return, exec, kitty --start-as=fullscreen --title all_is_kitty +bind = ALT_SHIFT,Return, exec, kitty --title fly_is_kitty --single-instance +bind = $mainMod, Return, exec, $term + +# Apps +bind = $mainMod, E, exec, $files +bind = ALT, F, exec, $browser +bind = ALT, Y, exec, kitty --title fly_is_kitty sh -c 'yazi' +bind = $mainMod, Slash, exec, kitty nvim +bind = $mainMod_SHIFT, Slash, exec, code + +# FEATURES / EXTRAS +bind = $mainMod ALT, R, exec, $scriptsDir/Refresh.sh # Refresh waybar, swaync, rofi +bind = $mainMod, X, exec, $scriptsDir/RofiPower.sh # Powermenu +bind = $mainMod, N, exec, $scriptsDir/RofiNotes.sh # Notes +bind = $mainMod, T, exec, $scriptsDir/RofiTmux.sh # Tmux +bind = $mainMod_SHIFT, A, exec, $scriptsDir/ToggleAnimation.sh -t # Animation ON/OFF +bind = ALT, slash, exec, $scriptsDir/RofiEmoji.sh # Emoji +bind = SHIFT_ALT, T, exec, $scriptsDir/RofiTodo.sh # Todo List +bind = ALT, F1, exec, $scriptsDir/SwitchKeyboardLayout.sh # Switch Keyboard Layout +bind = $mainMod_SHIFT, Q, exec, $scriptsDir/ChangeBlur.sh # Toggle blur settings +bind = $mainMod, R, exec, $scriptsDir/RofiRecord.sh # Screen Recorder +bind = $mainMod_SHIFT, R, exec, pkill wf-recorder --signal SIGINT && notify-send "🛑 Recording stopped" && pkill -RTMIN+8 waybar +bind = $mainMod, space, exec, $scriptsDir/ChangeLayout.sh # Toggle Master or Dwindle Layout +bind = SHIFT_ALT, C, exec, $scriptsDir/ClipManager.sh # Clipboard Manager +bind = $mainMod_SHIFT, N, exec, swaync-client -t -sw # swayNC panel +bind = ALT, E, exec, $scriptsDir/QuickEdit.sh # Quick Edit Hyprland Settings +bind = $mainMod_SHIFT, W, exec, $scriptsDir/WallpaperSelect.sh # Select Wallpaper to apply +bind = SHIFT_ALT, W, exec, $scriptsDir/Wallpaper.sh # Random Wallpapers +bind = $mainMod, F1, exec, $scriptsDir/KeyBinds.sh # Keybinds + +# Online Music related keybinds +bind = ALT, M, exec, $scriptsDir/RofiMusic.sh +bind = ALT, S, exec, $scriptsDir/MusicControl.sh -s # Stop +bind = ALT, N, exec, $scriptsDir/MusicControl.sh -n # Next +bind = ALT, P, exec, $scriptsDir/MusicControl.sh -p # Previous +bind = ALT, R, exec, $scriptsDir/MusicControl.sh -k # Resume + + +# Waybar / Bar related +bind = $mainMod, H, exec, killall -SIGUSR1 waybar # Toggle hide/show waybar +bind = ALT, W, exec, $scriptsDir/WaybarLayout.sh # Waybar Layout Menu + # Master Layout bind = ALT, Space, layoutmsg, removemaster bind = $mainMod, I, layoutmsg, addmaster diff --git a/config/hypr/UserConfigs/LaptopDisplay.conf b/config/hypr/configs/LaptopDisplay.conf similarity index 100% rename from config/hypr/UserConfigs/LaptopDisplay.conf rename to config/hypr/configs/LaptopDisplay.conf diff --git a/config/hypr/UserConfigs/Laptops.conf b/config/hypr/configs/Laptops.conf similarity index 96% rename from config/hypr/UserConfigs/Laptops.conf rename to config/hypr/configs/Laptops.conf index a3ebd480..d157774d 100644 --- a/config/hypr/UserConfigs/Laptops.conf +++ b/config/hypr/configs/Laptops.conf @@ -3,7 +3,6 @@ # These configs are mostly for laptops. This is addemdum to Keybinds.conf $configs = $HOME/.config/hypr/configs -$UserConfigs = $HOME/.config/hypr/UserConfigs $mainMod = SUPER $scriptsDir = $HOME/.config/hypr/scripts @@ -59,8 +58,8 @@ bind = , xf86Sleep, exec, systemctl suspend # sleep button # This part is to be use if you do not want your main laptop monitor to wake up during say wallpaper change etc #bindl = , switch:off:Lid Switch,exec,echo "monitor = eDP-1, preferred, auto, 1" > $UserConfigs/LaptopDisplay.conf -#bindl = , switch:on:Lid Switch,exec,echo "monitor = eDP-1, disable" > $UserConfigs/LaptopDisplay.conf +#bindl = , switch:on:Lid Switch,exec,echo "monitor = eDP-1, disable" > $configs/LaptopDisplay.conf # for laptop-lid action (to erase the last entry) -#exec-once = echo "eDP-1, preferred, auto, 1" > $HOME/.config/hypr/UserConfigs/LaptopDisplay.conf +#exec-once = echo "eDP-1, preferred, auto, 1" > $HOME/.config/hypr/configs/LaptopDisplay.conf ############################################################################## diff --git a/config/hypr/UserConfigs/Monitors.conf b/config/hypr/configs/Monitors.conf similarity index 97% rename from config/hypr/UserConfigs/Monitors.conf rename to config/hypr/configs/Monitors.conf index dca2e701..119ba273 100644 --- a/config/hypr/UserConfigs/Monitors.conf +++ b/config/hypr/configs/Monitors.conf @@ -17,7 +17,7 @@ monitor=,preferred,auto,1 #monitor = eDP-1, preferred, auto, 1 #monitor = eDP-1, 2560x1440@165, 0x0, 1 #own screen -#monitor = DP-2, preferred, auto, 1 +#monitor = DP-3, preferred, auto, 1 #monitor = DP-1, preferred, auto, 1 #monitor = HDMI-A-1, preferred,auto,1 diff --git a/config/hypr/configs/Settings.conf b/config/hypr/configs/Settings.conf index 1b6cacab..2ebef1c0 100644 --- a/config/hypr/configs/Settings.conf +++ b/config/hypr/configs/Settings.conf @@ -1,3 +1,145 @@ -# Initial boot script enable to apply initial wallpapers, theming, new settings etc. -exec-once = $HOME/.config/hypr/initial-boot.sh +## refer to Hyprland wiki for more info https://wiki.hyprland.org/Configuring/Variables + +# blurls = waybar +# blurls = rofi + +dwindle { + pseudotile = yes + preserve_split = yes + special_scale_factor = 0.8 +} + +master { + new_is_master=1 + new_on_top=1 + mfact = 0.5 +} + +general { + sensitivity = 1.00 + apply_sens_to_raw = 1 + gaps_in = 4 + gaps_out = 8 + border_size = 2 + resize_on_border = true + + col.active_border = rgb(7287fd) rgb(74c7ec) rgb(89b4fa) 45deg + col.inactive_border = rgb(6c7086) + + layout = master +} + +group { + col.border_active = 00XFF4BC66D + + groupbar { + col.active = 0XFFDB696B + } +} + +decoration { + rounding = 8 + + active_opacity = 1.0 + inactive_opacity = 0.9 + fullscreen_opacity = 1.0 + + dim_inactive = true + dim_strength = 0.1 + + drop_shadow = true + shadow_range = 6 + shadow_render_power = 1 + col.shadow = rgb(cba7f7) + col.shadow_inactive = 0X50000000 + + blur { + enabled = true + size = 5 + passes = 2 + ignore_opacity = true + new_optimizations = true + } +} + +animations { + enabled = yes + + bezier = myBezier, 0.05, 0.9, 0.1, 1.05 + bezier = linear, 0.0, 0.0, 1.0, 1.0 + bezier = wind, 0.05, 0.9, 0.1, 1.05 + bezier = winIn, 0.1, 1.1, 0.1, 1.1 + bezier = winOut, 0.3, -0.3, 0, 1 + bezier = slow, 0, 0.85, 0.3, 1 + bezier = overshot, 0.7, 0.6, 0.1, 1.1 + bezier = bounce, 1.1, 1.6, 0.1, 0.85 + bezier = sligshot, 1, -1, 0.15, 1.25 + bezier = nice, 0, 6.9, 0.5, -4.20 + + animation = windowsIn, 1, 5, slow, popin + animation = windowsOut, 1, 5, winOut, popin + animation = windowsMove, 1, 5, wind, slide + animation = border, 1, 10, linear + animation = borderangle, 1, 180, linear, loop #used by rainbow borders and rotating colors + animation = fade, 1, 5, overshot + animation = workspaces, 1, 5, wind + animation = windows, 1, 5, bounce, popin +} + +input { + kb_layout=us,np + kb_variant = + kb_model = + kb_options = + kb_rules = + repeat_rate = 50 + repeat_delay = 300 + numlock_by_default = true + left_handed = 0 + follow_mouse = 1 + float_switch_override_focus = 0 + + touchpad { + disable_while_typing = 1 + natural_scroll = 0 + clickfinger_behavior = 0 + middle_button_emulation = 1 + tap-to-click = 1 + drag_lock = 0 + } +} + +gestures { + workspace_swipe=1 + workspace_swipe_fingers=3 + workspace_swipe_distance=400 + workspace_swipe_invert=1 + workspace_swipe_min_speed_to_force=30 + workspace_swipe_cancel_ratio=0.5 + workspace_swipe_create_new=1 + workspace_swipe_forever=1 +} + +misc { + disable_hyprland_logo = true + disable_splash_rendering = true + mouse_move_enables_dpms = true + #vrr = 0 + enable_swallow = true + no_direct_scanout = true #for fullscreen games + focus_on_activate = false + swallow_regex = ^(kitty)$ + #disable_autoreload = true +} + +binds { + workspace_back_and_forth=1 + allow_workspace_cycles=1 + pass_mouse_when_bound=0 +} + +#Could help when scaling and not pixelating +xwayland { + force_zero_scaling = true +} diff --git a/config/hypr/UserConfigs/Startup_Apps.conf b/config/hypr/configs/Startup_Apps.conf similarity index 84% rename from config/hypr/UserConfigs/Startup_Apps.conf rename to config/hypr/configs/Startup_Apps.conf index 8dcf69c3..885c92fe 100644 --- a/config/hypr/UserConfigs/Startup_Apps.conf +++ b/config/hypr/configs/Startup_Apps.conf @@ -1,12 +1,14 @@ #Commands & Apps to be executed at launch $scriptsDir = $HOME/.config/hypr/scripts -$UserscriptsDir = $HOME/.config/hypr/UserScripts $lock = swaylock -$SwwwRandom = $scriptsDir/WallpaperRandom.sh +$SwwwRandom = $UserScriptsDir/WallpaperRandom.sh $WallpaperPath = $HOME/Pictures/wallpapers +# Initial boot script enable to apply initial wallpapers, theming, new settings etc. +exec-once = $HOME/.config/hypr/initial-boot.sh + # wallpaper stuff / More wallpaper options below exec-once = swww query || swww init exec-once = $SwwwRandom $WallpaperPath # random wallpaper switcher every 30 minutes @@ -19,7 +21,7 @@ exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESK exec-once = $scriptsDir/Polkit.sh # Battery Notification -exec-once = $UserScriptsDir/BatteryNotify.sh +exec-once = $scriptsDir/BatteryNotify.sh # starup apps exec-once = waybar & @@ -35,7 +37,7 @@ exec-once = wl-paste --type text --watch cliphist store exec-once = wl-paste --type image --watch cliphist store # Rainbow borders -exec-once = $UserscriptsDir/RainbowBorders.sh +exec-once = $scriptsDir/RainbowBorders.sh # sway-idle with lock only #exec-once = swayidle -w timeout 900 '$lock' @@ -45,7 +47,7 @@ exec-once = $UserscriptsDir/RainbowBorders.sh #exec-once = swayidle -w timeout 900 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' ## Here are list of features available but disabled by default -#exec-once = swww query || swww init && swww img $HOME/Pictures/wallpapers/3.png # persistent wallpaper +#exec-once = swww query || swww init && swww img $HOME/Pictures/wallpapers/mecha-nostalgia.png # persistent wallpaper #gnome polkit for nixos #exec-once = $scriptsDir/Polkit-NixOS.sh diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/configs/WindowRules.conf similarity index 99% rename from config/hypr/UserConfigs/WindowRules.conf rename to config/hypr/configs/WindowRules.conf index a858b2eb..2d432351 100644 --- a/config/hypr/UserConfigs/WindowRules.conf +++ b/config/hypr/configs/WindowRules.conf @@ -3,6 +3,7 @@ #### Opacity Rules windowrulev2 = opacity 0.9 0.6, class:^([Rr]ofi)$ +windowrulev2 = opacity 0.9 0.6, class:^(yad)$ windowrulev2 = opacity 0.9 0.6, class:^(mousepad)$ windowrulev2 = opacity 0.9 0.6, class:^(geany)$ windowrulev2 = opacity 0.80 0.70,class:^(nm-applet)$ diff --git a/config/hypr/hyprland.conf b/config/hypr/hyprland.conf index 30731aac..5f279067 100644 --- a/config/hypr/hyprland.conf +++ b/config/hypr/hyprland.conf @@ -3,17 +3,11 @@ ###### Default Configs $configs = $HOME/.config/hypr/configs -source=$configs/Settings.conf -source=$configs/Keybinds.conf - -#### User Configs -$UserConfigs = $HOME/.config/hypr/UserConfigs - -source= $UserConfigs/Startup_Apps.conf -source= $UserConfigs/ENVariables.conf -source= $UserConfigs/UserKeybinds.conf -source= $UserConfigs/UserSettings.conf -source= $UserConfigs/Monitors.conf -source= $UserConfigs/Laptops.conf -source= $UserConfigs/LaptopDisplay.conf -source= $UserConfigs/WindowRules.conf +source= $configs/Startup_Apps.conf +source= $configs/ENVariables.conf +source= $configs/Keybinds.conf +source= $configs/Settings.conf +source= $configs/Monitors.conf +source= $configs/Laptops.conf +source= $configs/LaptopDisplay.conf +source= $configs/WindowRules.conf diff --git a/config/hypr/UserScripts/BatteryNotify.sh b/config/hypr/scripts/BatteryNotify.sh similarity index 100% rename from config/hypr/UserScripts/BatteryNotify.sh rename to config/hypr/scripts/BatteryNotify.sh diff --git a/config/hypr/UserScripts/KeyBinds.sh b/config/hypr/scripts/KeyBinds.sh similarity index 100% rename from config/hypr/UserScripts/KeyBinds.sh rename to config/hypr/scripts/KeyBinds.sh diff --git a/config/hypr/scripts/MusicControl.sh b/config/hypr/scripts/MusicControl.sh index b3814e29..c4747fab 100755 --- a/config/hypr/scripts/MusicControl.sh +++ b/config/hypr/scripts/MusicControl.sh @@ -1,8 +1,8 @@ #! /usr/bin/env bash -# Control moosic using keyboard +# Control music using keyboard + -# SUPER + M should open a submap # M should open the rofi-music menu # i should increase volume # u should decrease volume diff --git a/config/hypr/scripts/QuickEdit.sh b/config/hypr/scripts/QuickEdit.sh index 7c269662..79e21d8b 100755 --- a/config/hypr/scripts/QuickEdit.sh +++ b/config/hypr/scripts/QuickEdit.sh @@ -1,18 +1,16 @@ #!/bin/bash -defaultDir="$HOME/.config/hypr/configs" -userDir="$HOME/.config/hypr/UserConfigs" +userDir="$HOME/.config/hypr/configs" + menu(){ printf "1. view Env-variables\n" printf "2. view Window-Rules\n" printf "3. view Startup_Apps\n" - printf "4. view User-Keybinds\n" + printf "4. view Keybinds\n" printf "5. view Monitors\n" printf "6. view Laptop-Keybinds\n" - printf "7. view User-Settings\n" - printf "8. view Default-Settings\n" - printf "9. view Default-Keybinds\n" + printf "7. view Settings\n" } main() { @@ -28,7 +26,7 @@ main() { kitty -e nano "$userDir/Startup_Apps.conf" ;; 4) - kitty -e nano "$userDir/UserKeybinds.conf" + kitty -e nano "$userDir/Keybinds.conf" ;; 5) kitty -e nano "$userDir/Monitors.conf" @@ -37,14 +35,9 @@ main() { kitty -e nano "$userDir/Laptops.conf" ;; 7) - kitty -e nano "$userDir/UserSettings.conf" - ;; - 8) - kitty -e nano "$defaultDir/Settings.conf" - ;; - 9) - kitty -e nano "$defaultDir/Keybinds.conf" + kitty -e nano "$userDir/Settings.conf" ;; + *) ;; esac diff --git a/config/hypr/scripts/QuickLink.sh b/config/hypr/scripts/QuickLink.sh deleted file mode 100755 index 3332262f..00000000 --- a/config/hypr/scripts/QuickLink.sh +++ /dev/null @@ -1,98 +0,0 @@ -#!/usr/bin/env bash - - -# Import Theme -theme="$HOME/.config/rofi/config-quicklink.rasi" - -# Theme Elements -prompt="Quick Links: Using '$BROWSER' as web browser" - -# Check if the theme variable is not empty -if [ -n "$theme" ]; then - list_col='6' - list_row='1' -fi - -# Options -if [ -z "$BROWSER" ]; then - BROWSER="firefox" # Set your default browser here - prompt="Quick Links: Using '$BROWSER' as web browser" -else - prompt="Quick Links: Using '$BROWSER' as web browser" -fi - -layout=$(grep 'USE_ICON' "$theme" | cut -d'=' -f2) -if [ "$layout" == 'NO' ]; then - option_1=" Google" - option_2=" Gmail" - option_3=" Youtube" - option_4=" Github" - option_5=" Reddit" - option_6="󰈌 Facebook" -else - option_1="" - option_2="" - option_3="" - option_4="" - option_5="" - option_6="󰈌" -fi - -# Define the font variable -efonts="Fira Code SemiBold 28" - -# Rofi CMD -rofi_cmd() { - rofi -theme-str "listview {columns: $list_col; lines: $list_row;}" \ - -theme-str 'textbox-prompt-colon {str: "";}' \ - -theme-str "element-text {font: \"$efonts\";}" \ - -dmenu \ - -p "$prompt" \ - -markup-rows \ - -theme "$theme" -} - -# Pass variables to rofi dmenu -run_rofi() { - echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5\n$option_6" | rofi_cmd -} - -# Execute Command -run_cmd() { - if [ "$1" == '--opt1' ]; then - xdg-open 'https://www.google.com/' - elif [ "$1" == '--opt2' ]; then - xdg-open 'https://mail.google.com/' - elif [ "$1" == '--opt3' ]; then - xdg-open 'https://www.youtube.com/' - elif [ "$1" == '--opt4' ]; then - xdg-open 'https://www.github.com/' - elif [ "$1" == '--opt5' ]; then - xdg-open 'https://www.reddit.com/' - elif [ "$1" == '--opt6' ]; then - xdg-open 'https://www.facebook.com/' - fi -} - -# Actions -chosen="$(run_rofi)" -case $chosen in - $option_1) - run_cmd --opt1 - ;; - $option_2) - run_cmd --opt2 - ;; - $option_3) - run_cmd --opt3 - ;; - $option_4) - run_cmd --opt4 - ;; - $option_5) - run_cmd --opt5 - ;; - $option_6) - run_cmd --opt6 - ;; -esac diff --git a/config/hypr/UserScripts/RainbowBorders.sh b/config/hypr/scripts/RainbowBorders.sh similarity index 100% rename from config/hypr/UserScripts/RainbowBorders.sh rename to config/hypr/scripts/RainbowBorders.sh diff --git a/config/hypr/scripts/RofiBeats.sh b/config/hypr/scripts/RofiBeats.sh new file mode 100755 index 00000000..75226a89 --- /dev/null +++ b/config/hypr/scripts/RofiBeats.sh @@ -0,0 +1,48 @@ +#!/bin/bash + +# Directory for icons +iDIR="$HOME/.config/swaync/icons" + +# Note: You can add more options below with the following format: +# ["TITLE"]="link" + +# Define menu options as an associative array +declare -A menu_options=( + ["Lofi Girl ☕️🎶"]="https://play.streamafrica.net/lofiradio" + ["96.3 Easy Rock 📻🎶"]="https://radio-stations-philippines.com/easy-rock" + ["Ghibli Music 🎻🎶"]="https://youtube.com/playlist?list=PLNi74S754EXbrzw-IzVhpeAaMISNrzfUy&si=rqnXCZU5xoFhxfOl" + ["Top Youtube Music 2023 ☕️🎶"]="https://youtube.com/playlist?list=PLDIoUOhQQPlXr63I_vwF9GD8sAKh77dWU&si=y7qNeEVFNgA-XxKy" + ["Chillhop ☕️🎶"]="http://stream.zeno.fm/fyn8eh3h5f8uv" + ["SmoothChill ☕️🎶"]="https://media-ssl.musicradio.com/SmoothChill" + ["Relaxing Music ☕️🎶"]="https://youtube.com/playlist?list=PLMIbmfP_9vb8BCxRoraJpoo4q1yMFg4CE" + ["Youtube Remix 📻🎶"]="https://youtube.com/playlist?list=PLeqTkIUlrZXlSNn3tcXAa-zbo95j0iN-0" + ["Korean Drama OST 📻🎶"]="https://youtube.com/playlist?list=PLUge_o9AIFp4HuA-A3e3ZqENh63LuRRlQ" +) + +# Function for displaying notifications +notification() { + notify-send -u normal -i "$iDIR/music.png" "Playing now: $@" +} + +# Main function +main() { + choice=$(printf "%s\n" "${!menu_options[@]}" | rofi -dmenu -config ~/.config/rofi/config-rofi-music.rasi -i -p "") + + if [ -z "$choice" ]; then + exit 1 + fi + + link="${menu_options[$choice]}" + + notification "$choice" + + # Check if the link is a playlist + if [[ $link == *playlist* ]]; then + mpv --shuffle --vid=no "$link" + else + mpv "$link" + fi +} + +# Check if an online music process is running and send a notification, otherwise run the main function +pkill -f http && notify-send -u low -i "$iDIR/music.png" "Online Music stopped" || main diff --git a/config/hypr/scripts/RofiMusic.sh b/config/hypr/scripts/RofiMusic.sh index 7890c628..bf05d34e 100755 --- a/config/hypr/scripts/RofiMusic.sh +++ b/config/hypr/scripts/RofiMusic.sh @@ -36,19 +36,19 @@ function music() { if [[ "$chosen" == "$play_bhajan" ]]; then notify "Playing Bhajan" - exec -a "rofi-music" mpv --no-video $BHAJAN + exec -a "rofi-music" mpv --no-video "$BHAJAN" --shuffle --no-resume-playback elif [[ "$chosen" == "$play_lofi" ]]; then notify "🎹 Playing lofi girl" - exec -a "rofi-music" mpv --no-video $LOFI_STREAM + exec -a "rofi-music" mpv --no-video "$LOFI_STREAM" --no-resume-playback elif [[ "$chosen" == "$play_chill_hits" ]]; then notify "🎹 Playing all time chill hits" - exec -a "rofi-music" mpv --no-video "$ALL_TIME_CHILL_HITS" --shuffle + exec -a "rofi-music" mpv --no-video "$ALL_TIME_CHILL_HITS" --shuffle --no-resume-playback elif [[ "$chosen" == "$play_malayalam_hits" ]]; then notify "🎹 Playing malayalam hits" - exec -a "rofi-music" mpv --no-video "$ALL_TIME_MALAYALAM_HITS" --shuffle + exec -a "rofi-music" mpv --no-video "$ALL_TIME_MALAYALAM_HITS" --shuffle --no-resume-playback elif [[ "$chosen" == "$play_hand_picked_hits" ]]; then notify "🎹 Playing hand picked hits" - exec -a "rofi-music" mpv --no-video "$HAND_PICKED_HITS" --shuffle + exec -a "rofi-music" mpv --no-video "$HAND_PICKED_HITS" --shuffle --no-resume-playback fi } diff --git a/config/hypr/UserScripts/Sunset.sh b/config/hypr/scripts/Sunset.sh similarity index 100% rename from config/hypr/UserScripts/Sunset.sh rename to config/hypr/scripts/Sunset.sh diff --git a/config/hypr/scripts/WallpaperSelect.sh b/config/hypr/scripts/WallpaperSelect.sh index 7c97e2db..4b9db9e5 100755 --- a/config/hypr/scripts/WallpaperSelect.sh +++ b/config/hypr/scripts/WallpaperSelect.sh @@ -1,57 +1,86 @@ #!/bin/bash -WALLPAPERS_DIR="$HOME/Pictures/wallpapers/" +SCRIPTSDIR="$HOME/.config/hypr/scripts" -# find image size to display (very slow) -#echo $(identify -format '%[fx:w]x%[fx:h]\' $HOME/Pictures/wallpapers/$A 2>/dev/null) +# WALLPAPERS PATH +DIR="$HOME/Pictures/wallpapers" -build_theme() { - rows=$1 - cols=$2 - icon_size=$3 +# Transition config +FPS=30 +TYPE="wipe" +DURATION=1 +BEZIER=".43,1.19,1,.4" +SWWW_PARAMS="--transition-fps $FPS --transition-type $TYPE --transition-duration $DURATION" - echo "element{orientation:vertical;}element-text{horizontal-align:0.5;}element-icon{size:$icon_size.0000em;}listview{lines:$rows;columns:$cols;}" -} - -theme="$HOME/.config/rofi/config-wallpaper.rasi" - -ROFI_CMD="rofi -dmenu -i -show-icons -theme-str $(build_theme 3 5 6) -theme ${theme}" - -choice=$(ls --escape "$WALLPAPERS_DIR" | xargs -I {} printf "{}\x00icon\x1f$WALLPAPERS_DIR/{}\n" | $ROFI_CMD -p "󰸉 Wallpaper") - -wallpaper="$WALLPAPERS_DIR/$choice" - -set_wallpaper_kde() { - qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript \ - "var allDesktops = desktops(); for (i=0;i /dev/null; then + pkill swaybg fi -exit 1 +# Retrieve image files +PICS=($(ls "${DIR}" | grep -E ".jpg$|.jpeg$|.png$|.gif$")) +RANDOM_PIC="${PICS[$((RANDOM % ${#PICS[@]}))]}" +RANDOM_PIC_NAME="${#PICS[@]}. random" + +# Rofi command +rofi_command="rofi -show -dmenu -config ~/.config/rofi/config-wallpaper.rasi" + +menu() { + for i in "${!PICS[@]}"; do + # Displaying .gif to indicate animated images + if [[ -z $(echo "${PICS[$i]}" | grep .gif$) ]]; then + printf "$(echo "${PICS[$i]}" | cut -d. -f1)\x00icon\x1f${DIR}/${PICS[$i]}\n" + else + printf "${PICS[$i]}\n" + fi + done + + printf "$RANDOM_PIC_NAME\n" +} + +swww query || swww init + +main() { + choice=$(menu | ${rofi_command}) + + # No choice case + if [[ -z $choice ]]; then + exit 0 + fi + + # Random choice case + if [ "$choice" = "$RANDOM_PIC_NAME" ]; then + swww img "${DIR}/${RANDOM_PIC}" $SWWW_PARAMS + + # Create symbolic link + ln -sf "${DIR}/${RANDOM_PIC}" "$HOME/.config/hypr/.current_wallpaper" + + notify-send "Wallpaper Changed" -i "${DIR}/${RANDOM_PIC}" + exit 0 + fi + + # Find the index of the selected file + pic_index=-1 + for i in "${!PICS[@]}"; do + filename=$(basename "${PICS[$i]}") + if [[ "$filename" == "$choice"* ]]; then + pic_index=$i + break + fi + done + + if [[ $pic_index -ne -1 ]]; then + swww img "${DIR}/${PICS[$pic_index]}" $SWWW_PARAMS + + # Create symbolic link + ln -sf "${DIR}/${PICS[$pic_index]}" "$HOME/.config/hypr/.current_wallpaper" + + notify-send "Wallpaper Changed" -i "${DIR}/${PICS[$pic_index]}" + else + notify-send "Wallpaper Changed" -i "Image not found." + + exit 1 + fi +} +main + diff --git a/config/hypr/UserScripts/WaybarCava.sh b/config/hypr/scripts/WaybarCava.sh similarity index 100% rename from config/hypr/UserScripts/WaybarCava.sh rename to config/hypr/scripts/WaybarCava.sh diff --git a/config/hypr/UserScripts/WaybarLayout.sh b/config/hypr/scripts/WaybarLayout.sh similarity index 100% rename from config/hypr/UserScripts/WaybarLayout.sh rename to config/hypr/scripts/WaybarLayout.sh diff --git a/config/hypr/UserScripts/Weather.py b/config/hypr/scripts/Weather.py similarity index 100% rename from config/hypr/UserScripts/Weather.py rename to config/hypr/scripts/Weather.py diff --git a/config/nvim/lazy-lock.json b/config/nvim/lazy-lock.json index 4797fe4c..82f0e1f4 100644 --- a/config/nvim/lazy-lock.json +++ b/config/nvim/lazy-lock.json @@ -1,14 +1,14 @@ { "LazyVim": { "branch": "main", "commit": "879e29504d43e9f178d967ecc34d482f902e5a91" }, - "LuaSnip": { "branch": "master", "commit": "2463d687fe704b76eb0aa3bb34e95f69a5bb0362" }, - "SchemaStore.nvim": { "branch": "main", "commit": "771c9517bf36f431361cbaac1ddc8499c7e5c5d3" }, + "LuaSnip": { "branch": "master", "commit": "8ae1dedd988eb56441b7858bd1e8554dfadaa46d" }, + "SchemaStore.nvim": { "branch": "main", "commit": "b77c4b6270f5a8290e886bbea6e4ffc6b218b832" }, "actions-preview.nvim": { "branch": "master", "commit": "8f79029a36ab6807478f157538a91ccd4af5858f" }, "animation.nvim": { "branch": "main", "commit": "fb77091ab72ec9971aee0562e7081182527aaa6a" }, "autolist.nvim": { "branch": "main", "commit": "5f70a5f99e96c8fe3069de042abd2a8ed2deb855" }, "barbecue": { "branch": "main", "commit": "cd7e7da622d68136e13721865b4d919efd6325ed" }, "bigfile.nvim": { "branch": "main", "commit": "33eb067e3d7029ac77e081cfe7c45361887a311a" }, "bufferline.nvim": { "branch": "main", "commit": "e48ce1805697e4bb97bc171c081e849a65859244" }, - "catppuccin": { "branch": "main", "commit": "b901cf144573b293b6cefeb1ac8c97d5d239ee7a" }, + "catppuccin": { "branch": "main", "commit": "5e36ca599f4aa41bdd87fbf2c5aae4397ac55074" }, "ccc.nvim": { "branch": "main", "commit": "ec6e23fd2c0bf4ffcf71c1271acdcee6e2c6f49c" }, "cinnamon.nvim": { "branch": "master", "commit": "c406ffda3a0302f32c23b24ab756ea20467d6578" }, "cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" }, @@ -90,10 +90,10 @@ "nvim-treesitter": { "branch": "master", "commit": "e49f1e8ef3e8450a8446cb1f2bbb53c919f60b6d" }, "nvim-treesitter-context": { "branch": "master", "commit": "652ec514d6ba8bc4a3c2de76c855fe668e2c7196" }, "nvim-treesitter-endwise": { "branch": "master", "commit": "4c344ffc8d54d7e1ba2cefaaa2c10ea93aa1cc2d" }, - "nvim-treesitter-textobjects": { "branch": "master", "commit": "0e2d5bd4cbe75849a013901555d436a48c6680cb" }, + "nvim-treesitter-textobjects": { "branch": "master", "commit": "85b9d0cbd4ff901abcda862b50dbb34e0901848b" }, "nvim-ts-autotag": { "branch": "main", "commit": "8515e48a277a2f4947d91004d9aa92c29fdc5e18" }, "nvim-ts-context-commentstring": { "branch": "main", "commit": "1277b4a1f451b0f18c0790e1a7f12e1e5fdebfee" }, - "nvim-various-textobjs": { "branch": "main", "commit": "f68df17056ab9b68b0da10e722b03445450330ec" }, + "nvim-various-textobjs": { "branch": "main", "commit": "d20340410c7421a46e9e3af8c2e2fef41147bf9d" }, "nvim-web-devicons": { "branch": "master", "commit": "cff25ce621e6d15fae0b0bfe38c00be50ce38468" }, "nvim_context_vt": { "branch": "master", "commit": "a14f9292b4bd68ceed433fc513f287641816dc6d" }, "octo.nvim": { "branch": "master", "commit": "b5371003f209764c9d1cc43cf20b6dc52961f0e8" }, diff --git a/config/nvim/lua/plugins/extras/editor/git/neogit.lua b/config/nvim/lua/plugins/extras/editor/git/neogit.lua index a1eb6fb7..217e13f6 100644 --- a/config/nvim/lua/plugins/extras/editor/git/neogit.lua +++ b/config/nvim/lua/plugins/extras/editor/git/neogit.lua @@ -2,10 +2,12 @@ return { "NeogitOrg/neogit", dependencies = { "nvim-lua/plenary.nvim", - "sindrets/diffview.nvim", + { "sindrets/diffview.nvim", optional = true }, "nvim-telescope/telescope.nvim", }, - config = true, cmd = { "Neogit" }, - -- TODO: Need to configure this + opts = {}, + keys = { + { "gn", "Neogit", desc = "Neogit" }, + }, } diff --git a/config/nvim/lua/plugins/extras/editor/harpoon.lua b/config/nvim/lua/plugins/extras/editor/harpoon.lua index 7200cd1f..773f9f18 100644 --- a/config/nvim/lua/plugins/extras/editor/harpoon.lua +++ b/config/nvim/lua/plugins/extras/editor/harpoon.lua @@ -22,14 +22,25 @@ return { { "", function() require("harpoon"):list():next() end, desc = "Next Harpoon File" }, { "", function() require("harpoon"):list():prev() end, desc = "Prev Harpoon File" }, }, - opts = { - globalsettings = { - save_on_toggle = true, - enter_on_sendcmd = true, - }, - }, - config = function(_, opts) - require("harpoon").setup(opts) + config = function() + local harpoon = require("harpoon") + harpoon:setup({}) + + harpoon:extend({ + UI_CREATE = function(cx) + vim.keymap.set("n", "", function() + harpoon.ui:select_menu_item({ vsplit = true }) + end, { buffer = cx.bufnr }) + + vim.keymap.set("n", "", function() + harpoon.ui:select_menu_item({ split = true }) + end, { buffer = cx.bufnr }) + + vim.keymap.set("n", "", function() + harpoon.ui:select_menu_item({ tabedit = true }) + end, { buffer = cx.bufnr }) + end, + }) require("lazyvim.util").on_load("telescope.nvim", function() require("telescope").load_extension("harpoon") diff --git a/config/nvim/lua/plugins/noice.lua b/config/nvim/lua/plugins/noice.lua new file mode 100644 index 00000000..dbbb3f1a --- /dev/null +++ b/config/nvim/lua/plugins/noice.lua @@ -0,0 +1,15 @@ +return { + "folke/noice.nvim", + opts = function(_, opts) + table.insert(opts.routes, { + filter = { + event = "notify", + find = "No information available", + }, + opts = { + skip = true, + }, + }) + opts.presets.lsp_doc_border = true + end, +} diff --git a/config/nvim/lua/plugins/nvim-notify.lua b/config/nvim/lua/plugins/nvim-notify.lua index aa426484..a9009dfe 100644 --- a/config/nvim/lua/plugins/nvim-notify.lua +++ b/config/nvim/lua/plugins/nvim-notify.lua @@ -4,6 +4,6 @@ return { fps = 75, stages = "slide", render = "wrapped-compact", - timeout = 1000, + timeout = 2000, }, -} \ No newline at end of file +} diff --git a/config/nvim/lua/plugins/telescope.lua b/config/nvim/lua/plugins/telescope.lua index 4d244d4e..f8c9e2a2 100644 --- a/config/nvim/lua/plugins/telescope.lua +++ b/config/nvim/lua/plugins/telescope.lua @@ -66,7 +66,7 @@ return { }, pickers = { find_files = { - hidden = true, + hidden = false, }, }, extensions = { diff --git a/config/rofi/config-quickedit.rasi b/config/rofi/config-quickedit.rasi index 12532613..3562a7a2 100644 --- a/config/rofi/config-quickedit.rasi +++ b/config/rofi/config-quickedit.rasi @@ -115,7 +115,7 @@ entry { listview { enabled: true; columns: 1; - lines: 9; + lines: 7; spacing: 4px; dynamic: true; cycle: true; diff --git a/config/rofi/config-quicklink.rasi b/config/rofi/config-quicklink.rasi deleted file mode 100755 index 60140997..00000000 --- a/config/rofi/config-quicklink.rasi +++ /dev/null @@ -1,184 +0,0 @@ - -* { - font: "Fira Code SemiBold 12"; - background: #1E1F29FF; - background-alt: #282A36FF; - foreground: #FFFFFFFF; - selected: #BD93F9FF; - active: #50FA7BFF; - urgent: #FF5555FF; -} - -configuration { - show-icons: false; -} - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 700px; - x-offset: 0px; - y-offset: 0px; - margin: 0px; - padding: 1px; - border: 2px; - border-radius: 10px; - border-color: @foreground; - cursor: "default"; - background-color: transparent; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - margin: 0px; - padding: 30px; - background-color: transparent; - children: [ "inputbar", "message", "listview" ]; - background-image: url("~/.config/hypr/.current_wallpaper", width); -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - border: 0px; - border-radius: 12px; - border-color: @foreground; - background-color: transparent; - text-color: @foreground; - children: [ "textbox-prompt-colon", "prompt"]; -} - -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - padding: 10px 12px; - border-radius: 10px; - border-color: @foreground; - border: 2px; - background-color: transparent; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.5; -} -prompt { - enabled: true; - padding: 10px; - border-radius: 10px; - border-color: @foreground; - border: 2px; - background-color: transparent; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 10px; - border: 0px; - border-radius: 10px; - border-color: @foreground; - background-color: transparent; - text-color: white; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 6; - lines: 1; - cycle: true; - scrollbar: false; - layout: vertical; - spacing: 15px; - border: 1px; - border-radius: 10px; - border-color: @foreground; - background-color: transparent; - cursor: "default"; -} - -/* ---- Element ---- */ -element { - enabled: true; - padding: 25px; - margin: 2px; - cursor: pointer; - background-color: transparent; - border-radius: 10px; - border: 0px; -} - -element normal.normal { - background-color: inherit; - text-color: @foreground; -} - -element normal.urgent { - background-color: inherit; - text-color: @foreground; -} - -element normal.active { - background-color: inherit; - text-color: @foreground; -} - -element selected.normal { - background-color: @selected; - text-color: @foreground; -} - -element selected.urgent { - background-color: inherit; - text-color: @foreground; -} - -element selected.active { - background-color: inherit; - text-color: @foreground; -} - -element alternate.normal { - background-color: inherit; - text-color: @foreground; -} - -element alternate.urgent { - background-color: inherit; - text-color: @foreground; -} - -element alternate.active { - background-color: inherit; - text-color: @foreground; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; -} - -element-text { - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} diff --git a/config/rofi/config-wallpaper.rasi b/config/rofi/config-wallpaper.rasi index 2eb61e38..10a2aca6 100644 --- a/config/rofi/config-wallpaper.rasi +++ b/config/rofi/config-wallpaper.rasi @@ -97,7 +97,7 @@ inputbar { border-color: @border-colour; background-color: transparent; text-color: @foreground-colour; - children: [ "prompt", "textbox-prompt-colon", "entry" ]; + children: [ "textbox-prompt-colon", "entry" ]; } prompt { @@ -108,8 +108,8 @@ prompt { textbox-prompt-colon { enabled: true; expand: false; - str: "::"; - background-color: inherit; + str: "󰸉 "; + background-color: transparent; text-color: inherit; } entry { @@ -117,69 +117,35 @@ entry { background-color: inherit; text-color: inherit; cursor: text; - placeholder: "Search..."; + placeholder: "Choose Wallpaper"; placeholder-color: inherit; } -num-filtered-rows { - enabled: true; - expand: false; - background-color: inherit; - text-color: inherit; -} -textbox-num-sep { - enabled: true; - expand: false; - str: "/"; - background-color: inherit; - text-color: inherit; -} -num-rows { - enabled: true; - expand: false; - background-color: inherit; - text-color: inherit; -} -case-indicator { - enabled: true; - background-color: inherit; - text-color: inherit; -} /*****----- Listview -----*****/ listview { enabled: true; - columns: 3; - lines: 10; + columns: 4; + lines: 3; + spacing: 4px; cycle: true; dynamic: true; scrollbar: true; layout: vertical; - reverse: false; fixed-height: true; fixed-columns: true; - - spacing: 5px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; + border-radius: 10px; background-color: transparent; text-color: @foreground-colour; cursor: "default"; } -scrollbar { - handle-width: 10px ; - handle-color: @handle-colour; - border-radius: 10px; - background-color: @alternate-background; -} + /* ---- Element ---- */ element { enabled: true; padding: 5px; margin: 2px; + orientation: vertical; cursor: pointer; background-color: transparent; border-radius: 10px; @@ -234,7 +200,7 @@ element alternate.active { element-icon { background-color: transparent; text-color: inherit; - size: 32px; + size: 150px; cursor: inherit; } @@ -242,8 +208,8 @@ element-text { background-color: transparent; text-color: inherit; cursor: inherit; + horizontal-align: 0.5; vertical-align: 0.5; - horizontal-align: 0.0; } /*****----- Mode Switcher -----*****/ diff --git a/config/waybar/modules b/config/waybar/modules index 5de96ea7..5436d5a4 100644 --- a/config/waybar/modules +++ b/config/waybar/modules @@ -464,7 +464,7 @@ "exec": "echo ; echo  Key Hints SUPER F1", "interval": 86400, // once every day "tooltip": false, - "on-click": "~/.config/hypr/UserScripts/KeyBinds.sh", + "on-click": "~/.config/hypr/scripts/KeyBinds.sh", }, "custom/keyboard": { @@ -477,7 +477,7 @@ // This is a custom cava visualizer "custom/cava_mviz": { - "exec": "~/.config/hypr/UserScripts/WaybarCava.sh", + "exec": "~/.config/hypr/scripts/WaybarCava.sh", "format": "{}" }, @@ -495,7 +495,7 @@ "interval" : 86400, // once every day "tooltip": false, "on-click": "pkill rofi || rofi -show drun -modi run,drun,filebrowser,window", - "on-click-right": "~/.config/hypr/UserScripts/WaybarLayout.sh", + "on-click-right": "~/.config/hypr/scripts/WaybarLayout.sh", }, @@ -523,7 +523,7 @@ "format-alt-click": "click", "interval": 1, "return-type": "json", - "exec": "~/.config/hypr/UserScripts/Weather.py", + "exec": "~/.config/hypr/scripts/Weather.py", "exec-if": "ping wttr.in -c1", "tooltip" : true, },