merging screenshot, sxiv, and a lot of wayland progs
This commit is contained in:
		
						commit
						2914131e45
					
				
					 3 changed files with 434 additions and 0 deletions
				
			
		
							
								
								
									
										3
									
								
								kanshi/config
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								kanshi/config
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,3 @@
 | 
			
		|||
{
 | 
			
		||||
    output eDP-1 mode 3000x2000 position 0,0 scale 2
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										32
									
								
								taiwins/config.lua
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								taiwins/config.lua
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,32 @@
 | 
			
		|||
local os = require "os"
 | 
			
		||||
local taiwins = require "taiwins"
 | 
			
		||||
-- get the compositor object from taiwins
 | 
			
		||||
local compositor = taiwins.compositor()
 | 
			
		||||
 | 
			
		||||
-- general setup
 | 
			
		||||
compositor:panel_pos("bottom")
 | 
			
		||||
compositor:set_gaps(20, 20)
 | 
			
		||||
compositor:repeat_info(20, 500)
 | 
			
		||||
 | 
			
		||||
-- matching display add setting mode
 | 
			
		||||
compositor:config_display("X11-0", {
 | 
			
		||||
			     ["enable"] = true,
 | 
			
		||||
			     ["position"] = {0, 0},
 | 
			
		||||
			     ["mode"] = "1000x600"})
 | 
			
		||||
 | 
			
		||||
-- compositor:lock_in(5) -- onlonger available at the moment
 | 
			
		||||
-- compositor:wake() --this wakes up the compositor --on longer available at the moment
 | 
			
		||||
 | 
			
		||||
-- bind builtin keybindings
 | 
			
		||||
compositor:bind_key("TW_TOGGLE_FLOATING", "s-t")
 | 
			
		||||
compositor:bind_key("TW_OPEN_CONSOLE", "C-x,C-p")
 | 
			
		||||
 | 
			
		||||
-- bind user defined lua functions
 | 
			
		||||
function random_function()
 | 
			
		||||
   os.execute('alacritty')
 | 
			
		||||
end
 | 
			
		||||
compositor:bind_key(random_function, "C-M-enter")
 | 
			
		||||
 | 
			
		||||
for _,ws in ipairs(compositor:workspaces()) do
 | 
			
		||||
   ws:set_layout('floating')
 | 
			
		||||
end
 | 
			
		||||
							
								
								
									
										399
									
								
								wayfire/wayfire.ini
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										399
									
								
								wayfire/wayfire.ini
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,399 @@
 | 
			
		|||
[alpha]
 | 
			
		||||
min_value = 0.100000
 | 
			
		||||
modifier = <super> 
 | 
			
		||||
 | 
			
		||||
[animate]
 | 
			
		||||
close_animation = zoom
 | 
			
		||||
duration = 200
 | 
			
		||||
enabled_for = (type equals "toplevel" | (type equals "x-or" & focusable equals true))
 | 
			
		||||
fade_duration = 400
 | 
			
		||||
fade_enabled_for = type equals "overlay"
 | 
			
		||||
fire_duration = 10
 | 
			
		||||
fire_enabled_for = none
 | 
			
		||||
fire_particle_size = 10.000000
 | 
			
		||||
fire_particles = 542
 | 
			
		||||
open_animation = zoom
 | 
			
		||||
startup_duration = 600
 | 
			
		||||
zoom_duration = 200
 | 
			
		||||
zoom_enabled_for = none
 | 
			
		||||
 | 
			
		||||
[annotate]
 | 
			
		||||
clear_workspace = <alt> <super> KEY_C
 | 
			
		||||
draw = <alt> <super> BTN_LEFT
 | 
			
		||||
from_center = true
 | 
			
		||||
line_width = 3.000000
 | 
			
		||||
method = draw
 | 
			
		||||
stroke_color = \#FF0000FF
 | 
			
		||||
 | 
			
		||||
[autorotate-iio]
 | 
			
		||||
lock_rotation = false
 | 
			
		||||
rotate_down = <ctrl> <super> KEY_J
 | 
			
		||||
rotate_left = <ctrl> <super> KEY_H
 | 
			
		||||
rotate_right = <ctrl> <super> KEY_L
 | 
			
		||||
rotate_up = <ctrl> <super> KEY_K
 | 
			
		||||
 | 
			
		||||
[autostart]
 | 
			
		||||
autostart_wf_shell = false
 | 
			
		||||
bar = waybar
 | 
			
		||||
bg = swaybg -i ~/Pictures/wallpapers/RoyalKing.png -m center
 | 
			
		||||
gamma = wlsunset
 | 
			
		||||
notifications = mako
 | 
			
		||||
outputs = kanshi
 | 
			
		||||
portal = /usr/libexec/xdg-desktop-portal
 | 
			
		||||
 | 
			
		||||
[background-view]
 | 
			
		||||
command = mpv --loop=inf
 | 
			
		||||
file = 
 | 
			
		||||
 | 
			
		||||
[bench]
 | 
			
		||||
average_frames = 1
 | 
			
		||||
frames_per_update = 3
 | 
			
		||||
position = top_center
 | 
			
		||||
 | 
			
		||||
[blur]
 | 
			
		||||
blur_by_default = type is "toplevel"
 | 
			
		||||
bokeh_degrade = 1
 | 
			
		||||
bokeh_iterations = 15
 | 
			
		||||
bokeh_offset = 5.000000
 | 
			
		||||
box_degrade = 1
 | 
			
		||||
box_iterations = 2
 | 
			
		||||
box_offset = 1.000000
 | 
			
		||||
gaussian_degrade = 1
 | 
			
		||||
gaussian_iterations = 2
 | 
			
		||||
gaussian_offset = 1.000000
 | 
			
		||||
kawase_degrade = 8
 | 
			
		||||
kawase_iterations = 2
 | 
			
		||||
kawase_offset = 2.000000
 | 
			
		||||
method = kawase
 | 
			
		||||
saturation = 1.000000
 | 
			
		||||
toggle = none
 | 
			
		||||
 | 
			
		||||
[command]
 | 
			
		||||
binding_browser = <super> KEY_B
 | 
			
		||||
binding_launcher = KEY_COMPOSE
 | 
			
		||||
binding_mute = KEY_MUTE
 | 
			
		||||
binding_screenshot = KEY_PRINT
 | 
			
		||||
binding_screenshot_interactive = <shift> KEY_PRINT
 | 
			
		||||
binding_terminal = <super> KEY_ENTER
 | 
			
		||||
command_browser = qutebrowser
 | 
			
		||||
command_launcher = wofi --show drun
 | 
			
		||||
command_mute = pactl set-sink-mute @DEFAULT_SINK@ toggle
 | 
			
		||||
command_screenshot = grim $(date '+%F_%T').webp
 | 
			
		||||
command_screenshot_interactive = slurp | grim -g - $(date '+%F_%T').webp
 | 
			
		||||
command_terminal = alacritty
 | 
			
		||||
command_volume_down = pactl set-sink-volume @DEFAULT_SINK@ -5%
 | 
			
		||||
command_volume_up = pactl set-sink-volume @DEFAULT_SINK@ +5%
 | 
			
		||||
repeatable_binding_volume_down = KEY_VOLUMEDOWN
 | 
			
		||||
repeatable_binding_volume_up = KEY_VOLUMEUP
 | 
			
		||||
 | 
			
		||||
[core]
 | 
			
		||||
background_color = \#1A1A1AFF
 | 
			
		||||
close_top_view = <super> KEY_C
 | 
			
		||||
focus_button_with_modifiers = false
 | 
			
		||||
focus_buttons = BTN_LEFT | BTN_MIDDLE | BTN_RIGHT
 | 
			
		||||
focus_buttons_passthrough = true
 | 
			
		||||
max_render_time = -1
 | 
			
		||||
plugins = alpha animate autostart command cube decoration expo fast-switcher grid idle invert move oswitch place resize switcher vswitch window-rules wobbly zoom simple-tile blur scale alpha vswipe
 | 
			
		||||
preferred_decoration_mode = server
 | 
			
		||||
vheight = 2
 | 
			
		||||
vwidth = 2
 | 
			
		||||
xwayland = true
 | 
			
		||||
 | 
			
		||||
[crosshair]
 | 
			
		||||
line_color = \#FF0000FF
 | 
			
		||||
line_width = 2
 | 
			
		||||
 | 
			
		||||
[cube]
 | 
			
		||||
activate = <alt> <ctrl> BTN_LEFT
 | 
			
		||||
background = \#1A1A1AFF
 | 
			
		||||
background_mode = simple
 | 
			
		||||
cubemap_image = 
 | 
			
		||||
deform = 0
 | 
			
		||||
initial_animation = 350
 | 
			
		||||
light = true
 | 
			
		||||
rotate_left = none
 | 
			
		||||
rotate_right = none
 | 
			
		||||
skydome_mirror = true
 | 
			
		||||
skydome_texture = 
 | 
			
		||||
speed_spin_horiz = 0.020000
 | 
			
		||||
speed_spin_vert = 0.020000
 | 
			
		||||
speed_zoom = 0.070000
 | 
			
		||||
zoom = 0.100000
 | 
			
		||||
 | 
			
		||||
[decoration]
 | 
			
		||||
active_color = \#222222AA
 | 
			
		||||
border_size = 4
 | 
			
		||||
button_order = minimize maximize close
 | 
			
		||||
font = sans-serif
 | 
			
		||||
ignore_views = none
 | 
			
		||||
inactive_color = \#333333DD
 | 
			
		||||
title_height = 0
 | 
			
		||||
 | 
			
		||||
[expo]
 | 
			
		||||
background = \#1A1A1AFF
 | 
			
		||||
duration = 300
 | 
			
		||||
offset = 10
 | 
			
		||||
select_workspace_1 = KEY_1
 | 
			
		||||
select_workspace_2 = KEY_2
 | 
			
		||||
select_workspace_3 = KEY_3
 | 
			
		||||
select_workspace_4 = KEY_4
 | 
			
		||||
select_workspace_5 = KEY_5
 | 
			
		||||
select_workspace_6 = KEY_6
 | 
			
		||||
select_workspace_7 = KEY_7
 | 
			
		||||
select_workspace_8 = KEY_8
 | 
			
		||||
select_workspace_9 = KEY_9
 | 
			
		||||
toggle = <alt> <super> KEY_TAB
 | 
			
		||||
 | 
			
		||||
[extra-gestures]
 | 
			
		||||
close_fingers = 20
 | 
			
		||||
move_delay = 500
 | 
			
		||||
move_fingers = 3
 | 
			
		||||
 | 
			
		||||
[fast-switcher]
 | 
			
		||||
activate = <alt> KEY_ESC
 | 
			
		||||
activate_backward = <alt> <shift> KEY_ESC
 | 
			
		||||
 | 
			
		||||
[fisheye]
 | 
			
		||||
radius = 450.000000
 | 
			
		||||
toggle = <ctrl> <super> KEY_F
 | 
			
		||||
zoom = 7.000000
 | 
			
		||||
 | 
			
		||||
[follow-focus]
 | 
			
		||||
change_output = true
 | 
			
		||||
change_view = true
 | 
			
		||||
focus_delay = 50
 | 
			
		||||
raise_on_top = true
 | 
			
		||||
threshold = 10
 | 
			
		||||
 | 
			
		||||
[force-fullscreen]
 | 
			
		||||
constrain_pointer = false
 | 
			
		||||
constraint_area = view
 | 
			
		||||
key_toggle_fullscreen = <super> KEY_F
 | 
			
		||||
preserve_aspect = true
 | 
			
		||||
transparent_behind_views = true
 | 
			
		||||
x_skew = 0.000000
 | 
			
		||||
y_skew = 0.000000
 | 
			
		||||
 | 
			
		||||
[grid]
 | 
			
		||||
duration = 300
 | 
			
		||||
restore = <super> KEY_DOWN | <super> KEY_KP0
 | 
			
		||||
slot_b = <super> KEY_KP2 | <super> <shift> KEY_J
 | 
			
		||||
slot_bl = <super> KEY_KP1
 | 
			
		||||
slot_br = <super> KEY_KP3
 | 
			
		||||
slot_c = <super> KEY_UP | <super> KEY_KP5
 | 
			
		||||
slot_l = <super> KEY_LEFT | <super> KEY_KP4 | <super> <shift> KEY_H
 | 
			
		||||
slot_r = <super> KEY_RIGHT | <super> KEY_KP6 | <super> <shift> KEY_L
 | 
			
		||||
slot_t = <super> KEY_KP8 | <super> <shift> KEY_K
 | 
			
		||||
slot_tl = <super> KEY_KP7
 | 
			
		||||
slot_tr = <super> KEY_KP9
 | 
			
		||||
type = crossfade
 | 
			
		||||
 | 
			
		||||
[idle]
 | 
			
		||||
cube_max_zoom = 1.500000
 | 
			
		||||
cube_rotate_speed = 1.000000
 | 
			
		||||
cube_zoom_speed = 1000
 | 
			
		||||
disable_on_fullscreen = true
 | 
			
		||||
dpms_timeout = -1
 | 
			
		||||
screensaver_timeout = 3600
 | 
			
		||||
toggle = none
 | 
			
		||||
 | 
			
		||||
[input]
 | 
			
		||||
click_method = default
 | 
			
		||||
cursor_size = 24
 | 
			
		||||
cursor_theme = breeze-snow
 | 
			
		||||
disable_touchpad_while_mouse = false
 | 
			
		||||
disable_touchpad_while_typing = true
 | 
			
		||||
gesture_sensitivity = 1.000000
 | 
			
		||||
kb_capslock_default_state = false
 | 
			
		||||
kb_numlock_default_state = false
 | 
			
		||||
kb_repeat_delay = 180
 | 
			
		||||
kb_repeat_rate = 200
 | 
			
		||||
middle_emulation = false
 | 
			
		||||
modifier_binding_timeout = 400
 | 
			
		||||
mouse_accel_profile = default
 | 
			
		||||
mouse_cursor_speed = 0.000000
 | 
			
		||||
mouse_scroll_speed = 1.000000
 | 
			
		||||
natural_scroll = true
 | 
			
		||||
scroll_method = default
 | 
			
		||||
tap_to_click = true
 | 
			
		||||
touchpad_accel_profile = default
 | 
			
		||||
touchpad_cursor_speed = 0.000000
 | 
			
		||||
touchpad_scroll_speed = 1.000000
 | 
			
		||||
xkb_layout = us
 | 
			
		||||
xkb_model = 
 | 
			
		||||
xkb_options = 
 | 
			
		||||
xkb_rules = evdev
 | 
			
		||||
xkb_variant = 
 | 
			
		||||
 | 
			
		||||
[input-device]
 | 
			
		||||
output = eDP-1
 | 
			
		||||
 | 
			
		||||
[invert]
 | 
			
		||||
preserve_hue = false
 | 
			
		||||
toggle = <super> KEY_I
 | 
			
		||||
 | 
			
		||||
[join-views]
 | 
			
		||||
 | 
			
		||||
[keycolor]
 | 
			
		||||
color = \#000000FF
 | 
			
		||||
opacity = 0.250000
 | 
			
		||||
threshold = 0.500000
 | 
			
		||||
 | 
			
		||||
[mag]
 | 
			
		||||
default_height = 500
 | 
			
		||||
toggle = <alt> <super> KEY_M
 | 
			
		||||
zoom_level = 75
 | 
			
		||||
 | 
			
		||||
[move]
 | 
			
		||||
activate = <super> BTN_LEFT
 | 
			
		||||
enable_snap = true
 | 
			
		||||
enable_snap_off = true
 | 
			
		||||
join_views = false
 | 
			
		||||
quarter_snap_threshold = 50
 | 
			
		||||
snap_off_threshold = 10
 | 
			
		||||
snap_threshold = 10
 | 
			
		||||
workspace_switch_after = -1
 | 
			
		||||
 | 
			
		||||
[oswitch]
 | 
			
		||||
next_output = <super> KEY_O
 | 
			
		||||
next_output_with_win = <shift> <super> KEY_O
 | 
			
		||||
 | 
			
		||||
[place]
 | 
			
		||||
mode = center
 | 
			
		||||
 | 
			
		||||
[preserve-output]
 | 
			
		||||
last_output_focus_timeout = 10000
 | 
			
		||||
 | 
			
		||||
[resize]
 | 
			
		||||
activate = <super> BTN_RIGHT
 | 
			
		||||
 | 
			
		||||
[scale]
 | 
			
		||||
allow_zoom = false
 | 
			
		||||
bg_color = \#1A1A1AE6
 | 
			
		||||
duration = 400
 | 
			
		||||
inactive_alpha = 0.750000
 | 
			
		||||
interact = false
 | 
			
		||||
middle_click_close = false
 | 
			
		||||
spacing = 50
 | 
			
		||||
text_color = \#CCCCCCFF
 | 
			
		||||
title_font_size = 16
 | 
			
		||||
title_overlay = all
 | 
			
		||||
title_position = center
 | 
			
		||||
toggle = <super> KEY_P
 | 
			
		||||
toggle_all = 
 | 
			
		||||
 | 
			
		||||
[scale-title-filter]
 | 
			
		||||
bg_color = \#00000080
 | 
			
		||||
case_sensitive = false
 | 
			
		||||
font_size = 30
 | 
			
		||||
overlay = true
 | 
			
		||||
share_filter = false
 | 
			
		||||
text_color = \#CCCCCCCC
 | 
			
		||||
 | 
			
		||||
[showrepaint]
 | 
			
		||||
reduce_flicker = true
 | 
			
		||||
toggle = <alt> <super> KEY_S
 | 
			
		||||
 | 
			
		||||
[simple-tile]
 | 
			
		||||
button_move = <super> BTN_LEFT
 | 
			
		||||
button_resize = <super> BTN_RIGHT
 | 
			
		||||
inner_gap_size = 8
 | 
			
		||||
keep_fullscreen_on_adjacent = true
 | 
			
		||||
key_focus_above = <super> KEY_K
 | 
			
		||||
key_focus_below = <super> KEY_J
 | 
			
		||||
key_focus_left = <super> KEY_H
 | 
			
		||||
key_focus_right = <super> KEY_L
 | 
			
		||||
key_toggle = <super> KEY_T
 | 
			
		||||
outer_horiz_gap_size = 20
 | 
			
		||||
outer_vert_gap_size = 20
 | 
			
		||||
tile_by_default = all
 | 
			
		||||
 | 
			
		||||
[switcher]
 | 
			
		||||
next_view = <super> KEY_TAB
 | 
			
		||||
prev_view = <ctrl> <super> KEY_TAB
 | 
			
		||||
speed = 500
 | 
			
		||||
view_thumbnail_scale = 1.000000
 | 
			
		||||
 | 
			
		||||
[vswipe]
 | 
			
		||||
background = \#1A1A1AFF
 | 
			
		||||
delta_threshold = 24.000000
 | 
			
		||||
duration = 180
 | 
			
		||||
enable_free_movement = false
 | 
			
		||||
enable_horizontal = true
 | 
			
		||||
enable_smooth_transition = false
 | 
			
		||||
enable_vertical = true
 | 
			
		||||
fingers = 4
 | 
			
		||||
gap = 32.000000
 | 
			
		||||
speed_cap = 0.050000
 | 
			
		||||
speed_factor = 256.000000
 | 
			
		||||
threshold = 0.350000
 | 
			
		||||
 | 
			
		||||
[vswitch]
 | 
			
		||||
background = \#1A1A1AFF
 | 
			
		||||
binding_down = <ctrl> <super> KEY_DOWN
 | 
			
		||||
binding_left = <ctrl> <super> KEY_LEFT
 | 
			
		||||
binding_right = <ctrl> <super> KEY_RIGHT
 | 
			
		||||
binding_up = <ctrl> <super> KEY_UP
 | 
			
		||||
binding_win_down = <ctrl> <shift> <super> KEY_DOWN
 | 
			
		||||
binding_win_left = <ctrl> <shift> <super> KEY_LEFT
 | 
			
		||||
binding_win_right = <ctrl> <shift> <super> KEY_RIGHT
 | 
			
		||||
binding_win_up = <ctrl> <shift> <super> KEY_UP
 | 
			
		||||
duration = 300
 | 
			
		||||
gap = 20
 | 
			
		||||
wraparound = false
 | 
			
		||||
 | 
			
		||||
[water]
 | 
			
		||||
activate = <ctrl> <super> BTN_LEFT
 | 
			
		||||
 | 
			
		||||
[window-rules]
 | 
			
		||||
 | 
			
		||||
[winzoom]
 | 
			
		||||
dec_x_binding = <ctrl> <super> KEY_LEFT
 | 
			
		||||
dec_y_binding = <ctrl> <super> KEY_UP
 | 
			
		||||
inc_x_binding = <ctrl> <super> KEY_RIGHT
 | 
			
		||||
inc_y_binding = <ctrl> <super> KEY_DOWN
 | 
			
		||||
modifier = <ctrl> <super> 
 | 
			
		||||
nearest_filtering = false
 | 
			
		||||
preserve_aspect = true
 | 
			
		||||
zoom_step = 0.100000
 | 
			
		||||
 | 
			
		||||
[wm-actions]
 | 
			
		||||
minimize = none
 | 
			
		||||
toggle_always_on_top = none
 | 
			
		||||
toggle_fullscreen = none
 | 
			
		||||
toggle_maximize = none
 | 
			
		||||
toggle_showdesktop = none
 | 
			
		||||
toggle_sticky = none
 | 
			
		||||
 | 
			
		||||
[wobbly]
 | 
			
		||||
friction = 2.000000
 | 
			
		||||
grid_resolution = 6
 | 
			
		||||
spring_k = 9.000000
 | 
			
		||||
 | 
			
		||||
[workarounds]
 | 
			
		||||
all_dialogs_modal = true
 | 
			
		||||
app_id_mode = stock
 | 
			
		||||
dynamic_repaint_delay = false
 | 
			
		||||
 | 
			
		||||
[workspace-names]
 | 
			
		||||
background_color = \#333333B3
 | 
			
		||||
display_duration = 500
 | 
			
		||||
font = sans-serif
 | 
			
		||||
position = center
 | 
			
		||||
show_option_names = false
 | 
			
		||||
text_color = \#FFFFFFFF
 | 
			
		||||
 | 
			
		||||
[wrot]
 | 
			
		||||
activate = <ctrl> <super> BTN_RIGHT
 | 
			
		||||
activate-3d = <shift> <super> BTN_RIGHT
 | 
			
		||||
invert = false
 | 
			
		||||
reset = <ctrl> <super> KEY_R
 | 
			
		||||
reset-one = <super> KEY_R
 | 
			
		||||
reset_radius = 25.000000
 | 
			
		||||
sensitivity = 24
 | 
			
		||||
 | 
			
		||||
[zoom]
 | 
			
		||||
modifier = <shift> <super> 
 | 
			
		||||
smoothing_duration = 300
 | 
			
		||||
speed = 0.010000
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue