Merge nyxt looks

This commit is contained in:
Chris Cochrun 2021-09-24 06:21:23 -05:00
commit 0e03b6c442
4 changed files with 31 additions and 31 deletions

View file

@ -30,7 +30,7 @@
;; Create a function to launch mpv with given url
(defun mpv (url)
"MPV launches with given url using the fast profile."
(uiop:run-program (list "mpv" "--profile=fast" url)))
(uiop:run-program (list "mpv" "--profile=fast" url "&")))
;; Create a function to download videos with youtube-dl in alacritty
(defun youtube-dl (url)
@ -108,8 +108,8 @@
:background "#282a36"
:color "#e2e4e5"
:line-height "1fr")
("#container"
:grid-template-columns "0px 4fr 0px 2fr 0px 0px")
("#container-vi"
:grid-template-columns "0px 30px 2fr 0px 240px")
("#controls"
:background-color "#282a36"
:color "#f3f99d"

View file

@ -1,3 +1,3 @@
#!/bin/sh
wlrctl window list state:active
wlrctl window list state:active | sed 's/.*://'

View file

@ -4,7 +4,7 @@
"height": 30, // Waybar height (to be removed for auto height)
// "width": 1280, // Waybar width
// Choose the order of the modules "custom/wintitle",
"modules-left": ["sway/workspaces", "river/tags", "sway/mode", "sway/window"],
"modules-left": ["sway/workspaces", "river/tags", "custom/wintitle", "sway/mode", "sway/window"],
"modules-center": ["clock"],
"modules-right": ["pulseaudio", "network", "memory", "cpu", "battery", "battery#bat2", "tray"],
"margin-top": 0,

View file

@ -3,8 +3,8 @@ min_value = 0.100000
modifier = <super>
[animate]
close_animation = zoom
duration = 100
close_animation = fade
duration = 80
enabled_for = (type equals "toplevel" | (type equals "x-or" & focusable equals true))
fade_duration = 20
fade_enabled_for = type equals "overlay"
@ -86,8 +86,8 @@ command_agenda = emacsclient -e '(chris/org-agenda)'
command_browser = qutebrowser &
command_dolphin = dolphin
command_emacs = emacsclient -c -a emacs
command_killnotif = makoctl dismiss --all
command_kanshi = kanshi
command_killnotif = makoctl dismiss --all
command_launcher = wofi -S drun
command_mute = pactl set-sink-mute @DEFAULT_SINK@ toggle
command_quit = killall wayfire
@ -107,7 +107,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
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
preferred_decoration_mode = server
vheight = 2
vwidth = 2
@ -156,7 +156,7 @@ select_workspace_6 = KEY_6
select_workspace_7 = KEY_7
select_workspace_8 = KEY_8
select_workspace_9 = KEY_9
toggle = <super> KEY_W | swipe up 3 | hotspot left-top 100x10 100
toggle = <ctrl> <super> KEY_D | swipe up 3 | hotspot left-top 100x10 100
[extra-gestures]
close_fingers = 20
@ -164,8 +164,8 @@ move_delay = 500
move_fingers = 3
[fast-switcher]
activate = <alt> KEY_ESC
activate_backward = <alt> <shift> KEY_ESC
activate = <super> KEY_J
activate_backward = <super> KEY_K
[fisheye]
radius = 450.000000
@ -216,7 +216,7 @@ toggle = none
[input]
click_method = default
cursor_size = 48
cursor_theme = breeze-snow
cursor_theme = breeze
disable_touchpad_while_mouse = false
disable_touchpad_while_typing = true
gesture_sensitivity = 1.000000
@ -233,8 +233,8 @@ natural_scroll = true
scroll_method = default
tap_to_click = true
touchpad_accel_profile = default
touchpad_cursor_speed = 0.300000
touchpad_scroll_speed = 1.000000
touchpad_cursor_speed = 0.500000
touchpad_scroll_speed = 2.000000
xkb_layout = us
xkb_model =
xkb_options =
@ -257,7 +257,7 @@ threshold = 0.500000
[mag]
default_height = 500
toggle = <alt> <super> KEY_M
toggle = <ctrl> <shift> <super> KEY_M
zoom_level = 75
[move]
@ -266,7 +266,7 @@ enable_snap = true
enable_snap_off = true
join_views = false
quarter_snap_threshold = 50
snap_off_threshold = 10
snap_off_threshold = 5
snap_threshold = 10
workspace_switch_after = -1
@ -294,26 +294,26 @@ activate = <super> BTN_RIGHT
[scale]
allow_zoom = true
bg_color = \#1A1A1AE6
duration = 250
bg_color = \#282A36FF
duration = 150
inactive_alpha = 0.350000
interact = false
middle_click_close = true
spacing = 50
text_color = \#CCCCCCFF
spacing = 40
text_color = \#5AF78EFF
title_font_size = 24
title_overlay = all
title_position = center
toggle = <shift> <super> KEY_P
toggle_all = <shift> <super> KEY_M
toggle = <shift> <super> KEY_W
toggle_all = <super> KEY_W
[scale-title-filter]
bg_color = \#282A3680
bg_color = \#282A36FF
case_sensitive = false
font_size = 30
overlay = true
share_filter = false
text_color = \#E2E4E5CC
text_color = \#5AF78EFF
[showrepaint]
reduce_flicker = true
@ -331,7 +331,7 @@ key_focus_right = <super> KEY_L
key_toggle = <shift> <super> KEY_T
outer_horiz_gap_size = 20
outer_vert_gap_size = 20
tile_by_default = all
tile_by_default = app_id equals "emacs"
[switcher]
next_view = <super> KEY_TAB
@ -379,7 +379,7 @@ rule_3 = on created if app_id is "emacs" then tile
clip_shadow_inside = true
enabled_views = type is "toplevel"
include_undecorated_views = true
shadow_color = \#FFFFFF
shadow_color = \#1A1A1AE6
shadow_radius = 30
[winzoom]
@ -397,13 +397,13 @@ minimize = <super> KEY_N
toggle_always_on_top = <super> KEY_T
toggle_fullscreen = <super> KEY_F
toggle_maximize = <super> KEY_M
toggle_showdesktop = none
toggle_showdesktop = <super> KEY_D
toggle_sticky = <super> KEY_0
[wobbly]
friction = 3.000000
grid_resolution = 96
spring_k = 9.000000
friction = 6.000000
grid_resolution = 20
spring_k = 500.000000
[workarounds]
all_dialogs_modal = true