dots

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 0914f793c5f455513a8e146bbaeeb3d79be37494
parent c6ec6b63833aecfcbc26f8b4678b5035bed9f152
Author: Gabriel G. de Brito <me@gboncoffee.dev.br>
Date:   Mon, 18 May 2026 20:28:45 -0300

Hyprland.

Diffstat:
Ahypr/hyprland.lua | 99+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Ahypr/hyprlock.conf | 32++++++++++++++++++++++++++++++++
Ahypr/hyprpaper.conf | 7+++++++
Ahypr/hyprtoolkit.conf | 6++++++
Dsddm/10-wayland.conf | 6------
Dzed/settings.json | 175-------------------------------------------------------------------------------
Dzed/tasks.json | 20--------------------
7 files changed, 144 insertions(+), 201 deletions(-)

diff --git a/hypr/hyprland.lua b/hypr/hyprland.lua @@ -0,0 +1,99 @@ +hl.on("hyprland.start", function() + hl.exec_cmd("emacs --daemon") +end) + +hl.env("QT_QPA_PLATFORMTHEME", "qt5ct") +hl.env("GTK_THEME", "Adwaita-dark") + +hl.config({ + general = { + border_size = 2, + gaps_in = 4, + gaps_out = 8, + float_gaps = 8, + layout = "master", + col = { + inactive_border = "#b294bb", + active_border = "#b5bd68", + nogroup_border = "#cc6666", + nogroup_border_active = "#f0c674", + }, + resize_on_border = true, + }, + animations = { + enabled = false, + }, + binds = { + drag_threshold = 2, + }, + input = { + kb_layout = "us", + kb_options = "compose:ralt", + repeat_rate = 30, + sensitivity = 0.3, + follow_mouse = 2, + }, + misc = { + disable_hyprland_logo = true, + disable_splash_rendering = true, + enable_swallow = true, + background_color = "#1d1f21" + }, + cursor = { + hide_on_key_press = true, + }, + master = { + new_status = "master", + }, +}) + +hl.bind("SUPER + e", hl.dsp.exec_cmd("emacsclient -c -a emacs")) +hl.bind("SUPER + b", hl.dsp.exec_cmd("chromium")) +hl.bind("SUPER + s", hl.dsp.exec_cmd("prime-run steam")) +hl.bind("SUPER + a", hl.dsp.exec_cmd("hyprlauncher")) + +hl.bind("SUPER + Tab", hl.dsp.layout("rollnext")) +hl.bind("SUPER + SHIFT + Tab", hl.dsp.layout("rollprev")) +hl.bind("SUPER + Up", hl.dsp.focus({ direction = "up" })) +hl.bind("SUPER + Down", hl.dsp.focus({ direction = "down" })) +hl.bind("SUPER + Left", hl.dsp.focus({ direction = "left" })) +hl.bind("SUPER + Right", hl.dsp.focus({ direction = "right" })) + +hl.bind("SUPER + SHIFT + 1", hl.dsp.window.move({ workspace = 1 })) +hl.bind("SUPER + SHIFT + 2", hl.dsp.window.move({ workspace = 2 })) +hl.bind("SUPER + 1", hl.dsp.focus({ workspace = 1 })) +hl.bind("SUPER + 2", hl.dsp.focus({ workspace = 2 })) + +hl.bind("SUPER + mouse:272", hl.dsp.window.drag(), { mouse = true }) +hl.bind("SUPER + mouse:273", hl.dsp.window.resize(), { mouse = true }) +hl.bind("SUPER + f", hl.dsp.window.float()) + +hl.bind("Print", hl.dsp.exec_cmd("grim")) +hl.bind("SUPER + l", hl.dsp.exec_cmd("hyprlock")) + +-- Binds for my programmable keyboard. +hl.bind( + "SUPER + CONTROL + ALT + 0", + hl.dsp.exec_cmd("wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 1%+"), + { repeating = true } +) +hl.bind( + "SUPER + CONTROL + ALT + 1", + hl.dsp.exec_cmd("wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 1%-"), + { repeating = true } +) +hl.bind( + "SUPER + CONTROL + ALT + 3", + hl.dsp.exec_cmd("mpc toggle"), + { repeating = true } +) +hl.bind( + "SUPER + CONTROL + ALT + 5", + hl.dsp.exec_cmd("mpc prev"), + { repeating = true } +) +hl.bind( + "SUPER + CONTROL + ALT + 6", + hl.dsp.exec_cmd("mpc next"), + { repeating = true } +) diff --git a/hypr/hyprlock.conf b/hypr/hyprlock.conf @@ -0,0 +1,32 @@ +$font = Noto Sans + +general { + hide_cursor = false +} + +background { + path = /home/gabriel/pictures/wallpapers/share/other-irl/iguassu-waterfalls.jpg +} + +input-field { + size = 20%, 5% + outline_thickness = 0 + + inner_color = 0x00000000 + check_color = 0xfff0c674 + fail_color = 0xcc6666 + + font_color = 0xff000000 + fade_on_empty = false + rounding = 15 + + font_family = $font + placeholder_text = + fail_text = $PAMFAIL + + dots_spacing = 0.3 + + position = 0, -20 + halign = center + valign = center +} diff --git a/hypr/hyprpaper.conf b/hypr/hyprpaper.conf @@ -0,0 +1,7 @@ +splash = false + +wallpaper { + monitor = DP-1 + path = /home/gabriel/pictures/wallpapers/share/other-irl/iguassu-waterfalls.jpg + fit_mode = cover +} diff --git a/hypr/hyprtoolkit.conf b/hypr/hyprtoolkit.conf @@ -0,0 +1,6 @@ +background = 0xff1d1f21 +base = 0xff1d1f21 +text = 0xffc5c8c6 +font_family = Noto Sans +font_size = 10 +accent = 0xffb5bd68 diff --git a/sddm/10-wayland.conf b/sddm/10-wayland.conf @@ -1,6 +0,0 @@ -[General] -DisplayServer=wayland -GreeterEnvironment=QT_WAYLAND_SHELL_INTEGRATION=layer-shell - -[Wayland] -CompositorCommand=kwin_wayland --drm --no-lockscreen --no-global-shortcuts --locale1 diff --git a/zed/settings.json b/zed/settings.json @@ -1,175 +0,0 @@ -// Zed settings -// -// For information on how to configure Zed, see the Zed -// documentation: https://zed.dev/docs/configuring-zed -// -// To see all of Zed's default settings without changing your -// custom settings, run `zed: open default settings` from the -// command palette (cmd-shift-p / ctrl-shift-p) -{ - "cursor_shape": "block", - "icon_theme": "Colored Zed Icons Theme Dark", - "show_edit_predictions": false, - "edit_predictions": { - "provider": "copilot", - }, - "git": { - "inline_blame": { - "show_commit_summary": true, - "min_column": 80, - }, - }, - "terminal": { - "copy_on_select": false, - "blinking": "off", - }, - "agent": { - "default_model": { - "provider": "copilot_chat", - "model": "gpt-5-mini", - "enable_thinking": false, - }, - "play_sound_when_agent_done": true, - "single_file_review": true, - "dock": "left", - "favorite_models": [], - "model_parameters": [], - }, - "collaboration_panel": { - "button": false, - }, - "notification_panel": { - "dock": "left", - }, - "git_panel": { - "dock": "right", - }, - "outline_panel": { - "dock": "right", - }, - "project_panel": { - "entry_spacing": "standard", - "dock": "right", - }, - "tabs": { - "show_close_button": "always", - "show_diagnostics": "all", - "file_icons": true, - "git_status": true, - }, - "title_bar": { - "show_menus": false, - "show_branch_icon": true, - }, - "search": { - "center_on_match": true, - }, - "use_smartcase_search": true, - "languages": { - "Go Work": { - "tab_size": 4, - }, - "Go Mod": { - "tab_size": 4, - }, - "Go": { - "tab_size": 4, - }, - "C++": { - "hard_tabs": false, - "tab_size": 4, - }, - "C": { - "hard_tabs": false, - "tab_size": 4, - }, - "Elixir": { - "hard_tabs": false, - "tab_size": 2, - }, - "HEEX": { - "hard_tabs": false, - "tab_size": 2, - }, - "Zig": { - "hard_tabs": false, - "tab_size": 4, - }, - "Haskell": { - "hard_tabs": false, - "tab_size": 2, - }, - "LaTeX": { - "hard_tabs": false, - "tab_size": 2, - }, - "BibTeX": { - "hard_tabs": false, - "tab_size": 2, - }, - "JSON": { - "hard_tabs": false, - "tab_size": 4, - }, - "JSONC": { - "hard_tabs": false, - "tab_size": 4, - }, - "Markdown": { - "allow_rewrap": "anywhere", - "remove_trailing_whitespace_on_save": false, - "formatter": "prettier", - }, - }, - "format_on_save": "on", - "document_symbols": "on", - "document_folding_ranges": "on", - "semantic_tokens": "combined", - "colorize_brackets": true, - "completions": { - "words_min_length": 1, - }, - "remove_trailing_whitespace_on_save": true, - "toolbar": { - "code_actions": true, - }, - "show_signature_help_after_edits": true, - "auto_signature_help": true, - "sticky_scroll": { - "enabled": true, - }, - "autosave": "on_focus_change", - "which_key": { - "enabled": true, - }, - "current_line_highlight": "gutter", - "text_rendering_mode": "subpixel", - "ui_font_weight": 400.0, - "auto_update": false, - "restore_on_startup": "launchpad", - "telemetry": {}, - "base_keymap": "Emacs", - "minimap": { - "show": "never", - }, - "cursor_blink": false, - "confirm_quit": true, - "buffer_font_fallbacks": [ - "SF Mono", - "Droid Sans Mono", - "monospace", - "monospace", - ], - "show_whitespaces": "trailing", - "ensure_final_newline_on_save": true, - "wrap_guides": [80], - "soft_wrap": "editor_width", - "hard_tabs": true, - "tab_size": 8, - "ui_font_family": "Noto Sans", - "buffer_line_height": "standard", - "buffer_font_family": "Hack", - "ui_font_size": 16.0, - "buffer_font_size": 15, - "theme": "One Dark", -} diff --git a/zed/tasks.json b/zed/tasks.json @@ -1,20 +0,0 @@ -// Project tasks configuration. See https://zed.dev/docs/tasks for documentation. -// -// Example: -[ - { - "label": "make -B", - "command": "make -B", - "hide": "on_success", - }, - { - "label": "make -B debug", - "command": "make -B debug", - "hide": "on_success", - }, - { - "label": "Go build package", - "command": "go build .", - "hide": "on_success", - }, -]