diff options
| author | Mohammad Reza Karimi <m.r.karimi.j@gmail.com> | 2026-01-29 11:40:03 -0500 |
|---|---|---|
| committer | Mohammad Reza Karimi <m.r.karimi.j@gmail.com> | 2026-01-29 11:40:03 -0500 |
| commit | ab7303e1d893f33e09dbc8493f9a9179a7a40a4a (patch) | |
| tree | aaa279dd2282ef48f4f684768ccb422e0dab30fe | |
| parent | e2a70a92822b22633562e9695c300efec2b5cbeb (diff) | |
updates
35 files changed, 982 insertions, 88 deletions
diff --git a/aerc/dot-config/aerc/accounts.conf b/aerc/dot-config/aerc/accounts.conf index 7a2fc27..d03e999 100644 --- a/aerc/dot-config/aerc/accounts.conf +++ b/aerc/dot-config/aerc/accounts.conf @@ -1,6 +1,6 @@ [MIT] -source = maildir:///home/moreka/.local/share/mail/mit -outgoing = /usr/bin/sendmail +source = maildir://~/.local/share/mail/mit +outgoing = msmtp -a mit default = INBOX from = Mohammad Reza Karimi <moreka@mit.edu> copy-to = Sent @@ -17,8 +17,8 @@ folders-sort = INBOX,Sent,Drafts,Archive [Gmail] -source = maildir:///home/moreka/.local/share/mail/m.r.karimi.j@gmail.com -outgoing = /usr/bin/sendmail +source = maildir://~/.local/share/mail/m.r.karimi.j@gmail.com +outgoing = msmtp -a gmail default = INBOX from = Mohammad Reza Karimi <m.r.karimi.j@gmail.com> copy-to = Sent diff --git a/aerc/dot-config/aerc/binds.conf b/aerc/dot-config/aerc/binds.conf index b14d7ba..f69fd44 100644 --- a/aerc/dot-config/aerc/binds.conf +++ b/aerc/dot-config/aerc/binds.conf @@ -54,6 +54,7 @@ zt = :align top<Enter> zb = :align bottom<Enter> <Enter> = :view<Enter> +l = :view<Enter> d = :choose -o y 'Really delete this message' delete-message<Enter> D = :delete<Enter> a = :archive flat<Enter> diff --git a/alacritty/dot-config/alacritty/alacritty.toml b/alacritty/dot-config/alacritty/alacritty.toml index 7b0897a..b2c8b9b 100644 --- a/alacritty/dot-config/alacritty/alacritty.toml +++ b/alacritty/dot-config/alacritty/alacritty.toml @@ -1,33 +1,35 @@ [general] +import = [ + "~/.config/alacritty/dank-theme.toml" +] live_config_reload = true -import = [ "~/.cache/wal/colors-alacritty.toml" ] + +[window] +decorations = "None" +padding = { x = 4, y = 4 } +opacity = 0.95 [font] -# normal = { family = "Dejavu Sans Mono", style = "Book" } -normal = { family = "Liberation Mono", style = "Book" } +normal = { family = "Comic Code", style = "Regular" } size = 12 -[window] -padding = { x = 3, y = 3 } -dynamic_padding = true -dynamic_title = true -opacity = 1.0 - [scrolling] history = 5000 multiplier = 3 -[selection] -save_to_clipboard = false - [cursor] +style = { shape = "Block", blinking = "On" } +blink_interval = 500 unfocused_hollow = true [mouse] hide_when_typing = true -# [colors.primary] -# background = "#1e1e1e" +[selection] +save_to_clipboard = false + +[bell] +duration = 0 [keyboard] bindings = [ diff --git a/bash/dot-profile b/bash/dot-profile index 4faa2ee..4e9b17f 100644 --- a/bash/dot-profile +++ b/bash/dot-profile @@ -11,7 +11,7 @@ export XDG_DATA_HOME="$HOME"/.local/share export XDG_STATE_HOME="$HOME"/.local/state export XDG_BIN_HOME="$HOME"/.local/bin -PATH="${PATH}:${XDG_BIN_HOME}" +PATH="${PATH}:${XDG_BIN_HOME}:$HOME/.nix-profile/bin" export PATH export LESSHISTFILE="$XDG_CACHE_HOME"/lesshst diff --git a/cal/dot-config/khal/config b/cal/dot-config/khal/config index 5e8b68a..bfe111e 100644 --- a/cal/dot-config/khal/config +++ b/cal/dot-config/khal/config @@ -8,7 +8,7 @@ color = dark blue [[google-mit]] path = ~/.local/share/vdirsyncer/calendars/google/e226ae4bc148235546e47f7f333b825b35642cd08018edd849c35840cc103167@group.calendar.google.com/ -color = dark red +color = brown [[google-holiday-iran]] path = ~/.local/share/vdirsyncer/calendars/google/cln2sqbi4dk6ur39chgnig37e9nnas1eeon66obccln68obi5pjmurr7dhiisorfdk@virtual @@ -42,11 +42,10 @@ timedelta = 7d frame = top [highlight_days] -multiple = yellow +multiple = dark green [keybindings] external_edit = E -save = S [palette] # 1. Foreground color and settings for 16-color (normal) mode diff --git a/chromium/dot-config/chromium-flags.conf b/chromium/dot-config/chromium-flags.conf new file mode 100644 index 0000000..11d2924 --- /dev/null +++ b/chromium/dot-config/chromium-flags.conf @@ -0,0 +1 @@ +--enable-features=AcceleratedVideoDecodeLinuxGL,AcceleratedVideoDecodeLinuxZeroCopyGL,AcceleratedVideoEncoder diff --git a/ctags/dot-config/ctags/default.ctags b/ctags/dot-config/ctags/default.ctags new file mode 100644 index 0000000..cdee4cf --- /dev/null +++ b/ctags/dot-config/ctags/default.ctags @@ -0,0 +1,20 @@ +--langdef=tex2 +--langmap=tex2:.tex +--regex-tex2=/\\label[ \t]*\*?\{[ \t]*([^}]*)\}/\1/l,label/ +--langdef=bib +--langmap=bib:.bib +--regex-bib=/^@[A-Za-z]+\{([^,]+),/\1/e,entry/i +--regex-bib=/^@article\{([^,]*)/\1/a,article/i +--regex-bib=/^@book\{([^,]*)/\1/b,book/i +--regex-bib=/^@booklet\{([^,]*)/\1/L,booklet/i +--regex-bib=/^@conference\{([^,]*)/\1/c,conference/i +--regex-bib=/^@inbook\{([^,]*)/\1/B,inbook/i +--regex-bib=/^@incollection\{([^,]*)/\1/C,incollection/i +--regex-bib=/^@inproceedings\{([^,]*)/\1/P,inproceedings/i +--regex-bib=/^@manual\{([^,]*)/\1/m,manual/i +--regex-bib=/^@mastersthesis\{([^,]*)/\1/T,mastersthesis/i +--regex-bib=/^@misc\{([^,]*)/\1/M,misc/i +--regex-bib=/^@phdthesis\{([^,]*)/\1/t,phdthesis/i +--regex-bib=/^@proceedings\{([^,]*)/\1/p,proceedings/i +--regex-bib=/^@string\{([^ "#%')(,=}{]+)/\1/s,string/i +--regex-bib=/^@techreport\{([^,]*)/\1/r,techreport/i diff --git a/dms/dot-config/DankMaterialShell/settings.json b/dms/dot-config/DankMaterialShell/settings.json new file mode 100644 index 0000000..a14e3ed --- /dev/null +++ b/dms/dot-config/DankMaterialShell/settings.json @@ -0,0 +1,467 @@ +{ + "currentThemeName": "custom", + "currentThemeCategory": "custom", + "customThemeFile": "/home/moreka/.config/DankMaterialShell/themes/onedark/theme.json", + "registryThemeVariants": {}, + "matugenScheme": "scheme-tonal-spot", + "runUserMatugenTemplates": true, + "matugenTargetMonitor": "", + "popupTransparency": 1, + "dockTransparency": 1, + "widgetBackgroundColor": "sch", + "widgetColorMode": "default", + "cornerRadius": 12, + "niriLayoutGapsOverride": -1, + "niriLayoutRadiusOverride": -1, + "niriLayoutBorderSize": -1, + "hyprlandLayoutGapsOverride": -1, + "hyprlandLayoutRadiusOverride": -1, + "hyprlandLayoutBorderSize": -1, + "mangoLayoutGapsOverride": -1, + "mangoLayoutRadiusOverride": -1, + "mangoLayoutBorderSize": -1, + "use24HourClock": true, + "showSeconds": false, + "useFahrenheit": false, + "nightModeEnabled": false, + "animationSpeed": 4, + "customAnimationDuration": 150, + "wallpaperFillMode": "Fill", + "blurredWallpaperLayer": false, + "blurWallpaperOnOverview": false, + "showLauncherButton": true, + "showWorkspaceSwitcher": true, + "showFocusedWindow": true, + "showWeather": true, + "showMusic": true, + "showClipboard": true, + "showCpuUsage": true, + "showMemUsage": true, + "showCpuTemp": true, + "showGpuTemp": true, + "selectedGpuIndex": 0, + "enabledGpuPciIds": [], + "showSystemTray": true, + "showClock": true, + "showNotificationButton": true, + "showBattery": true, + "showControlCenterButton": true, + "showCapsLockIndicator": true, + "controlCenterShowNetworkIcon": true, + "controlCenterShowBluetoothIcon": true, + "controlCenterShowAudioIcon": true, + "controlCenterShowAudioPercent": false, + "controlCenterShowVpnIcon": true, + "controlCenterShowBrightnessIcon": false, + "controlCenterShowBrightnessPercent": false, + "controlCenterShowMicIcon": false, + "controlCenterShowMicPercent": true, + "controlCenterShowBatteryIcon": false, + "controlCenterShowPrinterIcon": false, + "controlCenterShowScreenSharingIcon": true, + "showPrivacyButton": true, + "privacyShowMicIcon": false, + "privacyShowCameraIcon": false, + "privacyShowScreenShareIcon": false, + "controlCenterWidgets": [ + { + "id": "volumeSlider", + "enabled": true, + "width": 50 + }, + { + "id": "brightnessSlider", + "enabled": true, + "width": 50 + }, + { + "id": "wifi", + "enabled": true, + "width": 50 + }, + { + "id": "bluetooth", + "enabled": true, + "width": 50 + }, + { + "id": "audioOutput", + "enabled": true, + "width": 50 + }, + { + "id": "audioInput", + "enabled": true, + "width": 50 + }, + { + "id": "nightMode", + "enabled": true, + "width": 50 + }, + { + "id": "darkMode", + "enabled": true, + "width": 50 + } + ], + "showWorkspaceIndex": false, + "showWorkspaceName": false, + "showWorkspacePadding": false, + "workspaceScrolling": false, + "showWorkspaceApps": false, + "maxWorkspaceIcons": 3, + "groupWorkspaceApps": true, + "workspaceFollowFocus": false, + "showOccupiedWorkspacesOnly": false, + "reverseScrolling": false, + "dwlShowAllTags": false, + "workspaceColorMode": "default", + "workspaceUnfocusedColorMode": "default", + "workspaceUrgentColorMode": "default", + "workspaceFocusedBorderEnabled": false, + "workspaceFocusedBorderColor": "primary", + "workspaceFocusedBorderThickness": 2, + "workspaceNameIcons": {}, + "waveProgressEnabled": true, + "scrollTitleEnabled": true, + "audioVisualizerEnabled": true, + "audioScrollMode": "volume", + "clockCompactMode": false, + "focusedWindowCompactMode": false, + "runningAppsCompactMode": true, + "keyboardLayoutNameCompactMode": false, + "runningAppsCurrentWorkspace": false, + "runningAppsGroupByApp": false, + "appIdSubstitutions": [], + "centeringMode": "index", + "clockDateFormat": "ddd d MMM", + "lockDateFormat": "", + "mediaSize": 1, + "appLauncherViewMode": "list", + "spotlightModalViewMode": "list", + "sortAppsAlphabetically": false, + "appLauncherGridColumns": 4, + "spotlightCloseNiriOverview": true, + "niriOverviewOverlayEnabled": true, + "useAutoLocation": false, + "weatherEnabled": true, + "networkPreference": "auto", + "vpnLastConnected": "", + "iconTheme": "System Default", + "cursorSettings": { + "theme": "System Default", + "size": 24, + "niri": { + "hideWhenTyping": false, + "hideAfterInactiveMs": 0 + }, + "hyprland": { + "hideOnKeyPress": false, + "hideOnTouch": false, + "inactiveTimeout": 0 + }, + "dwl": { + "cursorHideTimeout": 0 + } + }, + "launcherLogoMode": "apps", + "launcherLogoCustomPath": "", + "launcherLogoColorOverride": "", + "launcherLogoColorInvertOnMode": false, + "launcherLogoBrightness": 0.5, + "launcherLogoContrast": 1, + "launcherLogoSizeOffset": 0, + "fontFamily": "Adwaita Sans", + "monoFontFamily": "Hack", + "fontWeight": 400, + "fontScale": 1, + "notepadUseMonospace": true, + "notepadFontFamily": "", + "notepadFontSize": 14, + "notepadShowLineNumbers": false, + "notepadTransparencyOverride": -1, + "notepadLastCustomTransparency": 0.7, + "soundsEnabled": true, + "useSystemSoundTheme": false, + "soundNewNotification": true, + "soundVolumeChanged": true, + "soundPluggedIn": true, + "acMonitorTimeout": 600, + "acLockTimeout": 300, + "acSuspendTimeout": 3600, + "acSuspendBehavior": 0, + "acProfileName": "", + "batteryMonitorTimeout": 0, + "batteryLockTimeout": 0, + "batterySuspendTimeout": 0, + "batterySuspendBehavior": 0, + "batteryProfileName": "", + "batteryChargeLimit": 100, + "lockBeforeSuspend": true, + "loginctlLockIntegration": true, + "fadeToLockEnabled": true, + "fadeToLockGracePeriod": 5, + "fadeToDpmsEnabled": true, + "fadeToDpmsGracePeriod": 5, + "launchPrefix": "", + "brightnessDevicePins": {}, + "wifiNetworkPins": {}, + "bluetoothDevicePins": {}, + "audioInputDevicePins": {}, + "audioOutputDevicePins": {}, + "gtkThemingEnabled": false, + "qtThemingEnabled": false, + "syncModeWithPortal": true, + "terminalsAlwaysDark": false, + "runDmsMatugenTemplates": true, + "matugenTemplateGtk": true, + "matugenTemplateNiri": true, + "matugenTemplateHyprland": true, + "matugenTemplateMangowc": true, + "matugenTemplateQt5ct": true, + "matugenTemplateQt6ct": true, + "matugenTemplateFirefox": true, + "matugenTemplatePywalfox": true, + "matugenTemplateZenBrowser": true, + "matugenTemplateVesktop": true, + "matugenTemplateEquibop": true, + "matugenTemplateGhostty": true, + "matugenTemplateKitty": true, + "matugenTemplateFoot": true, + "matugenTemplateAlacritty": true, + "matugenTemplateNeovim": true, + "matugenTemplateWezterm": true, + "matugenTemplateDgop": true, + "matugenTemplateKcolorscheme": true, + "matugenTemplateVscode": true, + "showDock": false, + "dockAutoHide": false, + "dockGroupByApp": false, + "dockOpenOnOverview": false, + "dockPosition": 1, + "dockSpacing": 4, + "dockBottomGap": 0, + "dockMargin": 0, + "dockIconSize": 40, + "dockIndicatorStyle": "circle", + "dockBorderEnabled": false, + "dockBorderColor": "surfaceText", + "dockBorderOpacity": 1, + "dockBorderThickness": 1, + "dockIsolateDisplays": false, + "notificationOverlayEnabled": false, + "modalDarkenBackground": true, + "lockScreenShowPowerActions": true, + "lockScreenShowSystemIcons": true, + "lockScreenShowTime": true, + "lockScreenShowDate": true, + "lockScreenShowProfileImage": true, + "lockScreenShowPasswordField": true, + "enableFprint": true, + "maxFprintTries": 15, + "lockScreenActiveMonitor": "all", + "lockScreenInactiveColor": "#000000", + "lockScreenNotificationMode": 0, + "hideBrightnessSlider": false, + "notificationTimeoutLow": 5000, + "notificationTimeoutNormal": 10000, + "notificationTimeoutCritical": 0, + "notificationCompactMode": false, + "notificationPopupPosition": 0, + "notificationHistoryEnabled": true, + "notificationHistoryMaxCount": 50, + "notificationHistoryMaxAgeDays": 1, + "notificationHistorySaveLow": true, + "notificationHistorySaveNormal": true, + "notificationHistorySaveCritical": true, + "osdAlwaysShowValue": false, + "osdPosition": 5, + "osdVolumeEnabled": true, + "osdMediaVolumeEnabled": true, + "osdBrightnessEnabled": true, + "osdIdleInhibitorEnabled": true, + "osdMicMuteEnabled": true, + "osdCapsLockEnabled": true, + "osdPowerProfileEnabled": true, + "osdAudioOutputEnabled": true, + "powerActionConfirm": true, + "powerActionHoldDuration": 0.5, + "powerMenuActions": [ + "reboot", + "logout", + "poweroff", + "lock", + "suspend", + "restart" + ], + "powerMenuDefaultAction": "logout", + "powerMenuGridLayout": false, + "customPowerActionLock": "", + "customPowerActionLogout": "", + "customPowerActionSuspend": "", + "customPowerActionHibernate": "", + "customPowerActionReboot": "", + "customPowerActionPowerOff": "", + "updaterHideWidget": true, + "updaterUseCustomCommand": false, + "updaterCustomCommand": "", + "updaterTerminalAdditionalParams": "", + "displayNameMode": "system", + "screenPreferences": { + "wallpaper": [ + "all" + ] + }, + "showOnLastDisplay": {}, + "niriOutputSettings": {}, + "hyprlandOutputSettings": {}, + "barConfigs": [ + { + "id": "default", + "name": "Main Bar", + "enabled": true, + "position": 0, + "screenPreferences": [ + "all" + ], + "showOnLastDisplay": true, + "leftWidgets": [ + "launcherButton", + "workspaceSwitcher", + "focusedWindow" + ], + "centerWidgets": [ + "clock", + "weather" + ], + "rightWidgets": [ + "systemTray", + "clipboard", + "cpuUsage", + "memUsage", + "notificationButton", + "battery", + { + "id": "controlCenterButton", + "enabled": true, + "showBluetoothIcon": false, + "showVpnIcon": false, + "showBrightnessIcon": false, + "showMicPercent": false + } + ], + "spacing": 4, + "innerPadding": 4, + "bottomGap": 0, + "transparency": 1, + "widgetTransparency": 1, + "squareCorners": false, + "noBackground": false, + "gothCornersEnabled": false, + "gothCornerRadiusOverride": false, + "gothCornerRadiusValue": 12, + "borderEnabled": false, + "borderColor": "surfaceText", + "borderOpacity": 1, + "borderThickness": 1, + "widgetOutlineEnabled": false, + "widgetOutlineColor": "primary", + "widgetOutlineOpacity": 1, + "widgetOutlineThickness": 1, + "fontScale": 1, + "autoHide": false, + "autoHideDelay": 250, + "showOnWindowsOpen": false, + "openOnOverview": false, + "visible": true, + "popupGapsAuto": true, + "popupGapsManual": 4, + "maximizeDetection": true, + "scrollEnabled": false, + "scrollXBehavior": "column", + "scrollYBehavior": "workspace", + "shadowIntensity": 0, + "shadowOpacity": 60, + "shadowColorMode": "text", + "shadowCustomColor": "#000000" + } + ], + "desktopClockEnabled": false, + "desktopClockStyle": "analog", + "desktopClockTransparency": 0.8, + "desktopClockColorMode": "primary", + "desktopClockCustomColor": { + "r": 1, + "g": 1, + "b": 1, + "a": 1, + "hsvHue": -1, + "hsvSaturation": 0, + "hsvValue": 1, + "hslHue": -1, + "hslSaturation": 0, + "hslLightness": 1, + "valid": true + }, + "desktopClockShowDate": true, + "desktopClockShowAnalogNumbers": false, + "desktopClockShowAnalogSeconds": true, + "desktopClockX": -1, + "desktopClockY": -1, + "desktopClockWidth": 280, + "desktopClockHeight": 180, + "desktopClockDisplayPreferences": [ + "all" + ], + "systemMonitorEnabled": false, + "systemMonitorShowHeader": true, + "systemMonitorTransparency": 0.8, + "systemMonitorColorMode": "primary", + "systemMonitorCustomColor": { + "r": 1, + "g": 1, + "b": 1, + "a": 1, + "hsvHue": -1, + "hsvSaturation": 0, + "hsvValue": 1, + "hslHue": -1, + "hslSaturation": 0, + "hslLightness": 1, + "valid": true + }, + "systemMonitorShowCpu": true, + "systemMonitorShowCpuGraph": true, + "systemMonitorShowCpuTemp": true, + "systemMonitorShowGpuTemp": false, + "systemMonitorGpuPciId": "", + "systemMonitorShowMemory": true, + "systemMonitorShowMemoryGraph": true, + "systemMonitorShowNetwork": true, + "systemMonitorShowNetworkGraph": true, + "systemMonitorShowDisk": true, + "systemMonitorShowTopProcesses": false, + "systemMonitorTopProcessCount": 3, + "systemMonitorTopProcessSortBy": "cpu", + "systemMonitorGraphInterval": 60, + "systemMonitorLayoutMode": "auto", + "systemMonitorX": -1, + "systemMonitorY": -1, + "systemMonitorWidth": 320, + "systemMonitorHeight": 480, + "systemMonitorDisplayPreferences": [ + "all" + ], + "systemMonitorVariants": [], + "desktopWidgetPositions": {}, + "desktopWidgetGridSettings": {}, + "desktopWidgetInstances": [], + "desktopWidgetGroups": [], + "builtInPluginSettings": { + "dms_settings_search": { + "trigger": "?" + } + }, + "configVersion": 5 +}
\ No newline at end of file diff --git a/dms/dot-config/DankMaterialShell/themes/onedark/theme.json b/dms/dot-config/DankMaterialShell/themes/onedark/theme.json new file mode 100644 index 0000000..8059a37 --- /dev/null +++ b/dms/dot-config/DankMaterialShell/themes/onedark/theme.json @@ -0,0 +1,46 @@ +{ + "id": "onedark", + "name": "One Dark", + "version": "1.0.0", + "author": "Derek Taylor (DT)", + "description": "One Dark color scheme.", + "dark": { + "primary": "#51afef", + "primaryText": "#16161e", + "primaryContainer": "#7dcfff", + "secondary": "#c678dd", + "surface": "#1a1b26", + "surfaceText": "#bbc2cf", + "surfaceVariant": "#282c34", + "surfaceVariantText": "#cbccd1", + "surfaceTint": "#3071db", + "background": "#1c1f24", + "backgroundText": "#d5d6db", + "outline": "#abb2bf", + "surfaceContainer": "#282c34", + "surfaceContainerHigh": "#171d26", + "error": "#ff6c6b", + "warning": "#ecbe7b", + "info": "#46d9ff" + }, + "light": { + "primary": "#2e7de9", + "primaryText": "#d0d5e3", + "primaryContainer": "#007197", + "secondary": "#9854f1", + "surface": "#e1e2e7", + "surfaceText": "#387068", + "surfaceVariant": "#c4c8da", + "surfaceVariantText": "#1a1b26", + "surfaceTint": "#2e7de9", + "background": "#cbccd1", + "backgroundText": "#1a1b26", + "outline": "#4c505e", + "surfaceContainer": "#dfe0e5", + "surfaceContainerHigh": "#9699a3", + "error": "#f52a65", + "warning": "#b15c00", + "info": "#007197" + }, + "sourceDir": "onedark" +} diff --git a/email/dot-config/isyncrc b/email/dot-config/isyncrc index 58b4af2..b785916 100644 --- a/email/dot-config/isyncrc +++ b/email/dot-config/isyncrc @@ -41,7 +41,6 @@ Patterns "INBOX" "Archive" "Drafts" Create Near Expunge Both SyncState * -ExpireUnread no Group mit Channel sync-mit-default @@ -71,7 +70,6 @@ Near :gmail-mrkarimij-local:INBOX Create Near Expunge Both SyncState * -ExpireUnread no Channel gmail-mrkarimij-sent Far :gmail-mrkarimij-remote:"[Gmail]/Sent Mail" diff --git a/gdb/dot-config/gdb/gdbinit b/gdb/dot-config/gdb/gdbinit index f81ee8e..b121ceb 100644 --- a/gdb/dot-config/gdb/gdbinit +++ b/gdb/dot-config/gdb/gdbinit @@ -2,3 +2,4 @@ set disassembly-flavor intel set breakpoint pending on set history save on set history filename ~/.cache/gdb_history +set debuginfod enabled on diff --git a/ironbar/dot-config/ironbar/config.toml b/ironbar/dot-config/ironbar/config.toml index fe63477..ae1bb0d 100644 --- a/ironbar/dot-config/ironbar/config.toml +++ b/ironbar/dot-config/ironbar/config.toml @@ -9,6 +9,9 @@ type = "focused" icon_size = 12 [[end]] +type = "volume" + +[[end]] type = "battery" show_if = "ls /sys/class/power_supply/ | grep --quiet '^BAT'" icon_size = 12 @@ -28,6 +31,12 @@ type = "tray" icon_size = 12 [[end]] +type = "inhibit" +durations = ["inf"] +format_on = "☕ {duration}" +format_off = "💤" + +[[end]] type = "clock" format = "%d/%m/%Y %H:%M:%S" diff --git a/latex/dot-config/latexmkrc/latexmkrc b/latex/dot-config/latexmkrc/latexmkrc new file mode 100644 index 0000000..2d1ccff --- /dev/null +++ b/latex/dot-config/latexmkrc/latexmkrc @@ -0,0 +1,26 @@ +$pdf_mode = 1; +$bibtex_use = 1.5; +$latex = 'latex --src-specials %O %S'; +$show_time = 1; +set_tex_cmds('-synctex=1 -interaction=nonstopmode --shell-escape %O %S'); + +# This ensures buffer flushing, which makes output better in vimtex +STDOUT->autoflush; +STDERR->autoflush; + +push @generated_exts, "cb"; +push @generated_exts, "cb2"; +push @generated_exts, "spl"; +push @generated_exts, "nav"; +push @generated_exts, "snm"; +push @generated_exts, "tdo"; +push @generated_exts, "nmo"; +push @generated_exts, "brf"; +push @generated_exts, "nlg"; +push @generated_exts, "nlo"; +push @generated_exts, "nls"; +push @generated_exts, "auxlock"; +push @generated_exts, "synctex.gz"; +push @generated_exts, "synctex(busy)"; +push @generated_exts, "pgf-plot.*"; +push @generated_exts, "run.xml"; diff --git a/lf/dot-config/lf/lfrc b/lf/dot-config/lf/lfrc index 4d5bd8f..7c367f5 100644 --- a/lf/dot-config/lf/lfrc +++ b/lf/dot-config/lf/lfrc @@ -8,6 +8,7 @@ set icons set scrolloff 10 set period 1 set hiddenfiles ".*:*.aux:*.log:*.bbl:*.bcf:*.blg:*.run.xml" +set previewer "~/.config/lf/previewer" cmd open ${{ case $(file --mime-type "$(readlink -f "$f")" -b) in @@ -31,7 +32,7 @@ cmd extract ${{ while IFS= read -r filename; do filelist+=" $(basename "$filename")" done <<< "$fx" - if ouch decompress "$fx"; then + if safe_extract "$fx"; then lf -remote "send $id echomsg \"Extracted"$filelist" with ouch.\"" else lf -remote "send $id echoerr \"Cannot extract"$filelist" with ouch.\"" @@ -66,11 +67,6 @@ cmd git_branch ${{ lf -remote "send $id updir; cd \"$pwd_shell\"" }} -map gb :git_branch -map gp $clear; git pull --rebase || true; echo "press ENTER"; read ENTER -map gs $clear; git status; echo "press ENTER"; read ENTER -map gl $clear; git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit; echo "press ENTER"; read ENTER - cmd fzf_search ${{ cmd="rg --column --line-number --no-heading --color=always --smart-case" fzf --ansi --disabled --layout=reverse --header="Search in files" --delimiter=: \ @@ -80,8 +76,6 @@ cmd fzf_search ${{ --preview-window='+{2}-/2' \ --preview='bat --color=always --highlight-line={2} -- {1}' }} -map gr :fzf_search - cmd stwify ${{ pkg="$1" @@ -89,12 +83,21 @@ cmd stwify ${{ lf -remote "send $id unselect;" }} +map gb :git_branch +map gp $clear; git pull --rebase || true; echo "press ENTER"; read ENTER +map gs $clear; git status; echo "press ENTER"; read ENTER +map gl $clear; git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit; echo "press ENTER"; read ENTER + +map gr :fzf_search + +map E :extract; reload +map C push :&ouch<space>compress<space>$fx<space>''<left> + map S push :stwify<space>""<left> map Y $printf "%s" "$fx" | wl-copy map <c-n> push :mkdir<space>""<left> map D delete map Q quit-and-cd -map E :extract; reload map <c-f> :fzf_jump map o &mimeopen "$f" map O &mimeopen --ask "$f" diff --git a/lf/dot-config/lf/previewer b/lf/dot-config/lf/previewer new file mode 100755 index 0000000..1ce24f3 --- /dev/null +++ b/lf/dot-config/lf/previewer @@ -0,0 +1,13 @@ +#!/bin/sh + +# Arguments sent to this script: +# (1) current filename, (2) width, (3) height, (4) horizontal position, +# (5) vertical position, and (6) mode ("preview" or "preload") + +case "$(file --dereference --brief --mime-type -- "$1")" in + application/*zip) ouch list "$1";; + */pdf) pdftotext "$1" -;; + text/* | */xml | application/json | application/x-ndjson) bat -p --theme ansi --terminal-width "$(($4-2))" -f "$1";; +esac + +exit 1 diff --git a/niri/dot-config/niri/config.kdl b/niri/dot-config/niri/config.kdl index 7300b76..1c41ffd 100644 --- a/niri/dot-config/niri/config.kdl +++ b/niri/dot-config/niri/config.kdl @@ -1,4 +1,20 @@ -// vim: expandtab sw=4 ts=4 autoindent smartindent +config-notification { + disable-failed +} + +output "eDP-1" { + mode "2880x1800@120.000" + scale 1.75 + transform "normal" + position x=0 y=0 +} + + +gestures { + hot-corners { + off + } +} input { keyboard { @@ -22,22 +38,13 @@ input { } // warp-mouse-to-focus - - // Setting max-scroll-amount="0%" makes it work only on windows already fully on screen. // focus-follows-mouse max-scroll-amount="0%" } -output "eDP-1" { - mode "2880x1800@120.000" - scale 1.75 - transform "normal" - position x=0 y=0 -} - layout { - gaps 10 + background-color "transparent" center-focused-column "never" - // always-center-single-column + preset-column-widths { proportion 0.33333 proportion 0.5 @@ -46,20 +53,31 @@ layout { default-column-width { proportion 0.5; } - focus-ring { - width 2 - active-color "#627777" - inactive-color "#627777" - } - border { off } - shadow { + off + } + struts { + } +} + +layer-rule { + match namespace="^quickshell$" + place-within-backdrop true +} + +overview { + workspace-shadow { + off } } +environment { + XDG_CURRENT_DESKTOP "niri" +} + hotkey-overlay { skip-at-startup } @@ -70,21 +88,86 @@ screenshot-path "~/Pictures/scrots/screenshot-%Y-%m-%d_%H-%M-%S.png" animations { workspace-switch { - off + spring damping-ratio=0.80 stiffness=523 epsilon=0.0001 } window-open { - duration-ms 100 + duration-ms 150 curve "ease-out-expo" } window-close { - duration-ms 100 + duration-ms 150 + curve "ease-out-quad" + } + horizontal-view-movement { + spring damping-ratio=0.85 stiffness=423 epsilon=0.0001 + } + window-movement { + spring damping-ratio=0.75 stiffness=323 epsilon=0.0001 + } + window-resize { + spring damping-ratio=0.85 stiffness=423 epsilon=0.0001 + } + config-notification-open-close { + spring damping-ratio=0.65 stiffness=923 epsilon=0.001 + } + screenshot-ui-open { + duration-ms 200 curve "ease-out-quad" } + overview-open-close { + spring damping-ratio=0.85 stiffness=800 epsilon=0.0001 + } } -gestures { - hot-corners { - off +window-rule { + match app-id=r#"^org\.gnome\."# + draw-border-with-background false + geometry-corner-radius 12 + clip-to-geometry true +} + +window-rule { + match app-id=r#"^pavucontrol$"# + default-column-width { proportion 0.5; } + open-floating false +} + +window-rule { + match app-id=r#"^org\.gnome\.Nautilus$"# + match app-id=r#"^xdg-desktop-portal$"# + open-floating true +} + +window-rule { + match app-id="gay.vaskel.soteria" + match app-id="Pinentry-gtk" + open-floating true + open-focused true +} + +window-rule { + match app-id="Alacritty" + match app-id="com.mitchellh.ghostty" + draw-border-with-background false +} + +// Open dms windows as floating by default +window-rule { + match app-id=r#"org.quickshell$"# + open-floating true +} + +debug { + honor-xdg-activation-with-invalid-serial +} + +// Override to disable super+tab +recent-windows { + binds { + Alt+Tab { next-window scope="output"; } + Alt+Shift+Tab { previous-window scope="output"; } + Alt+grave { next-window filter="app-id"; } + Alt+Shift+grave { previous-window filter="app-id"; } } } @@ -93,12 +176,12 @@ binds { Mod+Return hotkey-overlay-title="Open a Terminal: alacritty" { spawn-sh "runapp -o alacritty"; } Mod+P hotkey-overlay-title="Run an Application: fuzzel" { spawn "fuzzel"; } - Mod+X hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock"; } + // Mod+X hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock"; } Mod+B hotkey-overlay-title="Open browser" { spawn-sh "runapp -o qutebrowser"; } Mod+M hotkey-overlay-title="Open mail" { spawn-sh "runapp -o -- alacritty -e aerc"; } Mod+S hotkey-overlay-title="Open schedule" { spawn-sh "runapp -o -- alacritty -e ikhal"; } - Mod+Shift+B { spawn "toggle-waybar"; } + // Mod+Shift+B { spawn "toggle-waybar"; } XF86AudioRaiseVolume allow-when-locked=true { spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.05+ -l 1.0"; } XF86AudioLowerVolume allow-when-locked=true { spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.05-"; } @@ -113,14 +196,14 @@ binds { Mod+Shift+C repeat=false { close-window; } Mod+H { focus-column-left; } - Mod+J { focus-window-down; } - Mod+K { focus-window-up; } + Mod+J { focus-window-or-workspace-down; } + Mod+K { focus-window-or-workspace-up; } Mod+L { focus-column-right; } - Mod+Shift+H { move-column-left; } - Mod+Shift+J { move-window-down; } - Mod+Shift+K { move-window-up; } - Mod+Shift+L { move-column-right; } + Mod+Shift+H { move-column-left-or-to-monitor-left; } + Mod+Shift+J { move-window-down-or-to-workspace-down; } + Mod+Shift+K { move-window-up-or-to-workspace-up; } + Mod+Shift+L { move-column-right-or-to-monitor-right; } Mod+Home { focus-column-first; } Mod+End { focus-column-last; } @@ -156,9 +239,6 @@ binds { Mod+Shift+8 { move-column-to-workspace 8; } Mod+Shift+9 { move-column-to-workspace 9; } - // Switches focus between the current and the previous workspace. - // Mod+Tab { focus-workspace-previous; } - Mod+BracketLeft { consume-or-expel-window-left; } Mod+BracketRight { consume-or-expel-window-right; } @@ -198,9 +278,10 @@ binds { Mod+Shift+P { power-off-monitors; } } -window-rule { - match app-id="gay.vaskel.soteria" - match app-id="Pinentry-gtk" - open-floating true - open-focused true -} +// Include dms files +include "dms/colors.kdl" +include "dms/layout.kdl" +include "dms/alttab.kdl" +include "dms/binds.kdl" +include "dms/outputs.kdl" +include "dms/cursor.kdl" diff --git a/niri/dot-config/niri/dms/alttab.kdl b/niri/dot-config/niri/dms/alttab.kdl new file mode 100644 index 0000000..091ea07 --- /dev/null +++ b/niri/dot-config/niri/dms/alttab.kdl @@ -0,0 +1,10 @@ +// ! DO NOT EDIT ! + // ! AUTO-GENERATED BY DMS ! + // ! CHANGES WILL BE OVERWRITTEN ! + // ! PLACE YOUR CUSTOM CONFIGURATION ELSEWHERE ! + + recent-windows { + highlight { + corner-radius 12 + } + } diff --git a/niri/dot-config/niri/dms/binds.kdl b/niri/dot-config/niri/dms/binds.kdl new file mode 100644 index 0000000..e34bd8a --- /dev/null +++ b/niri/dot-config/niri/dms/binds.kdl @@ -0,0 +1,3 @@ +binds { + Mod+X { spawn "dms" "ipc" "lock" "lock"; } +} diff --git a/niri/dot-config/niri/dms/colors.kdl b/niri/dot-config/niri/dms/colors.kdl new file mode 100644 index 0000000..145a179 --- /dev/null +++ b/niri/dot-config/niri/dms/colors.kdl @@ -0,0 +1,39 @@ +// ! Auto-generated file. Do not edit directly. +// Remove `include "dms/colors.kdl"` from your config to override. + +layout { + background-color "transparent" + + focus-ring { + active-color "#d0bcff" + inactive-color "#948f99" + urgent-color "#f2b8b5" + } + + border { + active-color "#d0bcff" + inactive-color "#948f99" + urgent-color "#f2b8b5" + } + + shadow { + color "#00000070" + } + + tab-indicator { + active-color "#d0bcff" + inactive-color "#948f99" + urgent-color "#f2b8b5" + } + + insert-hint { + color "#d0bcff80" + } +} + +recent-windows { + highlight { + active-color "#4f378b" + urgent-color "#f2b8b5" + } +} diff --git a/niri/dot-config/niri/dms/cursor.kdl b/niri/dot-config/niri/dms/cursor.kdl new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/niri/dot-config/niri/dms/cursor.kdl diff --git a/niri/dot-config/niri/dms/layout.kdl b/niri/dot-config/niri/dms/layout.kdl new file mode 100644 index 0000000..431afbf --- /dev/null +++ b/niri/dot-config/niri/dms/layout.kdl @@ -0,0 +1,22 @@ +// ! DO NOT EDIT ! + // ! AUTO-GENERATED BY DMS ! + // ! CHANGES WILL BE OVERWRITTEN ! + // ! PLACE YOUR CUSTOM CONFIGURATION ELSEWHERE ! + + layout { + gaps 4 + + border { + width 2 + } + + focus-ring { + width 2 + } + } + window-rule { + geometry-corner-radius 12 + clip-to-geometry true + tiled-state true + draw-border-with-background false + } diff --git a/niri/dot-config/niri/dms/outputs.kdl b/niri/dot-config/niri/dms/outputs.kdl new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/niri/dot-config/niri/dms/outputs.kdl diff --git a/niri/dot-config/niri/dms/wpblur.kdl b/niri/dot-config/niri/dms/wpblur.kdl new file mode 100644 index 0000000..3d58802 --- /dev/null +++ b/niri/dot-config/niri/dms/wpblur.kdl @@ -0,0 +1,9 @@ +// ! DO NOT EDIT ! +// ! AUTO-GENERATED BY DMS ! +// ! CHANGES WILL BE OVERWRITTEN ! +// ! PLACE YOUR CUSTOM CONFIGURATION ELSEWHERE ! + +layer-rule { + match namespace="dms:blurwallpaper" + place-within-backdrop true +} diff --git a/paru/dot-config/paru/paru.conf b/paru/dot-config/paru/paru.conf index e0e68a8..29bd26f 100644 --- a/paru/dot-config/paru/paru.conf +++ b/paru/dot-config/paru/paru.conf @@ -8,4 +8,4 @@ KeepSrc [bin] Makepkg = makepkg-smart -PreBuildCommand = ~/.config/paru/patcher +PreBuildCommand = ~/.config/paru/post diff --git a/paru/dot-config/paru/patcher b/paru/dot-config/paru/patcher deleted file mode 100755 index a75b80f..0000000 --- a/paru/dot-config/paru/patcher +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -case "$PKGBASE" in -*) ;; -esac diff --git a/paru/dot-config/paru/post b/paru/dot-config/paru/post new file mode 100755 index 0000000..346cd0c --- /dev/null +++ b/paru/dot-config/paru/post @@ -0,0 +1,7 @@ +#!/bin/bash + +# case "$PKGBASE" in +# neovim-bundled-git) +# exit 0 +# ;; +# esac diff --git a/paru/dot-local/bin/makepkg-smart b/paru/dot-local/bin/makepkg-smart index e231d25..ad4f314 100755 --- a/paru/dot-local/bin/makepkg-smart +++ b/paru/dot-local/bin/makepkg-smart @@ -1,13 +1,12 @@ #!/bin/bash -echo "==> makepkg-smart: got input "$@"" >&2 - DEFAULT_BUILDDIR="/tmp/makepkg" PERSIST_ROOT="$HOME/.cache/makepkg/build" KEEP_PKGS=" neovim-bundled-git +quickshell-git " pkgname_from_pkgbuild() @@ -31,6 +30,10 @@ for p in $KEEP_PKGS; do [ "$PKGNAME" = "$p" ] && KEEP=true && break done +BOLDGREEN='\e[1;32m' +NOCOLOR='\e[0m' +BOLD='\e[0;1m' + if $KEEP; then export BUILDDIR="$PERSIST_ROOT/$PKGNAME" mkdir -p "$BUILDDIR" @@ -43,7 +46,7 @@ if $KEEP; then export CCACHE_BASEDIR="$PWD" export CCACHE_SLOPPINESS="time_macros" - echo "==> makepkg-smart: using persistent BUILDDIR=$BUILDDIR with ccache" >&2 + echo -e "${BOLDGREEN}==>${NOCOLOR} ${BOLD}makepkg-smart:${NOCOLOR} using persistent BUILDDIR=$BUILDDIR with ccache" >&2 else export BUILDDIR="$DEFAULT_BUILDDIR" fi diff --git a/psd/dot-config/psd/psd.conf b/psd/dot-config/psd/psd.conf new file mode 100644 index 0000000..efdb163 --- /dev/null +++ b/psd/dot-config/psd/psd.conf @@ -0,0 +1,75 @@ +# +# $XDG_CONFIG_HOME/psd/psd.conf +# +# For documentation, refer man 1 psd or to the wiki page +# https://wiki.archlinux.org/index.php/Profile-sync-daemon + +## NOTE the following: +## To protect data from corruption, in the event that you do make an edit while +## psd is active, any changes made will be applied the next time you start psd. + +# Uncomment and set to "yes" to use overlayfs instead of a full copy to reduce +# the memory costs and to improve sync/unsync operations. Note that your kernel +# MUST have this module available in order to use this mode. +# +USE_OVERLAYFS="yes" + +# Uncomment and set to "yes" to resync on suspend to reduce potential data loss. +# Note that your system MUST have gdbus from glib2 installed to use this mode. +# +#USE_SUSPSYNC="no" + +# List any browsers in the array below to have managed by psd. Useful if you do +# not wish to have all possible browser profiles managed which is the default if +# this array is left commented. +# Note: If you want to use firefox-flatpak and firefox-flatpak-cache, you have +# to add the psd-directory as an override: +# flatpak override --user org.mozilla.firefox --filesystem=/run/user/$UID/psd +# +# Possible values: +# chromium +# chromium-dev +# conkeror.mozdev.org +# epiphany +# falkon +# firefox +# firefox-flatpak +# firefox-flatpak-cache +# firefox-trunk +# google-chrome +# google-chrome-beta +# google-chrome-unstable +# heftig-aurora +# icecat +# inox +# luakit +# midori +# opera +# opera-beta +# opera-developer +# opera-legacy +# otter-browser +# qupzilla +# qutebrowser +# palemoon +# rekonq +# seamonkey +# surf +# vivaldi +# vivaldi-snapshot +# +BROWSERS=(chromium qutebrowser) + +# Uncomment and set to "no" to completely disable the crash recovery feature. +# +# The default is to create crash recovery backups if the system is ungracefully +# powered-down due to a kernel panic, hitting the reset switch, battery going +# dead, etc. Some users keep very diligent backups and don't care to have this +# feature enabled. +#USE_BACKUPS="yes" + +# Uncomment and set to an integer that is the maximum number of crash recovery +# snapshots to keep (the oldest ones are deleted first). +# +# The default is to save the most recent 5 crash recovery snapshots. +#BACKUP_LIMIT=5 diff --git a/scripts/dot-local/bin/alanvim b/scripts/dot-local/bin/alanvim deleted file mode 100755 index 5262939..0000000 --- a/scripts/dot-local/bin/alanvim +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -exec runapp -- alacritty -e nvim "$@" diff --git a/scripts/dot-local/bin/launch-chromium b/scripts/dot-local/bin/launch-chromium new file mode 100755 index 0000000..1128ac5 --- /dev/null +++ b/scripts/dot-local/bin/launch-chromium @@ -0,0 +1,3 @@ +#!/bin/sh + +exec /usr/bin/chromium --disk-cache-dir="$XDG_RUNTIME_DIR/chromium-cache" "$@" diff --git a/scripts/dot-local/bin/safe_extract b/scripts/dot-local/bin/safe_extract new file mode 100755 index 0000000..0574816 --- /dev/null +++ b/scripts/dot-local/bin/safe_extract @@ -0,0 +1,21 @@ +#!/usr/bin/env bash + +set -euo pipefail +( + exec bwrap \ + --ro-bind /usr/bin /usr/bin/ \ + --ro-bind /usr/share /usr/share \ + --ro-bind /usr/lib /usr/lib \ + --ro-bind /usr/lib64 /usr/lib64 \ + --symlink /usr/lib64 /lib64 \ + --symlink /usr/lib /lib \ + --symlink /usr/bin /bin \ + --symlink /usr/bin /sbin \ + --proc /proc \ + --dev /dev \ + --bind "$PWD" "$PWD" \ + --unshare-all \ + --new-session \ + --seccomp 10 \ + /usr/bin/ouch decompress "$@" +) diff --git a/system-notes.md b/system-notes.md index 8d05fd6..c2d30d2 100644 --- a/system-notes.md +++ b/system-notes.md @@ -290,3 +290,9 @@ sudo rsync -avxHAX /home/yourusername/ /path/to/your/backup/location/ - gpanders - glepnir - seandewar + +# for betterbibtex +Here is the citation key: +``` +authAuthEa('author',false,'_').lower + '_' + year + '_' + Title.lower.clean.nopunctordash.skipwords.select(1,4).condense('_') +``` diff --git a/wayland-basics/dot-config/systemd/user/swaybg.service b/wayland-basics/dot-config/systemd/user/swaybg.service index 81b5169..2dffb18 100644 --- a/wayland-basics/dot-config/systemd/user/swaybg.service +++ b/wayland-basics/dot-config/systemd/user/swaybg.service @@ -5,7 +5,7 @@ After=graphical-session.target [Service] Type=exec -ExecStart=/usr/bin/swaybg -m fill -i /home/moreka/Pictures/wallpapers/gruv.jpg +ExecStart=/usr/bin/swaybg -m fill -i /home/moreka/Pictures/wallpapers/frederic-church-1.jpg Restart=on-failure [Install] diff --git a/wayland-basics/dot-config/systemd/user/wlsunset.service b/wayland-basics/dot-config/systemd/user/wlsunset.service new file mode 100644 index 0000000..7b2683b --- /dev/null +++ b/wayland-basics/dot-config/systemd/user/wlsunset.service @@ -0,0 +1,16 @@ +[Unit] +PartOf=graphical-session.target +Description=WLSunset for better screen colors +Documentation=man:wlsunset(1) +After=graphical-session.target +After=kanshi.service +Requisite=graphical-session.target + +[Service] +Type=exec +ExecStart=/usr/bin/wlsunset -l 42.3 -L '-71.0' -t 4000 -T 6500 +Restart=on-failure +Slice=background-graphical.slice + +[Install] +WantedBy=graphical-session.target diff --git a/wayland-basics/dot-local/share/applications/chromium.desktop b/wayland-basics/dot-local/share/applications/chromium.desktop new file mode 100644 index 0000000..cb36f62 --- /dev/null +++ b/wayland-basics/dot-local/share/applications/chromium.desktop @@ -0,0 +1,21 @@ +[Desktop Entry] +Version=1.0 +Name=Chromium +GenericName=Web Browser +Comment=Access the Internet +Exec=launch-chromium %U +StartupNotify=true +Terminal=false +Icon=chromium +Type=Application +Categories=Network;WebBrowser; +MimeType=application/xhtml+xml;application/xhtml_xml;application/xml;text/html;text/xml;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/chromium; +Actions=new-window;new-private-window; + +[Desktop Action new-window] +Name=New Window +Exec=launch-chromium + +[Desktop Action new-private-window] +Name=New Incognito Window +Exec=launch-chromium --incognito |
