diff --git a/homes/emenel/dotfiles/dot_config/hypr/hypridle.conf b/homes/emenel/dotfiles/dot_config/hypr/hypridle.conf deleted file mode 100644 index 1ad7f82..0000000 --- a/homes/emenel/dotfiles/dot_config/hypr/hypridle.conf +++ /dev/null @@ -1,50 +0,0 @@ -general { - lock_cmd = pidof hyprlock || hyprlock - before_sleep_cmd = loginctl lock-session -} - -# battery timers -listener { - timeout = 30 - on-timeout = systemd-ac-power || light -S 0 - on-resume = systemd-ac-power || light -I -} - -listener { - timeout = 30 - on-timeout = systemd-ac-power || light -s razer/0003:1532:02B6.0004/backlight -S 0 - on-resume = systemd-ac-power || light -s razer/0003:1532:02B6.0004/backlight -S 40 -} - -listener { - timeout = 120 - on-timeout = systemd-ac-power || systemd-ac-power && loginctl lock-session -} - -listener { - timeout = 600 - on-timeout = systemd-ac-power || systemctl suspend -} - -# ac power timers -listener { - timeout = 60 - on-timeout = systemd-ac-power && light -S 0 - on-resume = systemd-ac-power && light -I -} - -listener { - timeout = 60 - on-timeout = systemd-ac-power && light -s razer/0003:1532:02B6.0004/backlight -S 0 - on-resume = systemd-ac-power && light -s razer/0003:1532:02B6.0004/backlight -S 40 -} - -listener { - timeout = 300 - on-timeout = systemd-ac-power && loginctl lock-session -} - -listener { - timeout = 1800 - on-timeout = systemd-ac-power && systemctl suspend -} diff --git a/homes/emenel/dotfiles/dot_config/hypr/hyprlock.conf b/homes/emenel/dotfiles/dot_config/hypr/hyprlock.conf deleted file mode 100644 index 2e4d59b..0000000 --- a/homes/emenel/dotfiles/dot_config/hypr/hyprlock.conf +++ /dev/null @@ -1,51 +0,0 @@ -general { - grace = 3 - hide_cursor = true -} - -background { - color = rgb(0,0,0) -} - -input-field { - monitor = - outline_thickness = 2 - dots_size = 0.15 # Scale of input-field height, 0.2 - 0.8 - dots_spacing = 0.25 # Scale of dots' absolute size, 0.0 - 1.0 - dots_center = true - outer_color = rgba(0, 0, 0, 0) - inner_color = rgba(225, 225, 225, 0.25) - font_color = rgb(0,0,0) - fade_on_empty = false - check_color = rgb(204, 136, 34) - placeholder_text = hm ... - hide_input = false - position = 0, 0 - halign = center - valign = center - font_family = JetBrains Mono -} - -# DATE -label { - monitor = - text = cmd[update:1000] echo "$(date +"%A, %B %d")" - color = rgba(242, 243, 244, 0.75) - font_size = 32 - font_family = JetBrains Mono - position = 0, 300 - halign = center - valign = center -} - -# TIME -label { - monitor = - text = cmd[update:1000] echo "$(date +"%-I:%M")" - color = rgba(242, 243, 244, 0.75) - font_size = 32 - font_family = JetBrains Mono Extrabold - position = 0, 200 - halign = center - valign = center -} diff --git a/homes/emenel/dotfiles/dot_config/mako/config b/homes/emenel/dotfiles/dot_config/mako/config deleted file mode 100644 index 1194618..0000000 --- a/homes/emenel/dotfiles/dot_config/mako/config +++ /dev/null @@ -1,25 +0,0 @@ -max-visible=5 -sort=-time - -layer=top -anchor=top-right - -font=JetbrainsMono-Light 12 -background-color=#111111 -text-color=#eeeeee -width=300 -height=100 -margin=24 -padding=16 -border-size=2 -border-color=#eeeeee -border-radius=6 -progress-color=over #5588AAFF -icons=true -max-icon-size=64 - -markup=true -actions=true -format=%s\n%b -default-timeout=5000 -ignore-timeout=false diff --git a/homes/emenel/dotfiles/dot_config/niri/config.kdl b/homes/emenel/dotfiles/dot_config/niri/config.kdl deleted file mode 100644 index 99a1464..0000000 --- a/homes/emenel/dotfiles/dot_config/niri/config.kdl +++ /dev/null @@ -1,342 +0,0 @@ -// This config is in the KDL format: https://kdl.dev -// "/-" comments out the following node. -// Check the wiki for a full description of the configuration: -// https://github.com/YaLTeR/niri/wiki/Configuration:-Overview - -// debug { -// wait-for-frame-completion-before-queueing -// } - -input { - keyboard { - xkb { - layout "us" - } - } - - touchpad { - natural-scroll - scroll-method "two-finger" - dwt - tap-button-map "left-right-middle" - click-method "clickfinger" - } - - mouse { - natural-scroll - accel-speed 0.1 - accel-profile "adaptive" - } - - workspace-auto-back-and-forth -} - -output "eDP-1" { - mode "2560x1600" - background-color "#000000" - scale 1 - transform "normal" -} - -output "PNP(BNQ) BenQ PD2725U N2N00414019" { - mode "3840x2160@59.997" - background-color "#000000" - scale 1 - transform "normal" -} - -// TODO setup defaults for hdmi output - -environment { - DISPLAY ":0" - QT_QPA_PLATFORM "wayland" - //XDG_CURRENT_DESKTOP "niri" - //XDG_SESSION_TYPE "wayland" - MOZ_ENABLE_WAYLAND "1" -} - -cursor { - xcursor-theme "Bibata-Modern-Classic" - xcursor-size 24 - hide-after-inactive-ms 30000 -} - -layout { - gaps 10 - center-focused-column "never" - always-center-single-column - preset-column-widths { - proportion 0.33333 - proportion 0.5 - proportion 0.66667 - } - - default-column-width { proportion 0.5; } - - focus-ring { - //active-color "#d8bfffee" - active-gradient from="#d8bfffdd" to="#BD93FF99" angle=0 in="srgb-linear" - width 2 - } - - border { - //active-gradient from="#ffbb66aa" to="#ffc880aa" angle=45 in="oklch longer hue" - inactive-gradient from="#333333" to="#000000" angle=180 in="srgb-linear" - active-color "#000" - //inactive-color "#323232" - width 2 - } -} - -prefer-no-csd - -workspace "main" -workspace "scratchpad" - -spawn-at-startup "maestral_qt" -spawn-at-startup "xwayland-satellite" ":0" -spawn-at-startup "clipse" "-listen" -spawn-at-startup "waybar" -// spawn-at-startup "eww" "daemon" -spawn-at-startup "swayosd-server" -spawn-at-startup "plexamp" -// spawn-at-startup "shikane" -spawn-at-startup "hypridle" - -screenshot-path "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png" - -animations { - slowdown 1.0 -} - -// global window rule for shared config -window-rule { - geometry-corner-radius 8 - clip-to-geometry true -} - -window-rule { - match app-id="Calculator" - match app-id="Color Picker" - match app-id="Volume Control" - open-floating true -} - -window-rule { - match app-id="Plexamp" - match app-id="scratchpad" - open-on-workspace "scratchpad" - open-floating true -} - -window-rule { - match app-id="launcher" - open-floating true -} - -// Open the Firefox picture-in-picture player as floating by default. -window-rule { - // This app-id regular expression will work for both: - // - host Firefox (app-id is "firefox") - // - Flatpak Firefox (app-id is "org.mozilla.firefox") - match app-id=r#"firefox$"# title="^Picture-in-Picture$" - open-floating true -} - -binds { - // shows a list of important hotkeys. - Mod+Shift+Slash { show-hotkey-overlay; } - - // Suggested binds for running programs: terminal, app launcher, screen locker. - Mod+Space { spawn "wezterm" "--config-file" "/home/emenel/.config/wezterm/launcher.lua" "start" "--class" "launcher" "--always-new-process" "sway-launcher-desktop"; } - Mod+Ctrl+T { spawn "wezterm"; } - Mod+Ctrl+E { spawn "emacsclient" "-r" "-n"; } - Mod+Ctrl+B { spawn "firefox"; } - Mod+Ctrl+V { spawn "wezterm" "--config-file" "/home/emenel/.config/wezterm/launcher.lua" "start" "--class" "launcher" "--always-new-process" "clipse"; } - Mod+Ctrl+F { spawn "wezterm" "--config-file" "/home/emenel/.config/wezterm/launcher.lua" "start" "--always-new-process" "yazi"; } - - Super+Shift+L { spawn "hyprlock"; } - - // Example volume keys mappings for PipeWire & WirePlumber. - // The allow-when-locked=true property makes them work even when the session is locked. - XF86AudioRaiseVolume allow-when-locked=true { spawn "swayosd-client" "--output-volume" "raise"; } - XF86AudioLowerVolume allow-when-locked=true { spawn "swayosd-client" "--output-volume" "lower"; } - XF86AudioMute allow-when-locked=true { spawn "swayosd-client" "--output-volume" "mute-toggle"; } - XF86AudioMicMute allow-when-locked=true { spawn "swayosd-client" "--input-volume" "mute-toggle"; } - - XF86MonBrightnessUp allow-when-locked=true { spawn "swayosd-client" "--brightness" "raise"; } - XF86MonBrightnessDown allow-when-locked=true { spawn "swayosd-client" "--brightness" "lower"; } - - Mod+Q { close-window; } - - Mod+Left { focus-column-left; } - Mod+Down { focus-window-down; } - Mod+Up { focus-window-up; } - Mod+Right { focus-column-right; } - Mod+H { focus-column-left; } - Mod+J { focus-window-down; } - Mod+K { focus-window-up; } - Mod+L { focus-column-right; } - - Mod+Ctrl+Left { move-column-left; } - Mod+Ctrl+Down { move-window-down; } - Mod+Ctrl+Up { move-window-up; } - Mod+Ctrl+Right { move-column-right; } - Mod+Ctrl+H { move-column-left; } - Mod+Ctrl+J { move-window-down; } - Mod+Ctrl+K { move-window-up; } - Mod+Ctrl+L { move-column-right; } - - Mod+Home { focus-column-first; } - Mod+End { focus-column-last; } - Mod+Ctrl+Home { move-column-to-first; } - Mod+Ctrl+End { move-column-to-last; } - - Mod+Shift+Left { focus-monitor-left; } - Mod+Shift+Down { focus-monitor-down; } - Mod+Shift+Up { focus-monitor-up; } - Mod+Shift+Right { focus-monitor-right; } - Mod+Shift+H { focus-monitor-left; } - Mod+Shift+J { focus-monitor-down; } - Mod+Shift+K { focus-monitor-up; } - Mod+Shift+L { focus-monitor-right; } - - Mod+Shift+Ctrl+Left { move-column-to-monitor-left; } - Mod+Shift+Ctrl+Down { move-column-to-monitor-down; } - Mod+Shift+Ctrl+Up { move-column-to-monitor-up; } - Mod+Shift+Ctrl+Right { move-column-to-monitor-right; } - Mod+Shift+Ctrl+H { move-column-to-monitor-left; } - Mod+Shift+Ctrl+J { move-column-to-monitor-down; } - Mod+Shift+Ctrl+K { move-column-to-monitor-up; } - Mod+Shift+Ctrl+L { move-column-to-monitor-right; } - - // Alternatively, there are commands to move just a single window: - // Mod+Shift+Ctrl+Left { move-window-to-monitor-left; } - // ... - - // And you can also move a whole workspace to another monitor: - // Mod+Shift+Ctrl+Left { move-workspace-to-monitor-left; } - // ... - - Mod+Page_Down { focus-workspace-down; } - Mod+Page_Up { focus-workspace-up; } - Mod+U { focus-workspace-down; } - Mod+I { focus-workspace-up; } - Mod+Alt+Down { move-column-to-workspace-down; } - Mod+Alt+Up { move-column-to-workspace-up; } - Mod+Ctrl+U { move-column-to-workspace-down; } - Mod+Ctrl+I { move-column-to-workspace-up; } - - // Alternatively, there are commands to move just a single window: - // Mod+Ctrl+Page_Down { move-window-to-workspace-down; } - // ... - - Mod+Shift+Page_Down { move-workspace-down; } - Mod+Shift+Page_Up { move-workspace-up; } - Mod+Shift+U { move-workspace-down; } - Mod+Shift+I { move-workspace-up; } - - // You can bind mouse wheel scroll ticks using the following syntax. - // These binds will change direction based on the natural-scroll setting. - // - // To avoid scrolling through workspaces really fast, you can use - // the cooldown-ms property. The bind will be rate-limited to this value. - // You can set a cooldown on any bind, but it's most useful for the wheel. - Mod+WheelScrollDown cooldown-ms=150 { focus-workspace-down; } - Mod+WheelScrollUp cooldown-ms=150 { focus-workspace-up; } - Mod+Ctrl+WheelScrollDown cooldown-ms=150 { move-column-to-workspace-down; } - Mod+Ctrl+WheelScrollUp cooldown-ms=150 { move-column-to-workspace-up; } - - Mod+WheelScrollRight { focus-column-right; } - Mod+WheelScrollLeft { focus-column-left; } - Mod+Ctrl+WheelScrollRight { move-column-right; } - Mod+Ctrl+WheelScrollLeft { move-column-left; } - - // Usually scrolling up and down with Shift in applications results in - // horizontal scrolling; these binds replicate that. - Mod+Shift+WheelScrollDown { focus-column-right; } - Mod+Shift+WheelScrollUp { focus-column-left; } - Mod+Ctrl+Shift+WheelScrollDown { move-column-right; } - Mod+Ctrl+Shift+WheelScrollUp { move-column-left; } - - // You can refer to workspaces by index. However, keep in mind that - // niri is a dynamic workspace system, so these commands are kind of - // "best effort". Trying to refer to a workspace index bigger than - // the current workspace count will instead refer to the bottommost - // (empty) workspace. - // - // For example, with 2 workspaces + 1 empty, indices 3, 4, 5 and so on - // will all refer to the 3rd workspace. - Mod+1 { focus-workspace 1; } - Mod+2 { focus-workspace 2; } - Mod+3 { focus-workspace 3; } - Mod+4 { focus-workspace 4; } - Mod+5 { focus-workspace 5; } - Mod+6 { focus-workspace 6; } - Mod+7 { focus-workspace 7; } - Mod+8 { focus-workspace 8; } - Mod+9 { focus-workspace 9; } - Mod+Ctrl+1 { move-column-to-workspace 1; } - Mod+Ctrl+2 { move-column-to-workspace 2; } - Mod+Ctrl+3 { move-column-to-workspace 3; } - Mod+Ctrl+4 { move-column-to-workspace 4; } - Mod+Ctrl+5 { move-column-to-workspace 5; } - Mod+Ctrl+6 { move-column-to-workspace 6; } - Mod+Ctrl+7 { move-column-to-workspace 7; } - Mod+Ctrl+8 { move-column-to-workspace 8; } - Mod+Ctrl+9 { move-column-to-workspace 9; } - - // Alternatively, there are commands to move just a single window: - // Mod+Ctrl+1 { move-window-to-workspace 1; } - - // Switches focus between the current and the previous workspace. - // Mod+Tab { focus-workspace-previous; } - - // The following binds move the focused window in and out of a column. - // If the window is alone, they will consume it into the nearby column to the side. - // If the window is already in a column, they will expel it out. - Mod+BracketLeft { consume-or-expel-window-left; } - Mod+BracketRight { consume-or-expel-window-right; } - - // Consume one window from the right to the bottom of the focused column. - Mod+Comma { consume-window-into-column; } - // Expel the bottom window from the focused column to the right. - Mod+Period { expel-window-from-column; } - - Mod+R { switch-preset-column-width; } - Mod+Shift+R { switch-preset-window-height; } - Mod+Ctrl+R { reset-window-height; } - Mod+F { maximize-column; } - Mod+Shift+F { fullscreen-window; } - Mod+C { center-column; } - - Mod+Minus { set-column-width "-10%"; } - Mod+Equal { set-column-width "+10%"; } - Mod+Shift+Minus { set-window-height "-10%"; } - Mod+Shift+Equal { set-window-height "+10%"; } - - // Move the focused window between the floating and the tiling layout. - Mod+Ctrl+X { toggle-window-floating; } - Mod+Alt+X { switch-focus-between-floating-and-tiling; } - Mod+X { focus-workspace "scratchpad"; } - - // Actions to switch layouts. - // Note: if you uncomment these, make sure you do NOT have - // a matching layout switch hotkey configured in xkb options above. - // Having both at once on the same hotkey will break the switching, - // since it will switch twice upon pressing the hotkey (once by xkb, once by niri). - // Mod+Space { switch-layout "next"; } - // Mod+Shift+Space { switch-layout "prev"; } - - Print { screenshot; } - Ctrl+Print { screenshot-screen; } - Alt+Print { screenshot-window; } - - // The quit action will show a confirmation dialog to avoid accidental exits. - Mod+Shift+E { quit; } - //Ctrl+Alt+Delete { quit; } - - // Powers off the monitors. To turn them back on, do any input like - // moving the mouse or pressing any other key. - Mod+Shift+P { power-off-monitors; } -} diff --git a/homes/emenel/dotfiles/dot_config/shikane/config.toml b/homes/emenel/dotfiles/dot_config/shikane/config.toml index 63b6a94..66fe5bd 100644 --- a/homes/emenel/dotfiles/dot_config/shikane/config.toml +++ b/homes/emenel/dotfiles/dot_config/shikane/config.toml @@ -1,14 +1,9 @@ [[profile]] -name = "desk-dual" +name = "desk-clam" exec = ["notify-send shikane \"Profile $SHIKANE_PROFILE_NAME has been applied\""] [[profile.output]] - enable = true + enable = false search = ["m=TL140ADXP04-0", "s=", "v=Thermotrex Corporation"] - mode = "2560x1600@240Hz" - position = "3840,0" - scale = 1.0 - transform = "normal" - adaptive_sync = false [[profile.output]] enable = true @@ -21,11 +16,16 @@ exec = ["notify-send shikane \"Profile $SHIKANE_PROFILE_NAME has been applied\"" [[profile]] -name = "desk-clam" +name = "desk-dual" exec = ["notify-send shikane \"Profile $SHIKANE_PROFILE_NAME has been applied\""] [[profile.output]] - enable = false + enable = true search = ["m=TL140ADXP04-0", "s=", "v=Thermotrex Corporation"] + mode = "2560x1600@240Hz" + position = "3840,0" + scale = 1.0 + transform = "normal" + adaptive_sync = true [[profile.output]] enable = true @@ -47,7 +47,7 @@ exec = ["notify-send shikane \"Profile $SHIKANE_PROFILE_NAME has been applied\"" position = "0,0" scale = 1.0 transform = "normal" - adaptive_sync = false + adaptive_sync = true [[profile]] @@ -60,7 +60,7 @@ exec = ["notify-send shikane \"Profile $SHIKANE_PROFILE_NAME has been applied\"" position = "3840,0" scale = 1.0 transform = "normal" - adaptive_sync = false + adaptive_sync = true [[profile.output]] enable = true diff --git a/homes/emenel/dotfiles/dot_config/wezterm/wezterm.lua b/homes/emenel/dotfiles/dot_config/wezterm/wezterm.lua deleted file mode 100644 index 58ca070..0000000 --- a/homes/emenel/dotfiles/dot_config/wezterm/wezterm.lua +++ /dev/null @@ -1,265 +0,0 @@ -local wezterm = require 'wezterm' -local config = wezterm.config_builder() -local act = wezterm.action -local io = require 'io' -local os = require 'os' - --- config.default_prog = { 'fish', '-l' } - -wezterm.on('trigger-emacs-with-scrollback', function(window, pane) - -- Retrieve the text from the pane - local text = pane:get_lines_as_text(pane:get_dimensions().scrollback_rows) - - -- Create a temporary file to pass to vim - local name = os.tmpname() - local f = io.open(name, 'w+') - f:write(text) - f:flush() - f:close() - - -- Open a new window running vim and tell it to open the file - window:perform_action( - act.SpawnCommandInNewWindow { - args = { 'em', name }, - }, - pane - ) - - -- Wait "enough" time for vim to read the file before we remove it. - -- The window creation and process spawn are asynchronous wrt. running - -- this script and are not awaitable, so we just pick a number. - -- - -- Note: We don't strictly need to remove this file, but it is nice - -- to avoid cluttering up the temporary directory. - wezterm.sleep_ms(1000) - os.remove(name) -end) - --- plugins -local domains = wezterm.plugin.require("https://github.com/DavidRR-F/quick_domains.wezterm") -local tabline = wezterm.plugin.require("https://github.com/michaelbrusegard/tabline.wez") -local workspace_switcher = wezterm.plugin.require("https://github.com/MLFlexer/smart_workspace_switcher.wezterm") - -config.enable_wayland = false; --- config.front_end = "WebGpu"; - -config.font_size = 14 -config.font = wezterm.font { - family = 'JetBrains Mono', - -- weight = 'Normal' -} - --- config.enable_scroll_bar = true - -config.color_scheme = 'Adventure' --- config.color_scheme = 'Molokai' -config.colors = { - background = "#111111", - -- tab_bar = { - -- background = "#111111", - -- inactive_tab = { - -- fg_color = "#444444", - -- bg_color = "#111111" - -- } - -- } -} - -config.background = { - { - source = { - Color = '#111111' - }, - width = "100%", - height = "100%", - opacity = 1 - } -} - -config.window_decorations = "RESIZE" - -config.window_padding = { - left = 6, - right = 6, - top = 6, - bottom = 6, -} - -config.cursor_thickness = 2 -config.default_cursor_style = 'SteadyBar' - -config.use_fancy_tab_bar = false -config.tab_bar_at_bottom = true - -config.enable_kitty_keyboard = true - -config.unzoom_on_switch_pane = true - -config.keys = { - { - key = 'Enter', - mods = 'CTRL', - action = act.SplitVertical { domain = 'CurrentPaneDomain' }, - }, - { - key = 'Enter', - mods = 'CTRL|SHIFT', - action = act.SplitHorizontal { domain = 'CurrentPaneDomain' }, - }, - { - key = 'w', - mods = 'CTRL', - action = wezterm.action.CloseCurrentTab { confirm = true }, - }, - { - key = 'w', - mods = 'CTRL|SHIFT', - action = act.DetachDomain 'CurrentPaneDomain', - }, - { - key = 'k', - mods = 'CTRL|SHIFT', - action = act.Multiple { - act.ClearScrollback 'ScrollbackAndViewport', - act.SendKey { key = 'L', mods = 'CTRL' }, - }, - }, - { - key = 'z', - mods = 'CTRL|META', - action = wezterm.action.TogglePaneZoomState, - }, - { - key = 'E', - mods = 'CTRL', - action = act.EmitEvent 'trigger-emacs-with-scrollback', - }, - { - key = 'o', - mods = 'CTRL', - action = wezterm.action.ShowLauncher - }, - - { key="Backspace", mods="CTRL", action=act.SendKey { key="Backspace", mods="META" } }, - - { key='t', mods='CTRL', action=act { SpawnCommandInNewTab = { cwd = wezterm.home_dir } } }, - - { key="LeftArrow", mods="CTRL|META", action=act.ActivateTabRelative(-1) }, - { key="RightArrow", mods="CTRL|META", action=act.ActivateTabRelative(1) }, - - { key="UpArrow", mods="CTRL|META", action=act.ActivatePaneDirection("Prev") }, - { key="DownArrow", mods="CTRL|META", action=act.ActivatePaneDirection("Next") }, - - { key='h', mods='CTRL|META', action=wezterm.action{ActivatePaneDirection="Left"} }, - { key='l', mods='CTRL|META', action=wezterm.action{ActivatePaneDirection="Right"} }, - { key='j', mods='CTRL|META', action=wezterm.action{ActivatePaneDirection="Up"} }, - { key='k', mods='CTRL|META', action=wezterm.action{ActivatePaneDirection="Down"} }, -} - -tabline.setup({ - options = { - theme = 'Adventure', - theme_overrides = { - background = "#111111", - tab = { - active = { fg = '#eeeeee', bg = '#111111' }, - inactive = { fg = '#999999', bg = '#222222' }, - inactive_hover = { fg = '#cccccc', bg = '#222222' }, - }, - normal_mode = { - a = { bg = "#222222", fg = "#eeeeee" }, - b = { bg = "#222222", fg = "#eeeeee" }, - c = { bg = "#222222", fg = "#eeeeee" }, - x = { bg = "#222222", fg = "#eeeeee" }, - y = { bg = "#222222", fg = "#eeeeee" }, - z = { bg = "#222222", fg = "#eeeeee" }, - }, - copy_mode = { - b = { bg = "#222222", fg = "#eeeeee" } - } - }, - section_separators = { - left = " ", - right = " ", - }, - component_separators = { - left = " ", - right = " ", - }, - tab_separators = { - left = " ", - right = " ", - }, - icons_enabled = true, - tabs_enabled = true, - }, - sections = { - tabline_a = { 'workspace' }, - tabline_b = { '' }, - tabline_c = { '' }, - tab_active = { - 'index', - { 'process', icons_only = true, process_to_icon = { ['fish'] = wezterm.nerdfonts.cod_terminal } }, - { 'parent', padding = 0 }, - '/', - { 'cwd', padding = { left = 0, right = 1 } }, - { 'zoomed', padding = 0 }, - }, - tab_inactive = { - 'index', - { 'process', process_to_icon = { ['fish'] = wezterm.nerdfonts.cod_terminal } }, - { 'parent', padding = 0 }, - '/', - { 'cwd', padding = { left = 0, right = 1 } }, - { 'zoomed', padding = 0 }, - }, - tabline_x = { '' }, - tabline_y = { '' }, - tabline_z = { 'domain' }, - }, - extensions = { - smart_workspace_switcher, - quick_domains - }, -}) - -tabline.apply_to_config(config) - -domains.apply_to_config( - config, - { - keys = { - -- open domain in new tab - attach = { - -- mod keys for fuzzy domain finder - mods = 'CTRL|SHIFT', - -- base key for fuzzy domain finder - key = 'a', - -- key table to insert key map to if any - tbl = '', - }, - -- open domain in split pane - -- excludes remote domains - -- add remote domains as exec domain for split binds - vsplit = { - key = 'v', - mods = 'CTRL', - tbl = 'tmux' - }, - hsplit = { - key = 'h', - mods = 'CTRL', - tbl = 'tmux' - } - }, - auto = { - ssh_ignore = false, - exec_ignore = { - ssh = false - } - } - } -) - -workspace_switcher.apply_to_config(config) - -return config diff --git a/homes/emenel/dotfiles/dot_config/yambar/config.yml b/homes/emenel/dotfiles/dot_config/yambar/config.yml deleted file mode 100644 index de23c17..0000000 --- a/homes/emenel/dotfiles/dot_config/yambar/config.yml +++ /dev/null @@ -1,12 +0,0 @@ -bar: - height: 26 - location: top - spacing: 5 - margin: 7 - background: 000000ff - - right: - - clock: - time-format: "%H:%M %Z" - content: - - string: {text: "{time}"} diff --git a/homes/emenel/dotfiles/dot_config/yazi/keymap.toml b/homes/emenel/dotfiles/dot_config/yazi/keymap.toml deleted file mode 100644 index d21cdbb..0000000 --- a/homes/emenel/dotfiles/dot_config/yazi/keymap.toml +++ /dev/null @@ -1,6 +0,0 @@ -[manager] -prepend_keymap = [ - { on = "", run = "shell 'ripdrag \"$@\" -x 2>/dev/null &' --confirm" }, - { on = "y", run = ["shell 'for path in \"$@\"; do echo \"file://$path\"; done | wl-copy -t text/uri-list'\n", "yank"] }, - { on = ["g", "r"], run = "shell 'ya emit cd \"$(git rev-parse --show-toplevel)\"'\n" } -] diff --git a/homes/emenel/dotfiles/dot_config/yazi/theme.toml b/homes/emenel/dotfiles/dot_config/yazi/theme.toml index 0dddaae..5625c57 100644 --- a/homes/emenel/dotfiles/dot_config/yazi/theme.toml +++ b/homes/emenel/dotfiles/dot_config/yazi/theme.toml @@ -1,2 +1,2 @@ [flavor] -dark = "monokai-vibrant" +dark = "moonfly" diff --git a/homes/emenel/dotfiles/dot_config/yazi/yazi.toml b/homes/emenel/dotfiles/dot_config/yazi/yazi.toml deleted file mode 100644 index e69de29..0000000 diff --git a/homes/emenel/dotfiles/dot_default-npm-packages b/homes/emenel/dotfiles/dot_default-npm-packages deleted file mode 100644 index a20aee9..0000000 --- a/homes/emenel/dotfiles/dot_default-npm-packages +++ /dev/null @@ -1,10 +0,0 @@ -corepack -javascript-typescript-langserver -npm -prettier -stylelint-config-standard-scss -stylelint -svelte-language-server -typescript-language-server -typescript -vscode-langservers-extracted diff --git a/homes/emenel/dotfiles/dot_mbsyncrc b/homes/emenel/dotfiles/dot_mbsyncrc deleted file mode 100644 index ba7f5dc..0000000 --- a/homes/emenel/dotfiles/dot_mbsyncrc +++ /dev/null @@ -1,55 +0,0 @@ -IMAPAccount emenel-fastmail -Host imap.fastmail.com -User matt@emenel.ca -PassCmd "rbw get mu4e-fastmail" -Port 993 -TLSType IMAPS -AuthMechs Login -CertificateFile ~/.maildir/certificates/root-certificates.pem - -IMAPStore emenel-fastmail-remote -Account emenel-fastmail - -MaildirStore emenel-fastmail-local -SubFolders Verbatim -Path ~/.maildir/matt@emenel.ca/ -Inbox ~/.maildir/matt@emenel.ca/INBOX - -Channel emenel-fastmail -Far :emenel-fastmail-remote: -Near :emenel-fastmail-local: -Patterns * -Create Near -Sync All -Expunge Both -SyncState * - -####### - -IMAPAccount admin-studyoftime -Host imap.dreamhost.com -User admin@studyoftime.org -PassCmd "rbw get admin@studyoftime" -Port 993 -TLSType IMAPS -AuthMechs Login -CertificateFile ~/.maildir/certificates/root-certificates.pem - -IMAPStore admin-studyoftime-remote -Account admin-studyoftime - -MaildirStore admin-studyoftime-local -SubFolders Verbatim -Path ~/.maildir/admin@studyoftime.org/ -Inbox ~/.maildir/admin@studyoftime.org/INBOX - -Channel admin-studyoftime -Far :admin-studyoftime-remote: -Near :admin-studyoftime-local: -Patterns * -Create Near -Sync All -Expunge Both -SyncState * - -####### diff --git a/homes/emenel/dotfiles/dot_msmtprc b/homes/emenel/dotfiles/dot_msmtprc deleted file mode 100644 index 2332ac8..0000000 --- a/homes/emenel/dotfiles/dot_msmtprc +++ /dev/null @@ -1,32 +0,0 @@ -# Set default values for all the accounts. -defaults -logfile ~/.maildir/msmtp.log -tls_trust_file ~/.maildir/certificates/root-certificates.pem - -account fastmail -auth on -host smtp.fastmail.com -port 465 -protocol smtp -from matt@emenel.ca -user matt@emenel.ca -passwordeval rbw get mu4e-fastmail -tls on -tls_starttls off - -# ==== - -account isst -auth on -host smtp.dreamhost.com -port 465 -protocol smtp -from admin@studyoftime.org -user admin@studyoftime.org -passwordeval rbw get admin@studyoftime -tls on -tls_starttls off - -# ====================================================================== - -account default : fastmail diff --git a/modules/home/niri.nix b/modules/home/niri.nix index f262413..7a07ad7 100644 --- a/modules/home/niri.nix +++ b/modules/home/niri.nix @@ -171,8 +171,8 @@ ]; switch-events = with config.lib.niri.actions; { - lid-close.action = spawn "niri msg output eDP-1 off"; - lid-open.action = spawn "niri msg output eDP-1 on && shikanectl switch desk-clam"; + lid-close.action = spawn "niri msg output eDP-1 off && shikanectl switch desk-clam"; + lid-open.action = spawn "niri msg output eDP-1 on"; }; binds = with config.lib.niri.actions; let