Browse Source

Dinkelberg!!!

main
Michael Pappe 9 months ago
parent
commit
9f2cfa2847
  1. 4
      .config/gtk-3.0/settings.ini
  2. 1
      .config/mpv/ext/youtube-upnext
  3. 49
      .config/mpv/script-opts/youtube-upnext.conf
  4. 2
      .config/qutebrowser/autoconfig.yml
  5. 214
      .config/scc/config.json
  6. 32
      .config/scc/menus/Default.menu
  7. 8
      .config/scc/menus/Profiles.menu
  8. 58
      .config/scc/profiles/.scc-osd.keyboard.sccprofile
  9. 60
      .config/scc/profiles/Desktop.sccprofile.mod
  10. 130
      .config/scc/profiles/GZDoom.sccprofile
  11. 33
      .config/scc/profiles/I3.sccprofile.mod
  12. 75
      .config/scc/profiles/Minecraft Java.sccprofile
  13. 75
      .config/scc/profiles/Minecraft Java.sccprofile.mod
  14. 1
      .config/scc/profiles/README.md
  15. 107
      .config/scc/profiles/Stardew Valley.sccprofile
  16. 79
      .config/scc/profiles/Tomb Raider 2013.sccprofile
  17. 64
      .config/scc/profiles/XBox Controller with High Precision Camera.sccprofile
  18. 64
      .config/scc/profiles/XBox Controller with High Precision Camera.sccprofile.mod
  19. 67
      .config/scc/profiles/XBox Controller.sccprofile.mod
  20. 3
      .gitmodules
  21. 4
      .gtkrc-2.0
  22. 20
      .local/bin/profiles.sh

4
.config/gtk-3.0/settings.ini

@ -12,9 +12,9 @@ gtk-icon-theme-name=oomox-numix-gdp
gtk-icon-sizes="panel-menu=16,16:panel=16,16:gtk-menu=16,16:gtk-large-toolbar=16,16:gtk-small-toolbar=16,16:gtk-button=16,16"
gtk-menu-images=0
gtk-primary-button-warps-slider=false
gtk-theme-name=Adwaita-dark
gtk-theme-name=numix-gdp
gtk-toolbar-icon-size=GTK_ICON_SIZE_SMALL_TOOLBAR
gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintslight

1
.config/mpv/ext/youtube-upnext

@ -0,0 +1 @@
Subproject commit adc88c97b8397b9b5a06e66b2dbd9a9cee64ccbf

49
.config/mpv/script-opts/youtube-upnext.conf

@ -0,0 +1,49 @@
# KEY BINDINGS
# invoke or dismiss the quality menu
toggle_menu_binding=ctrl+u
# move the menu cursor up
up_binding=UP
# move the menu cursor down
down_binding=DOWN
# select menu entry
select_binding=ENTER
# auto load and add the "upnext" video to the playlist
auto_add=yes
# formatting / cursors
cursor_selected=● -
cursor_unselected=○ -
# font size scales by window, if false requires larger font and padding sizes
scale_playlist_by_window=no
# playlist ass style overrides inside curly brackets, \keyvalue is one field, extra \ for escape in lua
# example {\\fnUbuntu\\fs10\\b0\\bord1} equals: font=Ubuntu, size=10, bold=no, border=1
# read http://docs.aegisub.org/3.2/ASS_Tags/ for reference of tags
# undeclared tags will use default osd settings
# these styles will be used for the whole playlist. More specific styling will need to be hacked in
#
# (a monospaced font is recommended but not required)
style_ass_tags={\\fnmonospace}
# paddings for top left corner
text_padding_x=5
text_padding_y=5
# how many seconds until the quality menu times out
menu_timeout=10
# base url for loading new urls, %s will be replaced with video id
youtube_url=https://www.youtube.com/watch?v=%s
# Fallback Invidious instance. Used if "upnext" could not be retrieved from the normal youtube website
# See https://instances.invidio.us/ for alternatives e.g. https://invidious.snopyta.org
invidious_instance=https://invidious.xyz
# Keep the width of the window the same when the next video is played
restore_window_width=no
# On Windows wget.exe may not be able to check SSL certificates for HTTPS, so you can disable it here
check_certificate=yes

2
.config/qutebrowser/autoconfig.yml

@ -12,5 +12,7 @@ settings:
https://jelly.fishoeder.net: false
https://old.reddit.com: false
https://www.reddit.com: false
content.register_protocol_handler:
https://mail.google.com?extsrc=mailto&url=%25s: false
content.user_stylesheets:
global: []

214
.config/scc/config.json

