Skip to content

Commit

Permalink
rearranged directories
Browse files Browse the repository at this point in the history
  • Loading branch information
keystroke3 committed May 21, 2022
1 parent 0af7bf0 commit fff18cb
Show file tree
Hide file tree
Showing 55 changed files with 600 additions and 2,502 deletions.
3 changes: 2 additions & 1 deletion .aliases
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ alias dupe="czkawka_cli"
alias pc="sudo netstat -tulnp | grep "$1""
alias sst="ssh linkastream.co"
alias ddev="ssh [email protected]"
alias dutils="ssh ubuntu@135.125.132.210"
alias dutils="ssh ubuntu@shop.foto-dino.de"
alias dstage="ssh foto-dino.com"
alias dprod="ssh [email protected]"
alias dprodf="ssh [email protected]"
Expand All @@ -331,3 +331,4 @@ alias dbshell="py manage.py dbshell"
alias mpn="mpv --no-resume-playback"
alias cp="cp -r"
alias rr="sed -i 's/==.*//g' requirements.txt"
alias arco="ssh [email protected]"
2 changes: 0 additions & 2 deletions .bin/leonflix

This file was deleted.

2 changes: 1 addition & 1 deletion .bin/rsort
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
import sys
teamdir = "/home/ted/Documents/teams/"
teamdir = "$HOME/Documents/teams/"
files = ["team1.tree", "team2.tree", "team3.tree", "team4.tree", "team5.tree"]


Expand Down
2 changes: 1 addition & 1 deletion .bin/vp-finder
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
# fuzz=$(fd . $HOME -H | rofi -dmenu -theme-str '#window { width: 70%; }' 20 -i -p 'Open Files: ')
#
[[ "$1" == "resume" ]] && color=#98c379 || color=#e06c75
fuzz=$(fd . /home/ted/Videos/ -pt d | dmenu -i -l 10 -p File: -nb '#1E1C31' -nf '#ccc' -sb $color -sf '#1E1C31')
fuzz=$(fd . $HOME/Videos/ -pt d | dmenu -i -l 10 -p File: -nb '#1E1C31' -nf '#ccc' -sb $color -sf '#1E1C31')
[[ "$1" == "resume" ]] && mpv "$fuzz" --resume-playback || mpv "$fuzz" --no-resume-playback

2 changes: 1 addition & 1 deletion .bin/vsc-open
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
fuzz=$(fd . /home/ted/ -pt d | dmenu -i -l 10 -p File: -nb '#1E1C31' -nf '#ccc' -sb '#98C379' -sf '#1E1C31')
fuzz=$(fd . $HOME/ -pt d | dmenu -i -l 10 -p File: -nb '#1E1C31' -nf '#ccc' -sb '#98C379' -sf '#1E1C31')
[ -z $fuzz ] && : || code "$fuzz"

3 changes: 2 additions & 1 deletion .config/alacritty/alacritty.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ alt_send_esc: false
colors:
# Default colors
primary:
background: "#292C3E"
background: "#1e1c31"
# background: "#292C3E"
foreground: "#EBEBEB"

