Compare commits
No commits in common. "e4e2b0c40ed8221be7403a62ce99a6a9be404245" and "8a92a9c488161c3d0c1fedf6774095998765ac29" have entirely different histories.
e4e2b0c40e
...
8a92a9c488
6 changed files with 8 additions and 43 deletions
1
.config/.gitignore
vendored
1
.config/.gitignore
vendored
|
@ -62,7 +62,6 @@
|
||||||
!kak/**
|
!kak/**
|
||||||
!fastfetch/
|
!fastfetch/
|
||||||
!fastfetch/**
|
!fastfetch/**
|
||||||
!kdeglobals
|
|
||||||
!.gitignore
|
!.gitignore
|
||||||
|
|
||||||
polybar/default
|
polybar/default
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# This file contains fish universal variable definitions.
|
# This file contains fish universal variable definitions.
|
||||||
# VERSION: 3.0
|
# VERSION: 3.0
|
||||||
SETUVAR __fish_initialized:3800
|
SETUVAR __fish_initialized:3400
|
||||||
SETUVAR fish_color_autosuggestion:4D5566
|
SETUVAR fish_color_autosuggestion:4D5566
|
||||||
SETUVAR fish_color_cancel:\x2d\x2dreverse
|
SETUVAR fish_color_cancel:\x2d\x2dreverse
|
||||||
SETUVAR fish_color_command:39BAE6
|
SETUVAR fish_color_command:39BAE6
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Beware! This file is rewritten by htop when settings are changed in the interface.
|
# Beware! This file is rewritten by htop when settings are changed in the interface.
|
||||||
# The parser is also very primitive, and not human-friendly.
|
# The parser is also very primitive, and not human-friendly.
|
||||||
htop_version=3.4.0-dev-3.4.0
|
htop_version=3.3.0
|
||||||
config_reader_min_version=3
|
config_reader_min_version=3
|
||||||
fields=0 48 17 18 38 39 40 2 46 47 49 1
|
fields=0 48 17 18 38 39 40 2 46 47 49 1
|
||||||
hide_kernel_threads=1
|
hide_kernel_threads=1
|
||||||
|
@ -27,7 +27,6 @@ show_cpu_usage=1
|
||||||
show_cpu_frequency=1
|
show_cpu_frequency=1
|
||||||
show_cpu_temperature=1
|
show_cpu_temperature=1
|
||||||
degree_fahrenheit=0
|
degree_fahrenheit=0
|
||||||
show_cached_memory=1
|
|
||||||
update_process_names=0
|
update_process_names=0
|
||||||
account_guest_in_cpu_meter=0
|
account_guest_in_cpu_meter=0
|
||||||
color_scheme=0
|
color_scheme=0
|
||||||
|
|
|
@ -81,7 +81,7 @@ group {
|
||||||
col.border_inactive=0x66333333
|
col.border_inactive=0x66333333
|
||||||
|
|
||||||
groupbar {
|
groupbar {
|
||||||
col.active=0xAAAA1111
|
col.active=0xAAee1111
|
||||||
col.inactive=0xAA333333
|
col.inactive=0xAA333333
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,32 +0,0 @@
|
||||||
[$Version]
|
|
||||||
update_info=filepicker.upd:filepicker-remove-old-previews-entry
|
|
||||||
|
|
||||||
[KDE]
|
|
||||||
ShowDeleteCommand=true
|
|
||||||
|
|
||||||
[KFileDialog Settings]
|
|
||||||
Allow Expansion=false
|
|
||||||
Automatically select filename extension=true
|
|
||||||
Breadcrumb Navigation=false
|
|
||||||
Decoration position=2
|
|
||||||
LocationCombo Completionmode=5
|
|
||||||
PathCombo Completionmode=5
|
|
||||||
Show Bookmarks=false
|
|
||||||
Show Full Path=false
|
|
||||||
Show Inline Previews=true
|
|
||||||
Show Preview=false
|
|
||||||
Show Speedbar=true
|
|
||||||
Show hidden files=true
|
|
||||||
Sort by=Name
|
|
||||||
Sort directories first=true
|
|
||||||
Sort hidden files last=false
|
|
||||||
Sort reversed=false
|
|
||||||
Speedbar Width=109
|
|
||||||
View Style=DetailTree
|
|
||||||
|
|
||||||
[PreviewSettings]
|
|
||||||
EnableRemoteFolderThumbnail=false
|
|
||||||
MaximumRemoteSize=0
|
|
||||||
|
|
||||||
[Colors:View]
|
|
||||||
BackgroundNormal=#2E2E2E
|
|
|
@ -112,7 +112,7 @@ function show_menu()
|
||||||
draw_menu()
|
draw_menu()
|
||||||
end
|
end
|
||||||
function choose_prefix(i)
|
function choose_prefix(i)
|
||||||
if i == selected and i == active then return opts.selected_and_active
|
if i == selected and i == active then return opts.selected_and_active
|
||||||
elseif i == selected then return opts.selected_and_inactive end
|
elseif i == selected then return opts.selected_and_inactive end
|
||||||
|
|
||||||
if i ~= selected and i == active then return opts.unselected_and_active
|
if i ~= selected and i == active then return opts.unselected_and_active
|
||||||
|
@ -157,7 +157,7 @@ function show_menu()
|
||||||
mp.add_forced_key_binding(opts.toggle_menu_binding, "escape", destroy)
|
mp.add_forced_key_binding(opts.toggle_menu_binding, "escape", destroy)
|
||||||
|
|
||||||
draw_menu()
|
draw_menu()
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
local ytdl = {
|
local ytdl = {
|
||||||
|
@ -186,7 +186,7 @@ function download_formats()
|
||||||
url = string.gsub(url, "ytdl://", "") -- Strip possible ytdl:// prefix.
|
url = string.gsub(url, "ytdl://", "") -- Strip possible ytdl:// prefix.
|
||||||
|
|
||||||
-- don't fetch the format list if we already have it
|
-- don't fetch the format list if we already have it
|
||||||
if format_cache[url] ~= nil then
|
if format_cache[url] ~= nil then
|
||||||
local res = format_cache[url]
|
local res = format_cache[url]
|
||||||
return res, table_size(res)
|
return res, table_size(res)
|
||||||
end
|
end
|
||||||
|
@ -240,7 +240,7 @@ end
|
||||||
|
|
||||||
|
|
||||||
-- register script message to show menu
|
-- register script message to show menu
|
||||||
mp.register_script_message("toggle-quality-menu",
|
mp.register_script_message("toggle-quality-menu",
|
||||||
function()
|
function()
|
||||||
if destroyer ~= nil then
|
if destroyer ~= nil then
|
||||||
destroyer()
|
destroyer()
|
||||||
|
@ -258,8 +258,7 @@ function reload_resume()
|
||||||
local reload_duration = mp.get_property_native("duration")
|
local reload_duration = mp.get_property_native("duration")
|
||||||
local time_pos = mp.get_property("time-pos")
|
local time_pos = mp.get_property("time-pos")
|
||||||
|
|
||||||
--mp.set_property_number("playlist-pos", playlist_pos)
|
mp.set_property_number("playlist-pos", playlist_pos)
|
||||||
mp.commandv("playlist-play-index", playlist_pos)
|
|
||||||
|
|
||||||
-- Tries to determine live stream vs. pre-recordered VOD. VOD has non-zero
|
-- Tries to determine live stream vs. pre-recordered VOD. VOD has non-zero
|
||||||
-- duration property. When reloading VOD, to keep the current time position
|
-- duration property. When reloading VOD, to keep the current time position
|
||||||
|
|
Loading…
Add table
Reference in a new issue