making nyxt prettier

This commit is contained in:
Chris Cochrun 2021-09-24 06:20:45 -05:00
parent 6e88893a19
commit 72b6c49e94
4 changed files with 31 additions and 31 deletions

View file

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

View file

@ -1,3 +1,3 @@
#!/bin/sh #!/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) "height": 30, // Waybar height (to be removed for auto height)
// "width": 1280, // Waybar width // "width": 1280, // Waybar width
// Choose the order of the modules "custom/wintitle", // 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-center": ["clock"],
"modules-right": ["pulseaudio", "network", "memory", "cpu", "battery", "battery#bat2", "tray"], "modules-right": ["pulseaudio", "network", "memory", "cpu", "battery", "battery#bat2", "tray"],
"margin-top": 0, "margin-top": 0,

View file

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