# Normal colors
Expand Down
27 changes: 9 additions & 18 deletions .config/bspwm/autostart.sh
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
#!/bin/bash
declare -a programs=(
"ssh-agent"
# "ssh-agent"
#"blueman-tray"
"nm-applet"
"flameshot"
)
dunst &
declare -a lazy_load=(
"thunderbird"
copyq
exec /usr/lib/kdeconnectd
exec /usr/bin/kdeconnect-indicator
LIBVA_DRIVER_NAME=i915 discord \
--ignore-gpu-blocklist \
--disable-features=UseOzonePlatform \
--enable-features=VaapiVideoDecoder \
--use-gl=desktop \
--enable-gpu-rasterization \
--enable-zero-copy
--ignore-gpu-blocklist \
--disable-features=UseOzonePlatform \
--enable-features=VaapiVideoDecoder \
--use-gl=desktop \
--enable-gpu-rasterization \
--enable-zero-copy

#code
)
Expand All @@ -32,17 +33,8 @@ done
#
xsetroot -cursor_name left_ptr &
dirmngr --daemon &
mons_num=$(xrandr --query | grep " connected" | cut -d" " -f1 | wc -w)
xrandr --output HDMI1 --rate 144.00 --mode 1920x1080 --left-of eDP1 --output eDP1 --mode 1920x1080
if [ $mons_num -eq 2 ]; then
bspc monitor eDP1 -d 6 7 8 9 0
bspc monitor HDMI1 -d 1 2 3 4 5
else
bspc monitor eDP1 -d 1 2 3 4 5 6 7 8 9 0
fi
$HOME/.config/polybar/launch.sh &
~/.config/bspwm/scripts/switch-displays &
picom --experimental-backends --daemon
~/.cache/redpaper/wallpaper.sh &
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
sleep 10
for program in "${lazy_load[@]}"; do
Expand All @@ -60,7 +52,6 @@ done
# bspc desktop -f 9
# fi
setxkbmap -option compose:ralt &
xinput set-prop "Elan Touchpad" "libinput Natural Scrolling Enabled" 1 &
#xinput set-button-map "Elan Touchpad" 1 3 2 4 5 6 7 &
#xmodmap -e 'keycode 135 = Super_R' &
#wmname LG3D &
Expand Down
11 changes: 11 additions & 0 deletions .config/bspwm/scripts/switch-displays
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash
mons_num=$(xrandr --query | grep " connected" | cut -d" " -f1 | wc -w)
xrandr --output HDMI1 --rate 144.00 --mode 1920x1080 --left-of eDP1 --output eDP1 --rate 144.00 --mode 1920x1080
if [ $mons_num -eq 2 ]; then
bspc monitor eDP1 -d 6 7 8 9 0
bspc monitor HDMI1 -d 1 2 3 4 5
else
bspc monitor eDP1 -d 1 2 3 4 5 6 7 8 9 0
fi
$HOME/.config/polybar/launch.sh &
~/.cache/redpaper/wallpaper.sh &
215 changes: 215 additions & 0 deletions .config/copyq/copyq-bak.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,215 @@
[General]
plugin_priority=itemimage, itemencrypted, itemfakevim, itemnotes, itempinned, itemsync, itemtags, itemtext

[Options]
activate_closes=true
activate_focuses=true
activate_item_with_single_click=false
activate_pastes=true
always_on_top=false
autocompletion=true
autostart=true
change_clipboard_owner_delay_ms=150
check_clipboard=true
check_selection=false
clipboard_notification_lines=0
clipboard_tab=&clipboard
close_on_unfocus=true
close_on_unfocus_delay_ms=500
command_history_size=100
confirm_exit=true
copy_clipboard=false
copy_selection=false
disable_tray=false
edit_ctrl_return=true
editor=gedit --standalone -- %1
expire_tab=0
filter_case_insensitive=true
filter_regular_expression=false
hide_main_window=false
hide_main_window_in_task_bar=false
hide_tabs=false
hide_toolbar=false
hide_toolbar_labels=true
item_popup_interval=0
language=en
max_process_manager_rows=1000
maxitems=200
move=true
native_menu_bar=true
native_notifications=true
native_tray_menu=false
notification_horizontal_offset=10
notification_maximum_height=100
notification_maximum_width=300
notification_position=3
notification_vertical_offset=10
number_search=false
open_windows_on_current_screen=true
restore_geometry=true
row_index_from_one=true
run_selection=true
save_delay_ms_on_item_added=300000
save_delay_ms_on_item_edited=1000
save_delay_ms_on_item_modified=300000
save_delay_ms_on_item_moved=1800000
save_delay_ms_on_item_removed=600000
save_filter_history=false
save_on_app_deactivated=true
script_paste_delay_ms=250
show_advanced_command_settings=false
show_simple_items=false
show_tab_item_count=false
style=
tab_tree=false
tabs=&clipboard
text_tab_width=8
text_wrap=true
transparency=0
transparency_focused=0
tray_commands=true
tray_images=true
tray_item_paste=true
tray_items=5
tray_menu_open_on_left_click=false
tray_tab=
tray_tab_is_current=true
vi=false
window_key_press_time_ms=50
window_paste_with_ctrl_v_regex=
window_wait_after_raised_ms=50
window_wait_before_raise_ms=20
window_wait_for_modifier_released_ms=2000
window_wait_raised_ms=150