@ -1,68 +1,8 @@
{
"autoswitch": [],
"autoswitch_osd": false,
"autoswitch_osd": true,
"controllers": {
"ds4": {
"icon": "ds4evdev-0.svg",
"idle_timeout": 600,
"input_rotation_l": 20,
"input_rotation_r": -20,
"led_level": 80,
"menu_cancel": "B",
"menu_confirm": "A",
"menu_control": "STICK",
"name": "ds4",
"osd_alignment": 0
},
"evABAF8656": {
"icon": "evdev-0.svg",
"idle_timeout": 600,
"input_rotation_l": 20,
"input_rotation_r": -20,
"led_level": 80,
"menu_cancel": "B",
"menu_confirm": "A",
"menu_control": "STICK",
"name": "evABAF8656",
"osd_alignment": 0
},
"hid054c:05c4": {
"icon": "hid-0.svg",
"idle_timeout": 600,
"input_rotation_l": 20,
"input_rotation_r": -20,
"led_level": 80,
"menu_cancel": "B",
"menu_confirm": "A",
"menu_control": "STICK",
"name": "hid054c:05c4",
"osd_alignment": 0
},
"sc1": {
"icon": "sc-1.svg",
"idle_timeout": 600,
"input_rotation_l": 20,
"input_rotation_r": -20,
"led_level": 80,
"menu_cancel": "B",
"menu_confirm": "A",
"menu_control": "STICK",
"name": "sc1",
"osd_alignment": 0
},
"sc1:3": {
"icon": "fake-2.svg",
"idle_timeout": 600,
"input_rotation_l": 20,
"input_rotation_r": -20,
"led_level": 80,
"menu_cancel": "B",
"menu_confirm": "A",
"menu_control": "STICK",
"name": "sc1:3",
"osd_alignment": 0
},
"sc2": {
"icon": "sc-0.svg",
"idle_timeout": 600,
"input_rotation_l": 20,
@ -71,123 +11,15 @@
"menu_cancel": "B",
"menu_confirm": "A",
"menu_control": "STICK",
"name": "sc2",
"osd_alignment": 0
},
"sc2:1": {
"icon": "sc-3.svg",
"idle_timeout": 600,
"input_rotation_l": 20,
"input_rotation_r": -20,
"led_level": 80,
"menu_cancel": "B",
"menu_confirm": "A",
"menu_control": "STICK",
"name": "sc2:1",
"osd_alignment": 0
},
"sc2:2": {
"icon": "sc-2.svg",
"idle_timeout": 600,
"input_rotation_l": 20,
"input_rotation_r": -20,
"led_level": 80,
"menu_cancel": "B",
"menu_confirm": "A",
"menu_control": "STICK",
"name": "sc2:2",
"osd_alignment": 0
},
"sc2:3": {
"icon": "sc-6.svg",
"idle_timeout": 600,
"input_rotation_l": 20,
"input_rotation_r": -20,
"led_level": 80,
"menu_cancel": "B",
"menu_confirm": "A",
"menu_control": "STICK",
"name": "sc2:3",
"osd_alignment": 0
},
"sc3": {
"icon": "hid-0.svg",
"idle_timeout": 600,
"input_rotation_l": 20,
"input_rotation_r": -20,
"led_level": 80,
"menu_cancel": "B",
"menu_confirm": "A",
"menu_control": "STICK",
"name": "sc3",
"osd_alignment": 0
},
"sc3:1": {
"icon": "sc-4.svg",
"idle_timeout": 600,
"input_rotation_l": 20,
"input_rotation_r": -20,
"led_level": 80,
"menu_cancel": "B",
"menu_confirm": "A",
"menu_control": "STICK",
"name": "sc3:1",
"osd_alignment": 0
},
"sc3:2": {
"icon": "ds4-6.svg",
"idle_timeout": 600,
"input_rotation_l": 20,
"input_rotation_r": -20,
"led_level": 80,
"menu_cancel": "B",
"menu_confirm": "A",
"menu_control": "STICK",
"name": "sc3:2",
"osd_alignment": 0
},
"sc3:3": {
"icon": "sc-5.svg",
"idle_timeout": 600,
"input_rotation_l": 20,
"input_rotation_r": -20,
"led_level": 80,
"menu_cancel": "B",
"menu_confirm": "A",
"menu_control": "STICK",
"name": "sc3:3",
"osd_alignment": 0
},
"sc4": {
"icon": "ds4evdev-3.svg",
"idle_timeout": 600,
"input_rotation_l": 20,
"input_rotation_r": -20,
"led_level": 80,
"menu_cancel": "B",
"menu_confirm": "A",
"menu_control": "STICK",
"name": "sc4",
"osd_alignment": 0
},
"scbt1": {
"icon": "scbt-0.svg",
"idle_timeout": 600,
"input_rotation_l": 20,
"input_rotation_r": -20,
"led_level": 80,
"menu_cancel": "B",
"menu_confirm": "A",
"menu_control": "STICK",
"name": "scbt1",
"name": "sc1",
"osd_alignment": 0
}
},
"drivers": {
"ds4drv": true,
"evdevdrv": true,
"ds4drv": false,
"evdevdrv": false,
"fake": false,
"hiddrv": true,
"hiddrv": false,
"sc_by_bt": true,
"sc_by_cable": true,
"sc_dongle": true
@ -206,30 +38,30 @@
"minimize_to_status_icon": true,
"news": {
"enabled": false,
"last_version": "0.4.7"
"last_version": "0.4.8"
}
},
"ignore_serials": true,
"osd_color_theme": null,
"osd_color_theme": "Cyan.colors.json",
"osd_colors": {
"background": "2d2d2d",
"border": "6699cc",
"menuitem_border": "555555",
"menuitem_hilight": "2d2d2d",
"menuitem_hilight_border": "7bafc2",
"menuitem_hilight_text": "ffffff",
"menuseparator": "bbbbbb",
"text": "bbbbbb"
"background": "101010",
"border": "00DFDF",
"menuitem_border": "004040",
"menuitem_hilight": "005050",
"menuitem_hilight_border": "00FFFF",
"menuitem_hilight_text": "FFFFFF",
"menuseparator": "509090",
"text": "40F0FF"
},
"osd_style": "Reloaded.gtkstyle.css",
"osd_style": "Classic.gtkstyle.css",
"osk_colors": {
"button1": "2d2d2d",
"button1": "162082",
"button1_border": "262b5e",
"button2": "3d3d3d",
"button2": "162d44",
"button2_border": "27323e",
"hilight": "3366aa",
"pressed": "7bafc2",
"text": "bbbbbb"
"hilight": "00688D",
"pressed": "1A9485",
"text": "ffffff"
},
"output": {
"axes": [[-32768, 32767], [-32768, 32767], [-32768, 32767], [-32768, 32767], [0, 255], [0, 255], [-1, 1], [-1, 1]],
@ -241,6 +73,6 @@
"version": "0x110"
},
"recent_max": 10,
"recent_profiles": ["Desktop", "XBox Controller dead", "XBox Controller with High Precision Camera", "Tomb Raider 2013", "h2_steam", "GoG-Ion Fury", "XBox Controller", "3ds", "3ds-mix", "GZDoom"],
"windows_opacity": 0.95
"recent_profiles": ["Desk", "X360", "X360_Camera", "XBox Controller with High Precision Camera", "DEsk", "Desktop", "XBox Controller"],
"windows_opacity": 1.0
}

