diff --git a/MangoHud/MangoHud.conf b/MangoHud/MangoHud.conf deleted file mode 100644 index def1bf7..0000000 --- a/MangoHud/MangoHud.conf +++ /dev/null @@ -1,240 +0,0 @@ -### MangoHud configuration file -### Uncomment any options you wish to enable. Default options are left uncommented -### Use some_parameter=0 to disable a parameter (only works with on/off parameters) -### Everything below can be used / overridden with the environment variable MANGOHUD_CONFIG instead - -################ PERFORMANCE ################# - -### Limit the application FPS. Comma-separated list of one or more FPS values (e.g. 0,30,60). 0 means unlimited (unless VSynced) -# fps_limit= - -### VSync [0-3] 0 = adaptive; 1 = off; 2 = mailbox; 3 = on -# vsync= - -### OpenGL VSync [0-N] 0 = off; >=1 = wait for N v-blanks, N > 1 acts as a FPS limiter (FPS = display refresh rate / N) -# gl_vsync= - -################### VISUAL ################### - -### Legacy layout -# legacy_layout=false - -### Display custom centered text, useful for a header -# custom_text_center= - -### Display the current system time -# time - -### Time formatting examples -# time_format=%H:%M -# time_format=[ %T %F ] -# time_format=%X # locally formatted time, because of limited glyph range, missing characters may show as '?' (e.g. Japanese) - -### Display MangoHud version -# version - -### Display the current GPU information -## Note: gpu_mem_clock also needs "vram" to be enabled -gpu_stats -gpu_temp -# gpu_core_clock -# gpu_mem_clock -# gpu_power -# gpu_text=GPU -# gpu_load_change -# gpu_load_value=60,90 -# gpu_load_color=39F900,FDFD09,B22222 - -### Display the current CPU information -cpu_stats -cpu_temp -# cpu_power -# cpu_text=CPU -# cpu_mhz -# cpu_load_change -# cpu_load_value=60,90 -# cpu_load_color=39F900,FDFD09,B22222 - -### Display the current CPU load & frequency for each core -# core_load -# core_load_change - -### Display IO read and write for the app (not system) -# io_stats -# io_read -# io_write - -### Display system vram / ram / swap space usage -vram -ram -swap - -### Display per process memory usage -## Show resident memory and other types, if enabled -# procmem -# procmem_shared -# procmem_virt - -### Display battery information -#battery -# battery_icon -# gamepad_battery -# gamepad_battery_icon - -### Display FPS and frametime -fps -# fps_sampling_period=500 -# fps_color_change -# fps_value=30,60 -# fps_color=B22222,FDFD09,39F900 -frametime -# frame_count - -### Display miscellaneous information -engine_version -#gpu_name -vulkan_driver -wine - -### Display loaded MangoHud architecture -# arch - -### Display the frametime line graph -frame_timing -# histogram - -### Display GameMode / vkBasalt running status -gamemode -# vkbasalt - -### Display current FPS limit -# show_fps_limit - -### Display the current resolution -resolution - -### Display custom text -# custom_text= -### Display output of Bash command in next column -# exec= - -### Display media player metadata -# media_player -# media_player_name=spotify -## Format metadata, lines are delimited by ; (wip) -# media_player_format={title};{artist};{album} -# media_player_format=Track:;{title};By:;{artist};From:;{album} - -### Change the hud font size -# font_size=24 -# font_scale=1.0 -# font_size_text=24 -# font_scale_media_player=0.55 -# no_small_font - -### Change default font (set location to TTF/OTF file) -## Set font for the whole hud -# font_file= - -## Set font only for text like media player metadata -# font_file_text= - -## Set font glyph ranges. Defaults to Latin-only. Don't forget to set font_file/font_file_text to font that supports these -## Probably don't enable all at once because of memory usage and hardware limits concerns -## If you experience crashes or text is just squares, reduce glyph range or reduce font size -# font_glyph_ranges=korean,chinese,chinese_simplified,japanese,cyrillic,thai,vietnamese,latin_ext_a,latin_ext_b - -### Change the hud position -# position=top-left - -### Change the corner roundness -# round_corners= - -### Disable / hide the hud by default -# no_display - -### Hud position offset -# offset_x= -# offset_y= - -### Hud dimensions -# width= -# height= -# table_columns= -# cellpadding_y= - -### Hud transparency / alpha -# background_alpha=0.5 -# alpha= - -### FCAT overlay -### This enables an FCAT overlay to perform frametime analysis on the final image stream. -### Enable the overlay -# fcat -### Set the width of the FCAT overlay. -### 24 is a performance optimization on AMD GPUs that should not have adverse effects on nVidia GPUs. -### A minimum of 20 pixels is recommended by nVidia. -# fcat_overlay_width=24 -### Set the screen edge, this can be useful for special displays that don't update from top edge to bottom. This goes from 0 (left side) to 3 (top edge), counter-clockwise. -# fcat_screen_edge=0 - -### Color customization -# text_color=FFFFFF -# gpu_color=2E9762 -# cpu_color=2E97CB -# vram_color=AD64C1 -# ram_color=C26693 -# engine_color=EB5B5B -# io_color=A491D3 -# frametime_color=00FF00 -# background_color=020202 -# media_player_color=FFFFFF -# wine_color=EB5B5B -# battery_color=FF9078 - -### Specify GPU with PCI bus ID for AMDGPU and NVML stats -### Set to 'domain:bus:slot.function' -# pci_dev=0:0a:0.0 - -### Blacklist -# blacklist= - -### Control over socket -### Enable and set socket name, '%p' is replaced with process id -# control = mangohud -# control = mangohud-%p - -################ WORKAROUNDS ################# -### Options starting with "gl_*" are for OpenGL -### Specify what to use for getting display size. Options are "viewport", "scissorbox" or disabled. Defaults to using glXQueryDrawable -# gl_size_query=viewport - -### (Re)bind given framebuffer before MangoHud gets drawn. Helps with Crusader Kings III -# gl_bind_framebuffer=0 - -### Don't swap origin if using GL_UPPER_LEFT. Helps with Ryujinx -# gl_dont_flip=1 - -################ INTERACTION ################# - -### Change toggle keybinds for the hud & logging -# toggle_hud=Shift_R+F12 -# toggle_fps_limit=Shift_L+F1 -# toggle_logging=Shift_L+F2 -# reload_cfg=Shift_L+F4 -# upload_log=Shift_L+F3 - -#################### LOG ##################### -### Automatically start the log after X seconds -# autostart_log=1 -### Set amount of time in seconds that the logging will run for -# log_duration= -### Change the default log interval, 100 is default -# log_interval=100 -### Set location of the output files (required for logging) -# output_folder=/home//mangologs -### Permit uploading logs directly to FlightlessMango.com -# permit_upload=1 -### Define a '+'-separated list of percentiles shown in the benchmark results -### Use "AVG" to get a mean average. Default percentiles are 97+AVG+1+0.1 -# benchmark_percentiles=97,AVG,1,0.1 diff --git a/dunst/critical.ico b/dunst/critical.ico deleted file mode 100644 index 52d3514..0000000 Binary files a/dunst/critical.ico and /dev/null differ diff --git a/dunst/critical.png b/dunst/critical.png deleted file mode 100644 index b36d5b2..0000000 Binary files a/dunst/critical.png and /dev/null differ diff --git a/dunst/normal.ico b/dunst/normal.ico deleted file mode 100644 index 2fe9915..0000000 Binary files a/dunst/normal.ico and /dev/null differ diff --git a/dunst/normal.png b/dunst/normal.png deleted file mode 100644 index 505e12c..0000000 Binary files a/dunst/normal.png and /dev/null differ diff --git a/eww/eww.yuck b/eww/eww.yuck index 2019c41..5359810 100644 --- a/eww/eww.yuck +++ b/eww/eww.yuck @@ -71,20 +71,23 @@ (defpoll STATUS :interval "0.5s" `./script status`) (defpoll COVER :interval "2s" `./script cover`) (defpoll CURRENT :interval "1s" `./script time`) +(defpoll LYRICS :interval "0.4s" `./script lyrics`) (defwidget music [] - (box :class "genwin" :orientation "h" :space-evenly "false" :vexpand "true" :hexpand "false" - (box :class "album_art" :vexpand "false" :hexpand "false" :style "background-image: url('${COVER}');") - (box :orientation "v" :spacing 20 :space-evenly "false" :vexpand "false" :hexpand "false" - (label :halign "center" :class "song" :wrap "false" :limit-width 25 :text SONG) - (label :halign "center" :class "artist" :wrap "false" :text ARTIST) - (box :orientation "h" :spacing 20 :halign "center" :space-evenly "true" :vexpand "false" :hexpand "false" - (button :class "btn_prev" :onclick "./script prev" "玲") - (button :class "btn_prev" :onclick "./script seek '-1'" "") - (button :class "btn_play" :onclick "./script play_toggle" STATUS) - (button :class "btn_next" :onclick "./script seek '1'" "") - (button :class "btn_next" :onclick "./script next" "怜")) - (box :class "music_bar" :halign "center" :vexpand "false" :hexpand "false" :space-evenly "false" - (scale :min 0 :active "true" :max 100 :value CURRENT))))) + (box :class "genwin" :orientation "v" :spacing 20 :space-evenly "false" :vexpand "true" :hexpand "true" + (box :orientation "h" :space-evenly "false" :vexpand "true" :hexpand "false" + (box :class "album_art" :vexpand "false" :hexpand "false" :style "background-image: url('${COVER}');") + (box :orientation "v" :spacing 20 :space-evenly "false" :vexpand "false" :hexpand "false" + (label :halign "center" :class "song" :wrap "false" :limit-width 25 :text SONG) + (label :halign "center" :class "artist" :wrap "false" :text ARTIST) + (box :orientation "h" :spacing 20 :halign "center" :space-evenly "true" :vexpand "false" :hexpand "false" + (button :class "btn_prev" :onclick "./script prev" "玲") + (button :class "btn_prev" :onclick "./script seek '-1'" "") + (button :class "btn_play" :onclick "./script play_toggle" STATUS) + (button :class "btn_next" :onclick "./script seek '1'" "") + (button :class "btn_next" :onclick "./script next" "怜")) + (box :class "music_bar" :halign "center" :vexpand "false" :hexpand "false" :space-evenly "false" + (scale :min 0 :active "true" :max 100 :value CURRENT)))) + (label :halign "center" :class "artist" :text LYRICS))) diff --git a/eww/script b/eww/script index ac49b8f..f3b6280 100755 --- a/eww/script +++ b/eww/script @@ -1,51 +1,58 @@ #!/bin/sh -out=$(echo '{ "command": ["get_property", "pause"]}' | socat - /tmp/mpvsocket 2>/dev/null) +out=$(printf '{ "command": ["get_property", "pause"]}\n' | socat - /tmp/mpvsocket 2>/dev/null) case $1 in song) if [ -n "$out" ] && pgrep -f mpvsocket >/dev/null 2>&1;then cut -d'>' -f1 < "/tmp/yt-music/current" | cut -d':' -f2 | sed 's|[^-]*$||;s|-$||' else - echo "Offline" + printf "Music widget by Coolans X" fi ;; artist) if [ -n "$out" ] && pgrep -f mpvsocket >/dev/null 2>&1;then cut -d'>' -f1 < "/tmp/yt-music/current" | sed 's_.* -__' else - echo "Offline" + printf "Offline" fi ;; cover) if [ -n "$out" ] && pgrep -f mpvsocket >/dev/null 2>&1;then - echo "/tmp/yt-music/default.jpg" + printf "/tmp/yt-music/default.jpg" else - echo "$HOME/.config/eww/music.png" + printf "%s/.config/eww/music.png" "$HOME" fi ;; status) if [ -z "$out" ];then printf "" elif printf "%s" "$out" | grep -q "true";then - echo "喇" + printf "喇" else - echo "" + printf "" fi ;; play_toggle) echo cycle pause | socat - "/tmp/mpvsocket" ;; next) - pgrep -f mpvsocket >/dev/null 2>&1 && /home/tanveer/repos_scripts/yt-music play_next + pgrep -f mpvsocket >/dev/null 2>&1 && "$HOME/repos_scripts/yt-music" play_next ;; prev) - pgrep -f mpvsocket >/dev/null 2>&1 && ($HOME/repos_scripts/yt-music play "$(sed 's| >|\t|g' /tmp/yt-music/prev | cut -d':' -f2)") + pgrep -f mpvsocket >/dev/null 2>&1 && ("$HOME/repos_scripts/yt-music" play "$(sed 's| >|\t|g' /tmp/yt-music/prev | cut -d':' -f2)") ;; time) out=$(echo '{"command" :["get_property" , "percent-pos"]}' | socat - /tmp/mpvsocket 2>/dev/null | sed -nE 's_.*data":([^,]*).*_\1_p') - [ -z "$out" ] && echo "100" || echo "$out" + printf '%s' "${out:-100}" ;; seek) echo "{\"command\" :[\"seek\" ,\"$2\",\"relative-percent\"]}" | socat - /tmp/mpvsocket ;; + lyrics) + if [ -f "/tmp/yt-music/lyrics" ]; then + sed -n "/^$(awk -v value="$(echo '{ "command": ["get_property", "time-pos"] }' | socat - /tmp/mpvsocket | sed -nE 's|.*data":([^,]*).*|\1|p')" '$1 > value*1000 {print $1;exit}' /tmp/yt-music/lyrics)\t/p" /tmp/yt-music/lyrics | cut -f2 + else + printf "Lyrics By musixmatch" + fi + ;; esac diff --git a/foot/foot.ini b/foot/foot.ini index 4563f1a..383dafe 100644 --- a/foot/foot.ini +++ b/foot/foot.ini @@ -85,7 +85,7 @@ bright4=FC9867 bright5=AB9DF2 bright6=78DCE8 bright7=FCFCFA -alpha=0.9 +alpha=0.90 ## dimmed colors (see foot.ini(5) man page) # dim0= diff --git a/hypr/date b/hypr/date index 0c4e6ea..cef0e50 100755 --- a/hypr/date +++ b/hypr/date @@ -2,7 +2,7 @@ i=5 while [ $i -gt 0 ];do - notify-send -i "/usr/share/icons/Papirus/16x16/panel/clockify-blue.svg" "$(date)" -h "string:x-canonical-private-synchronous:date" -t 1200 & + notify-send -i "/usr/share/icons/Papirus/16x16/panel/clockify-blue.svg" "$(date)" -h "string:x-canonical-private-synchronous:${0##*/}" -t 1200 & sleep 1 : $((i-=1)) done diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 2abb0e5..66e579c 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -1,5 +1,5 @@ # See https://wiki.hyprland.org/Configuring/Monitors/ -monitor=,highres,auto,1 +monitor=,preferred,auto,1 $hypr_dir="$HOME/.config/hypr" # See https://wiki.hyprland.org/Configuring/Keywords/ for more @@ -36,11 +36,15 @@ decoration { # See https://wiki.hyprland.org/Configuring/Variables/ for more rounding = 10 - blur = no drop_shadow = yes shadow_range = 4 shadow_render_power = 3 col.shadow = rgba(1a1a1aee) + blur { + enabled = false + size = 8 + passes = 2 + } } animations { @@ -64,23 +68,12 @@ dwindle { force_split=2 } -master { - # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more - new_is_master = true -} - gestures { # See https://wiki.hyprland.org/Configuring/Variables/ for more workspace_swipe = true workspace_swipe_fingers = 3 } -# Example per-device config -# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more -device:epic mouse V1 { - sensitivity = -0.5 -} - # See https://wiki.hyprland.org/Configuring/Keywords/ for more $mainMod = SUPER @@ -154,6 +147,8 @@ binde=$mainMod, F2, exec, pamixer -d 2 && $hypr_dir/volume #my XF86AudioLowerVol binde=$mainMod, F3, exec, pamixer -i 2 && $hypr_dir/volume #my XF86AudioLowerVolume doesn't work,So I don't use XF86AudioRaiseVolume, gives me confusion #binde=, XF86AudioMute, exec, pamixer -t && $hypr_dir/volume #doesn't work either binde=$mainMod, F8, exec, echo cycle pause | socat - "/tmp/mpvsocket" +binde=, XF86AudioPlay, exec, echo cycle pause | socat - "/tmp/mpvsocket" +binde=, XF86AudioPause, exec, echo cycle pause | socat - "/tmp/mpvsocket" binde=$mainMod SHIFT, F8, exec, $HOME/repos_scripts/yt-music search_play binde=$mainMod, F9, exec, $HOME/repos_scripts/yt-music play_next binde=$mainMod SHIFT, F9, exec, $HOME/repos_scripts/yt-music play_next menu @@ -168,6 +163,8 @@ windowrulev2=workspace 3,class:^(pcmanfm)$ windowrulev2=workspace 3,class:^(mpv)$ windowrulev2=workspace 3,class:^([c|C]ode) windowrulev2=workspace 4,class:^(pavucontrol)$ +windowrulev2=workspace 4,class:^(Xephyr)$ +windowrulev2=fullscreen,class:^(Xephyr)$ #startup applications exec-once=dbus-update-activation-environment --systemd --all @@ -176,7 +173,5 @@ exec-once=swaybg -i ~/wall/9.png exec-once=node ~/arrpc/src > /tmp/discordrpclog exec-once=xrdb -merge $HOME/.config/.Xresource exec-once=$hypr_dir/workspace 'focus' -exec-once=eww open-many music_0 time_0 exec-once=sleep 5 && $hypr_dir/workspace -#exec-once=skypeforlinux exec-once=sleep 2 && google-chrome-stable 'https://web.skype.com/?openPstnPage=true' diff --git a/hypr/info b/hypr/info index 01578b4..52fee31 100755 --- a/hypr/info +++ b/hypr/info @@ -10,7 +10,7 @@ while [ $i -le 5 ];do vol_stats=$(pamixer --get-mute) [ "$bat_stats" = "Discharging" ] && bat_icon=🔋 || bat_icon=🔌 [ "$vol_stats" = "true" ] && vol_icon=🔇 || vol_icon=🔊 - notify-send -i "lol" "<----------(STATS)---------->" "🧠 CPU usage : $(top -ibn1 | sed -nE 's_%Cpu\(s\):(.*)us.*_\1_p' | cut -d' ' -f2-3) %\n🌡️ Cpu Temp : $temp °C\n🔳 RAM : $mem MB / 7733 MB\n$bat_icon Battery : $(cat /sys/class/power_supply/BAT*/capacity) (${bat_stats})\n☀️ Brightness : $(light -G | cut -d'.' -f1)%\n$vol_icon Volume : $(pamixer --get-volume-human)\n🎵 $(pgrep -af mpvsocket >/dev/null && cut -d ">" -f1 /tmp/yt-music/current | cut -d":" -f2)" -h "string:x-canonical-private-synchronous:stats" -t 1500 & + notify-send -i "lol" "<----------(STATS)---------->" "🧠 CPU usage : $(top -ibn1 | sed -nE 's_%Cpu\(s\):(.*)us.*_\1_p' | cut -d' ' -f2-3) %\n🌡️ Cpu Temp : $temp °C\n🔳 RAM : $mem MB / 7733 MB\n$bat_icon Battery : $(cat /sys/class/power_supply/BAT*/capacity) (${bat_stats})\n☀️ Brightness : $(light -G | cut -d'.' -f1)%\n$vol_icon Volume : $(pamixer --get-volume-human)\n🎵 $(pgrep -af mpvsocket >/dev/null && cut -d ">" -f1 /tmp/yt-music/current | cut -d":" -f2)" -h "string:x-canonical-private-synchronous:${0##*/}" -t 1500 & : $((i+=1)) sleep 1 done diff --git a/hypr/volume b/hypr/volume index f33cf27..ed60135 100755 --- a/hypr/volume +++ b/hypr/volume @@ -6,4 +6,4 @@ vol_icon="low" [ "$vol_int" -gt 33 ] && vol_icon="medium" [ "$vol_int" -gt 66 ] && vol_icon="high" pamixer --get-mute | sh && vol_icon="muted" -notify-send -i "/usr/share/icons/Papirus/16x16/panel/audio-volume-$vol_icon.svg" "$vol_int %" -h "string:x-canonical-private-synchronous:volume" -t 1000 +notify-send -i "/usr/share/icons/Papirus/16x16/panel/audio-volume-$vol_icon.svg" "$vol_int %" -h "string:x-canonical-private-synchronous:${0##*/}" -t 1000 diff --git a/hypr/wifi b/hypr/wifi index 182ca82..19dc04b 100755 --- a/hypr/wifi +++ b/hypr/wifi @@ -6,4 +6,4 @@ else nmcli radio wifi on wifi_icon="acquiring" fi -notify-send -i "/usr/share/icons/Papirus/16x16/panel/network-wireless-$wifi_icon.svg" "wifi $(nmcli radio wifi)" -h "string:x-canonical-private-synchronous:wifi" +notify-send -i "/usr/share/icons/Papirus/16x16/panel/network-wireless-$wifi_icon.svg" "wifi $(nmcli radio wifi)" -h "string:x-canonical-private-synchronous:${0##*/}" diff --git a/hypr/workspace b/hypr/workspace index dcf1b85..7874363 100755 --- a/hypr/workspace +++ b/hypr/workspace @@ -1,14 +1,14 @@ #!/bin/sh setup_dual_monitor(){ - sed -i "s/monitor=,1920x1080,0x0,1,mirror,eDP-1/monitor=,highres,auto,1/g" "$HOME/.config/hypr/hyprland.conf" + sed -i "s/monitor=,1920x1080,0x0,1,mirror,eDP-1/monitor=,preferred,auto,1/g" "$HOME/.config/hypr/hyprland.conf" sleep 2 if hyprctl monitors | grep -q "HDMI-A-1";then notify-send "Setting up dual monitor workflow" - for i in $(seq 2 4);do - hyprctl dispatch moveworkspacetomonitor "$i 0" - done - hyprctl dispatch moveworkspacetomonitor "1 1" + hyprctl dispatch moveworkspacetomonitor "2 1" + hyprctl dispatch moveworkspacetomonitor "3 1" + hyprctl dispatch moveworkspacetomonitor "1 0" + hyprctl dispatch moveworkspacetomonitor "4 0" eww kill eww open-many time_1 music_1 fi @@ -17,12 +17,12 @@ setup_dual_monitor(){ handle_it(){ [ -z "$1" ] || notify-send "$1" choice=$(printf "Mirror\nExtend" | bemenu --fn 'Roboto 15' -i -c -W 0.2 -B 3 -l 20 -p "what to do??: " -m 1) - [ -z "$choice" ] && exit 0 + [ -z "$choice" ] && return 0 notify-send "${choice}ing screen" if [ "$choice" = "Extend" ];then setup_dual_monitor else - sed -i "s/monitor=,highres,auto,1/monitor=,1920x1080,0x0,1,mirror,eDP-1/g" "$HOME/.config/hypr/hyprland.conf" + sed -i "s/monitor=,preferred,auto,1/monitor=,1920x1080,0x0,1,mirror,eDP-1/g" "$HOME/.config/hypr/hyprland.conf" fi } @@ -30,14 +30,14 @@ case $1 in list) #only lists the open applications with their workspace number so u can safely close them for i in $(seq 4);do - notify-send -i "lol" "$(hyprctl clients | sed -nE 's_.*class: ([^ ]*).*_\1_p;s_.*workspace: ([^ ]*).*_workspace \1 : _p' | sed 'N;s/\n/ /')" -h "string:x-canonical-private-synchronous:workspace" -t 1500 + notify-send -i "lol" "$(hyprctl clients | sed -nE 's_.*class: ([^ ]*).*_\1_p;s_.*workspace: ([^ ]*).*_workspace \1 : _p' | sed 'N;s/\n/ /')" -h "string:x-canonical-private-synchronous:${0##*/}" -t 1500 sleep 1 done ;; focus) #shows the workspace number as notification whenever u switch workspaces and also handles the dual monitor setup on the fly(perfect for laptop users) socat - "UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock" | while read -r line;do printf "%s" "$line" | grep -q "monitoradded" && handle_it "$line" - printf "%s" "$line" | grep -q "monitorremoved" && sed -i "s/monitor=,1920x1080,0x0,1,mirror,eDP-1/monitor=,highres,auto,1/g" "$HOME/.config/hypr/hyprland.conf" && eww kill && eww open_many time_0 music_0 + printf "%s" "$line" | grep -q "monitorremoved" && sed -i "s/monitor=,1920x1080,0x0,1,mirror,eDP-1/monitor=,preferred,auto,1/g" "$HOME/.config/hypr/hyprland.conf" && eww kill && eww open_many time_0 music_0 #recent workspace switcher current=$(printf "%s" "$line" | sed -nE 's_^(workspace)>>([^ ]*)_\1 \2_p') if [ -n "$current" ];then diff --git a/mimeapps.list b/mimeapps.list index 8311a97..08612b7 100644 --- a/mimeapps.list +++ b/mimeapps.list @@ -30,3 +30,4 @@ application/json=nvim.desktop; [Added Associations] video/x-matroska=mpv.desktop; +application/octet-stream=google-chrome.desktop; diff --git a/mpv/mpv.conf b/mpv/mpv.conf index b7edad4..9cb18ec 100644 --- a/mpv/mpv.conf +++ b/mpv/mpv.conf @@ -1 +1,3 @@ #hwdec=auto +profile=gpu-hq +gpu-context=wayland diff --git a/nvim/lazy-lock.json b/nvim/lazy-lock.json index cb69284..a11334c 100644 --- a/nvim/lazy-lock.json +++ b/nvim/lazy-lock.json @@ -1,26 +1,26 @@ { - "LuaSnip": { "branch": "master", "commit": "0b4950a237ce441a6a3a947d501622453f6860ea" }, + "LuaSnip": { "branch": "master", "commit": "c4d6298347f7707e9757351b2ee03d0c00da5c20" }, "cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" }, "cmp-cmdline": { "branch": "main", "commit": "8ee981b4a91f536f52add291594e89fb6645e451" }, "cmp-nvim-lsp": { "branch": "main", "commit": "44b16d11215dce86f253ce0c30949813c0a90765" }, "cmp-nvim-lua": { "branch": "main", "commit": "f12408bdb54c39c23e67cab726264c10db33ada8" }, "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, "cmp_luasnip": { "branch": "master", "commit": "18095520391186d634a0045dacaa346291096566" }, - "friendly-snippets": { "branch": "main", "commit": "4aed1a0ca605cb1c87f59799a0cc4afe00a40272" }, + "friendly-snippets": { "branch": "main", "commit": "00e191fea2cfbbdd378243f35b5953296537a116" }, "laravel.nvim": { "branch": "main", "commit": "23d6cba80e03d16a18034a54b2b0be1f57400bd3" }, - "lazy.nvim": { "branch": "main", "commit": "3ad55ae678876516156cca2f361c51f7952a924b" }, - "lualine.nvim": { "branch": "master", "commit": "05d78e9fd0cdfb4545974a5aa14b1be95a86e9c9" }, - "mason-lspconfig.nvim": { "branch": "main", "commit": "e86a4c84ff35240639643ffed56ee1c4d55f538e" }, - "mason.nvim": { "branch": "main", "commit": "3f6b544c75c01549f7a2a9e395e0f1cea42b25dd" }, + "lazy.nvim": { "branch": "main", "commit": "2a9354c7d2368d78cbd5575a51a2af5bd8a6ad01" }, + "lualine.nvim": { "branch": "master", "commit": "45e27ca739c7be6c49e5496d14fcf45a303c3a63" }, + "mason-lspconfig.nvim": { "branch": "main", "commit": "dfdd771b792fbb4bad8e057d72558255695aa1a7" }, + "mason.nvim": { "branch": "main", "commit": "0942198fb9a998b6ccee36fb8dd7495eb8ba659c" }, "monokai-pro.nvim": { "branch": "main", "commit": "826d028edbcc7a8aadc0f7a32b32747d97575615" }, "nvim-autopairs": { "branch": "master", "commit": "ae5b41ce880a6d850055e262d6dfebd362bb276e" }, - "nvim-cmp": { "branch": "main", "commit": "c4e491a87eeacf0408902c32f031d802c7eafce8" }, + "nvim-cmp": { "branch": "main", "commit": "5dce1b778b85c717f6614e3f4da45e9f19f54435" }, "nvim-colorizer.lua": { "branch": "master", "commit": "36c610a9717cc9ec426a07c8e6bf3b3abcb139d6" }, - "nvim-dap": { "branch": "master", "commit": "d17d1bba23ec72a157bd183c57840c39e323f515" }, + "nvim-dap": { "branch": "master", "commit": "4377a05b9476587b7b485d6a9d9745768c4e4b37" }, "nvim-dap-python": { "branch": "master", "commit": "37b4cba02e337a95cb62ad1609b3d1dccb2e5d42" }, - "nvim-lspconfig": { "branch": "master", "commit": "dd11ba7b3c8f82d51b6d4dd7d68fce2d78bf78a0" }, - "nvim-parinfer": { "branch": "master", "commit": "c0d95d9f4c5f921872ba11790b76efbb02cc8af5" }, - "nvim-treesitter": { "branch": "master", "commit": "7b04e8b67eec7d92daadf9f0717dd272ddfc81a3" }, - "packer.nvim": { "branch": "master", "commit": "1d0cf98a561f7fd654c970c49f917d74fafe1530" }, - "telescope.nvim": { "branch": "master", "commit": "7bb2fcecdcfe7d7975c0e59c276033740cd45d38" } + "nvim-lspconfig": { "branch": "master", "commit": "a27356f1ef9c11e1f459cc96a3fcac5c265e72d6" }, + "nvim-parinfer": { "branch": "master", "commit": "5ca09287ab3f4144f78ff7977fabc27466f71044" }, + "nvim-treesitter": { "branch": "master", "commit": "7f6ff292e3f53e7b12554ee92264c23762dc7906" }, + "packer.nvim": { "branch": "master", "commit": "ea0cc3c59f67c440c5ff0bbe4fb9420f4350b9a3" }, + "telescope.nvim": { "branch": "master", "commit": "32e6792f865221dfaf2a3751fd3cfeac96557433" } } \ No newline at end of file diff --git a/pcmanfm/default/pcmanfm.conf b/pcmanfm/default/pcmanfm.conf index 75b086d..4a9671c 100644 --- a/pcmanfm/default/pcmanfm.conf +++ b/pcmanfm/default/pcmanfm.conf @@ -26,7 +26,7 @@ side_pane_mode=places view_mode=list show_hidden=0 sort=name;ascending; -columns=name:200;desc:143;size;mtime:870; +columns=name:200;desc:143;size;mtime:950; toolbar=newtab;navigation;home; show_statusbar=1 pathbar_mode_buttons=0 diff --git a/psysh/psysh_history b/psysh/psysh_history deleted file mode 100644 index 892eeeb..0000000 --- a/psysh/psysh_history +++ /dev/null @@ -1,66 +0,0 @@ -User::all(); -User::create(['name' => 'surendra','email' => 'surendra.sahu@gmail.com','password' => Hash::make('password')]); -User::all(); -$bot = new Bots; -$bot = new App\Models\Bots; -$bot -$user = User::first() -$user->name; -$bot->name = $user->namel -$bot->name = $user->name; -$bot->created_by = $user->id; -$bot->save; -$bot->save(); -$bot -Bot::first() -Bots::first() -Bots::first(); -use App\Models\Bots; -Bots::first(); -use App\Models\Bots; -$bot = Bots::first(); -$bot->url(); -$bot->url()->get(); -$bot = Bots::first(); -use App\Models\Bots; -$bot = Bots::first(); -$bot->url(); -Document::select('file_type','file_name')->where('user_id',1)->get()->group_by('file_type')->map(function ($group) { return $group->pluck('file_name')->toArray(); })->toJson(); -use App\Models\Document; -Document::select('file_type','file_name')->where('user_id',1)->get()->group_by('file_type')->map(function ($group) { return $group->pluck('file_name')->toArray(); })->toJson(); -Document::select('file_type','file_name')->where('user_id',1)->get()->groupBy('file_type')->map(function ($group) { return $group->pluck('file_name')->toArray(); })->toJson(); -use App\Models\Document; -Document::select('file_type','file_name')->where('user_id',1)->get()->groupBy('file_type')->map(function ($group) { return $group->pluck('file_name')->toArray(); })->toJson(); -Document::select('file_type','file_name')->where('user_id',1)->get()->groupBy('file_type')->map(function ($group) { return $group->pluck('file_name')->toArray(); }); -use App\Models\Bots; -$bot = Bots::first(); -$bot->document() -$bot->url(); -$bot->url(); -$bot->url(); -$bot = App\Models\Bots::first(); -$bot->url(); -$bot->url() + $bot->document(); -$bot = App\Models\Bots::first(); -$bot->url() + $bot->document(); -Document::select('file_type','file_name')->where('user_id',1)->get()->groupBy('file_type')->pluck('file_name')->toArray(); -$bot = App\Models\Bots::first(); -use App\Models\Document; -Document::select('file_type','file_name')->where('user_id',1)->get()->groupBy('file_type')->pluck('file_name')->toArray(); -$bot->url() + $bot->document(); -$bot->url() + $bot->document(); -$bot->url() + $bot->document(); -$bot = App\Models\Bots::first(); -$bot->url() + $bot->document(); -$bot = App\Models\Bots::first(); -$bot->url() + $bot->document(); -$bot = App\Models\Bots::first(); -$bot->url() + $bot->document(); -$bot->url() + $bot->document(); -$bot->url() + $bot->document(); -$bot = App\Models\Bots::first(); -$bot->url() + $bot->document(); -$bot->url() + $bot->document(); -$bot = App\Models\Bots::first(); -json_encode(['id' => $bot->id, 'slug' => $bot->name , content => $bot->url() + $bot->document()]) -json_encode(['id' => $bot->id, 'slug' => $bot->name , 'content' => $bot->url() + $bot->document()]) diff --git a/spicy/settings b/spicy/settings deleted file mode 100644 index 673bcec..0000000 --- a/spicy/settings +++ /dev/null @@ -1,10 +0,0 @@ -[general] -grab-keyboard=true -grab-mouse=true -scaling=true -auto-clipboard=true -sync-modifiers=true - -[ui] -toolbar=true -statusbar=true diff --git a/xpra/xpra.conf b/xpra/xpra.conf new file mode 100644 index 0000000..a5cef71 --- /dev/null +++ b/xpra/xpra.conf @@ -0,0 +1,11 @@ +# xpra user configuration file +# place your custom settings in this file +# they will take precedence over the system default ones. + +# Examples: +# speaker=off +# dpi=144 + +# For more information on the file format, +# see the xpra manual at: +# https://github.com/Xpra-org/xpra/tree/master/docs/