[Plugins]
itemencrypted\enabled=true
itemfakevim\enabled=true
itemimage\enabled=true
itemimage\image_editor=
itemimage\max_image_height=240
itemimage\max_image_width=320
itemimage\svg_editor=
itemnotes\enabled=true
itempinned\enabled=true
itemsync\enabled=true
itemtags\enabled=true
itemtext\enabled=true

[Shortcuts]
about=shift+f1
change_tab_icon=ctrl+shift+t
commands=f6
copy_selected_items=ctrl+c
delete_item=del
edit=f2
edit_notes=shift+f2
editor=ctrl+e
editor_background=
editor_bold=ctrl+b
editor_cancel=esc
editor_erase_style=
editor_font=
editor_foreground=
editor_italic=ctrl+i
editor_redo=ctrl+shift+z
editor_save=f2
editor_search=ctrl+f
editor_strikethrough=
editor_underline=ctrl+u
editor_undo=ctrl+z
exit=ctrl+q
export=ctrl+s
find_items=f3
help=f1
import=ctrl+i
item-menu=shift+f10
move_down=ctrl+down
move_to_bottom=ctrl+end
move_to_clipboard=
move_to_top=ctrl+home
move_up=ctrl+up
new=ctrl+n
new_tab=ctrl+t
next_tab=right
paste_selected_items=ctrl+v
preferences=ctrl+p
previous_tab=left
process_manager=ctrl+shift+z
remove_tab=ctrl+w
rename_tab=ctrl+f2
reverse_selected_items=ctrl+shift+r
show-log=f12
show_clipboard_content=ctrl+shift+c
show_item_content=f4
show_item_preview=f7
sort_selected_items=ctrl+shift+s
system-run=f5
toggle_clipboard_storing=ctrl+shift+x

[Tabs]
1\icon=
1\max_item_count=0
1\name=&clipboard
1\store_items=true
size=1