32
.config/scc/menus/Default.menu

@ -1,9 +1,11 @@
[{
"name": "Recent profiles",
"separator": true
"action": "name('---[ Profiles ]---', None)",
"id": "item1",
"name": "---[ Profiles ]---"
}, {
"generator": "recent",
"rows": 3
"action": "shell('/home/nokogiri/profiles.sh')",
"id": "item2",
"name": "Profile List"
}, {
"icon": "system/profiles",
"name": "All Profiles",
@ -12,27 +14,23 @@
"name": "Options",
"separator": true
}, {
"icon": "system/autoswitch",
"name": "Autoswitch Options",
"submenu": ".autoswitch.menu"
}, {
"action": "shell('b'scc-osd-show-bindings'')",
"action": "shell('scc-osd-show-bindings')",
"icon": "system/binding-display",
"id": "item_i7",
"id": "item5",
"name": "Display Current Bindings..."
}, {
"action": "osd(turnoff())",
"icon": "system/turn-off",
"id": "item4",
"id": "item6",
"name": "Turn Controller OFF"
}, {
"action": "shell('b'sc-controller --osd'')",
"icon": "system/edit",
"id": "item_i9",
"name": "Edit Bindings"
}, {
"action": "keyboard()",
"icon": "system/keyboard",
"id": "item_i3",
"id": "item7",
"name": "Display Keyboard"
}, {
"action": "shell('sc-controller --osd')",
"icon": "system/edit",
"id": "item8",
"name": "Edit Bindings"
}]

8
.config/scc/menus/Profiles.menu

@ -1,6 +1,6 @@
[{
"name": "All profiles",
"separator": true
"separator": true,
"name": "All profiles"
}, {
"generator": "profiles"
}]
"generator" : "profiles"
}]

58
.config/scc/profiles/.scc-osd.keyboard.sccprofile

@ -1,58 +0,0 @@
{
"_": "",
"buttons": {
"A": {
"action": "button(Keys.KEY_ENTER)"
},
"B": {
"action": "button(Keys.KEY_ESC)"
},
"C": {
"action": "OSK.close()"
},
"LGRIP": {
"action": "button(Keys.KEY_LEFTSHIFT)"
},
"LPAD": {
"action": "OSK.press(LEFT)"
},
"RB": {
"action": "button(Keys.KEY_SPACE)"
},
"RGRIP": {
"action": "button(Keys.KEY_RIGHTALT)"
},
"RPAD": {
"action": "OSK.press(RIGHT)"
},
"START": {
"action": "button(Keys.KEY_TAB)"
},
"X": {
"action": "OSK.close()"
},
"Y": {
"action": "OSK.close()"
}
},
"cpad": {},
"gyro": {},
"is_template": false,
"menus": {},
"pad_left": {
"action": "OSK.cursor(LEFT)"
},
"pad_right": {
"action": "OSK.cursor(RIGHT)"
},
"stick": {
"action": "mode(RGRIP, OSK.move(), dpad(button(Keys.KEY_UP), button(Keys.KEY_DOWN), button(Keys.KEY_LEFT), button(Keys.KEY_RIGHT)))"
},
"trigger_left": {
"action": "OSK.press(LEFT)"
},
"trigger_right": {
"action": "OSK.press(RIGHT)"
},
"version": 1.4
}

