updated
This commit is contained in:
parent
66d7ed48b6
commit
c0b02ea2d5
16 changed files with 7203 additions and 5896 deletions
|
@ -16,6 +16,8 @@ fi
|
|||
# environment variables
|
||||
export EDITOR="emacsclient -t -a ''"
|
||||
export VISUAL="emacsclient -c -a 'emacs'"
|
||||
export MEDIA_DIR="$HOME/Media"
|
||||
export TEMP_DIR="$HOME/Temporal"
|
||||
|
||||
# clean home
|
||||
export XDG_DATA_HOME="$HOME/.local/share"
|
||||
|
@ -23,7 +25,6 @@ export XDG_CACHE_HOME="$HOME/.cache"
|
|||
export XDG_CONFIG_HOME="$HOME/.config"
|
||||
export W3M_DIR="$XDG_DATA_HOME/w3m"
|
||||
export GTK2_RC_FILES="$HOME/.config/gtk-2.0/gtkrc-2.0"
|
||||
export WGETRC="$HOME/.config/wget/wgetrc"
|
||||
export INPUTRC="$HOME/.config/inputrc"
|
||||
export GNUPGHOME="$HOME/.local/share/gnupg"
|
||||
export LESSHISTFILE="-"
|
||||
|
|
|
@ -181,9 +181,9 @@ alias \
|
|||
alias \
|
||||
mx="pulsemixer" \
|
||||
amx="alsamixer" \
|
||||
mk="musikcube" \
|
||||
ms="musikcube" \
|
||||
music="musikcube"
|
||||
mk="cmus" \
|
||||
ms="cmus" \
|
||||
music="cmus"
|
||||
|
||||
# power management
|
||||
alias \
|
||||
|
|
File diff suppressed because it is too large
Load diff
Before Width: | Height: | Size: 207 KiB |
|
@ -1,25 +1,26 @@
|
|||
[%General]
|
||||
author=sachnr, based on KvAdapta
|
||||
comment=Gruvbox Dark theme with brown highlights
|
||||
author=Sourav Gope
|
||||
comment=Medium Dark Gruvbox kvantum theme
|
||||
x11drag=menubar_and_primary_toolbar
|
||||
alt_mnemonic=true
|
||||
left_tabs=true
|
||||
attach_active_tab=false
|
||||
attach_active_tab=true
|
||||
mirror_doc_tabs=true
|
||||
group_toolbar_buttons=false
|
||||
toolbar_item_spacing=0
|
||||
toolbar_interior_spacing=2
|
||||
toolbar_item_spacing=1
|
||||
toolbar_interior_spacing=3
|
||||
spread_progressbar=true
|
||||
composite=true
|
||||
menu_shadow_depth=5
|
||||
tooltip_shadow_depth=2
|
||||
menu_separator_height=6
|
||||
tooltip_shadow_depth=6
|
||||
splitter_width=4
|
||||
scroll_width=9
|
||||
scroll_width=6
|
||||
scroll_arrows=false
|
||||
scroll_min_extent=60
|
||||
slider_width=2
|
||||
slider_handle_width=22
|
||||
slider_handle_length=22
|
||||
slider_handle_width=18
|
||||
slider_handle_length=18
|
||||
center_toolbar_handle=true
|
||||
check_size=14
|
||||
textless_progressbar=false
|
||||
|
@ -27,11 +28,11 @@ progressbar_thickness=2
|
|||
menubar_mouse_tracking=true
|
||||
toolbutton_style=1
|
||||
double_click=false
|
||||
translucent_windows=false
|
||||
blurring=false
|
||||
popup_blurring=false
|
||||
translucent_windows=true
|
||||
blurring=true
|
||||
popup_blurring=true
|
||||
vertical_spin_indicators=false
|
||||
spin_button_width=24
|
||||
spin_button_width=32
|
||||
fill_rubberband=false
|
||||
merge_menubar_with_toolbar=true
|
||||
small_icon_size=16
|
||||
|
@ -39,14 +40,14 @@ large_icon_size=32
|
|||
button_icon_size=16
|
||||
toolbar_icon_size=22
|
||||
combo_as_lineedit=true
|
||||
animate_states=true
|
||||
animate_states=false
|
||||
button_contents_shift=false
|
||||
combo_menu=true
|
||||
hide_combo_checkboxes=true
|
||||
combo_focus_rect=false
|
||||
combo_focus_rect=true
|
||||
groupbox_top_label=true
|
||||
inline_spin_indicators=true
|
||||
joined_inactive_tabs=true
|
||||
inline_spin_indicators=false
|
||||
joined_inactive_tabs=false
|
||||
layout_spacing=6
|
||||
layout_margin=9
|
||||
scrollbar_in_view=true
|
||||
|
@ -55,96 +56,91 @@ transient_groove=false
|
|||
submenu_overlap=0
|
||||
tooltip_delay=-1
|
||||
tree_branch_line=true
|
||||
no_window_pattern=false
|
||||
opaque=kaffeine,kmplayer,subtitlecomposer,kdenlive,vlc,smplayer,smplayer2,avidemux,avidemux2_qt4,avidemux3_qt4,avidemux3_qt5,kamoso,QtCreator,VirtualBox,trojita,dragon,digikam
|
||||
reduce_window_opacity=0
|
||||
respect_DE=true
|
||||
dark_titlebar=true
|
||||
opaque=QMPlay2,kaffeine,kmplayer,subtitlecomposer,kdenlive,vlc,avidemux,avidemux2_qt4,avidemux3_qt4,avidemux3_qt5,kamoso,QtCreator,VirtualBox,trojita,dragon,digikam
|
||||
reduce_window_opacity=18
|
||||
scrollable_menu=false
|
||||
submenu_delay=250
|
||||
no_inactiveness=false
|
||||
no_window_pattern=false
|
||||
reduce_menu_opacity=0
|
||||
respect_DE=true
|
||||
contrast=1.00
|
||||
dialog_button_layout=0
|
||||
intensity=1.00
|
||||
saturation=1.00
|
||||
|
||||
[GeneralColors]
|
||||
window.color=#232323
|
||||
window.color=#282828
|
||||
base.color=#282828
|
||||
alt.base.color=#282828
|
||||
button.color=#2e2e2e
|
||||
light.color=#504945
|
||||
mid.light.color=#3f3f3f
|
||||
dark.color=#1d2021
|
||||
mid.color=##202324
|
||||
highlight.color=#665c54cc
|
||||
inactive.highlight.color=#665c54bb
|
||||
text.color=#ebdbb2
|
||||
window.text.color=#ebdbb2
|
||||
button.text.color=#ebdbb2
|
||||
disabled.text.color=#a89984
|
||||
button.color=#fbf1c7
|
||||
light.color=#282828
|
||||
mid.light.color=#282828
|
||||
dark.color=#282828
|
||||
mid.color=#282828
|
||||
highlight.color=#a89984
|
||||
inactive.highlight.color=#282828
|
||||
text.color=#fbf1c7
|
||||
window.text.color=#fbf1c7
|
||||
button.text.color=#fbf1c7
|
||||
disabled.text.color=#d5c4a1
|
||||
tooltip.text.color=#fbf1c7
|
||||
highlight.text.color=#3c3836
|
||||
link.color=#b8bb26
|
||||
link.visited.color=#98971a
|
||||
progress.indicator.text.color=#fbf1c7
|
||||
highlight.text.color=#ebdbb2
|
||||
link.color=#fbf1c7
|
||||
link.visited.color=#7f8c8d
|
||||
progress.indicator.text.color=#d5c4a1
|
||||
|
||||
[Hacks]
|
||||
transparent_ktitle_label=true
|
||||
transparent_dolphin_view=false
|
||||
transparent_dolphin_view=true
|
||||
transparent_pcmanfm_sidepane=true
|
||||
blur_translucent=false
|
||||
blur_translucent=true
|
||||
transparent_menutitle=true
|
||||
respect_darkness=false
|
||||
respect_darkness=true
|
||||
kcapacitybar_as_progressbar=true
|
||||
force_size_grip=true
|
||||
iconless_pushbutton=true
|
||||
iconless_pushbutton=false
|
||||
iconless_menu=false
|
||||
disabled_icon_opacity=70
|
||||
lxqtmainmenu_iconsize=22
|
||||
normal_default_pushbutton=true
|
||||
single_top_toolbar=true
|
||||
tint_on_mouseover=0
|
||||
transparent_pcmanfm_view=false
|
||||
no_selection_tint=true
|
||||
transparent_arrow_button=true
|
||||
transparent_pcmanfm_view=true
|
||||
middle_click_scroll=false
|
||||
no_selection_tint=false
|
||||
opaque_colors=false
|
||||
scroll_jump_workaround=false
|
||||
|
||||
[PanelButtonCommand]
|
||||
frame=true
|
||||
frame.element=button
|
||||
frame.top=4
|
||||
frame.bottom=4
|
||||
frame.left=4
|
||||
frame.right=4
|
||||
frame.top=3
|
||||
frame.bottom=3
|
||||
frame.left=3
|
||||
frame.right=3
|
||||
interior=true
|
||||
interior.element=button
|
||||
indicator.size=8
|
||||
text.normal.color=#ebdbb2
|
||||
text.focus.color=#3c3836
|
||||
text.press.color=#ebdbb2
|
||||
text.toggle.color=#fbf1c7
|
||||
text.normal.color=#d8dee9
|
||||
text.focus.color=#d8dee9
|
||||
text.press.color=#d8dee9
|
||||
text.toggle.color=#d8dee9
|
||||
text.shadow=0
|
||||
text.margin=1
|
||||
text.iconspacing=4
|
||||
indicator.element=arrow
|
||||
text.margin.top=2
|
||||
text.margin.bottom=4
|
||||
text.margin.bottom=2
|
||||
text.margin.left=2
|
||||
text.margin.right=2
|
||||
min_width=+0.3font
|
||||
min_height=+0.3font
|
||||
frame.expansion=14
|
||||
frame.expansion=6
|
||||
|
||||
[PanelButtonTool]
|
||||
inherits=PanelButtonCommand
|
||||
text.normal.color=#ebdbb2
|
||||
text.bold=false
|
||||
indicator.element=arrow
|
||||
indicator.size=0
|
||||
|
||||
[ToolbarButton]
|
||||
frame.element=tbutton
|
||||
interior.element=tbutton
|
||||
indicator.element=tarrow
|
||||
text.normal.color=#ebdbb2
|
||||
text.focus.color=#fbf1c7
|
||||
text.press.color=#fbf1c7
|
||||
text.toggle.color=#fbf1c7
|
||||
text.bold=false
|
||||
|
||||
[Dock]
|
||||
inherits=PanelButtonCommand
|
||||
|
@ -154,49 +150,38 @@ frame.top=1
|
|||
frame.bottom=1
|
||||
frame.left=1
|
||||
frame.right=1
|
||||
text.normal.color=#ebdbb2
|
||||
text.normal.color=#d8dee9
|
||||
|
||||
[DockTitle]
|
||||
inherits=PanelButtonCommand
|
||||
frame=false
|
||||
interior=false
|
||||
text.normal.color=#ebdbb2
|
||||
text.focus.color=#fbf1c7
|
||||
text.normal.color=#d8dee9
|
||||
text.focus.color=#c8c8ca
|
||||
text.bold=false
|
||||
|
||||
[IndicatorSpinBox]
|
||||
inherits=PanelButtonCommand
|
||||
frame=true
|
||||
interior=true
|
||||
frame.top=2
|
||||
frame.bottom=2
|
||||
frame.left=2
|
||||
frame.right=2
|
||||
frame.left=1
|
||||
indicator.element=spin
|
||||
indicator.size=8
|
||||
text.normal.color=#ebdbb2
|
||||
text.margin.top=2
|
||||
text.margin.bottom=2
|
||||
text.margin.left=2
|
||||
text.margin.right=2
|
||||
indicator.size=10
|
||||
text.normal.color=#d8dee9
|
||||
|
||||
[RadioButton]
|
||||
inherits=PanelButtonCommand
|
||||
frame=false
|
||||
interior.element=radio
|
||||
text.normal.color=#ebdbb2
|
||||
text.focus.color=#fbf1c7
|
||||
min_width=+0.3font
|
||||
min_height=+0.3font
|
||||
text.normal.color=#d8dee9
|
||||
text.focus.color=#c8c8ca
|
||||
|
||||
[CheckBox]
|
||||
inherits=PanelButtonCommand
|
||||
frame=false
|
||||
interior.element=checkbox
|
||||
text.normal.color=#ebdbb2
|
||||
text.focus.color=#fbf1c7
|
||||
min_width=+0.3font
|
||||
min_height=+0.3font
|
||||
text.normal.color=#d8dee9
|
||||
text.focus.color=#c8c8ca
|
||||
|
||||
[Focus]
|
||||
inherits=PanelButtonCommand
|
||||
|
@ -214,25 +199,17 @@ frame=true
|
|||
interior=false
|
||||
frame.element=common
|
||||
interior.element=common
|
||||
frame.top=3
|
||||
frame.bottom=3
|
||||
frame.left=3
|
||||
frame.right=3
|
||||
frame.top=1
|
||||
frame.bottom=1
|
||||
frame.left=1
|
||||
frame.right=1
|
||||
|
||||
[LineEdit]
|
||||
inherits=PanelButtonCommand
|
||||
frame.element=lineedit
|
||||
interior.element=lineedit
|
||||
interior=false
|
||||
frame.top=2
|
||||
frame.bottom=2
|
||||
frame.left=2
|
||||
frame.right=2
|
||||
text.margin.top=2
|
||||
text.margin.bottom=2
|
||||
text.margin.left=2
|
||||
text.margin.right=2
|
||||
frame.expansion=0
|
||||
text.margin.left=0
|
||||
text.margin.right=0
|
||||
|
||||
[DropDownButton]
|
||||
inherits=PanelButtonCommand
|
||||
|
@ -244,9 +221,9 @@ indicator.size=8
|
|||
|
||||
[ToolboxTab]
|
||||
inherits=PanelButtonCommand
|
||||
text.normal.color=#ebdbb2
|
||||
text.press.color=#ebdbb2
|
||||
text.focus.color=#fbf1c7
|
||||
text.normal.color=#d8dee9
|
||||
text.focus.color=#c8c8ca
|
||||
text.press.color=#d2d2d4
|
||||
|
||||
[Tab]
|
||||
inherits=PanelButtonCommand
|
||||
|
@ -257,28 +234,27 @@ text.margin.top=2
|
|||
text.margin.bottom=2
|
||||
frame.element=tab
|
||||
indicator.element=tab
|
||||
frame.top=2
|
||||
frame.bottom=2
|
||||
frame.left=2
|
||||
frame.right=2
|
||||
text.normal.color=#ebdbb2
|
||||
text.focus.color=#ebdbb2
|
||||
text.toggle.color=#ebdbb2
|
||||
frame.top=4
|
||||
frame.bottom=4
|
||||
frame.left=4
|
||||
frame.right=4
|
||||
text.normal.color=#d8dee9
|
||||
text.focus.color=#d8dee9
|
||||
text.toggle.color=#d8dee9
|
||||
frame.expansion=0
|
||||
text.bold=false
|
||||
|
||||
[TabFrame]
|
||||
inherits=PanelButtonCommand
|
||||
frame.element=tabframe
|
||||
interior.element=tabframe
|
||||
frame.top=2
|
||||
frame.bottom=2
|
||||
frame.left=2
|
||||
frame.right=2
|
||||
frame.top=4
|
||||
frame.bottom=4
|
||||
frame.left=4
|
||||
frame.right=4
|
||||
|
||||
[TreeExpander]
|
||||
inherits=PanelButtonCommand
|
||||
indicator.size=8
|
||||
indicator.size=12
|
||||
indicator.element=tree
|
||||
|
||||
[HeaderSection]
|
||||
|
@ -289,10 +265,11 @@ frame.top=1
|
|||
frame.bottom=1
|
||||
frame.left=1
|
||||
frame.right=1
|
||||
text.normal.color=#ebdbb2
|
||||
text.focus.color=#fbf1c7
|
||||
text.press.color=#fbf1c7
|
||||
text.toggle.color=#fbf1c7
|
||||
text.bold=false
|
||||
text.normal.color=#d8dee9
|
||||
text.focus.color=#c8c8ca
|
||||
text.press.color=#d2d2d4
|
||||
text.toggle.color=#d2d2d4
|
||||
frame.expansion=0
|
||||
|
||||
[SizeGrip]
|
||||
|
@ -303,14 +280,15 @@ inherits=PanelButtonCommand
|
|||
indicator.element=toolbar
|
||||
indicator.size=5
|
||||
text.margin=0
|
||||
frame=true
|
||||
interior.element=menubar
|
||||
frame.element=menubar
|
||||
text.normal.color=#ebdbb2
|
||||
text.focus.color=#fbf1c7
|
||||
text.normal.color=#d8dee9
|
||||
text.focus.color=#c8c8ca
|
||||
frame.left=0
|
||||
frame.right=0
|
||||
frame.top=0
|
||||
frame.bottom=4
|
||||
frame.bottom=1
|
||||
frame.expansion=0
|
||||
|
||||
[Slider]
|
||||
|
@ -332,10 +310,10 @@ inherits=PanelButtonCommand
|
|||
frame.element=progress
|
||||
interior.element=progress
|
||||
text.margin=0
|
||||
text.normal.color=#ebdbb2
|
||||
text.focus.color=#ebdbb2
|
||||
text.press.color=#ebdbb2
|
||||
text.toggle.color=#cfd8dc
|
||||
text.normal.color=#d8dee9
|
||||
text.focus.color=#c8c8ca
|
||||
text.press.color=#d2d2d4
|
||||
text.toggle.color=#d8dee9
|
||||
text.bold=false
|
||||
frame.expansion=8
|
||||
|
||||
|
@ -358,10 +336,10 @@ text.margin.top=2
|
|||
text.margin.bottom=2
|
||||
text.margin.left=4
|
||||
text.margin.right=4
|
||||
text.normal.color=#ebdbb2
|
||||
text.focus.color=#fbf1c7
|
||||
text.press.color=#fbf1c7
|
||||
text.toggle.color=#fbf1c7
|
||||
text.normal.color=#d8dee9
|
||||
text.focus.color=#c8c8ca
|
||||
text.press.color=#d8dee9
|
||||
text.toggle.color=#d8dee9
|
||||
min_width=+0.3font
|
||||
min_height=+0.3font
|
||||
frame.expansion=0
|
||||
|
@ -379,14 +357,14 @@ inherits=PanelButtonCommand
|
|||
interior.element=scrollbarslider
|
||||
interior=true
|
||||
frame=false
|
||||
indicator.element=grip
|
||||
indicator.size=13
|
||||
frame.expansion=48
|
||||
|
||||
[ScrollbarGroove]
|
||||
inherits=PanelButtonCommand
|
||||
interior=false
|
||||
interior.element=scrollbargroove
|
||||
interior=true
|
||||
frame=false
|
||||
frame.expansion=48
|
||||
|
||||
[MenuItem]
|
||||
inherits=PanelButtonCommand
|
||||
|
@ -394,16 +372,16 @@ frame=true
|
|||
frame.element=menuitem
|
||||
interior.element=menuitem
|
||||
indicator.element=menuitem
|
||||
text.normal.color=#ebdbb2
|
||||
text.focus.color=#fbf1c7
|
||||
text.normal.color=#d8dee9
|
||||
text.focus.color=#c8c8ca
|
||||
text.margin.top=1
|
||||
text.margin.bottom=1
|
||||
text.margin.left=4
|
||||
text.margin.right=4
|
||||
frame.top=0
|
||||
frame.bottom=0
|
||||
frame.left=0
|
||||
frame.right=0
|
||||
frame.top=3
|
||||
frame.bottom=3
|
||||
frame.left=3
|
||||
frame.right=3
|
||||
text.bold=false
|
||||
min_width=+0.3font
|
||||
min_height=+0.3font
|
||||
|
@ -413,10 +391,9 @@ frame.expansion=0
|
|||
inherits=PanelButtonCommand
|
||||
frame.element=menubar
|
||||
interior.element=menubar
|
||||
text.normal.color=#d8dee9
|
||||
frame.bottom=0
|
||||
text.normal.color=#ebdbb2
|
||||
frame.expansion=0
|
||||
text.bold=false
|
||||
|
||||
[MenuBarItem]
|
||||
inherits=PanelButtonCommand
|
||||
|
@ -431,11 +408,8 @@ text.margin.left=4
|
|||
text.margin.right=4
|
||||
text.margin.top=0
|
||||
text.margin.bottom=0
|
||||
text.normal.color=#ebdbb2
|
||||
text.focus.color=#fbf1c7
|
||||
text.bold=false
|
||||
min_width=+0.3font
|
||||
min_height=+0.3font
|
||||
text.normal.color=#d8dee9
|
||||
text.focus.color=#c8c8ca
|
||||
frame.expansion=0
|
||||
|
||||
[TitleBar]
|
||||
|
@ -448,29 +422,18 @@ text.margin.right=2
|
|||
interior.element=titlebar
|
||||
indicator.size=16
|
||||
indicator.element=mdi
|
||||
text.normal.color=#d5c4a1
|
||||
text.focus.color=#ebdbb2
|
||||
text.bold=false
|
||||
text.italic=true
|
||||
text.normal.color=#d8dee9
|
||||
text.focus.color=#c8c8ca
|
||||
text.bold=true
|
||||
text.italic=false
|
||||
frame.expansion=0
|
||||
|
||||
[ComboBox]
|
||||
inherits=PanelButtonCommand
|
||||
frame.element=combo
|
||||
interior.element=combo
|
||||
interior=false
|
||||
frame.top=2
|
||||
frame.bottom=2
|
||||
frame.left=2
|
||||
frame.right=2
|
||||
text.margin.top=2
|
||||
text.margin.bottom=2
|
||||
text.margin.left=2
|
||||
text.margin.right=2
|
||||
text.focus.color=#fbf1c7
|
||||
text.press.color=#ebdbb2
|
||||
text.toggle.color=#fbf1c7
|
||||
frame.expansion=0
|
||||
frame.element=combo
|
||||
text.press.color=#d2d2d4
|
||||
indicator.element=carrow
|
||||
|
||||
[Menu]
|
||||
inherits=PanelButtonCommand
|
||||
|
@ -480,7 +443,7 @@ frame.left=1
|
|||
frame.right=1
|
||||
frame.element=menu
|
||||
interior.element=menu
|
||||
text.normal.color=#ebdbb2
|
||||
text.normal.color=#d8dee9
|
||||
text.shadow=false
|
||||
frame.expansion=0
|
||||
|
||||
|
@ -489,9 +452,9 @@ inherits=GenericFrame
|
|||
frame=false
|
||||
text.shadow=0
|
||||
text.margin=0
|
||||
text.normal.color=#ebdbb2
|
||||
text.focus.color=#fbf1c7
|
||||
text.bold=false
|
||||
text.normal.color=#d8dee9
|
||||
text.focus.color=#c8c8ca
|
||||
text.bold=true
|
||||
frame.expansion=0
|
||||
|
||||
[TabBarFrame]
|
||||
|
@ -499,10 +462,10 @@ inherits=GenericFrame
|
|||
frame=true
|
||||
frame.element=tabBarFrame
|
||||
interior=false
|
||||
frame.top=2
|
||||
frame.bottom=2
|
||||
frame.left=2
|
||||
frame.right=2
|
||||
frame.top=4
|
||||
frame.bottom=4
|
||||
frame.left=4
|
||||
frame.right=4
|
||||
|
||||
[ToolTip]
|
||||
inherits=GenericFrame
|
||||
|
@ -521,6 +484,7 @@ frame.expansion=0
|
|||
inherits=GenericFrame
|
||||
frame=false
|
||||
interior=false
|
||||
interior=false
|
||||
|
||||
[Window]
|
||||
interior=true
|
6796
user/.config/Kvantum/gruvbox-fallnn/gruvbox-fallnn.svg
Normal file
6796
user/.config/Kvantum/gruvbox-fallnn/gruvbox-fallnn.svg
Normal file
File diff suppressed because it is too large
Load diff
After Width: | Height: | Size: 223 KiB |
|
@ -1,2 +1,2 @@
|
|||
[General]
|
||||
theme=Gruvbox-Dark-Brown
|
||||
theme=gruvbox-fallnn
|
||||
|
|
|
@ -88,3 +88,4 @@
|
|||
(package! sharper)
|
||||
(package! csproj-mode)
|
||||
(package! dap-mode)
|
||||
(package! vimrc-mode)
|
||||
|
|
|
@ -6,7 +6,7 @@ https://planet.kde.org/global/atom.xml "~Planet KDE"
|
|||
https://pointieststick.com/feed/ "~This Week on KDE"
|
||||
https://www.kdeblog.com/rss "~KDE Blog"
|
||||
https://thisweek.gnome.org/index.xml "~This Week on GNOME"
|
||||
https://www.omgubuntu.co.uk/feed "~OMG Ubuntu!"
|
||||
https://www.omgubuntu.co.uk/feed "~OMG!Ubuntu"
|
||||
https://www.omglinux.com/feed "~OMG!Linux"
|
||||
https://blog.thunderbird.net/feed/ "~The Thunderbird Blog"
|
||||
https://thelinuxexp.com/feed.xml "~The Linux Experiment"
|
||||
|
@ -33,66 +33,90 @@ https://techcrunch.com/feed/ "~TechCrunch"
|
|||
http://www.techradar.com/rss "~TechRadar"
|
||||
https://www.zdnet.com/news/rss.xml "~ZDNET - News"
|
||||
https://c3po.website/rss/ "~Blog de C3PO"
|
||||
https://thecheis.com/feed/ "~THE_CHEI$"
|
||||
http://yro.slashdot.org/yro.rss "~Slashdot: Your Rights Online"
|
||||
https://freedom-to-tinker.com/feed/rss/ "~Freedom to Tinker"
|
||||
https://act.eff.org/action.atom "~EFF - Action Center"
|
||||
https://www.eff.org/rss/updates.xml "~EFF - Updates"
|
||||
https://victorhckinthefreeworld.com/feed/ "~Victorhck in the free world"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UCHnyfMqiRRG1u-2MsSQLbXA "~YT - Veritasium"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UCtMVHI3AJD4Qk4hcbZnI9ZQ "~YT - SomeOrdinaryGamers"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UCl2mFZoRqjw_ELax4Yisf6w "~YT - Louis Rossmann"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UChI0q9a-ZcbZh7dAu_-J-hg "~YT - Upper Echelon"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UCj8orMezFWVcoN-4S545Wtw "~YT - Max Derrat"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UCkmMACUKpQeIxN9D9ARli1Q "~YT - Shadiversity"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UCNYW2vfGrUE6R5mIJYzkRyQ "~YT - DrossRotzank"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UC36xmz34q02JYaZYKrMwXng "~YT - Nate Gentile"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UCg6gPGh8HU2U01vaFCAsvmQ "~YT - Chris Titus Tech"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UCVls1GmFKf6WlTraIb_IaJg "~YT - DistroTube"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UCxQKHvKbmSzGMvUrVtJYnUA "~YT - Learn Linux TV"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UC5UAwBUum7CPN5buc-_N1Fw "~YT - The Linux Experiment"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UCylGUf9BvQooEFjgdNudoQg "~YT - The Linux Cast"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UCoryWpk4QVYKFCJul9KBdyw "~YT - Switched to Linux"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UCgkyQiY_Q5AlrygIXGWO2Zw "~YT - Tux Traveler"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UCxkw-TfCK1t1VKxfHwPzD6w "~YT - Our Walk in Christ"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UCld68syR8Wi-GY_n4CaoJGA "~YT - Brodie Robertson"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UCjSEJkpGbcZhvo0lr-44X_w "~YT - TechHut"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UC2eYFnH61tmytImy1mTYvhA "~YT - Luke Smith"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UC7YOGHUfC1Tb6E4pudI9STA "~YT - Mental Outlaw"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UC3jSNmKWYA04R47fDcc1ImA "~YT - InfinitelyGalactic"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UCONH73CdRXUjlh3-DdLGCPw "~YT - Nicco Loves Linux"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UC1s1OsWNYDFgbROPV-q5arg "~YT - Michael Horn"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UCOSSzBN8e3JHOxvltQbf_mQ "~YT - Jack Keifer"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UC05XpvbHZUQOfA6xk4dlmcw "~YT - DJ Ware"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UCAiiOTio8Yu69c3XnR7nQBQ "~YT - System Crafters"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UCAYKj_peyESIMDp5LtHlH2A "~YT - unfa"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UCmw-QGOHbHA5cDAvwwqUTKQ "~YT - Zaney"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UCNvl_86ygZXRuXjxbONI5jA "~YT - 10leej"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UC3yaWWA9FF9OBog5U9ml68A "~YT - SavvyNik"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UCS97tchJDq17Qms3cux8wcA "~YT - chris@machine"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UCl8XUDjAOLc7GNKcDp9Nepg "~YT - Locos por Linux"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UClVi5MQZ6T0InZYT7oFs6wg "~YT - Mumbling Hugo"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UCmyGZ0689ODyReHw3rsKLtQ "~YT - Michael Tunnell"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UCv1Kcz-CuGM6mxzL3B1_Eiw "~YT - Gardiner Bryant"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UCcf2Mr1qNoX51XXDUd3Rquw "~YT - ByteSeb"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UCCIHOP7e271SIumQgyl6XBQ "~YT - OldTechBloke"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UCIFzjAer2W9gTWVECZgtDzg "~YT - GaryH Tech"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UCMiyV_Ib77XLpzHPQH_q0qQ "~YT - Veronica Explains"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UCsnGwSIHyoYN0kiINAGUKxg "~YT - Wolfgang's Channel"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UCnIfca4LPFVn8-FjpPVc1ow "~YT - Fedora Project"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UCH5DsMZAgdx5Fkk9wwMNwCA "~YT - The New Oil"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UCs6KfncB4OV6Vug4o_bzijg "~YT - Techlore"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UCYVU6rModlGxvJbszCclGGw "~YT - Rob Braxman Tech"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UCSuHzQ3GrHSzoBbwrIq3LLA "~YT - Naomi Brockwell: NBTV"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UCvFGf8HZGZWFzpcDCqb3Lhw "~YT - All Things Secured"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UCvjgXvBlbQiydffZU7m1_aw "~YT - The Coding Train"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UC9-y-6csu5WGm29I7JiwpnA "~YT - Computerphile"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UCbiGcwDWZjz05njNPrJU7jA "~YT - ExplainingComputers"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UCy0tKL1T7wFoYcxCe0xjN6Q "~YT - Technology Connections"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UC8uT9cgJorJPWu7ITLGo9Ww "~YT - The 8-Bit Guy"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UCoL8olX-259lS1N6QPyP4IQ "~YT - Action Retro"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UCW-HHEyt67RhZ6q21n4p2zQ "~YT - Mac84"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UChT0QzAGfz_pUIbQnePV6KQ "~YT - Pendleton 115"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UC-ErgHYY0_Yjhjz2MN1E1lg "~YT - RETRO Hardware"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UCjgS6Uyg8ok4Jd_lH_MUKgg "~YT - Claus Kellerman"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UC0W_BIuwk8D0Bv4THbVZZOQ "~YT - Surveillance Report"
|
||||
https://invidious.sethforprivacy.com/feed/channel/UCBq5p-xOla8xhnrbhu8AIAg "~YT - Tech Over Tea"
|
||||
https://inv.vern.cc/feed/channel/UC-ErgHYY0_Yjhjz2MN1E1lg "~YT - RETRO Hardware"
|
||||
https://inv.vern.cc/feed/channel/UC05XpvbHZUQOfA6xk4dlmcw "~YT - DJ Ware"
|
||||
https://inv.vern.cc/feed/channel/UC0W_BIuwk8D0Bv4THbVZZOQ "~YT - Surveillance Report"
|
||||
https://inv.vern.cc/feed/channel/UC1D3yD4wlPMico0dss264XA "~YT - NileBlue"
|
||||
https://inv.vern.cc/feed/channel/UC1s1OsWNYDFgbROPV-q5arg "~YT - Michael Horn"
|
||||
https://inv.vern.cc/feed/channel/UC2WHjPDvbE6O328n17ZGcfg "~YT - ForrestKnight"
|
||||
https://inv.vern.cc/feed/channel/UC2eYFnH61tmytImy1mTYvhA "~YT - Luke Smith"
|
||||
https://inv.vern.cc/feed/channel/UC3jSNmKWYA04R47fDcc1ImA "~YT - InfinitelyGalactic"
|
||||
https://inv.vern.cc/feed/channel/UC3yaWWA9FF9OBog5U9ml68A "~YT - SavvyNik"
|
||||
https://inv.vern.cc/feed/channel/UC5I2hjZYiW9gZPVkvzM8_Cw "~YT - Techmoan"
|
||||
https://inv.vern.cc/feed/channel/UC5UAwBUum7CPN5buc-_N1Fw "~YT - The Linux Experiment"
|
||||
https://inv.vern.cc/feed/channel/UC7YOGHUfC1Tb6E4pudI9STA "~YT - Mental Outlaw"
|
||||
https://inv.vern.cc/feed/channel/UC7qPftDWPw9XuExpSgfkmJQ "~YT - Nostalgia Nerd"
|
||||
https://inv.vern.cc/feed/channel/UC8ENHE5xdFSwx71u3fDH5Xw "~YT - ThePrimeagen"
|
||||
https://inv.vern.cc/feed/channel/UC8uT9cgJorJPWu7ITLGo9Ww "~YT - The 8-Bit Guy"
|
||||
https://inv.vern.cc/feed/channel/UC9-y-6csu5WGm29I7JiwpnA "~YT - Computerphile"
|
||||
https://inv.vern.cc/feed/channel/UC9bORzxOWiewqMXxkmhAwAg "~YT - Gingy"
|
||||
https://inv.vern.cc/feed/channel/UCAYKj_peyESIMDp5LtHlH2A "~YT - unfa🇺🇦"
|
||||
https://inv.vern.cc/feed/channel/UCAiiOTio8Yu69c3XnR7nQBQ "~YT - System Crafters"
|
||||
https://inv.vern.cc/feed/channel/UCBq5p-xOla8xhnrbhu8AIAg "~YT - Tech Over Tea"
|
||||
https://inv.vern.cc/feed/channel/UCCIHOP7e271SIumQgyl6XBQ "~YT - OldTechBloke"
|
||||
https://inv.vern.cc/feed/channel/UCE0H52NoucHL2JkhPdZ1ykA "~YT - Jwlar"
|
||||
https://inv.vern.cc/feed/channel/UCEp20NgOZHmgWdbQdHSxgjw "~YT - This Does Not Compute"
|
||||
https://inv.vern.cc/feed/channel/UCFhXFikryT4aFcLkLw2LBLA "~YT - NileRed"
|
||||
https://inv.vern.cc/feed/channel/UCGE-JpLbibXJg3W_N2hbo8g "~YT - Sethorven"
|
||||
https://inv.vern.cc/feed/channel/UCH5DsMZAgdx5Fkk9wwMNwCA "~YT - The New Oil"
|
||||
https://inv.vern.cc/feed/channel/UCHnyfMqiRRG1u-2MsSQLbXA "~YT - Veritasium"
|
||||
https://inv.vern.cc/feed/channel/UCIFzjAer2W9gTWVECZgtDzg "~YT - GaryH Tech"
|
||||
https://inv.vern.cc/feed/channel/UCLx053rWZxCiYWsBETgdKrQ "~YT - LGR"
|
||||
https://inv.vern.cc/feed/channel/UCMbQbVilo-nezMvwf1BZfAA "~YT - CienciaDeSofa"
|
||||
https://inv.vern.cc/feed/channel/UCMiyV_Ib77XLpzHPQH_q0qQ "~YT - Veronica Explains"
|
||||
https://inv.vern.cc/feed/channel/UCNYW2vfGrUE6R5mIJYzkRyQ "~YT - DrossRotzank"
|
||||
https://inv.vern.cc/feed/channel/UCNvl_86ygZXRuXjxbONI5jA "~YT - 10leej"
|
||||
https://inv.vern.cc/feed/channel/UCNzszbnvQeFzObW0ghk0Ckw "~YT - Dave's Garage"
|
||||
https://inv.vern.cc/feed/channel/UCONH73CdRXUjlh3-DdLGCPw "~YT - Nicco Loves Linux"
|
||||
https://inv.vern.cc/feed/channel/UCOSSzBN8e3JHOxvltQbf_mQ "~YT - Jack Keifer"
|
||||
https://inv.vern.cc/feed/channel/UCQX_MZRCaluNKxkywkLEgfA "~YT - Date un Vlog"
|
||||
https://inv.vern.cc/feed/channel/UCS97tchJDq17Qms3cux8wcA "~YT - chris@machine"
|
||||
https://inv.vern.cc/feed/channel/UCSuHzQ3GrHSzoBbwrIq3LLA "~YT - Naomi Brockwell: NBTV"
|
||||
https://inv.vern.cc/feed/channel/UCVls1GmFKf6WlTraIb_IaJg "~YT - DistroTube"
|
||||
https://inv.vern.cc/feed/channel/UCW-HHEyt67RhZ6q21n4p2zQ "~YT - Mac84"
|
||||
https://inv.vern.cc/feed/channel/UCX_WM2O-X96URC5n66G-hvw "~YT - EF - Linux Made Simple"
|
||||
https://inv.vern.cc/feed/channel/UCYVU6rModlGxvJbszCclGGw "~YT - Rob Braxman Tech"
|
||||
https://inv.vern.cc/feed/channel/UCa6V1UVOXN4wDm7RDQDoa6g "~YT - El Traductor de Ingeniería"
|
||||
https://inv.vern.cc/feed/channel/UCbdSYaPD-lr1kW27UJuk8Pw "~YT - QuantumFracture"
|
||||
https://inv.vern.cc/feed/channel/UCbiGcwDWZjz05njNPrJU7jA "~YT - ExplainingComputers"
|
||||
https://inv.vern.cc/feed/channel/UCcf2Mr1qNoX51XXDUd3Rquw "~YT - ByteSeb"
|
||||
https://inv.vern.cc/feed/channel/UCd4XwUn2Lure2NHHjukoCwA "~YT - Linux For Everyone"
|
||||
https://inv.vern.cc/feed/channel/UCeHOkFGW-7uAZFvq3BXb8YA "~YT - :3ildcat"
|
||||
https://inv.vern.cc/feed/channel/UCerEIdrEW-IqwvlH8lTQUJQ "~YT - Tech Tangents"
|
||||
https://inv.vern.cc/feed/channel/UCg6gPGh8HU2U01vaFCAsvmQ "~YT - Chris Titus Tech"
|
||||
https://inv.vern.cc/feed/channel/UCgkyQiY_Q5AlrygIXGWO2Zw "~YT - Tux Traveler"
|
||||
https://inv.vern.cc/feed/channel/UChI0q9a-ZcbZh7dAu_-J-hg "~YT - Upper Echelon"
|
||||
https://inv.vern.cc/feed/channel/UCj8orMezFWVcoN-4S545Wtw "~YT - Max Derrat"
|
||||
https://inv.vern.cc/feed/channel/UCjSEJkpGbcZhvo0lr-44X_w "~YT - TechHut"
|
||||
https://inv.vern.cc/feed/channel/UCjgS6Uyg8ok4Jd_lH_MUKgg "~YT - Claus Kellerman"
|
||||
https://inv.vern.cc/feed/channel/UCl2mFZoRqjw_ELax4Yisf6w "~YT - Louis Rossmann"
|
||||
https://inv.vern.cc/feed/channel/UCl8XUDjAOLc7GNKcDp9Nepg "~YT - Locos por Linux"
|
||||
https://inv.vern.cc/feed/channel/UClVi5MQZ6T0InZYT7oFs6wg "~YT - Mumbling Hugo"
|
||||
https://inv.vern.cc/feed/channel/UCld68syR8Wi-GY_n4CaoJGA "~YT - Brodie Robertson"
|
||||
https://inv.vern.cc/feed/channel/UCmw-QGOHbHA5cDAvwwqUTKQ "~YT - Zaney"
|
||||
https://inv.vern.cc/feed/channel/UCmyGZ0689ODyReHw3rsKLtQ "~YT - Michael Tunnell"
|
||||
https://inv.vern.cc/feed/channel/UCnIfca4LPFVn8-FjpPVc1ow "~YT - Fedora Project"
|
||||
https://inv.vern.cc/feed/channel/UCnw3aIEiz60S6O3XcztCVkQ "~YT - PatricianTV"
|
||||
https://inv.vern.cc/feed/channel/UCoL8olX-259lS1N6QPyP4IQ "~YT - Action Retro"
|
||||
https://inv.vern.cc/feed/channel/UCoryWpk4QVYKFCJul9KBdyw "~YT - Switched to Linux"
|
||||
https://inv.vern.cc/feed/channel/UCoxcjq-8xIDTYp3uz647V5A "~YT - Numberphile"
|
||||
https://inv.vern.cc/feed/channel/UCpuLiczP2Aqq11Gtf4k_fkw "~YT - Futurasound Productions"
|
||||
https://inv.vern.cc/feed/channel/UCrkPsvLGln62OMZRO6K-llg "~YT - Nick Chapsas"
|
||||
https://inv.vern.cc/feed/channel/UCs6KfncB4OV6Vug4o_bzijg "~YT - Techlore"
|
||||
https://inv.vern.cc/feed/channel/UCsBjURrPoezykLs9EqgamOA "~YT - Fireship"
|
||||
https://inv.vern.cc/feed/channel/UCsnGwSIHyoYN0kiINAGUKxg "~YT - Wolfgang's Channel"
|
||||
https://inv.vern.cc/feed/channel/UCtMVHI3AJD4Qk4hcbZnI9ZQ "~YT - SomeOrdinaryGamers"
|
||||
https://inv.vern.cc/feed/channel/UCvFGf8HZGZWFzpcDCqb3Lhw "~YT - All Things Secured"
|
||||
https://inv.vern.cc/feed/channel/UCvjgXvBlbQiydffZU7m1_aw "~YT - The Coding Train"
|
||||
https://inv.vern.cc/feed/channel/UCxQKHvKbmSzGMvUrVtJYnUA "~YT - Learn Linux TV"
|
||||
https://inv.vern.cc/feed/channel/UCxkw-TfCK1t1VKxfHwPzD6w "~YT - Our Walk in Christ"
|
||||
https://inv.vern.cc/feed/channel/UCy0tKL1T7wFoYcxCe0xjN6Q "~YT - Technology Connections"
|
||||
https://inv.vern.cc/feed/channel/UCybBViio_TH_uiFFDJuz5tg "~YT - Einzelgänger"
|
||||
https://inv.vern.cc/feed/channel/UCylGUf9BvQooEFjgdNudoQg "~YT - The Linux Cast"
|
||||
https://inv.vern.cc/feed/channel/UC5KDiSAFxrDWhmysBcNqtMA "~YT - Eric Murphy"
|
||||
|
|
43
user/.config/suckless/dmenu/scripts/dmenu_mount
Executable file
43
user/.config/suckless/dmenu/scripts/dmenu_mount
Executable file
|
@ -0,0 +1,43 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# List of available drives
|
||||
devices=$(lsblk -lpo "name,size,type,mountpoint" --noheadings | grep -v -e "disk" -e "lvm" -e "nvme" |
|
||||
awk '{if ($4=="") {print $1, "(" $2 ")", "[unmounted]"} else {print $1, "(" $2 ")", "[" $4 "]"}}')
|
||||
|
||||
# Main menu
|
||||
selected_device=$(echo -e "${devices}" | dmenu -i -p "Drive manager" | awk '{print $1}')
|
||||
|
||||
# Verify if a drive is selected
|
||||
if [ -n "$selected_device" ]; then
|
||||
mounted_path=$(lsblk -lp | grep "${selected_device}" | awk '{print $7}')
|
||||
|
||||
# Verify if the drive is mounted
|
||||
if [ -n "$mounted_path" ]; then
|
||||
# Check if the drive is encrypted
|
||||
if [ "$(lsblk -n -o TYPE "${selected_device}")" == "crypt" ]; then
|
||||
crypt_device=$(echo "${selected_device}" | sed -s 's/\/dev\/mapper\///')
|
||||
udisksctl unmount -b "${selected_device}"
|
||||
udisksctl lock -b "$crypt_device"
|
||||
notify-send "The encrypted drive was unmounted successfully"
|
||||
else
|
||||
# If it's mounted, unmount it
|
||||
udisksctl unmount -b "$selected_device"
|
||||
notify-send "The drive was unmounted successfully"
|
||||
fi
|
||||
else
|
||||
# If it's not mounted, check if it's an encrypted drive
|
||||
if [ "$(lsblk -n -o FSTYPE "${selected_device}")" == "crypto_LUKS" ]; then
|
||||
# If it's an encrypted drive, prompt for the passphrase and mount it
|
||||
passphrase=$(echo "" | dmenu -p "Enter passphrase for ${selected_device}")
|
||||
if [ -n "$passphrase" ]; then
|
||||
unlocked_device=$(udisksctl unlock -b "${selected_device}" --key-file <(echo -n "$passphrase") | awk '{print $NF}' | sed 's/\.$//')
|
||||
udisksctl mount -b "${unlocked_device}"
|
||||
notify-send "The encrypted drive was mounted successfully"
|
||||
fi
|
||||
else
|
||||
# If it's not an encrypted drive, mount it normally
|
||||
udisksctl mount -b "$selected_device"
|
||||
notify-send "The drive was mounted successfully"
|
||||
fi
|
||||
fi
|
||||
fi
|
|
@ -1,66 +1,133 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# ***This script was made by Clay Gomera (Drake)***
|
||||
# - Description: A simple screenshot dmenu script
|
||||
# - Dependencies: escrotum, dmenu, notify-send
|
||||
# - Description: A simple screenshot/screencast dmenu script
|
||||
# - Dependencies: maim, splop, ffmpeg, dmenu, libnotify
|
||||
|
||||
## CREATING SCREENSHOT FOLDER ##
|
||||
mkdir -p "$HOME/Media/Pictures/Screenshots"
|
||||
cd "$HOME/Media/Pictures/Screenshots" || exit 0
|
||||
## Screenshots Folder ##
|
||||
mkdir -p "$MEDIA_DIR/Pictures/Screenshots"
|
||||
cd "$MEDIA_DIR/Pictures/Screenshots" || exit 0
|
||||
|
||||
## CHOICES ##
|
||||
cho1=" Entire screen"
|
||||
cho2=" Entire screen (Copy to clipboard)"
|
||||
cho3=" Entire screen with delay"
|
||||
cho4=" Entire screen with delay (Copy to clipboard)"
|
||||
cho5=" Select area"
|
||||
cho6=" Select area (Copy to clipboard)"
|
||||
cho7=" Active window"
|
||||
cho8=" Active window (Copy to clipboard)"
|
||||
cho9=" Exit"
|
||||
chos="$cho1\n$cho2\n$cho3\n$cho4\n$cho5\n$cho6\n$cho7\n$cho8\n$cho9"
|
||||
## Main menu choices ##
|
||||
mcho1="Take an screenshot"
|
||||
mcho2="Record the screen"
|
||||
mchos="$mcho1\n$mcho2"
|
||||
|
||||
## DELAY OPTIONS ##
|
||||
## Screenshot menu choices ##
|
||||
scho1=" Entire screen"
|
||||
scho2=" Entire screen with delay"
|
||||
scho3=" Select area"
|
||||
scho4=" Active window"
|
||||
scho5=" Exit"
|
||||
schos="$scho1\n$scho2\n$scho3\n$scho4\n$scho5"
|
||||
|
||||
## Screenshot submenu ##
|
||||
sscho1="Copy to clipboard"
|
||||
sscho2="Save to Media/Pictures/Screenshots"
|
||||
sschos="$sscho1\n$sscho2"
|
||||
|
||||
## Screenshot delay choices ##
|
||||
del1=" 3 sec delay"
|
||||
del2=" 5 sec delay"
|
||||
del3=" 10 sec delay"
|
||||
dels="$del1\n$del2\n$del3"
|
||||
|
||||
## MAIN ACTION ##
|
||||
choice=$(echo -e "$chos" | dmenu -i -l 9 -p " Sreenshot Menu")
|
||||
case $choice in
|
||||
"$cho1")
|
||||
maim -f jpg $(date +%s).jpg && notify-send "Screenshot saved";;
|
||||
"$cho2")
|
||||
maim | xclip -selection clipboard -t image/png && notify-send "Screenshot saved to clipboard";;
|
||||
"$cho3")
|
||||
del=$(echo -e "$dels" | dmenu -i -p " Select Delay");
|
||||
fsschos() {
|
||||
sschoice=$(echo -e "$sschos" | dmenu -i -l 2 -p " What do you want to do with this screenshot?")
|
||||
}
|
||||
|
||||
fdel() {
|
||||
del=$(echo -e "$dels" | dmenu -i -p " Select Delay")
|
||||
}
|
||||
|
||||
shot_screen() {
|
||||
fsschos
|
||||
if [ "$sschoice" = "$sscho1" ]; then
|
||||
maim | xclip -selection clipboard -t image/png && notify-send "Screenshot saved to clipboard"
|
||||
elif [ "$sschoice" = "$sscho2" ]; then
|
||||
maim -f jpg $(date +%s).jpg && notify-send "Screenshot saved"
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
}
|
||||
|
||||
shot_screen_delay() {
|
||||
fsschos
|
||||
if [ "$sschoice" = "$sscho1" ]; then
|
||||
fdel
|
||||
case $del in
|
||||
"$del1")
|
||||
sleep 3 && maim -f jpg $(date +%s).jpg && notify-send "Screenshot saved";;
|
||||
sleep 3 && maim | xclip -selection clipboard -t image/png && notify-send "Screenshot saved to clipboard"
|
||||
;;
|
||||
"$del2")
|
||||
sleep 5 && maim -f jpg $(date +%s).jpg && notify-send "Screenshot saved";;
|
||||
"$del3")
|
||||
sleep 10 && maim -f jpg $(date +%s).jpg && notify-send "Screenshot saved"
|
||||
esac ;;
|
||||
"$cho4")
|
||||
del=$(echo -e "$dels" | dmenu -i -p " Select Delay");
|
||||
case $del in
|
||||
"$del1")
|
||||
sleep 3 && maim | xclip -selection clipboard -t image/png && notify-send "Screenshot saved to clipboard";;
|
||||
"$del2")
|
||||
sleep 5 && maim | xclip -selection clipboard -t image/png && notify-send "Screenshot saved to clipboard";;
|
||||
sleep 5 && maim | xclip -selection clipboard -t image/png && notify-send "Screenshot saved to clipboard"
|
||||
;;
|
||||
"$del3")
|
||||
sleep 10 && maim | xclip -selection clipboard -t image/png && notify-send "Screenshot saved to clipboard"
|
||||
esac ;;
|
||||
"$cho5")
|
||||
maim -s -f jpg $(date +%s).jpg && notify-send "Screenshot saved";;
|
||||
"$cho6")
|
||||
maim -s | xclip -selection clipboard -t image/png && notify-send "Screenshot saved";;
|
||||
"$cho7")
|
||||
maim -i $(xdotool getactivewindow) -f jpg $(date +%s).jpg && notify-send "Screenshot saved";;
|
||||
"$cho8")
|
||||
maim -i $(xdotool getactivewindow) | xclip -selection clipboard -t image/png && notify-send "Screenshot saved";;
|
||||
"$cho9")
|
||||
esac
|
||||
elif [ "$sschoice" = "$sscho2" ]; then
|
||||
fdel
|
||||
case $del in
|
||||
"$del1")
|
||||
sleep 3 && maim -f jpg $(date +%s).jpg && notify-send "Screenshot saved"
|
||||
;;
|
||||
"$del2")
|
||||
sleep 5 && maim -f jpg $(date +%s).jpg && notify-send "Screenshot saved"
|
||||
;;
|
||||
"$del3")
|
||||
sleep 10 && maim -f jpg $(date +%s).jpg && notify-send "Screenshot saved"
|
||||
esac
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
}
|
||||
|
||||
shot_area() {
|
||||
fsschos
|
||||
if [ "$sschoice" = "$sscho1" ]; then
|
||||
maim -s | xclip -selection clipboard -t image/png && notify-send "Screenshot saved"
|
||||
elif [ "$sschoice" = "$sscho2" ]; then
|
||||
maim -s -f jpg $(date +%s).jpg && notify-send "Screenshot saved"
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
}
|
||||
|
||||
shot_window() {
|
||||
fsschos
|
||||
if [ "$sschoice" = "$sscho1" ]; then
|
||||
maim -i $(xdotool getactivewindow) | xclip -selection clipboard -t image/png && notify-send "Screenshot saved"
|
||||
elif [ "$sschoice" = "$sscho2" ]; then
|
||||
maim -i $(xdotool getactivewindow) -f jpg $(date +%s).jpg && notify-send "Screenshot saved"
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
}
|
||||
|
||||
## Main action ##
|
||||
mchoice=$(echo -e "$mchos" | dmenu -i -l 2 -p " Screen Capture Menu")
|
||||
case $mchoice in
|
||||
"$mcho1")
|
||||
schoice=$(echo -e "$schos" | dmenu -i -l 9 -p " Sreenshot Menu")
|
||||
case $schoice in
|
||||
"$scho1")
|
||||
shot_screen
|
||||
;;
|
||||
"$scho2")
|
||||
shot_screen_delay
|
||||
;;
|
||||
"$scho3")
|
||||
shot_area
|
||||
;;
|
||||
"$scho4")
|
||||
shot_window
|
||||
;;
|
||||
"$scho5")
|
||||
exit 0
|
||||
esac
|
||||
;;
|
||||
"$mcho2")
|
||||
notify-send "It worked"
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
|
|
|
@ -5,12 +5,12 @@
|
|||
# - Dependencies: rofi, fd, feh
|
||||
|
||||
## MAIN VARIABLES AND COMMANDS ##
|
||||
walldir="$HOME/Media/Pictures/Wallpapers"
|
||||
walldir="$MEDIA_DIR/Pictures/Wallpapers"
|
||||
cd "$walldir" || exit
|
||||
|
||||
## SELECT PICTURE FUNCTION ##
|
||||
selectpic() {
|
||||
wallpaper=$(fd -p "$walldir" | dmenu -i -p " Select a wallpaper ")
|
||||
wallpaper=$(fdfind -p "$walldir" | dmenu -i -p " Select a wallpaper ")
|
||||
if [ "$wallpaper" ]; then
|
||||
chosenwall=$wallpaper
|
||||
else
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
## / /_/ / / / /_/ / ,< / __/ Clay Gomera (Drake) ##
|
||||
## /_____/_/ \__,_/_/|_|\___/ My custom dwm build ##
|
||||
|
||||
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
||||
lxpolkit &
|
||||
dwmblocks &
|
||||
sh "$HOME"/.fehbg &
|
||||
unclutter --hide-on-touch &
|
||||
|
|
|
@ -42,6 +42,7 @@ const char *spcmd9[] = {"st", "-n", "spflm", "-g", "140x35", "-e", ".config/vifm
|
|||
const char *spcmd10[] = {"st", "-n", "spytm", "-g", "140x35", "-e", "ytfzf", "-mlst", NULL };
|
||||
const char *spcmd11[] = {"st", "-n", "sprss", "-g", "140x35", "-e", "newsboat", NULL };
|
||||
const char *spcmd12[] = {"st", "-n", "spgkk", "-g", "140x35", "-e", "geek-life", NULL };
|
||||
const char *spcmd13[] = {"st", "-n", "sptut", "-g", "140x35", "-e", "tut", NULL };
|
||||
static Sp scratchpads[] = {
|
||||
/* name cmd */
|
||||
{"sptrm", spcmd1},
|
||||
|
@ -56,6 +57,7 @@ static Sp scratchpads[] = {
|
|||
{"spytm", spcmd10},
|
||||
{"sprss", spcmd11},
|
||||
{"spgkk", spcmd12},
|
||||
{"sptut", spcmd13},
|
||||
};
|
||||
|
||||
/* tagging */
|
||||
|
@ -89,6 +91,7 @@ static const Rule rules[] = {
|
|||
{ "Virt-manager", NULL, NULL, 1 << 1, 0, -1 },
|
||||
// web tag
|
||||
{ "LibreWolf", NULL, NULL, 1 << 2, 0, -1 },
|
||||
{ "librewolf-default", NULL, NULL, 1 << 2, 0, -1 },
|
||||
{ "firefox", NULL, NULL, 1 << 2, 0, -1 },
|
||||
{ "qutebrowser", NULL, NULL, 1 << 2, 0, -1 },
|
||||
{ "Chromium", NULL, NULL, 1 << 2, 0, -1 },
|
||||
|
@ -147,6 +150,7 @@ static const Rule rules[] = {
|
|||
{ NULL, "spytm", NULL, SPTAG(9), 1, -1 },
|
||||
{ NULL, "sprss", NULL, SPTAG(10), 1, -1 },
|
||||
{ NULL, "spgkk", NULL, SPTAG(11), 1, -1 },
|
||||
{ NULL, "sptut", NULL, SPTAG(12), 1, -1 },
|
||||
};
|
||||
|
||||
// layout(s)
|
||||
|
@ -192,7 +196,7 @@ static const Key keys[] = {
|
|||
// text editor
|
||||
{ MODKEY, XK_e, spawn, SHCMD("emacsclient -c -a 'emacs'")},
|
||||
// web browser
|
||||
{ MODKEY, XK_w, spawn, SHCMD("firefox")},
|
||||
{ MODKEY, XK_w, spawn, SHCMD("librewolf")},
|
||||
// chat
|
||||
{ MODKEY, XK_s, spawn, SHCMD("signal-desktop")},
|
||||
|
||||
|
@ -212,9 +216,9 @@ static const Key keys[] = {
|
|||
// mute microphone
|
||||
{ 0, XF86XK_AudioMicMute, spawn, SHCMD("pamixer --default-source -t && pkill -RTMIN+10 dwmblocks")},
|
||||
// increase brightness
|
||||
{ 0, XF86XK_MonBrightnessUp, spawn, SHCMD("xbacklight -inc 10 && pkill -RTMIN+10 dwmblocks")},
|
||||
{ 0, XF86XK_MonBrightnessUp, spawn, SHCMD("brightnessctl s 5%+ && pkill -RTMIN+10 dwmblocks")},
|
||||
// decrease brightness
|
||||
{ 0, XF86XK_MonBrightnessDown, spawn, SHCMD("xbacklight -dec 10 && pkill -RTMIN+10 dwmblocks")},
|
||||
{ 0, XF86XK_MonBrightnessDown, spawn, SHCMD("brightnessctl s 5%- && pkill -RTMIN+10 dwmblocks")},
|
||||
// display settings
|
||||
{ 0, XF86XK_Display, spawn, SHCMD("arandr")},
|
||||
// play/pause
|
||||
|
@ -313,6 +317,7 @@ static const Key keys[] = {
|
|||
{ MODKEY|Mod1Mask, XK_n, togglescratch, {.ui = 9 } },
|
||||
{ MODKEY|Mod1Mask, XK_r, togglescratch, {.ui = 10 } },
|
||||
{ MODKEY|Mod1Mask, XK_g, togglescratch, {.ui = 11 } },
|
||||
{ MODKEY|Mod1Mask, XK_t, togglescratch, {.ui = 12 } },
|
||||
|
||||
/* misc */
|
||||
// logout
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
PREFIX ?= /usr/local
|
||||
CC ?= cc
|
||||
|
||||
output: dwmblocks.c
|
||||
${CC} `pkg-config --cflags x11 --libs x11` dwmblocks.c -o dwmblocks
|
||||
output: dwmblocks.c blocks.h
|
||||
${CC} -c dwmblocks.c -o dwmblocks.o
|
||||
${CC} -o dwmblocks dwmblocks.o `pkg-config --cflags x11 --libs x11`
|
||||
clean:
|
||||
rm -fv *.o *.gch dwmblocks
|
||||
install: output
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
brt=$(xbacklight -get)
|
||||
brt=$(brightnessctl -m | cut -d, -f4 | tr -d %)
|
||||
if [ "${brt%.*}" -eq 100 ]; then
|
||||
icon=""
|
||||
elif [ "${brt%.*}" -ge 90 ]; then
|
||||
|
|
|
@ -31,6 +31,8 @@ fi
|
|||
# environment variables
|
||||
export MOZ_USE_XINPUT2=1
|
||||
export QT_STYLE_OVERRIDE=kvantum
|
||||
export MEDIA_DIR="$HOME/Media"
|
||||
export TEMP_DIR="$HOME/Temporal"
|
||||
|
||||
# clean home
|
||||
export XDG_DATA_HOME="$HOME/.local/share"
|
||||
|
@ -46,8 +48,8 @@ export LESSHISTFILE="-"
|
|||
# default apps
|
||||
export EDITOR="emacsclient -t -a ''"
|
||||
export VISUAL="emacsclient -c -a 'emacs'"
|
||||
export BROWSER="firefox"
|
||||
export BROWSER="librewolf"
|
||||
export VIEWER="zathura"
|
||||
|
||||
# start window manager / desktop environment
|
||||
exec dwm
|
||||
dbus-launch --exit-with-session dwm
|
||||
|
|
Loading…
Reference in a new issue