[Theme]
alt_bg=default_alt_bg
alt_item_css=
bg=default_bg
css=
css_template_items=items
css_template_main_window=main_window
css_template_notification=notification
css_template_tooltip=tooltip
cur_item_css="\n ;border: 0.1em solid ${sel_bg}"
edit_bg=default_bg
edit_fg=default_text
edit_font=
fg=default_text
find_bg=#ff0
find_fg=#000
find_font=
font=
font_antialiasing=true
hover_item_css=
icon_size=16
item_css=
item_spacing=
menu_bar_css="\n ;background: ${bg}\n ;color: ${fg}"
menu_bar_disabled_css="\n ;color: ${bg - #666}"
menu_bar_selected_css="\n ;background: ${sel_bg}\n ;color: ${sel_fg}"
menu_css="\n ;border: 1px solid ${sel_bg}\n ;background: ${bg}\n ;color: ${fg}"
notes_bg=default_tooltip_bg
notes_css=
notes_fg=default_tooltip_text
notes_font=
notification_bg=#333
notification_fg=#ddd
notification_font=
num_fg=default_placeholder_text
num_font=
search_bar="\n ;background: ${edit_bg}\n ;color: ${edit_fg}\n ;border: 1px solid ${alt_bg}\n ;margin: 2px"
search_bar_focused="\n ;border: 1px solid ${sel_bg}"
sel_bg=default_highlight_bg
sel_fg=default_highlight_text
sel_item_css=
show_number=true
show_scrollbars=true
style_main_window=false
tab_bar_css="\n ;background: ${bg - #222}"
tab_bar_item_counter="\n ;color: ${fg - #044 + #400}\n ;font-size: 6pt"
tab_bar_scroll_buttons_css="\n ;background: ${bg - #222}\n ;color: ${fg}\n ;border: 0"
tab_bar_sel_item_counter="\n ;color: ${sel_bg - #044 + #400}"
tab_bar_tab_selected_css="\n ;padding: 0.5em\n ;background: ${bg}\n ;border: 0.05em solid ${bg}\n ;color: ${fg}"
tab_bar_tab_unselected_css="\n ;border: 0.05em solid ${bg}\n ;padding: 0.5em\n ;background: ${bg - #222}\n ;color: ${fg - #333}"
tab_tree_css="\n ;color: ${fg}\n ;background-color: ${bg}"
tab_tree_item_counter="\n ;color: ${fg - #044 + #400}\n ;font-size: 6pt"
tab_tree_sel_item_counter="\n ;color: ${sel_fg - #044 + #400}"
tab_tree_sel_item_css="\n ;color: ${sel_fg}\n ;background-color: ${sel_bg}\n ;border-radius: 2px"
tool_bar_css="\n ;color: ${fg}\n ;background-color: ${bg}\n ;border: 0"
tool_button_css="\n ;color: ${fg}\n ;background: ${bg}\n ;border: 0\n ;border-radius: 2px"
tool_button_pressed_css="\n ;background: ${sel_bg}"
tool_button_selected_css="\n ;background: ${sel_bg - #222}\n ;color: ${sel_fg}\n ;border: 1px solid ${sel_bg}"
use_system_icons=false
44 changes: 44 additions & 0 deletions .config/copyq/copyq-commands.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
[Commands]
1\Command=copyq: plugins.itempinned.pin()
1\Icon=\xf08d
1\InMenu=true
1\Input=!OUTPUT
1\InternalId=copyq_pinned_pin
1\Name=Pin
1\Output=application/x-copyq-item-pinned
2\Command=copyq: plugins.itempinned.unpin()
2\Icon=\xf08d
2\InMenu=true
2\Input=application/x-copyq-item-pinned
2\InternalId=copyq_pinned_unpin
2\Name=Unpin
3\Command=copyq: plugins.itemtags.tag(decodeURIComponent('Important'))
3\Icon=\xf02b
3\InMenu=true
3\InternalId=copyq_tags_tag:Important
3\MatchCommand=copyq: plugins.itemtags.hasTag(decodeURIComponent('Important')) && fail()
3\Name=Tag as \x201cImportant\x201d
4\Command=copyq: plugins.itemtags.untag(decodeURIComponent('Important'))
4\Icon=\xf02b
4\InMenu=true
4\InternalId=copyq_tags_untag:Important
4\MatchCommand=copyq: plugins.itemtags.hasTag(decodeURIComponent('Important')) || fail()
4\Name=Remove tag \x201cImportant\x201d
5\Command=copyq: plugins.itemtags.tag()
5\Icon=\xf02b
5\InMenu=true
5\InternalId=copyq_tags_tag
5\Name=Add a Tag
6\Command=copyq: plugins.itemtags.untag()
6\Icon=\xf02b
6\InMenu=true
6\Input=application/x-copyq-tags
6\InternalId=copyq_tags_untag
6\Name=Remove a Tag
7\Command=copyq: plugins.itemtags.clearTags()
7\Icon=\xf02b
7\InMenu=true
7\Input=application/x-copyq-tags
7\InternalId=copyq_tags_clear
7\Name=Clear all tags
size=7
Loading

0 comments on commit fff18cb

Please sign in to comment.