60
.config/scc/profiles/Desktop.sccprofile.mod

@ -1,60 +0,0 @@
{
"_": "",
"buttons": {
"A": {
"action": "button(Keys.KEY_ENTER)"
},
"B": {
"action": "button(Keys.KEY_ESC)"
},
"BACK": {
"action": "button(Keys.KEY_BACKSPACE)"
},
"C": {
"action": "hold(menu('Default.menu'), menu('Default.menu'))"
},
"CPADPRESS": {
"action": "button(Keys.BTN_MOUSE)"
},
"LB": {
"action": "button(Keys.KEY_LEFTCTRL)"
},
"RB": {
"action": "button(Keys.KEY_LEFTALT)"
},
"RPAD": {
"action": "button(Keys.BTN_MOUSE)"
},
"START": {
"action": "button(Keys.KEY_LEFTSHIFT)"
},
"X": {
"action": "button(Keys.KEY_SPACE)"
},
"Y": {
"action": "button(Keys.KEY_TAB)"
}
},
"cpad": {
"action": "mouse()"
},
"gyro": {},
"is_template": false,
"menus": {},
"pad_left": {
"action": "ring(radialmenu('4 Weapons'))"
},
"pad_right": {
"action": "deadzone(1741, smooth(8, 0.78, 2.0, feedback(RIGHT, 256, ball(mouse()))))"
},
"stick": {
"action": "dpad(button(Keys.KEY_UP), button(Keys.KEY_DOWN), button(Keys.KEY_LEFT), button(Keys.KEY_RIGHT))"
},
"trigger_left": {
"action": "button(Keys.BTN_RIGHT)"
},
"trigger_right": {
"action": "button(Keys.BTN_MOUSE)"
},
"version": 1.4
}

130
.config/scc/profiles/GZDoom.sccprofile

@ -1,130 +0,0 @@
{
"_": ["Please, note that GZDoom doesn't have keys for Jump and Crouch bound", "by default, so you may need to do some initial setup in game as well."],
"buttons": {
"A": {
"action": "button(Keys.KEY_ENTER) and button(Keys.KEY_LEFTALT)",
"name": "Jump / Confirm"
},
"B": {
"action": "button(Keys.KEY_LEFTCTRL)",
"name": "Crouch"
},
"BACK": {
"action": "button(Keys.KEY_TAB)",
"name": "Map"
},
"C": {
"action": "menu('Default.menu')"
},
"LB": {
"action": "menu('Cheats')",
"name": "Cheat Menu"
},
"LGRIP": {
"action": "button(Keys.KEY_LEFTSHIFT)",
"name": "Run"
},
"RB": {
"action": "radialmenu('All Weapons',DEFAULT,SAME)",
"name": "Weapon Switch"
},
"START": {
"action": "button(Keys.KEY_ESC)",
"name": "Menu / Cancel"
},
"X": {
"action": "button(Keys.KEY_SPACE)",
"name": "Use"
},
"Y": {
"action": "button(Keys.KEY_R)",
"name": "Reload"
}
},
"cpad": {},
"gyro": {},
"is_template": false,
"menus": {
"4 Weapons": [{
"action": "button(Keys.KEY_2)",
"id": "item1",
"name": "Pistol"
}, {
"action": "button(Keys.KEY_3)",
"id": "item2",
"name": "Shotgun"
}, {
"action": "button(Keys.KEY_4)",
"id": "item3",
"name": "Chaingun"
}, {
"action": "button(Keys.KEY_6)",
"id": "item4",
"name": "Plasma"
}],
"All Weapons": [{
"action": "button(Keys.KEY_1)",
"id": "item1",
"name": "Fists"
}, {
"action": "button(Keys.KEY_2)",
"id": "item2",
"name": "Pistol"
}, {
"action": "button(Keys.KEY_3)",
"id": "item3",
"name": "Shotgun"
}, {
"action": "button(Keys.KEY_4)",
"id": "item4",
"name": "Chaingun"
}, {
"action": "button(Keys.KEY_5)",
"id": "item5",
"name": "Rocket"
}, {
"action": "button(Keys.KEY_6)",
"id": "item6",
"name": "Plasma"
}, {
"action": "button(Keys.KEY_7)",
"id": "item7",
"name": "BFG "
}],
"Cheats": [{
"action": "type('idfa')",
"id": "item1",
"name": "All Weapons & Ammo"
}, {
"action": "type('iddt')",
"id": "item2",
"name": "Full Map"
}, {
"action": "type('idclip')",
"id": "item3",
"name": "Walk Through Walls"
}, {
"action": "type('iddqd')",
"id": "item4",
"name": "God Mode"
}]
},
"pad_left": {
"action": "radialmenu('4 Weapons')",
"name": "Quick Weapon Switch"
},
"pad_right": {
"action": "smooth(8, 0.75, 2, feedback(RIGHT, 256, ball(mouse())))"
},
"stick": {
"action": "dpad(button(Keys.KEY_UP), button(Keys.KEY_DOWN), button(Keys.KEY_COMMA), button(Keys.KEY_DOT))",
"name": "Movement"
},
"trigger_left": {
"action": "trigger(50, button(Keys.KEY_Z))"
},
"trigger_right": {
"action": "trigger(50, button(Keys.BTN_MOUSE))"
},
"version": 1.4
}

