From 03e3439e8722077d27b67b51a5e3fda4b79e61af Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Mon, 25 Dec 2023 20:44:38 +0100 Subject: refactor and switch kusanagi to wayfire --- nixos/common.nix | 2 +- nixos/icewm.nix | 34 +---- nixos/kusanagi.nix | 11 +- nixos/wayfire.nix | 19 +++ nixos/wmonly.nix | 30 ++++ nixpkgs/Makefile | 2 +- nixpkgs/icewm.nix | 21 +-- nixpkgs/kusanagi.nix | 2 +- nixpkgs/wayfire.nix | 8 ++ nixpkgs/wmonly.nix | 20 +++ waybar/config | 172 ++++++++++++++++++++++ wayfire/wayfire.ini | 397 +++++++++++++++++++++++++++++++++++++++++++++++++++ wayfire/wf-shell.ini | 64 +++++++++ 13 files changed, 728 insertions(+), 54 deletions(-) create mode 100644 nixos/wayfire.nix create mode 100644 nixos/wmonly.nix create mode 100644 nixpkgs/wayfire.nix create mode 100644 nixpkgs/wmonly.nix create mode 100644 waybar/config create mode 100644 wayfire/wayfire.ini create mode 100644 wayfire/wf-shell.ini diff --git a/nixos/common.nix b/nixos/common.nix index 5028001..bd29c11 100644 --- a/nixos/common.nix +++ b/nixos/common.nix @@ -290,7 +290,7 @@ gnome.seahorse gqrx sdrpp - qgis + #qgis virt-manager tagainijisho anki diff --git a/nixos/icewm.nix b/nixos/icewm.nix index 264a1e1..b8b3e51 100644 --- a/nixos/icewm.nix +++ b/nixos/icewm.nix @@ -1,34 +1,14 @@ { config, lib, pkgs, modulesPath, ... }: { + imports = [ + ./wmonly.nix + ]; + services.xserver.windowManager.icewm.enable = true; services.xserver.windowManager.windowmaker.enable = true; services.xserver.displayManager.sx.enable = true; - services.udisks2.enable = true; - services.gvfs.enable = true; - - environment.systemPackages = with pkgs; [ - i3lock - brightnessctl - pulseaudio - pavucontrol - networkmanagerapplet - xfce.xfce4-appfinder - xfce.xfce4-taskmanager - - arandr - dmenu - feh - acpi - netsurf.browser - sylpheed - xfe - libreoffice-still - pcmanfm - xfce.ristretto - xarchiver - epdfview - leafpad - geany - ]; + nixpkgs.config.packageOverrides = pkgs: { + chicago95 = import ./pkg_chicago95.nix { inherit pkgs; }; + }; } diff --git a/nixos/kusanagi.nix b/nixos/kusanagi.nix index 0b177de..01077e5 100644 --- a/nixos/kusanagi.nix +++ b/nixos/kusanagi.nix @@ -10,9 +10,9 @@ let sha256 = "sha256:0pxljc5bzcwb8c43qmm5l49p03snq7piqnshglqday2dw6cfcd6l"; }; home-manager = builtins.fetchTarball { - # branch release-23.05 as of 2023-11-14 - url = "https://github.com/nix-community/home-manager/archive/04bac349d585c9df38d78e0285b780a140dc74a4.tar.gz"; - sha256 = "sha256:188lks1ipli1i6xcbhsn004aack7j3ky2mrq9v6dwxbjj1m8rs9h"; + # branch release-23.11 as of 2023-12-25 + url = "https://github.com/nix-community/home-manager/archive/d5824a76bc6bb93d1dce9ebbbcb09a9b6abcc224.tar.gz"; + sha256 = "sha256:16ab1k33aivqc5ighi95nh28pssbds5glz3bb371gb06qpiydihl"; }; in { @@ -20,7 +20,7 @@ in [ (modulesPath + "/installer/scan/not-detected.nix") ./common.nix - ./icewm.nix + ./wayfire.nix (import "${home-manager}/nixos") ]; @@ -107,7 +107,6 @@ in nur = import nurSrc { inherit pkgs; }; - chicago95 = import ./pkg_chicago95.nix { inherit pkgs; }; }; home-manager.users.lx = import ../nixpkgs/kusanagi.nix { inherit pkgs; }; @@ -126,7 +125,7 @@ in # ---- printing ---- services.printing.enable = true; - services.printing.drivers = [ pkgs.cups-brother-hl1210w ]; + #services.printing.drivers = [ pkgs.cups-brother-hl1210w ]; services.avahi.enable = true; services.avahi.nssmdns = true; services.avahi.openFirewall = true; diff --git a/nixos/wayfire.nix b/nixos/wayfire.nix new file mode 100644 index 0000000..004ad43 --- /dev/null +++ b/nixos/wayfire.nix @@ -0,0 +1,19 @@ +{ config, lib, pkgs, modulesPath, ... }: +{ + imports = [ + ./wmonly.nix + ]; + + services.xserver.displayManager.sx.enable = true; + + security.pam.services.swaylock = {}; + + environment.systemPackages = with pkgs; [ + wayfire-with-plugins + wayfirePlugins.wcm + wayfirePlugins.wf-shell + waybar + alacritty + swaylock + ]; +} diff --git a/nixos/wmonly.nix b/nixos/wmonly.nix new file mode 100644 index 0000000..c9bde38 --- /dev/null +++ b/nixos/wmonly.nix @@ -0,0 +1,30 @@ +{ config, lib, pkgs, modulesPath, ... }: +{ + services.udisks2.enable = true; + services.gvfs.enable = true; + + environment.systemPackages = with pkgs; [ + i3lock + brightnessctl + pulseaudio + pavucontrol + networkmanagerapplet + xfce.xfce4-appfinder + xfce.xfce4-taskmanager + + arandr + dmenu + feh + acpi + netsurf.browser + sylpheed + xfe + libreoffice-still + pcmanfm + xfce.ristretto + xarchiver + epdfview + leafpad + geany + ]; +} diff --git a/nixpkgs/Makefile b/nixpkgs/Makefile index 2eb8d4a..7d2fb5c 100644 --- a/nixpkgs/Makefile +++ b/nixpkgs/Makefile @@ -1,3 +1,3 @@ all: nixfmt `hostname`.nix - nix run home-manager/release-23.05 -- switch -f `hostname`.nix + nix run home-manager/release-23.11 -- switch -f `hostname`.nix diff --git a/nixpkgs/icewm.nix b/nixpkgs/icewm.nix index 2a33c0d..225c8fc 100644 --- a/nixpkgs/icewm.nix +++ b/nixpkgs/icewm.nix @@ -1,4 +1,6 @@ { pkgs, ... }: { + imports = [ ./wmonly.nix ]; + nixpkgs.config.packageOverrides = pkgs: { chicago95 = import ../nixos/pkg_chicago95.nix { inherit pkgs; }; }; @@ -46,22 +48,5 @@ ../pcmanfm/desktop-items-0.conf; }; - home.packages = with pkgs; [ chicago95 xfce.tumbler ]; - - xdg.desktopEntries.llpp = { - name = "llpp"; - genericName = "PDF viewer"; - exec = "llpp %f"; - terminal = false; - categories = [ "Graphics" "Viewer" ]; - mimeType = [ "application/pdf" "application/x-pdf" ]; - type = "Application"; - }; - xdg.mimeApps.enable = true; - xdg.mimeApps.defaultApplications = { - "application/pdf" = [ "epdfview.desktop" ]; - "image/jpeg" = [ "org.xfce.ristretto.desktop" ]; - "image/png" = [ "org.xfce.ristretto.desktop" ]; - "text/plain" = [ "leafpad.desktop" ]; - }; + home.packages = with pkgs; [ chicago95 ]; } diff --git a/nixpkgs/kusanagi.nix b/nixpkgs/kusanagi.nix index 6422ee4..840e41b 100644 --- a/nixpkgs/kusanagi.nix +++ b/nixpkgs/kusanagi.nix @@ -6,7 +6,7 @@ let sha256 = "sha256:1dizlmwzl6319s9cfbd770ydlj0kf0k3yz5rzw4xni8lnh691hx7"; }; in { - imports = [ ./common.nix ./icewm.nix ]; + imports = [ ./common.nix ./wayfire.nix ]; programs.bash.profileExtra = '' function mklink { diff --git a/nixpkgs/wayfire.nix b/nixpkgs/wayfire.nix new file mode 100644 index 0000000..191846b --- /dev/null +++ b/nixpkgs/wayfire.nix @@ -0,0 +1,8 @@ +{ pkgs, ... }: { + imports = [ ./wmonly.nix ]; + + home.file = { + ".config/wayfire.ini".source = ../wayfire/wayfire.ini; + ".config/waybar/config".source = ../waybar/config; + }; +} diff --git a/nixpkgs/wmonly.nix b/nixpkgs/wmonly.nix new file mode 100644 index 0000000..7096c69 --- /dev/null +++ b/nixpkgs/wmonly.nix @@ -0,0 +1,20 @@ +{ pkgs, ... }: { + home.packages = with pkgs; [ xfce.tumbler ]; + + xdg.desktopEntries.llpp = { + name = "llpp"; + genericName = "PDF viewer"; + exec = "llpp %f"; + terminal = false; + categories = [ "Graphics" "Viewer" ]; + mimeType = [ "application/pdf" "application/x-pdf" ]; + type = "Application"; + }; + xdg.mimeApps.enable = true; + xdg.mimeApps.defaultApplications = { + "application/pdf" = [ "epdfview.desktop" ]; + "image/jpeg" = [ "org.xfce.ristretto.desktop" ]; + "image/png" = [ "org.xfce.ristretto.desktop" ]; + "text/plain" = [ "leafpad.desktop" ]; + }; +} diff --git a/waybar/config b/waybar/config new file mode 100644 index 0000000..42c9a23 --- /dev/null +++ b/waybar/config @@ -0,0 +1,172 @@ +{ + // "layer": "top", // Waybar at top layer + // "position": "bottom", // Waybar position (top|bottom|left|right) + "height": 30, // Waybar height (to be removed for auto height) + // "width": 1280, // Waybar width + "spacing": 4, // Gaps between modules (4px) + // Choose the order of the modules + "modules-left": ["sway/workspaces", "sway/mode", "sway/scratchpad", "custom/media"], + "modules-center": ["sway/window"], + "modules-right": ["pulseaudio", "network", "cpu", "memory", "disk", "temperature", "keyboard-state", "battery", "battery#bat1", "clock", "tray"], + // Modules configuration + // "sway/workspaces": { + // "disable-scroll": true, + // "all-outputs": true, + // "warp-on-scroll": false, + // "format": "{name}: {icon}", + // "format-icons": { + // "1": "", + // "2": "", + // "3": "", + // "4": "", + // "5": "", + // "urgent": "", + // "focused": "", + // "default": "" + // } + // }, + "keyboard-state": { + "numlock": true, + "capslock": true, + "format": "{name} {icon}", + "format-icons": { + "locked": "", + "unlocked": "" + } + }, + "sway/mode": { + "format": "{}" + }, + "sway/scratchpad": { + "format": "{icon} {count}", + "show-empty": false, + "format-icons": ["", ""], + "tooltip": true, + "tooltip-format": "{app}: {title}" + }, + "mpd": { + "format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ {volume}% ", + "format-disconnected": "Disconnected ", + "format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ", + "unknown-tag": "N/A", + "interval": 2, + "consume-icons": { + "on": " " + }, + "random-icons": { + "off": " ", + "on": " " + }, + "repeat-icons": { + "on": " " + }, + "single-icons": { + "on": "1 " + }, + "state-icons": { + "paused": "", + "playing": "" + }, + "tooltip-format": "MPD (connected)", + "tooltip-format-disconnected": "MPD (disconnected)" + }, + "idle_inhibitor": { + "format": "{icon}", + "format-icons": { + "activated": "", + "deactivated": "" + } + }, + "tray": { + // "icon-size": 21, + "spacing": 10 + }, + "clock": { + // "timezone": "America/New_York", + "tooltip-format": "{:%Y %B}\n{calendar}", + "format": "{:%Y-%m-%d %H:%M}", + "format-alt": "{:%Y-%m-%d}" + }, + "cpu": { + "format": "{usage}% ", + "tooltip": false + }, + "memory": { + "format": "{}% " + }, + "disk": { + "path": "/Z", + "format": "{percentage_used}% 🖴" + }, + "temperature": { + // "thermal-zone": 2, + // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", + "critical-threshold": 80, + // "format-critical": "{temperatureC}°C {icon}", + "format": "{temperatureC}°C {icon}", + "format-icons": ["", "", ""] + }, + "backlight": { + // "device": "acpi_video1", + "format": "{percent}% {icon}", + "format-icons": ["", "", "", "", "", "", "", "", ""] + }, + "battery": { + "states": { + // "good": 95, + "warning": 30, + "critical": 15 + }, + "format": "{capacity}% {icon}", + "format-charging": "{capacity}% ", + "format-plugged": "{capacity}% ", + "format-alt": "{time} {icon}", + // "format-good": "", // An empty format will hide the module + // "format-full": "", + "format-icons": ["", "", "", "", ""] + }, + "battery#bat1": { + "bat": "BAT1" + }, + "network": { + // "interface": "wlp2*", // (Optional) To force the use of this interface + "format-wifi": "{essid} ({signalStrength}%) ", + "format-ethernet": "{ipaddr}/{cidr} ", + "tooltip-format": "{ifname} via {gwaddr} ", + "format-linked": "{ifname} (No IP) ", + "format-disconnected": "Disconnected ⚠", + "format-alt": "{ifname}: {ipaddr}/{cidr}" + }, + "pulseaudio": { + // "scroll-step": 1, // %, can be a float + "format": "{volume}% {icon} {format_source}", + "format-bluetooth": "{volume}% {icon} {format_source}", + "format-bluetooth-muted": " {icon} {format_source}", + "format-muted": " {format_source}", + "format-source": "{volume}% ", + "format-source-muted": "", + "format-icons": { + "headphone": "", + "hands-free": "", + "headset": "", + "phone": "", + "portable": "", + "car": "", + "default": ["", "", ""] + }, + "on-click": "pavucontrol" + }, + "custom/media": { + "format": "{icon} {}", + "return-type": "json", + "max-length": 40, + "format-icons": { + "spotify": "", + "default": "🎜" + }, + "escape": true, + "exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder + // "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name + } +} + diff --git a/wayfire/wayfire.ini b/wayfire/wayfire.ini new file mode 100644 index 0000000..a497cf2 --- /dev/null +++ b/wayfire/wayfire.ini @@ -0,0 +1,397 @@ +[alpha] +min_value = 0.100000 +modifier = + +[animate] +close_animation = fade +duration = 400 +enabled_for = (type equals "toplevel" | (type equals "x-or" & focusable equals true)) +fade_duration = 400 +fade_enabled_for = type equals "overlay" +fire_color = \#B22303FF +fire_duration = 300 +fire_enabled_for = none +fire_particle_size = 16.000000 +fire_particles = 2000 +open_animation = fade +random_fire_color = false +startup_duration = 600 +zoom_duration = 500 +zoom_enabled_for = none + +[autostart] +autostart0 = waybar +autostart1 = wf-background +autostart_wf_shell = false + +[background] +cycle_timeout = 150 +image = /nix/store/9gmwzbczqpdw7bxl31sv0jajsbkb7nh0-wf-shell-0.7.0/share/wayfire/wallpaper.jpg +preserve_aspect = false +randomize = false + +[blur] +blur_by_default = type is "toplevel" +bokeh_degrade = 1 +bokeh_iterations = 15 +bokeh_offset = 5.000000 +box_degrade = 1 +box_iterations = 2 +box_offset = 1.000000 +gaussian_degrade = 1 +gaussian_iterations = 2 +gaussian_offset = 1.000000 +kawase_degrade = 8 +kawase_iterations = 2 +kawase_offset = 2.000000 +method = kawase +saturation = 1.000000 +toggle = none + +[command] +binding_0 = KEY_ENTER +binding_1 = KEY_P +binding_2 = KEY_F2 +binding_3 = KEY_X +command_0 = alacritty +command_1 = xfce4-appfinder +command_2 = xfrun4 +command_3 = swaylock -c 000000 + +[core] +background_color = \#1A1A1AFF +close_top_view = KEY_Q | KEY_F4 +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 decoration expo fast-switcher fisheye grid move oswitch place resize vswitch window-rules wrot switcher wayfire-shell ipc gtk-shell foreign-toplevel xdg-activation +preferred_decoration_mode = client +transaction_timeout = 100 +vheight = 3 +vwidth = 3 +xwayland = true + +[cube] +activate = BTN_LEFT +background = \#1A1A1AFF +background_mode = simple +cubemap_image = +deform = 0 +initial_animation = 350 +light = true +rotate_left = none +rotate_right = none +skydome_mirror = true +skydome_texture = +speed_spin_horiz = 0.020000 +speed_spin_vert = 0.020000 +speed_zoom = 0.070000 +zoom = 0.100000 + +[decoration] +active_color = \#222222AA +border_size = 4 +button_order = minimize maximize close +font = sans-serif +ignore_views = none +inactive_color = \#333333DD +title_height = 30 + +[dock] +autohide_duration = 300 +css_path = +position = bottom + +[expo] +background = \#1A1A1AFF +duration = 300 +inactive_brightness = 0.700000 +keyboard_interaction = true +offset = 10 +toggle = +transition_length = 200 + +[extra-gestures] +close_fingers = 20 +move_delay = 500 +move_fingers = 3 + +[fast-switcher] +activate = KEY_ESC +activate_backward = KEY_ESC +inactive_alpha = 0.700000 + +[fisheye] +radius = 450.000000 +toggle = KEY_F +zoom = 7.000000 + +[foreign-toplevel] + +[grid] +duration = 300 +restore = KEY_DOWN | KEY_KP0 +slot_b = KEY_KP2 +slot_bl = KEY_KP1 +slot_br = KEY_KP3 +slot_c = KEY_UP | KEY_KP5 +slot_l = KEY_LEFT | KEY_KP4 +slot_r = KEY_RIGHT | KEY_KP6 +slot_t = KEY_KP8 +slot_tl = KEY_KP7 +slot_tr = KEY_KP9 +type = crossfade + +[gtk-shell] + +[idle] +cube_max_zoom = 1.500000 +cube_rotate_speed = 1.000000 +cube_zoom_speed = 1000 +disable_initially = false +disable_on_fullscreen = true +dpms_timeout = -1 +screensaver_timeout = 3600 +toggle = none + +[input] +click_method = default +cursor_size = 24 +cursor_theme = default +disable_touchpad_while_mouse = false +disable_touchpad_while_typing = false +drag_lock = false +gesture_sensitivity = 1.000000 +kb_capslock_default_state = false +kb_numlock_default_state = false +kb_repeat_delay = 400 +kb_repeat_rate = 40 +left_handed_mode = false +middle_emulation = false +modifier_binding_timeout = 400 +mouse_accel_profile = default +mouse_cursor_speed = 0.000000 +mouse_scroll_speed = 1.000000 +natural_scroll = false +scroll_method = default +tablet_motion_mode = default +tap_to_click = true +touchpad_accel_profile = default +touchpad_cursor_speed = 0.000000 +touchpad_scroll_speed = 1.000000 +xkb_layout = fr-custom-lx +xkb_model = +xkb_options = +xkb_rules = evdev +xkb_variant = + +[input-device] +output = + +[invert] +preserve_hue = false +toggle = KEY_I + +[ipc] + +[ipc-rules] + +[move] +activate = BTN_LEFT +enable_snap = true +enable_snap_off = true +join_views = false +preview_base_border = \#404080CC +preview_base_color = \#8080FF80 +preview_border_width = 3 +quarter_snap_threshold = 50 +snap_off_threshold = 10 +snap_threshold = 10 +workspace_switch_after = -1 + +[oswitch] +next_output = KEY_O +next_output_with_win = KEY_O + +[output] +mode = auto +position = auto +scale = 1.000000 +transform = normal + +[panel] +autohide = false +autohide_duration = 300 +background_color = gtk_headerbar +battery_font = default +battery_icon_invert = true +battery_icon_size = 24 +battery_status = 1 +clock_font = default +clock_format = %e %A %H:%M +css_path = +launchers_size = 42 +launchers_spacing = 4 +layer = top +menu_fuzzy_search = true +menu_icon = +menu_logout_command = wayland-logout +minimal_height = 24 +network_icon_invert_color = false +network_icon_size = 32 +network_status = 1 +network_status_font = default +network_status_use_color = false +position = top +volume_display_timeout = 2.500000 +widgets_center = clock +widgets_left = spacing4 menu spacing18 launchers +widgets_right = network battery + +[place] +mode = cascade + +[preserve-output] +last_output_focus_timeout = 10000 + +[resize] +activate = BTN_RIGHT +activate_preserve_aspect = none + +[scale] +allow_zoom = false +bg_color = \#1A1A1AE6 +duration = 750 +inactive_alpha = 0.750000 +include_minimized = false +interact = false +middle_click_close = false +minimized_alpha = 0.450000 +spacing = 50 +text_color = \#CCCCCCFF +title_font_size = 16 +title_overlay = all +title_position = center +toggle = KEY_P +toggle_all = + +[scale-title-filter] +bg_color = \#00000080 +case_sensitive = false +font_size = 30 +overlay = true +share_filter = false +text_color = \#CCCCCCCC + +[simple-tile] +animation_duration = 0 +button_move = BTN_LEFT +button_resize = BTN_RIGHT +inner_gap_size = 5 +keep_fullscreen_on_adjacent = true +key_focus_above = KEY_K +key_focus_below = KEY_J +key_focus_left = KEY_H +key_focus_right = KEY_L +key_toggle = KEY_T +outer_horiz_gap_size = 0 +outer_vert_gap_size = 0 +preview_base_border = \#404080CC +preview_base_color = \#8080FF80 +preview_border_width = 3 +tile_by_default = all + +[switcher] +next_view = KEY_TAB +prev_view = KEY_TAB +speed = 500 +view_thumbnail_rotation = 30 +view_thumbnail_scale = 1.000000 + +[vswipe] +background = \#1A1A1AFF +delta_threshold = 24.000000 +duration = 180 +enable_free_movement = false +enable_horizontal = true +enable_smooth_transition = false +enable_vertical = true +fingers = 4 +gap = 32.000000 +speed_cap = 0.050000 +speed_factor = 256.000000 +threshold = 0.350000 + +[vswitch] +background = \#1A1A1AFF +binding_down = KEY_DOWN +binding_last = +binding_left = KEY_LEFT +binding_right = KEY_RIGHT +binding_up = KEY_UP +binding_win_down = KEY_DOWN +binding_win_left = KEY_LEFT +binding_win_right = KEY_RIGHT +binding_win_up = KEY_UP +duration = 300 +gap = 20 +send_win_down = +send_win_last = +send_win_left = +send_win_right = +send_win_up = +with_win_down = +with_win_last = +with_win_left = KEY_LEFT +with_win_right = KEY_RIGHT +with_win_up = KEY_UP +wraparound = false + +[wayfire-shell] + +[window-rules] + +[wm-actions] +minimize = none +send_to_back = none +toggle_always_on_top = none +toggle_fullscreen = none +toggle_maximize = none +toggle_showdesktop = none +toggle_sticky = none + +[wobbly] +friction = 3.000000 +grid_resolution = 6 +spring_k = 8.000000 + +[workarounds] +all_dialogs_modal = true +app_id_mode = stock +dynamic_repaint_delay = false +enable_so_unloading = false +force_preferred_decoration_mode = false +remove_output_limits = false +use_external_output_configuration = false + +[wrot] +activate = BTN_RIGHT +activate-3d = BTN_RIGHT +invert = false +reset = KEY_R +reset-one = KEY_R +reset_radius = 25.000000 +sensitivity = 24 + +[wsets] +label_duration = 2000 + +[xdg-activation] + +[zoom] +interpolation_method = 0 +modifier = +smoothing_duration = 300 +speed = 0.010000 + diff --git a/wayfire/wf-shell.ini b/wayfire/wf-shell.ini new file mode 100644 index 0000000..7de2d2a --- /dev/null +++ b/wayfire/wf-shell.ini @@ -0,0 +1,64 @@ +[background] +cycle_timeout = 150 +image = /nix/store/ga5cq3jbzxa1s683yck36l12h7z43n18-wf-shell-0.8.0/share/wayfire/wallpaper.jpg +preserve_aspect = false +randomize = false + +[dock] +autohide = true +autohide_duration = 300 +css_path = +dock_height = 100 +edge_offset = 20 +icon_height = 72 +position = bottom + +[panel] +autohide = false +autohide_duration = 300 +background_color = gtk_headerbar +battery_font = default +battery_icon_invert = true +battery_icon_size = 32 +battery_status = percentage +clock_font = default +clock_format = %e %A %H:%M +commands_output_max_chars = 10 +css_path = +edge_offset = 20 +hibernate_command = systemctl hibernate +launchers_animation_duration = 200 +launchers_size = 42 +launchers_spacing = 4 +layer = top +logout_command = wayland-logout +menu_fuzzy_search = true +menu_icon = +menu_logout_command = +menu_min_content_height = 500 +menu_min_content_width = 500 +minimal_height = 24 +network_icon_invert_color = false +network_icon_size = 32 +network_onclick_command = default +network_status = connection +network_status_font = default +network_status_use_color = false +notifications_autohide_timeout = 2.500000 +notifications_critical_in_dnd = true +notifications_icon_size = 32 +position = bottom +reboot_command = systemctl reboot +shutdown_command = systemctl poweroff +suspend_command = systemctl suspend +switchuser_command = dm-tool switch-to-greeter +tray_icon_size = 32 +tray_menu_on_middle_click = false +tray_smooth_scrolling_threshold = 5 +volume_display_timeout = 2.500000 +volume_icon_size = 32 +volume_scroll_sensitivity = 0.050000 +widgets_center = none +widgets_left = menu spacing4 launchers window-list +widgets_right = volume network battery clock + -- cgit v1.2.3