Merge branch 'master' of gitlab.com:chriscochrun/dotfiles

This commit is contained in:
Chris Cochrun 2021-09-29 10:32:10 -05:00
commit 3c3559bd84
6 changed files with 86 additions and 11 deletions

@ -1 +1 @@
Subproject commit 048cf41e0aa5a391948d62e6168d6e54279cf627 Subproject commit 0fb85341916b6de1c5cd6ddf3e8472292a93a303

View file

@ -171,7 +171,7 @@
{:description "select pass" :group "apps" }) {:description "select pass" :group "apps" })
(awful.key [ modkey shift ] "w" (fn [] (awful.spawn "libreoffice --writer")) (awful.key [ modkey shift ] "w" (fn [] (awful.spawn "libreoffice --writer"))
{:description "Open Writer" :group "apps" }) {:description "Open Writer" :group "apps" })
(awful.key [modkey] "b" (fn [] (awful.spawn "nyxt")) (awful.key [modkey] "b" (fn [] (awful.spawn "nyxtlof"))
{:description "launch browser" :group "apps"}) {:description "launch browser" :group "apps"})
;; rofi ;; rofi
(awful.key [] "Menu" (fn [] (awful.spawn "/home/chris/.config/rofi/launchers-git/launcher.sh")) (awful.key [] "Menu" (fn [] (awful.spawn "/home/chris/.config/rofi/launchers-git/launcher.sh"))

5
oguri/config Normal file
View file

@ -0,0 +1,5 @@
[output eDP-1]
image= path
filter=nearest
scaling-mode=fill
anchor=center

View file

@ -2,7 +2,7 @@
configuration { configuration {
font: "VictorMono Nerd Font 12.0"; font: "VictorMono Nerd Font 22.0";
show-icons: false; show-icons: false;
} }
@import "/home/chris/.config/rofi/config.rasi" @import "/home/chris/.config/rofi/config.rasi"

View file

@ -10,7 +10,7 @@ if pgrep -x nyxt > /dev/null; then
# echo $emacsrg # echo $emacsrg
if [ -z $nyxtrg ]; then if [ -z $nyxtrg ]; then
nyxt env GDK_SCALE=2 GDK_DPI_SCALE=0.5 nyxt
exit exit
else else
wmctrl -ia $nyxtrg wmctrl -ia $nyxtrg
@ -29,5 +29,5 @@ if pgrep -x nyxt > /dev/null; then
fi fi
else else
echo not running echo not running
nyxt env GDK_SCALE=2 GDK_DPI_SCALE=0.5 nyxt
fi fi

View file

@ -8,11 +8,13 @@ duration = 80
enabled_for = (type equals "toplevel" | (type equals "x-or" & focusable equals true)) enabled_for = (type equals "toplevel" | (type equals "x-or" & focusable equals true))
fade_duration = 20 fade_duration = 20
fade_enabled_for = type equals "overlay" fade_enabled_for = type equals "overlay"
fire_color = \#B22303FF
fire_duration = 10 fire_duration = 10
fire_enabled_for = none fire_enabled_for = none
fire_particle_size = 10.000000 fire_particle_size = 10.000000
fire_particles = 542 fire_particles = 542
open_animation = zoom open_animation = zoom
random_fire_color = false
startup_duration = 600 startup_duration = 600
zoom_duration = 100 zoom_duration = 100
zoom_enabled_for = none zoom_enabled_for = none
@ -42,6 +44,7 @@ outputs = kanshi
portal = /usr/libexec/xdg-desktop-portal portal = /usr/libexec/xdg-desktop-portal
[background-view] [background-view]
app-id = mpv
command = mpv --loop=inf command = mpv --loop=inf
file = file =
@ -82,11 +85,13 @@ binding_run = <super> KEY_R
binding_screenshot = KEY_PRINT binding_screenshot = KEY_PRINT
binding_screenshot_interactive = <super> KEY_PRINT binding_screenshot_interactive = <super> KEY_PRINT
binding_terminal = <super> KEY_ENTER binding_terminal = <super> KEY_ENTER
binding_pass = <super> KEY_P
command_agenda = emacsclient -e '(chris/org-agenda)' command_agenda = emacsclient -e '(chris/org-agenda)'
command_browser = qutebrowser & command_browser = nyxtlof
command_dolphin = dolphin command_dolphin = dolphin
command_emacs = emacsclient -c -a emacs command_emacs = emacslof
command_kanshi = kanshi command_kanshi = kanshi
command_pass = wlrofi-rbw
command_killnotif = makoctl dismiss --all command_killnotif = makoctl dismiss --all
command_launcher = wofi -S drun command_launcher = wofi -S drun
command_mute = pactl set-sink-mute @DEFAULT_SINK@ toggle command_mute = pactl set-sink-mute @DEFAULT_SINK@ toggle
@ -107,7 +112,7 @@ focus_button_with_modifiers = false
focus_buttons = BTN_LEFT | BTN_MIDDLE | BTN_RIGHT focus_buttons = BTN_LEFT | BTN_MIDDLE | BTN_RIGHT
focus_buttons_passthrough = true focus_buttons_passthrough = true
max_render_time = -1 max_render_time = -1
plugins = alpha animate autostart command cube decoration expo fast-switcher window-shadows grid idle invert move oswitch place resize switcher vswitch window-rules wobbly zoom simple-tile blur scale alpha vswipe wm-actions workspace-names winshadows mag scale-title-filter showrepaint plugins = alpha animate autostart command cube expo fast-switcher window-shadows grid idle invert move oswitch place resize switcher vswitch window-rules wobbly zoom blur scale alpha vswipe wm-actions workspace-names winshadows mag scale-title-filter showrepaint swayfire-deco simple-tile
preferred_decoration_mode = server preferred_decoration_mode = server
vheight = 2 vheight = 2
vwidth = 2 vwidth = 2
@ -146,6 +151,8 @@ title_height = 0
[expo] [expo]
background = \#1A1A1AFF background = \#1A1A1AFF
duration = 200 duration = 200
inactive_brightness = 0.700000
keyboard_interaction = true
offset = 15 offset = 15
select_workspace_1 = KEY_1 select_workspace_1 = KEY_1
select_workspace_2 = KEY_2 select_workspace_2 = KEY_2
@ -157,6 +164,7 @@ select_workspace_7 = KEY_7
select_workspace_8 = KEY_8 select_workspace_8 = KEY_8
select_workspace_9 = KEY_9 select_workspace_9 = KEY_9
toggle = <ctrl> <super> KEY_D | swipe up 3 | hotspot left-top 100x10 100 toggle = <ctrl> <super> KEY_D | swipe up 3 | hotspot left-top 100x10 100
transition_length = 200
[extra-gestures] [extra-gestures]
close_fingers = 20 close_fingers = 20
@ -204,6 +212,11 @@ slot_tl = <super> KEY_KP7
slot_tr = <super> KEY_KP9 slot_tr = <super> KEY_KP9
type = crossfade type = crossfade
[hinge]
filename = /sys/bus/iio/devices/iio:device1/in_angl0_raw
flip_degree = 180
poll_freq = 200
[idle] [idle]
cube_max_zoom = 1.500000 cube_max_zoom = 1.500000
cube_rotate_speed = 1.000000 cube_rotate_speed = 1.000000
@ -224,6 +237,7 @@ kb_capslock_default_state = false
kb_numlock_default_state = false kb_numlock_default_state = false
kb_repeat_delay = 180 kb_repeat_delay = 180
kb_repeat_rate = 200 kb_repeat_rate = 200
left_handed_mode = false
middle_emulation = false middle_emulation = false
modifier_binding_timeout = 400 modifier_binding_timeout = 400
mouse_accel_profile = default mouse_accel_profile = default
@ -320,6 +334,7 @@ reduce_flicker = true
toggle = <alt> <super> KEY_S toggle = <alt> <super> KEY_S
[simple-tile] [simple-tile]
animation_duration = 0
button_move = <super> BTN_LEFT button_move = <super> BTN_LEFT
button_resize = <super> BTN_RIGHT button_resize = <super> BTN_RIGHT
inner_gap_size = 8 inner_gap_size = 8
@ -331,7 +346,47 @@ key_focus_right = <super> KEY_L
key_toggle = <shift> <super> KEY_T key_toggle = <shift> <super> KEY_T
outer_horiz_gap_size = 20 outer_horiz_gap_size = 20
outer_vert_gap_size = 20 outer_vert_gap_size = 20
tile_by_default = app_id equals "emacs" tile_by_default = (app_id is "emacs" | app_id is "nyxt")
[swayfire]
button_move_activate = <super> BTN_LEFT
button_resize_activate = <super> BTN_RIGHT
focus_down = <super> KEY_J
focus_left = <super> KEY_H
focus_right = <super> KEY_L
focus_up = <super> KEY_K
move_down = <shift> <super> KEY_J
move_left = <shift> <super> KEY_H
move_right = <shift> <super> KEY_L
move_up = <shift> <super> KEY_K
set_stacked = <super> KEY_S
set_tabbed = <super> KEY_T
set_want_hsplit = <super> KEY_B
set_want_vsplit = <super> KEY_V
toggle_focus_tile = <super> KEY_SPACE
toggle_split_direction = <super> KEY_E
toggle_tile = <shift> <super> KEY_SPACE
[swayfire-deco]
border_radius = 35
border_width = 2
focused.background = \#295478FF
focused.border = \#295478FF
focused.child_border = \#295478FF
focused.indicator = \#2E9EF5FF
focused.text = \#FFFFFFFF
focused_inactive.background = \#5E666BFF
focused_inactive.border = \#333333FF
focused_inactive.child_border = \#5E666BFF
focused_inactive.indicator = \#474F4FFF
focused_inactive.text = \#FFFFFFFF
title_bar = false
title_font = VictorMono Nerd Font
unfocused.background = \#212121FF
unfocused.border = \#212121FF
unfocused.child_border = \#212121FF
unfocused.indicator = \#292E2EFF
unfocused.text = \#878787FF
[switcher] [switcher]
next_view = <super> KEY_TAB next_view = <super> KEY_TAB
@ -339,6 +394,10 @@ prev_view = <ctrl> <super> KEY_TAB
speed = 200 speed = 200
view_thumbnail_scale = 1.000000 view_thumbnail_scale = 1.000000
[view-shot]
capture = <alt> <super> BTN_MIDDLE
filename = /tmp/snapshot.png
[vswipe] [vswipe]
background = \#1A1A1AFF background = \#1A1A1AFF
delta_threshold = 24.000000 delta_threshold = 24.000000
@ -363,8 +422,16 @@ binding_win_down = <shift> <super> KEY_J
binding_win_left = <shift> <super> KEY_H binding_win_left = <shift> <super> KEY_H
binding_win_right = <shift> <super> KEY_L binding_win_right = <shift> <super> KEY_L
binding_win_up = <shift> <super> KEY_K binding_win_up = <shift> <super> KEY_K
duration = 300 duration = 200
gap = 20 gap = 20
send_win_down =
send_win_left =
send_win_right =
send_win_up =
with_win_down = <alt> <shift> <super> KEY_J
with_win_left = <alt> <shift> <super> KEY_H
with_win_right = <alt> <shift> <super> KEY_L
with_win_up = <alt> <shift> <super> KEY_K
wraparound = false wraparound = false
[water] [water]
@ -377,7 +444,7 @@ rule_3 = on created if app_id is "emacs" then tile
[winshadows] [winshadows]
clip_shadow_inside = true clip_shadow_inside = true
enabled_views = type is "toplevel" enabled_views = all
include_undecorated_views = true include_undecorated_views = true
shadow_color = \#1A1A1AE6 shadow_color = \#1A1A1AE6
shadow_radius = 30 shadow_radius = 30
@ -394,6 +461,7 @@ zoom_step = 0.100000
[wm-actions] [wm-actions]
minimize = <super> KEY_N minimize = <super> KEY_N
send_to_back = none
toggle_always_on_top = <super> KEY_T toggle_always_on_top = <super> KEY_T
toggle_fullscreen = <super> KEY_F toggle_fullscreen = <super> KEY_F
toggle_maximize = <super> KEY_M toggle_maximize = <super> KEY_M
@ -409,6 +477,7 @@ spring_k = 500.000000
all_dialogs_modal = true all_dialogs_modal = true
app_id_mode = stock app_id_mode = stock
dynamic_repaint_delay = false dynamic_repaint_delay = false
use_external_output_configuration = false
[workspace-names] [workspace-names]
background_color = \#333333B3 background_color = \#333333B3
@ -428,6 +497,7 @@ reset_radius = 25.000000
sensitivity = 24 sensitivity = 24
[zoom] [zoom]
interpolation_method = 0
modifier = <shift> <super> modifier = <shift> <super>
smoothing_duration = 300 smoothing_duration = 300
speed = 0.010000 speed = 0.010000