33
.config/scc/profiles/I3.sccprofile.mod

@ -1,33 +0,0 @@
{
"_": "",
"buttons": {
"BACK": {
"action": "menu('Profiles.menu')"
},
"C": {
"action": "hold(menu('Default.menu'), menu('Default.menu'))"
},
"LB": {
"action": "mouse(Rels.REL_WHEEL, -1)"
},
"RB": {
"action": "mouse(Rels.REL_WHEEL, 1)"
}
},
"cpad": {},
"gyro": {},
"is_template": false,
"menus": {},
"pad_left": {
"action": "dpad(button(Keys.KEY_LEFTMETA) and button(Keys.KEY_D))"
},
"pad_right": {
"action": "mouse()"
},
"stick": {
"action": "dpad(button(Keys.KEY_W), button(Keys.KEY_S), button(Keys.KEY_A), button(Keys.KEY_D))"
},
"trigger_left": {},
"trigger_right": {},
"version": 1.4
}

75
.config/scc/profiles/Minecraft Java.sccprofile

@ -1,75 +0,0 @@
{
"_": "",
"buttons": {
"A": {
"action": "button(Keys.KEY_SPACE)",
"name": "Jump"
},
"B": {
"action": "button(Keys.KEY_Q)",
"name": "Drop"
},
"BACK": {
"action": "button(Keys.KEY_TAB)",
"name": "Info"
},
"C": {
"action": "hold(menu('Default.menu'), menu('Default.menu'))"
},
"LB": {
"action": "mouse(Rels.REL_WHEEL, -1)",
"name": "Previous Weapon"
},
"LGRIP": {
"action": "button(Keys.KEY_LEFTSHIFT)",
"name": "Crouch"
},
"RB": {
"action": "mouse(Rels.REL_WHEEL, 1)",
"name": "Next Weapon"
},
"RGRIP": {
"action": "button(Keys.KEY_ENTER)",
"name": "Enter"
},
"RPAD": {
"action": "button(Keys.BTN_MIDDLE)"
},
"START": {
"action": "button(Keys.KEY_ESC)",
"name": "Menu"
},
"STICKPRESS": {
"action": "button(Keys.KEY_LEFTCTRL)",
"name": "Sprint"
},
"X": {
"action": "button(Keys.KEY_E)",
"name": "Inventory"
},
"Y": {
"action": "button(Keys.KEY_LEFTSHIFT)",
"name": "Chat"
}
},
"cpad": {},
"gyro": {},
"is_template": false,
"menus": {},
"pad_left": {
"action": "click(dpad(button(Keys.KEY_F11), keyboard(), button(Keys.KEY_F), button(Keys.KEY_C)))"
},
"pad_right": {
"action": "smooth(8, 0.78, 2.0, feedback(RIGHT, 256, sens(2.5, 2.5, ball(mouse()))))"
},
"stick": {
"action": "deadzone(MINIMUM, 0, dpad(30, button(Keys.KEY_W), button(Keys.KEY_S), button(Keys.KEY_A), button(Keys.KEY_D)))"
},
"trigger_left": {
"action": "trigger(50, 255, button(Keys.BTN_RIGHT))"
},
"trigger_right": {
"action": "trigger(50, 255, button(Keys.BTN_LEFT))"
},
"version": 1.4
}

75
.config/scc/profiles/Minecraft Java.sccprofile.mod

@ -1,75 +0,0 @@
{
"_": "",
"buttons": {
"A": {
"action": "button(Keys.KEY_SPACE)",
"name": "Jump"
},
"B": {
"action": "button(Keys.KEY_Q)",
"name": "Drop"
},
"BACK": {
"action": "button(Keys.KEY_TAB)",
"name": "Info"
},
"C": {
"action": "hold(menu('Default.menu'), menu('Default.menu'))"
},
"LB": {
"action": "mouse(Rels.REL_WHEEL, -1)",
"name": "Previous Weapon"
},
"LGRIP": {
"action": "button(Keys.KEY_LEFTSHIFT)",
"name": "Crouch"
},
"RB": {
"action": "mouse(Rels.REL_WHEEL, 1)",
"name": "Next Weapon"
},
"RGRIP": {
"action": "button(Keys.KEY_ENTER)",
"name": "Enter"
},
"RPAD": {
"action": "button(Keys.BTN_MIDDLE)"
},
"START": {
"action": "button(Keys.KEY_ESC)",
"name": "Menu"
},
"STICKPRESS": {
"action": "button(Keys.KEY_LEFTCTRL)",
"name": "Sprint"
},
"X": {
"action": "button(Keys.KEY_E)",
"name": "Inventory"
},
"Y": {
"action": "button(Keys.KEY_LEFTSHIFT)",
"name": "Chat"
}
},
"cpad": {},
"gyro": {},
"is_template": false,
"menus": {},
"pad_left": {
"action": "ball(XY(mouse(Rels.REL_HWHEEL), mouse(Rels.REL_WHEEL)))"
},
"pad_right": {
"action": "smooth(8, 0.78, 2.0, feedback(RIGHT, 256, sens(2.5, 2.5, ball(mouse()))))"
},
"stick": {
"action": "deadzone(MINIMUM, 0, dpad(30, button(Keys.KEY_W), button(Keys.KEY_S), button(Keys.KEY_A), button(Keys.KEY_D)))"
},
"trigger_left": {
"action": "trigger(50, 255, button(Keys.BTN_RIGHT))"
},
"trigger_right": {
"action": "trigger(50, 255, button(Keys.BTN_MOUSE))"
},
"version": 1.4
}

1
.config/scc/profiles/README.md

@ -1 +0,0 @@
Drag and drop link on main window to import profile.

107
.config/scc/profiles/Stardew Valley.sccprofile

@ -1,107 +0,0 @@
{
"_": "",
"buttons": {
"A": {
"action": "button(Keys.BTN_GAMEPAD)",
"name": "OK"
},
"B": {
"action": "button(Keys.BTN_EAST)",
"name": "Menu / Cancel"
},
"BACK": {
"action": "button(Keys.BTN_SELECT)",
"name": "Journal"
},
"C": {
"action": "menu('Default.menu')"
},
"LB": {
"action": "axis(Axes.ABS_Z)",
"name": "Prev. Item"
},
"LGRIP": {
"action": "button(Keys.KEY_P)",
"name": "Walk"
},
"LPAD": {
"action": "button(Keys.BTN_THUMBL)"
},
"RB": {
"action": "axis(Axes.ABS_RZ)",
"name": "Next Item"
},
"RGRIP": {
"action": "button(Keys.KEY_I)",
"name": "Use"
},
"RPAD": {
"action": "button(Keys.BTN_THUMBR)"
},
"START": {
"action": "button(Keys.KEY_M)",
"name": "Map"
},
"STICKPRESS": {
"action": "button(Keys.BTN_THUMBL)"
},
"X": {
"action": "button(Keys.BTN_NORTH)",
"name": "Use"
},
"Y": {
"action": "button(Keys.BTN_WEST)",
"name": "Craft"
}
},
"cpad": {},
"gyro": {},
"is_template": false,
"menus": {
"Inventory": [{
"action": "button(Keys.KEY_1)",
"id": "item1",
"name": "1"
}, {
"action": "button(Keys.KEY_2)",
"id": "item2",
"name": "2"
}, {
"action": "button(Keys.KEY_3)",
"id": "item3",
"name": "3"
}, {
"action": "button(Keys.KEY_4)",
"id": "item4",
"name": "4"
}, {
"action": "button(Keys.KEY_5)",
"id": "item5",
"name": "5"
}, {
"action": "button(Keys.KEY_6)",
"id": "item6",
"name": "6"
}]
},
"pad_left": {
"action": "dpad(button(Keys.KEY_RIGHTBRACE), button(Keys.KEY_LEFTBRACE))",
"name": "Inventory"
},
"pad_right": {
"action": "mode(LGRIP, feedback(RIGHT, ball(XY(mouse(Rels.REL_HWHEEL), mouse(Rels.REL_WHEEL)))), feedback(RIGHT, 256, ball(mouse())))"
},
"stick": {
"action": "XY(axis(Axes.ABS_X), raxis(Axes.ABS_Y))",
"name": "Move"
},
"trigger_left": {
"action": "trigger(254, 255, button(Keys.BTN_RIGHT))",
"name": "RClick"
},
"trigger_right": {
"action": "trigger(254, 255, button(Keys.BTN_LEFT))",
"name": "Click"
},
"version": 1.4
}

79
.config/scc/profiles/Tomb Raider 2013.sccprofile

@ -1,79 +0,0 @@
{
"_": "",
"buttons": {
"A": {
"action": "mode(LGRIP, name('Mash left/right', repeat(button(Keys.KEY_LEFT); button(Keys.KEY_RIGHT))), name('Jump / Confirm', button(Keys.KEY_SPACE) and button(Keys.KEY_ENTER)))",
"name": "Jump / Confirm"
},
"B": {
"action": "button(Keys.KEY_LEFTSHIFT)",
"name": "Dodge"
},
"BACK": {
"action": "button(Keys.KEY_TAB)",
"name": "Map"
},
"C": {
"action": "hold(menu('Default.menu'), button(Keys.KEY_LEFTALT))"
},
"LB": {
"action": "button(Keys.KEY_Q)",
"name": "Survival Instincts"
},
"LPAD": {
"action": "button(Keys.KEY_R)",
"name": "Reload"
},
"RB": {
"action": "button(Keys.BTN_MIDDLE)",
"name": "Alt Fire"
},
"RGRIP": {
"action": "button(Keys.KEY_LEFTSHIFT)",
"name": "Dodge"
},
"RPAD": {
"action": "button(Keys.KEY_Z)",
"name": "Zoom"
},
"START": {
"action": "button(Keys.KEY_ESC)",
"name": "Menu / Cancel"
},
"STICKPRESS": {
"action": "button(Keys.KEY_LEFTCTRL)",
"name": "Walk"
},
"X": {
"action": "mode(LGRIP, name('Interact (rapid)', repeat(button(Keys.KEY_E))), name('Interact', button(Keys.KEY_E)))",
"name": "Interact"
},
"Y": {
"action": "mode(LGRIP, name('Melee (rapid)', repeat(button(Keys.KEY_F))), name('Melee', button(Keys.KEY_F)))",
"name": "Melee"
}
},
"cpad": {},
"gyro": {},
"is_template": false,
"menus": {},
"pad_left": {
"action": "dpad(button(Keys.KEY_1), button(Keys.KEY_2), button(Keys.KEY_3), button(Keys.KEY_4))",
"name": "Weapon Switch"
},
"pad_right": {
"action": "ball(mouse(None, 1.0))",
"name": "Camera"
},
"stick": {
"action": "dpad(button(Keys.KEY_UP), button(Keys.KEY_DOWN), button(Keys.KEY_LEFT), button(Keys.KEY_RIGHT))",
"name": "Movement"
},
"trigger_left": {
"action": "trigger(50, button(Keys.BTN_RIGHT))"
},
"trigger_right": {
"action": "trigger(50, button(Keys.BTN_LEFT))"
},
"version": 1.4
}

64
.config/scc/profiles/XBox Controller with High Precision Camera.sccprofile

@ -1,64 +0,0 @@
{
"_": "",
"buttons": {
"A": {
"action": "button(Keys.BTN_GAMEPAD)"
},
"B": {
"action": "button(Keys.BTN_EAST)"
},
"BACK": {
"action": "button(Keys.BTN_SELECT)"
},
"C": {
"action": "hold(menu('Default.menu'), menu('Default.menu'))"
},
"LB": {
"action": "button(Keys.BTN_TL)"
},
"LGRIP": {
"action": "button(Keys.BTN_GAMEPAD)"
},
"RB": {
"action": "button(Keys.BTN_TR)"
},
"RGRIP": {
"action": "button(Keys.BTN_NORTH)"
},
"RPAD": {
"action": "button(Keys.BTN_THUMBR)"
},
"START": {
"action": "button(Keys.BTN_START)"
},
"STICKPRESS": {
"action": "button(Keys.BTN_THUMBL)"
},
"X": {
"action": "button(Keys.BTN_NORTH)"
},
"Y": {
"action": "button(Keys.BTN_WEST)"
}
},
"cpad": {},
"gyro": {},
"is_template": false,
"menus": {},
"pad_left": {
"action": "click(dpad(hatup(Axes.ABS_HAT0Y), hatdown(Axes.ABS_HAT0Y), hatleft(Axes.ABS_HAT0X), hatright(Axes.ABS_HAT0X)))"
},
"pad_right": {
"action": "smooth(8, 0.78, 2.0, feedback(RIGHT, 16.0, ball(mouse())))"
},
"stick": {
"action": "sens(1.2, 1.2, XY(axis(Axes.ABS_X), raxis(Axes.ABS_Y)))"
},
"trigger_left": {
"action": "axis(Axes.ABS_Z)"
},
"trigger_right": {
"action": "axis(Axes.ABS_RZ)"
},
"version": 1.4
}

64
.config/scc/profiles/XBox Controller with High Precision Camera.sccprofile.mod

