From 5fe7b49bbdb67467afe95aba94c10bd082619314 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Mon, 27 Sep 2021 17:14:29 -0500 Subject: [PATCH 1/2] wayfire edits --- oguri/config | 5 +++ wayfire/wayfire.ini | 82 +++++++++++++++++++++++++++++++++++++++++---- 2 files changed, 81 insertions(+), 6 deletions(-) create mode 100644 oguri/config diff --git a/oguri/config b/oguri/config new file mode 100644 index 0000000..ace072b --- /dev/null +++ b/oguri/config @@ -0,0 +1,5 @@ +[output eDP-1] +image= path +filter=nearest +scaling-mode=fill +anchor=center \ No newline at end of file diff --git a/wayfire/wayfire.ini b/wayfire/wayfire.ini index 01c7fe6..c59aca7 100644 --- a/wayfire/wayfire.ini +++ b/wayfire/wayfire.ini @@ -8,11 +8,13 @@ duration = 80 enabled_for = (type equals "toplevel" | (type equals "x-or" & focusable equals true)) fade_duration = 20 fade_enabled_for = type equals "overlay" +fire_color = \#B22303FF fire_duration = 10 fire_enabled_for = none fire_particle_size = 10.000000 fire_particles = 542 open_animation = zoom +random_fire_color = false startup_duration = 600 zoom_duration = 100 zoom_enabled_for = none @@ -42,6 +44,7 @@ outputs = kanshi portal = /usr/libexec/xdg-desktop-portal [background-view] +app-id = mpv command = mpv --loop=inf file = @@ -82,11 +85,13 @@ binding_run = KEY_R binding_screenshot = KEY_PRINT binding_screenshot_interactive = KEY_PRINT binding_terminal = KEY_ENTER +binding_pass = KEY_P command_agenda = emacsclient -e '(chris/org-agenda)' -command_browser = qutebrowser & +command_browser = nyxtlof command_dolphin = dolphin -command_emacs = emacsclient -c -a emacs +command_emacs = emacslof command_kanshi = kanshi +command_pass = wlrofi-rbw command_killnotif = makoctl dismiss --all command_launcher = wofi -S drun 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_passthrough = true 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 vheight = 2 vwidth = 2 @@ -146,6 +151,8 @@ title_height = 0 [expo] background = \#1A1A1AFF duration = 200 +inactive_brightness = 0.700000 +keyboard_interaction = true offset = 15 select_workspace_1 = KEY_1 select_workspace_2 = KEY_2 @@ -157,6 +164,7 @@ select_workspace_7 = KEY_7 select_workspace_8 = KEY_8 select_workspace_9 = KEY_9 toggle = KEY_D | swipe up 3 | hotspot left-top 100x10 100 +transition_length = 200 [extra-gestures] close_fingers = 20 @@ -204,6 +212,11 @@ slot_tl = KEY_KP7 slot_tr = KEY_KP9 type = crossfade +[hinge] +filename = /sys/bus/iio/devices/iio:device1/in_angl0_raw +flip_degree = 180 +poll_freq = 200 + [idle] cube_max_zoom = 1.500000 cube_rotate_speed = 1.000000 @@ -224,6 +237,7 @@ kb_capslock_default_state = false kb_numlock_default_state = false kb_repeat_delay = 180 kb_repeat_rate = 200 +left_handed_mode = false middle_emulation = false modifier_binding_timeout = 400 mouse_accel_profile = default @@ -320,6 +334,7 @@ reduce_flicker = true toggle = KEY_S [simple-tile] +animation_duration = 0 button_move = BTN_LEFT button_resize = BTN_RIGHT inner_gap_size = 8 @@ -331,7 +346,47 @@ key_focus_right = KEY_L key_toggle = KEY_T outer_horiz_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 = BTN_LEFT +button_resize_activate = BTN_RIGHT +focus_down = KEY_J +focus_left = KEY_H +focus_right = KEY_L +focus_up = KEY_K +move_down = KEY_J +move_left = KEY_H +move_right = KEY_L +move_up = KEY_K +set_stacked = KEY_S +set_tabbed = KEY_T +set_want_hsplit = KEY_B +set_want_vsplit = KEY_V +toggle_focus_tile = KEY_SPACE +toggle_split_direction = KEY_E +toggle_tile = 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] next_view = KEY_TAB @@ -339,6 +394,10 @@ prev_view = KEY_TAB speed = 200 view_thumbnail_scale = 1.000000 +[view-shot] +capture = BTN_MIDDLE +filename = /tmp/snapshot.png + [vswipe] background = \#1A1A1AFF delta_threshold = 24.000000 @@ -363,8 +422,16 @@ binding_win_down = KEY_J binding_win_left = KEY_H binding_win_right = KEY_L binding_win_up = KEY_K -duration = 300 +duration = 200 gap = 20 +send_win_down = +send_win_left = +send_win_right = +send_win_up = +with_win_down = KEY_J +with_win_left = KEY_H +with_win_right = KEY_L +with_win_up = KEY_K wraparound = false [water] @@ -377,7 +444,7 @@ rule_3 = on created if app_id is "emacs" then tile [winshadows] clip_shadow_inside = true -enabled_views = type is "toplevel" +enabled_views = all include_undecorated_views = true shadow_color = \#1A1A1AE6 shadow_radius = 30 @@ -394,6 +461,7 @@ zoom_step = 0.100000 [wm-actions] minimize = KEY_N +send_to_back = none toggle_always_on_top = KEY_T toggle_fullscreen = KEY_F toggle_maximize = KEY_M @@ -409,6 +477,7 @@ spring_k = 500.000000 all_dialogs_modal = true app_id_mode = stock dynamic_repaint_delay = false +use_external_output_configuration = false [workspace-names] background_color = \#333333B3 @@ -428,6 +497,7 @@ reset_radius = 25.000000 sensitivity = 24 [zoom] +interpolation_method = 0 modifier = smoothing_duration = 300 speed = 0.010000 From 468e28e952cba7ce5f5802cd7fd579903329c0b6 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Wed, 29 Sep 2021 10:31:45 -0500 Subject: [PATCH 2/2] idk --- awesome/bling | 2 +- awesome/init.fnl | 2 +- awesome/keybindings.fnl | 2 +- rofi/launchers-git/laptop-rbw.rasi | 2 +- scripts/nyxtlof | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/awesome/bling b/awesome/bling index 048cf41..0fb8534 160000 --- a/awesome/bling +++ b/awesome/bling @@ -1 +1 @@ -Subproject commit 048cf41e0aa5a391948d62e6168d6e54279cf627 +Subproject commit 0fb85341916b6de1c5cd6ddf3e8472292a93a303 diff --git a/awesome/init.fnl b/awesome/init.fnl index bef3278..075fd41 100644 --- a/awesome/init.fnl +++ b/awesome/init.fnl @@ -699,4 +699,4 @@ (awful.spawn.once "xset r rate 220 90") (awful.spawn.once "autorandr -c") (awful.spawn.once "xcape -e 'Super_L=Super_L|Control_L|Escape'") -(awful.spawn.once "latte-dock") +;; (awful.spawn.once "latte-dock") diff --git a/awesome/keybindings.fnl b/awesome/keybindings.fnl index bb45486..22d4a9c 100644 --- a/awesome/keybindings.fnl +++ b/awesome/keybindings.fnl @@ -171,7 +171,7 @@ {:description "select pass" :group "apps" }) (awful.key [ modkey shift ] "w" (fn [] (awful.spawn "libreoffice --writer")) {: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"}) ;; rofi (awful.key [] "Menu" (fn [] (awful.spawn "/home/chris/.config/rofi/launchers-git/launcher.sh")) diff --git a/rofi/launchers-git/laptop-rbw.rasi b/rofi/launchers-git/laptop-rbw.rasi index fcb817d..65f5fe1 100644 --- a/rofi/launchers-git/laptop-rbw.rasi +++ b/rofi/launchers-git/laptop-rbw.rasi @@ -2,7 +2,7 @@ configuration { - font: "VictorMono Nerd Font 12.0"; + font: "VictorMono Nerd Font 22.0"; show-icons: false; } @import "/home/chris/.config/rofi/config.rasi" diff --git a/scripts/nyxtlof b/scripts/nyxtlof index 6a7d5e3..9c47aac 100755 --- a/scripts/nyxtlof +++ b/scripts/nyxtlof @@ -10,7 +10,7 @@ if pgrep -x nyxt > /dev/null; then # echo $emacsrg if [ -z $nyxtrg ]; then - nyxt + env GDK_SCALE=2 GDK_DPI_SCALE=0.5 nyxt exit else wmctrl -ia $nyxtrg @@ -29,5 +29,5 @@ if pgrep -x nyxt > /dev/null; then fi else echo not running - nyxt + env GDK_SCALE=2 GDK_DPI_SCALE=0.5 nyxt fi