@ -1,64 +0,0 @@
{
"_": "",
"buttons": {
"A": {
"action": "button(Keys.BTN_GAMEPAD)"
},
"B": {
"action": "button(Keys.BTN_EAST)"
},
"BACK": {
"action": "button(Keys.BTN_SELECT)"
},
"C": {
"action": "hold(menu('Default.menu'), menu('Default.menu'))"
},
"LB": {
"action": "button(Keys.BTN_TL)"
},
"LGRIP": {
"action": "button(Keys.BTN_GAMEPAD)"
},
"RB": {
"action": "button(Keys.BTN_TR)"
},
"RGRIP": {
"action": "button(Keys.BTN_NORTH)"
},
"RPAD": {
"action": "button(Keys.BTN_THUMBR)"
},
"START": {
"action": "button(Keys.BTN_START)"
},
"STICKPRESS": {
"action": "button(Keys.BTN_THUMBL)"
},
"X": {
"action": "button(Keys.BTN_NORTH)"
},
"Y": {
"action": "button(Keys.BTN_WEST)"
}
},
"cpad": {},
"gyro": {},
"is_template": false,
"menus": {},
"pad_left": {
"action": "click(dpad(hatup(Axes.ABS_HAT0Y), hatdown(Axes.ABS_HAT0Y), hatleft(Axes.ABS_HAT0X), hatright(Axes.ABS_HAT0X)))"
},
"pad_right": {
"action": "smooth(8, 0.78, 2.0, feedback(RIGHT, 16.0, ball(mouse())))"
},
"stick": {
"action": "sens(1.2, 1.2, XY(axis(Axes.ABS_X), raxis(Axes.ABS_Y)))"
},
"trigger_left": {
"action": "axis(Axes.ABS_Z)"
},
"trigger_right": {
"action": "axis(Axes.ABS_RZ)"
},
"version": 1.4
}

67
.config/scc/profiles/XBox Controller.sccprofile.mod

@ -1,67 +0,0 @@
{
"_": "",
"buttons": {
"A": {
"action": "button(Keys.BTN_GAMEPAD)"
},
"B": {
"action": "button(Keys.BTN_EAST)"
},
"BACK": {
"action": "button(Keys.BTN_SELECT)"
},
"C": {
"action": "hold(menu('Default.menu'), menu('Default.menu'))"
},
"LB": {
"action": "button(Keys.BTN_TL)"
},
"LGRIP": {
"action": "button(Keys.BTN_GAMEPAD)"
},
"RB": {
"action": "button(Keys.BTN_TR)"
},
"RGRIP": {
"action": "button(Keys.KEY_Z)",
"name": "Zed"
},
"RPAD": {
"action": "button(Keys.BTN_THUMBR)"
},
"START": {
"action": "button(Keys.BTN_START)"
},
"STICKPRESS": {
"action": "button(Keys.BTN_THUMBL)"
},
"X": {
"action": "button(Keys.BTN_NORTH)"
},
"Y": {
"action": "button(Keys.BTN_WEST)"
}
},
"cpad": {},
"gyro": {
"action": "cemuhook()"
},
"is_template": false,
"menus": {},
"pad_left": {
"action": "click(dpad(hatup(Axes.ABS_HAT0Y), hatdown(Axes.ABS_HAT0Y), hatleft(Axes.ABS_HAT0X), hatright(Axes.ABS_HAT0X)))"
},
"pad_right": {
"action": "feedback(RIGHT, 256, XY(axis(Axes.ABS_RX), raxis(Axes.ABS_RY)))"
},
"stick": {
"action": "sens(1.2, 1.2, XY(axis(Axes.ABS_X), raxis(Axes.ABS_Y)))"
},
"trigger_left": {
"action": "axis(Axes.ABS_Z)"
},
"trigger_right": {
"action": "axis(Axes.ABS_RZ)"
},
"version": 1.4
}

3
.gitmodules

@ -10,3 +10,6 @@
[submodule ".config/mpv/ext/mpv_sponsorblock"]
path = .config/mpv/ext/mpv_sponsorblock
url = https://github.com/po5/mpv_sponsorblock
[submodule ".config/mpv/ext/youtube-upnext"]
path = .config/mpv/ext/youtube-upnext
url = https://github.com/cvzi/mpv-youtube-upnext

4
.gtkrc-2.0

@ -2,12 +2,12 @@
# Any customization should be done in ~/.gtkrc-2.0.mine instead.
include "/home/nokogiri/.gtkrc-2.0.mine"
gtk-theme-name="Adwaita-dark"
gtk-theme-name="numix-gdp"
gtk-icon-theme-name="oomox-numix-gdp"
gtk-font-name="Comfortaa 10"
gtk-cursor-theme-name="Vimix-Black-dark"
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
gtk-toolbar-icon-size=GTK_ICON_SIZE_SMALL_TOOLBAR
gtk-button-images=0
gtk-menu-images=0

20
.local/bin/profiles.sh

@ -0,0 +1,20 @@
#!/bin/sh
# easier way to switch sc controller profiles under wayland
# as the transparancy of the osd is not yelping
set_profile() {
scc set-profile $1
}
curr_p=`scc info | tail -n1 | awk '{print $4}'|xargs -I % basename % .sccprofile `
set_profile "Desk"
new_p=`scc list-profiles | rofi -dmenu -p "Profiles"`
if [ ! -z $new_p ]; then
set_profile $new_p
notify-send --app-name="SC-Controller" "SC-Controller" "${new_p}"
else
set_profile $curr_p
notify-send --app-name="SC-Controller" "SC-Controller" "${curr_p}"
fi
Loading…
Cancel
Save