fresh
No files matched your search
@@ -0,0 +1,82 @@
|
||||
# HyprLand
|
||||
<b> HyprLand Setup </b>
|
||||
|
||||
<b> ArchInstall </b>
|
||||
* Using ArchInstall Script Install Archlinux on bare metal.
|
||||
* After Booting into HyprLand, Open terminal and install Aur Helper called Paru
|
||||
|
||||
<b> Install Paru (Aur Helper)</b>
|
||||
|
||||
```
|
||||
git clone https://aur.archlinux.org/paru-bin.git
|
||||
```
|
||||
* cd paru-bin
|
||||
|
||||
* makepkg -Si
|
||||
|
||||
|
||||
<b>Install Dependencies / Packages </b>
|
||||
|
||||
```
|
||||
paru -S fnm hyprland wlsunset keyb rofi-file-browser-extended-git imv brightnessctl neofetch yazi waybar playerctl wf-recorder kvantum swaylock-effects-git qt5ct qt6ct nwg-look mpv-mpris pacman-contrib swayidle pavucontrol pamixer file-roller htop adobe-source-code-pro-fonts ttf-fira-code ttf-jetbrains-mono-nerd ttf-jetbrains-mono noto-fonts-emoji ttf-droid otf-font-awesome ttf-cascadia-code-nerd linux-headers alsa-utils less wlroots vlc thunar thunar-volman thunar-archive-plugin udiskie mtpfs jmtpfs gvfs-gphoto2 gvfs-mtp mousepad rofi-lbonn-wayland-git yad network-manager-applet lsd cava geany geany-plugin swaync tumbler unzip zip unrar polkit-gnome pokemon-colorscripts-git tty-clock-git xdg-user-dirs grim slurp gnome-system-monitor jq blueberyy-wayland polkit-kde-agent cbonsai zathura-pdf-mupdf zathura yt-dlp ffmpegthumbnailer xdotool wmctrl zsh lazygit xdg-desktop-portal-gtk gtk-engine-murrine
|
||||
```
|
||||
|
||||
> **Warning**
|
||||
>
|
||||
> DO NOT blindly run this. Backup your dots beforehand.
|
||||
|
||||
<b> Install GTK Themes,Icons,Cursor
|
||||
|
||||
|
||||
* Dotfiles
|
||||
|
||||
```
|
||||
cd Downloads
|
||||
git clone https://github.com/S4NKALP/hyprland.git
|
||||
cd hyprland
|
||||
cp -r wallpapers ~/Pictures
|
||||
cp -r config/* ~/.config
|
||||
cd misc
|
||||
cp -r fonts ~/.local/
|
||||
cp .zshenv ~/
|
||||
chmod +x ~/.config/hypr/scripts/*
|
||||
chmod +x ~/.config/hypr/UserScripts/*
|
||||
```
|
||||
|
||||
* GTK Themes
|
||||
|
||||
```
|
||||
git clone https://github.com/Fausto-Korpsvart/Tokyo-Night-GTK-Theme.git
|
||||
cd Tokyo-Night-GTK-Theme/
|
||||
sudo cp -r themes/Tokyonight-Dark-BL-LB /usr/share/themes/
|
||||
sudo cp -r icons/Tokyonight-Dark /usr/share/icons/
|
||||
|
||||
sudo tar -xf "assets/Bibata-Modern-Ice.tar.xz" -C /usr/share/icons/
|
||||
```
|
||||
|
||||
```
|
||||
After this Press SUPER + SHIFT + W and choose wallpaper And Restart Your System and boom!
|
||||
```
|
||||
|
||||
# Credits:
|
||||
- These dotfiles are highly inspired by ~~shamefully copied from~[JaKooLit](https://github.com/JaKooLit/Hyprland-Dots)** dots.
|
||||
|
||||
<details>
|
||||
<summary><i>
|
||||
📸 Screenshots
|
||||
</i></summary>
|
||||
<img src="assets/Rice.png">
|
||||
<img src="assets/RofiLauncher.png">
|
||||
<img src="assets/RofiEmoji.png">
|
||||
<img src="assets/RofiNotes.png">
|
||||
<img src="assets/RofiTmux.png">
|
||||
<img src="assets/RofiWallpaper.png">
|
||||
<img src="assets/RofiMusic.png">
|
||||
<img src="assets/RofiMusicControl.png">
|
||||
<img src="assets/ScreenRecorder.png">
|
||||
<img src="assets/RofiPowermenu.png">
|
||||
<img src="assets/Keybinds.png">
|
||||
<img scr="assets/RofiTodoList.png">
|
||||
<img scr="assets/QuickLink.png">
|
||||
</details>
|
||||
|
||||
|
After Width: | Height: | Size: 354 KiB |
|
After Width: | Height: | Size: 305 KiB |
|
After Width: | Height: | Size: 1.3 MiB |
|
After Width: | Height: | Size: 345 KiB |
|
After Width: | Height: | Size: 211 KiB |
|
After Width: | Height: | Size: 227 KiB |
|
After Width: | Height: | Size: 252 KiB |
|
After Width: | Height: | Size: 248 KiB |
|
After Width: | Height: | Size: 334 KiB |
|
After Width: | Height: | Size: 203 KiB |
|
After Width: | Height: | Size: 197 KiB |
|
After Width: | Height: | Size: 500 KiB |
|
After Width: | Height: | Size: 241 KiB |
@@ -0,0 +1,3 @@
|
||||
* {
|
||||
font-family: "JetBrainsMono NF"!important;
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"version": "1.9.7"
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"BDFDB": true,
|
||||
"ZeresPluginLibrary": true,
|
||||
"ActivityIcons": true,
|
||||
"BetterAnimations": true,
|
||||
"ChannelTabs": true,
|
||||
"CollapsibleUI": true,
|
||||
"GameActivityToggle": true,
|
||||
"PluginRepo": true,
|
||||
"Double Click To Edit": true,
|
||||
"ImageUtilities": true,
|
||||
"DoNotTrack": false,
|
||||
"ShowAllActivities": false,
|
||||
"HideDisabledEmojis": true,
|
||||
"Uncompressed Images": true
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"general": {
|
||||
"voiceDisconnect": true,
|
||||
"showToasts": true,
|
||||
"mediaKeys": false
|
||||
},
|
||||
"addons": {
|
||||
"addonErrors": true,
|
||||
"editAction": "system"
|
||||
},
|
||||
"customcss": {
|
||||
"customcss": true,
|
||||
"liveUpdate": true,
|
||||
"openAction": "detached"
|
||||
},
|
||||
"editor": {
|
||||
"lineNumbers": true,
|
||||
"minimap": true,
|
||||
"hover": true,
|
||||
"quickSuggestions": true,
|
||||
"fontSize": 14,
|
||||
"renderWhitespace": "selection"
|
||||
},
|
||||
"window": {
|
||||
"transparency": true,
|
||||
"removeMinimumSize": true,
|
||||
"frame": false
|
||||
},
|
||||
"developer": {
|
||||
"debugLogs": false,
|
||||
"devTools": false,
|
||||
"debuggerHotkey": false,
|
||||
"reactDevTools": false,
|
||||
"inspectElement": false,
|
||||
"devToolsWarning": false
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"Catppuccin Macchiato": true,
|
||||
"Comfy": false
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"width": 944,
|
||||
"height": 1019
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"settings": {
|
||||
"normalActivityIcons": true,
|
||||
"richPresenceIcons": true,
|
||||
"platformIcons": true,
|
||||
"listeningIcons": true,
|
||||
"watchingIcons": true
|
||||
},
|
||||
"currentVersionInfo": {
|
||||
"version": "1.4.2",
|
||||
"hasShownChangelog": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"currentVersionInfo": {
|
||||
"version": "1.1.17",
|
||||
"hasShownChangelog": true
|
||||
},
|
||||
"settings": {
|
||||
"guild": {
|
||||
"enabled": false,
|
||||
"type": "flipForwards",
|
||||
"easing": "easeInOutCubic",
|
||||
"duration": 700
|
||||
},
|
||||
"channel": {
|
||||
"enabled": false,
|
||||
"type": "slipUp",
|
||||
"easing": "easeInOutCubic",
|
||||
"duration": 500
|
||||
},
|
||||
"settings": {
|
||||
"enabled": true,
|
||||
"type": "slipUp",
|
||||
"easing": "easeInOutCubic",
|
||||
"duration": 500
|
||||
},
|
||||
"messages": {
|
||||
"enabled": true,
|
||||
"type": "slip",
|
||||
"easing": "easeOutQuart",
|
||||
"position": "bottom",
|
||||
"duration": 200
|
||||
},
|
||||
"popouts": {
|
||||
"enabled": true,
|
||||
"type": "rotateBackwardsLeft",
|
||||
"easing": "easeInOutBack",
|
||||
"duration": 300
|
||||
},
|
||||
"expressionPicker": {
|
||||
"enabled": true,
|
||||
"type": "scaleChange",
|
||||
"easing": "easeInOutBack",
|
||||
"duration": 500
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
{
|
||||
"currentVersionInfo": {
|
||||
"version": "8.0.0",
|
||||
"hasShownChangelog": true
|
||||
},
|
||||
"cuiSettingsVersion": "11",
|
||||
"disableTransitions": "false",
|
||||
"transitionSpeed": "250",
|
||||
"disableToolbarCollapse": "false",
|
||||
"disableSettingsCollapse": "false",
|
||||
"enableFullToolbarCollapse": "false",
|
||||
"dynamicUncollapse": "true",
|
||||
"dynamicUncollapseDistance": "30,30,30,30,30,30,30,30",
|
||||
"dynamicUncollapseCloseDistance": "30,30,30,30,30,30,30,30",
|
||||
"dynamicUncollapseDelay": "15",
|
||||
"autoCollapse": "false",
|
||||
"autoCollapseThreshold": "500,600,400,200,950,400,550,1000",
|
||||
"conditionalAutoCollapse": "false",
|
||||
"autoCollapseConditionals": ",,,,,,,",
|
||||
"resizableChannelList": "true",
|
||||
"channelListWidth": "240",
|
||||
"buttonsOrder": "1,2,4,6,7,3,5,8",
|
||||
"dynamicUncollapseEnabled": "true,true,true,true,true,true,true,true",
|
||||
"disabledButtonsStayCollapsed": "false",
|
||||
"keyBindsEnabled": "true",
|
||||
"keyStringList": "Alt+S,Alt+C,Alt+T,Alt+W,Alt+M,Alt+U,Alt+P,Alt+I",
|
||||
"settingsButtonsMaxWidth": "100",
|
||||
"toolbarIconMaxWidth": "300",
|
||||
"toolbarMaxWidth": "800",
|
||||
"userAreaMaxHeight": "300",
|
||||
"msgBarMaxHeight": "400",
|
||||
"windowBarHeight": "18",
|
||||
"collapsedDistance": "0",
|
||||
"serverListButtonActive": "true",
|
||||
"channelListButtonActive": "true",
|
||||
"msgBarButtonActive": "true",
|
||||
"membersListButtonActive": "true",
|
||||
"userAreaButtonActive": "false",
|
||||
"callContainerButtonActive": "true",
|
||||
"profilePanelButtonActive": "true",
|
||||
"disableMsgBarBtnCollapse": "false",
|
||||
"messageBarButtonsMaxWidth": "200",
|
||||
"messageBarButtonsMinWidth": "40",
|
||||
"buttonCollapseFudgeFactor": "10",
|
||||
"resizableMembersList": "true",
|
||||
"floatingDynamicUncollapse": "true",
|
||||
"resizableUserProfile": "true",
|
||||
"membersListWidth": "0",
|
||||
"profilePanelWidth": "0",
|
||||
"persistentUnreadBadge": "true"
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"all": {
|
||||
"cachedState": {
|
||||
"date": "2023-12-20T23:14:25.548Z",
|
||||
"value": true
|
||||
},
|
||||
"general": {
|
||||
"showButton": true,
|
||||
"showItem": false,
|
||||
"playEnable": true,
|
||||
"playDisable": true
|
||||
},
|
||||
"keybind": [
|
||||
18,
|
||||
71
|
||||
],
|
||||
"selections": {
|
||||
"enableSound": "stream_started",
|
||||
"disableSound": "stream_ended"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"all": {
|
||||
"detailsSettings": {
|
||||
"footnote": true,
|
||||
"tooltip": false,
|
||||
"tooltipDelay": 0
|
||||
},
|
||||
"engines": {
|
||||
"_all": true,
|
||||
"Baidu": true,
|
||||
"Bing": true,
|
||||
"Google": true,
|
||||
"GoogleLens": true,
|
||||
"ImgOps": true,
|
||||
"IQDB": true,
|
||||
"Reddit": true,
|
||||
"SauceNAO": true,
|
||||
"Sogou": true,
|
||||
"TinEye": true,
|
||||
"WhatAnime": true,
|
||||
"Yandex": true
|
||||
},
|
||||
"galleryFilter": {
|
||||
"3gp": true,
|
||||
"avi": true,
|
||||
"flv": true,
|
||||
"jpeg": true,
|
||||
"jpg": true,
|
||||
"gif": true,
|
||||
"mov": true,
|
||||
"mp4": true,
|
||||
"mpeg-1": true,
|
||||
"mpeg-2": true,
|
||||
"ogg": true,
|
||||
"png": true,
|
||||
"svg": true,
|
||||
"webm": true,
|
||||
"webp": true,
|
||||
"wmv": true
|
||||
},
|
||||
"general": {
|
||||
"nsfwMode": false
|
||||
},
|
||||
"places": {
|
||||
"userAvatars": true,
|
||||
"groupIcons": true,
|
||||
"guildIcons": true,
|
||||
"streamPreviews": true,
|
||||
"emojis": true
|
||||
},
|
||||
"rescaleSettings": {
|
||||
"messages": "NONE",
|
||||
"imageViewer": "NONE"
|
||||
},
|
||||
"viewerSettings": {
|
||||
"zoomMode": true,
|
||||
"galleryMode": true,
|
||||
"details": true,
|
||||
"copyImage": true,
|
||||
"saveImage": true,
|
||||
"jumpTo": true
|
||||
},
|
||||
"zoomSettings": {
|
||||
"clickMode": false,
|
||||
"lensSize": 306,
|
||||
"pixelMode": false,
|
||||
"zoomLevel": 2,
|
||||
"zoomSpeed": 0.1
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
* @name Catppuccin Macchiato
|
||||
* @author winston#0001
|
||||
* @authorId 505490445468696576
|
||||
* @version 0.2.0
|
||||
* @description 🎮 Soothing pastel theme for Discord
|
||||
* @website https://github.com/catppuccin/discord
|
||||
* @invite r6Mdz5dpFc
|
||||
* **/
|
||||
|
||||
@import url("https://catppuccin.github.io/discord/dist/catppuccin-macchiato.theme.css");
|
||||
@@ -0,0 +1,274 @@
|
||||
[
|
||||
{
|
||||
"key": "ctrl+shift+r",
|
||||
"command": "workbench.action.reloadWindow",
|
||||
"when": "editorTextFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+i",
|
||||
"command": "workbench.action.terminal.sendSequence",
|
||||
"when": "resourceExtname == .py",
|
||||
"args": {
|
||||
"text": "python \"${file}\" < ./i\n"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "f5",
|
||||
"command": "python.execInTerminal",
|
||||
"when": "resourceExtname == .py",
|
||||
},
|
||||
{
|
||||
"key": "f5",
|
||||
"command": "workbench.action.terminal.sendSequence",
|
||||
"when": "resourceExtname == .dart",
|
||||
"args": {
|
||||
"text": "dart \"${file}\"\n"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "f5",
|
||||
"command": "workbench.action.terminal.sendSequence",
|
||||
"when": "resourceExtname == .js",
|
||||
"args": {
|
||||
"text": "node \"${file}\"\n"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "f5",
|
||||
"command": "workbench.action.terminal.sendSequence",
|
||||
"when": "resourceExtname == .java",
|
||||
"args": {
|
||||
"text": "java \"${file}\"\n"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "f5",
|
||||
"command": "workbench.action.terminal.sendSequence",
|
||||
"when": "resourceExtname == .sh",
|
||||
"args": {
|
||||
"text": "\"${file}\"\n"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "f5",
|
||||
"command": "workbench.action.terminal.sendSequence",
|
||||
"when": "resourceExtname == .cpp",
|
||||
"args": {
|
||||
"text": "g++ -g \"${file}\" -o \"${fileDirname}/${fileBasenameNoExtension}\" && \"${fileDirname}/${fileBasenameNoExtension}\"\n"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "f5",
|
||||
"command": "workbench.action.terminal.sendSequence",
|
||||
"when": "resourceExtname == .c",
|
||||
"args": {
|
||||
"text": "gcc -g \"${file}\" -o \"${fileDirname}/${fileBasenameNoExtension}\" && \"${fileDirname}/${fileBasenameNoExtension}\"\n"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "f5",
|
||||
"command": "workbench.action.terminal.sendSequence",
|
||||
"when": "resourceExtname == .asm",
|
||||
"args": {
|
||||
"text": "nasm -f elf64 \"${file}\" && ld -o \"${fileDirname}/${fileBasenameNoExtension}\" \"${fileDirname}/${fileBasenameNoExtension}.o\" && \"${fileDirname}/${fileBasenameNoExtension}\"\n"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "ctrl+i",
|
||||
"command": "workbench.action.terminal.sendSequence",
|
||||
"when": "resourceExtname == .cpp",
|
||||
"args": {
|
||||
"text": "g++ -g \"${file}\" -o \"${fileDirname}/${fileBasenameNoExtension}\" && \"${fileDirname}/${fileBasenameNoExtension}\" < ./i\n"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "ctrl+g",
|
||||
"command": "workbench.action.terminal.sendSequence",
|
||||
"when": "resourceExtname == .cpp",
|
||||
"args": {
|
||||
"text": "g++ -g \"${file}\" -o \"${fileDirname}/${fileBasenameNoExtension}\" -lgraph -lGL -lGLU -lglut && \"${fileDirname}/${fileBasenameNoExtension}\" 2>/dev/null\n"
|
||||
}
|
||||
},
|
||||
// {
|
||||
// "key": "f5",
|
||||
// "command": "workbench.action.tasks.runTask",
|
||||
// "when": "resourceExtname == .cpp",
|
||||
// "args": "Build and Run C++"
|
||||
// },
|
||||
{
|
||||
"key": "shift+f5",
|
||||
"command": "workbench.action.terminal.sendSequence",
|
||||
"when": "resourceExtname == .cpp",
|
||||
"args": {
|
||||
"text": "g++ -g \"${fileDirname}/*.cpp\" -o \"${fileDirname}/${fileBasenameNoExtension}\" && \"${fileDirname}/${fileBasenameNoExtension}\"\n"
|
||||
}
|
||||
},
|
||||
// {
|
||||
// "key": "shift+f5",
|
||||
// "command": "workbench.action.tasks.runTask",
|
||||
// "when": "resourceExtname == .cpp",
|
||||
// "args": "Build and Run C++ (Multiple cpp files)"
|
||||
// },
|
||||
{
|
||||
"key": "f4",
|
||||
"command": "workbench.action.debug.continue",
|
||||
"when": "inDebugMode"
|
||||
},
|
||||
{
|
||||
"key": "f4",
|
||||
"command": "workbench.action.debug.start",
|
||||
"when": "!inDebugMode"
|
||||
},
|
||||
{
|
||||
"key": "f4",
|
||||
"command": "workbench.action.debug.start",
|
||||
"when": "debuggersAvailable && !inDebugMode"
|
||||
},
|
||||
{
|
||||
"key": "f5",
|
||||
"command": "-workbench.action.debug.continue",
|
||||
"when": "inDebugMode"
|
||||
},
|
||||
{
|
||||
"key": "f5",
|
||||
"command": "-workbench.action.debug.start",
|
||||
"when": "!inDebugMode"
|
||||
},
|
||||
{
|
||||
"key": "f5",
|
||||
"command": "-workbench.action.debug.start",
|
||||
"when": "debuggersAvailable && !inDebugMode"
|
||||
},
|
||||
{
|
||||
"key": "shift+f4",
|
||||
"command": "workbench.action.debug.stop",
|
||||
"when": "inDebugMode"
|
||||
},
|
||||
{
|
||||
"key": "shift+f5",
|
||||
"command": "-workbench.action.debug.stop",
|
||||
"when": "inDebugMode"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+v",
|
||||
"command": "workbench.action.terminal.paste",
|
||||
"when": "terminalFocus && terminalProcessSupported"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+v",
|
||||
"command": "-workbench.action.terminal.paste",
|
||||
"when": "terminalFocus && terminalProcessSupported"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+alt+up",
|
||||
"command": "editor.action.copyLinesUpAction",
|
||||
"when": "editorTextFocus && !editorReadonly"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+alt+down",
|
||||
"command": "editor.action.copyLinesDownAction",
|
||||
"when": "editorTextFocus && !editorReadonly"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+alt+up",
|
||||
"command": "-editor.action.copyLinesUpAction",
|
||||
"when": "editorTextFocus && !editorReadonly"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+alt+down",
|
||||
"command": "-editor.action.copyLinesDownAction",
|
||||
"when": "editorTextFocus && !editorReadonly"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+,",
|
||||
"command": "-workbench.action.openSettings"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+,",
|
||||
"command": "workbench.action.openSettingsJson"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+i",
|
||||
"command": "-editor.action.triggerSuggest",
|
||||
"when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+c",
|
||||
"command": "workbench.action.terminal.copySelection",
|
||||
"when": "terminalFocus && terminalProcessSupported && terminalTextSelected && terminalTextSelected"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+c",
|
||||
"command": "-workbench.action.terminal.copySelection",
|
||||
"when": "terminalFocus && terminalProcessSupported && terminalTextSelected && terminalTextSelected"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+k",
|
||||
"command": "workbench.action.terminal.kill",
|
||||
"when": "terminalIsOpen && terminalFocus"
|
||||
},
|
||||
{
|
||||
"key": "delete",
|
||||
"command": "-workbench.action.terminal.killInstance",
|
||||
"when": "terminalIsOpen && terminalTabsFocus || terminalProcessSupported && terminalTabsFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+i",
|
||||
"command": "-editor.action.formatDocument.none",
|
||||
"when": "editorTextFocus && !editorHasDocumentFormattingProvider && !editorReadonly"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+i",
|
||||
"command": "-notebook.formatCell",
|
||||
"when": "editorHasDocumentFormattingProvider && editorTextFocus && inCompositeEditor && notebookEditable && !editorReadonly && activeEditor == 'workbench.editor.notebook'"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+i",
|
||||
"command": "editor.action.formatDocument",
|
||||
"when": "editorTextFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+i",
|
||||
"command": "-editor.action.formatDocument",
|
||||
"when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly && !inCompositeEditor"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+i",
|
||||
"command": "workbench.action.toggleDevTools",
|
||||
"when": "!editorTextFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+i",
|
||||
"command": "-workbench.action.toggleDevTools",
|
||||
"when": "isDevelopment"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+t",
|
||||
"command": "-workbench.action.showAllSymbols"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+t",
|
||||
"command": "workbench.action.files.newUntitledFile"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+n",
|
||||
"command": "-workbench.action.files.newUntitledFile"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+m",
|
||||
"command": "github.cweijan.mysql.focus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+m",
|
||||
"command": "-workbench.actions.view.problems",
|
||||
"when": "workbench.panel.markers.view.active"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+0",
|
||||
"command": "workbench.action.zoomReset"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+numpad0",
|
||||
"command": "-workbench.action.zoomReset"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,740 @@
|
||||
{
|
||||
"workbench.colorCustomizations": {
|
||||
"[Chromodynamics]": {
|
||||
"terminal.background": "#060606",
|
||||
"terminal.foreground": "#e0e0e0",
|
||||
"terminal.selectionBackground": "#555555",
|
||||
"titleBar.activeBackground": "#020202",
|
||||
"titleBar.activeForeground": "#e0e0e0",
|
||||
"titleBar.inactiveBackground": "#020202",
|
||||
"titleBar.inactiveForeground": "#e0e0e0",
|
||||
"tab.inactiveBackground": "#0b0b0b",
|
||||
"editor.background": "#060606",
|
||||
"editor.findMatchBorder": "#0c0c0d",
|
||||
"editor.findMatchHighlightBorder": "#0c0c0d",
|
||||
"editor.lineHighlightBackground": "#060606",
|
||||
"editor.selectionBackground": "#222222",
|
||||
"editor.selectionHighlightBackground": "#e4dddd",
|
||||
"editor.selectionHighlightBorder": "#0c0c0d",
|
||||
"editorGroupHeader.tabsBackground": "#0b0b0b",
|
||||
"editorGutter.background": "#000000",
|
||||
"sideBar.background": "#060606",
|
||||
"sideBarSectionHeader.background": "#0b0b0b",
|
||||
"statusBar.background": "#060606"
|
||||
},
|
||||
"[Sweet Dracula]": {
|
||||
"editorGroupHeader.tabsBackground": "#161925"
|
||||
}
|
||||
},
|
||||
"editor.tokenColorCustomizations": {
|
||||
"[Chromodynamics]": {
|
||||
"textMateRules": [
|
||||
{
|
||||
"scope": [
|
||||
"constant.language.python",
|
||||
"variable.parameter.function.language.special.self.python"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#66D9EF"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": [
|
||||
"entity.name.function.operator",
|
||||
"keyword.operator"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#E8364F",
|
||||
"fontStyle": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": [
|
||||
"punctuation.definition.template-expression.begin.js",
|
||||
"punctuation.definition.template-expression.end.js"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#da70d6",
|
||||
"fontStyle": "italic"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": [
|
||||
"variable.other.readwrite.js"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#c6c6c6",
|
||||
"fontStyle": ""
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"textMateRules": [
|
||||
{
|
||||
"scope": [
|
||||
"entity.name.type.class",
|
||||
"storage.type.class",
|
||||
"storage.modifier",
|
||||
"storage.type",
|
||||
"constant",
|
||||
"comment",
|
||||
"keyword",
|
||||
"invalid"
|
||||
],
|
||||
"settings": {
|
||||
"fontStyle": "italic"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
// Window Settings
|
||||
"window.commandCenter": false,
|
||||
"window.menuBarVisibility": "toggle",
|
||||
"window.newWindowDimensions": "maximized",
|
||||
"window.restoreWindows": "preserve",
|
||||
"window.title": "${activeEditorShort}${separator}${rootName}",
|
||||
"window.titleBarStyle": "native",
|
||||
"window.titleSeparator": " ・ ・",
|
||||
"workbench.editor.enablePreviewFromQuickOpen": false,
|
||||
"workbench.editor.highlightModifiedTabs": true,
|
||||
"workbench.editor.restoreViewState": true,
|
||||
"workbench.editor.sharedViewState": false,
|
||||
"workbench.editor.showTabs": true,
|
||||
"workbench.editor.tabCloseButton": "right",
|
||||
"workbench.editor.tabSizing": "shrink",
|
||||
"workbench.editor.untitled.hint": "hidden",
|
||||
"workbench.iconTheme": "sweet-vscode-icons",
|
||||
"workbench.layoutControl.type": "menu",
|
||||
"workbench.list.smoothScrolling": true,
|
||||
"workbench.panel.defaultLocation": "right",
|
||||
"workbench.startupEditor": "none",
|
||||
"workbench.statusBar.visible": true,
|
||||
"workbench.editorAssociations": {
|
||||
"*.ipynb": "jupyter-notebook"
|
||||
},
|
||||
"workbench.reduceMotion": "off",
|
||||
// Editor Settings
|
||||
"editor.acceptSuggestionOnEnter": "smart",
|
||||
"editor.autoClosingBrackets": "always",
|
||||
"editor.bracketPairColorization.enabled": true,
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.organizeImports": true
|
||||
},
|
||||
"editor.colorDecorators": false,
|
||||
"editor.cursorBlinking": "phase",
|
||||
"editor.cursorSmoothCaretAnimation": "on",
|
||||
"editor.cursorStyle": "line-thin",
|
||||
"editor.detectIndentation": false,
|
||||
"editor.emptySelectionClipboard": false,
|
||||
"editor.fontFamily": "'Operator Mono SSm Lig Book', 'FiraCode Nerd Font', 'Hack Nerd Font Mono', 'codicon'",
|
||||
"editor.fontVariations": true,
|
||||
"editor.fontLigatures": "'ss01', 'ss02', 'ss03', 'ss04', 'ss05', 'ss06', 'zero', 'onum'",
|
||||
"editor.fontSize": 12,
|
||||
"editor.fontWeight": "normal",
|
||||
"editor.formatOnSave": true,
|
||||
"editor.formatOnType": true,
|
||||
"editor.glyphMargin": true,
|
||||
"editor.guides.bracketPairs": "active",
|
||||
"editor.guides.bracketPairsHorizontal": "active",
|
||||
"editor.guides.highlightActiveBracketPair": true,
|
||||
"editor.hover.above": false,
|
||||
"editor.inlayHints.enabled": "on",
|
||||
"editor.inlineSuggest.enabled": true,
|
||||
"editor.insertSpaces": true,
|
||||
"editor.linkedEditing": true,
|
||||
"editor.matchBrackets": "never",
|
||||
"editor.maxTokenizationLineLength": 99999999,
|
||||
"editor.minimap.enabled": false,
|
||||
"editor.mouseWheelScrollSensitivity": 1.5,
|
||||
"editor.occurrencesHighlight": false,
|
||||
"editor.renderControlCharacters": true,
|
||||
"editor.renderFinalNewline": "on",
|
||||
"editor.renderLineHighlight": "gutter",
|
||||
"editor.renderWhitespace": "none",
|
||||
"editor.scrollbar.horizontal": "auto",
|
||||
"editor.scrollbar.vertical": "auto",
|
||||
"editor.selectionHighlight": true,
|
||||
"editor.smoothScrolling": true,
|
||||
"editor.stickyScroll.enabled": true,
|
||||
"editor.stickyScroll.maxLineCount": 5,
|
||||
"editor.stickyTabStops": false,
|
||||
"editor.suggestLineHeight": 28,
|
||||
"editor.suggestSelection": "first",
|
||||
"editor.suggest.insertMode": "replace",
|
||||
"editor.suggest.preview": true,
|
||||
"editor.suggest.snippetsPreventQuickSuggestions": false,
|
||||
"editor.tabCompletion": "on",
|
||||
"editor.tabSize": 4,
|
||||
"editor.wordBasedSuggestions": true,
|
||||
"editor.wordBasedSuggestionsMode": "matchingDocuments",
|
||||
"editor.wordWrap": "on",
|
||||
"editor.quickSuggestions": {
|
||||
"other": "on",
|
||||
"comments": "on",
|
||||
"strings": "on"
|
||||
},
|
||||
// Emmet Settings
|
||||
"emmet.excludeLanguages": [],
|
||||
"emmet.includeLanguages": {
|
||||
"javascript": "javascriptreact",
|
||||
"markdown": "html",
|
||||
"vue-html": "html"
|
||||
},
|
||||
// Explorer Settings
|
||||
"explorer.compactFolders": false,
|
||||
"explorer.confirmDelete": false,
|
||||
"explorer.confirmDragAndDrop": false,
|
||||
// Files Explorer
|
||||
"problems.decorations.enabled": false,
|
||||
// Customize UI
|
||||
// "customizeUI.activityBar": "bottom",
|
||||
// "customizeUI.activityBarHideSettings": true,
|
||||
// "customizeUI.listRowHeight": 20,
|
||||
// "customizeUI.font.monospace": "CaskaydiaCove Nerd Font",
|
||||
// "customizeUI.font.regular": "CaskaydiaCove Nerd Font",
|
||||
// "customizeUI.fontSizeMap": {
|
||||
// "13px": "12px",
|
||||
// "monospace": "12px",
|
||||
// "tab-title": "12px",
|
||||
// "window-title": "12.5px"
|
||||
// },
|
||||
// "customizeUI.titleBar": "inline",
|
||||
// "customizeUI.stylesheet": {
|
||||
// ":root,::after,::before": "--tab-height: 25px;--tab-radius: 8px;--ui-radius: 6px;--base-color: #bd93f9;--gradient-one: #c50ed2;--gradient-two: #8500f7;--side-pane-color: var(--vscode-editor-background);--focus-border: #3f4f81;--sash-size: 2px !important;--sash-hover-size: 2px !important;",
|
||||
// ".editor-container": "-webkit-font-smoothing: antialiased;",
|
||||
// ".monaco-workbench .part.editor > .content > .watermark": "display: none !important;",
|
||||
// ".monaco-workbench .part.titlebar .window-controls-container .layout-dropdown-container": "margin-left: auto !important;",
|
||||
// ".monaco-workbench .part.titlebar > .window-controls-container": "width: unset !important;",
|
||||
// ".monaco-workbench .part.titlebar > .window-controls-container > .window-icon": "width: 30px !important;",
|
||||
// ".monaco-workbench .part.titlebar > .titlebar-container .window-appicon > .home-bar-icon-badge, .monaco-workbench .part.titlebar > .titlebar-container > .window-appicon:not(.codicon)": "background-image: url(./vsc/vsc.svg) !important;",
|
||||
// ".monaco-workbench .part.editor > .content .editor-group-container.empty .editor-group-letterpress": "background-image: url(./vsc/vsc-back.svg) !important;",
|
||||
// ".monaco-workbench .part.editor.has-watermark > .content.empty .editor-group-container > .editor-group-letterpress": "background-position-y: 50% !important;",
|
||||
// ".monaco-sash.hover:before, .monaco-sash.active:before": "background: linear-gradient(to bottom, var(--gradient-one), var(--gradient-two)) !important;",
|
||||
// ".monaco-editor .squiggly-error": "background: none !important;border-bottom: 0.5px solid var(--vscode-editorError-foreground) !important;",
|
||||
// ".monaco-editor .squiggly-warning": "background: none !important;border-bottom: 0.5px solid var(--vscode-editorWarning-foreground) !important;",
|
||||
// ".monaco-editor .squiggly-info": "background: none !important;border-bottom: 0.5px solid var(--vscode-editorInfo-foreground) !important;",
|
||||
// ".monaco-editor .squiggly-hint": "background: none !important;border-bottom: 0.5px solid var(--vscode-editorHint-foreground) !important;",
|
||||
// "body.activity-bar-at-bottom .monaco-workbench .activitybar .active-item-indicator": "display: block !important;",
|
||||
// ".monaco-workbench .activitybar > .content :not(.monaco-menu) > .monaco-action-bar .action-item.checked .active-item-indicator:before": "border: 0 !important;width: 100% !important;height: 3px !important;position: absolute !important;bottom: 0 !important;left: 0 !important;top: unset !important;background-image: linear-gradient(to top, var(--gradient-one), var(--gradient-two)) !important;border-radius: 100vmax !important;",
|
||||
// ".monaco-workbench .part.editor > .content .editor-group-container > .title .tabs-container > .tab > .tab-border-bottom-container, .monaco-workbench .part.editor > .content .editor-group-container > .title .tabs-container > .tab > .tab-border-top-container": "background-image: linear-gradient(to left, var(--gradient-one), var(--gradient-two)) !important;height: 3px !important;",
|
||||
// ".monaco-workbench .activitybar > .content :not(.monaco-menu) > .monaco-action-bar .badge .badge-content": "background-image: linear-gradient(90deg, var(--gradient-one), var(--gradient-two)) !important;",
|
||||
// ".monaco-workbench .part.editor > .content .editor-group-container.active > .title .tabs-container > .tab.dirty > .tab-actions .action-label:not(:hover):before, .monaco-workbench .part.editor > .content .editor-group-container > .title .tabs-container > .tab.dirty > .tab-actions .action-label:not(:hover):before": "content: '' !important;",
|
||||
// ".codicon-git-branch:before": "background: linear-gradient(to bottom, var(--gradient-one), var(--gradient-two)) !important;-webkit-background-clip: text !important;background-clip: text !important;color: rgba(255, 255, 255, 0.4) !important;",
|
||||
// ".monaco-editor, .split-view-view .monaco-editor-background": "background: url(./vsc/pek.png) bottom right / 10% auto no-repeat scroll;",
|
||||
// ".monaco-scrollable-element > .scrollbar > .slider": "border-radius: 7px !important;",
|
||||
// ".monaco-scrollable-element > .scrollbar > .slider.active": "background: linear-gradient(to top, var(--gradient-one), var(--gradient-two)) !important;",
|
||||
// "canvas.decorationsOverviewRuler, .monaco-scrollable-element > .scrollbar.vertical, .monaco-scrollable-element > .scrollbar.vertical > .slider": "width: 7px !important;",
|
||||
// ".monaco-scrollable-element > .scrollbar.horizontal, .monaco-scrollable-element > .scrollbar.horizontal > .slider": "height: 7px !important;",
|
||||
// ".monaco-scrollable-element > .scrollbar.horizontal > .slider": "width: 135px !important;",
|
||||
// ".monaco-editor .monaco-hover, .monaco-editor .suggest-widget, .monaco-editor .suggest-details": "border-radius: var(--ui-radius) !important;overflow: hidden !important;box-shadow: rgb(0 0 0 / 36%) 0px 2px calc(var(--ui-radius) + 2px) !important;",
|
||||
// ".pane .pane-body, .pane .pane-body .monaco-list, .pane .pane-body .monaco-list .monaco-scrollable-element, .pane .pane-body .monaco-list .monaco-scrollable-element .monaco-list-rows, .pane .pane-body .monaco-list .monaco-scrollable-element .monaco-list-rows .monaco-list-row": "overflow: visible !important;",
|
||||
// ".open-editors .monaco-list .monaco-list-row": "padding-left: 0px !important;",
|
||||
// ".monaco-list-row:hover, .monaco-list-row.selected, .monaco-list-row.focused": "border-radius: 0 var(--ui-radius) var(--ui-radius) 0 !important;",
|
||||
// ".monaco-workbench .monaco-list:not(.element-focused):focus:before, .monaco-select-box, .monaco-select-box-dropdown-container, .monaco-select-box-dropdown-container .monaco-list-row:hover, .monaco-select-box-dropdown-container .monaco-list-row.selected, .monaco-select-box-dropdown-container .monaco-list-row.focused": "border-radius: var(--ui-radius) !important;",
|
||||
// ".monaco-list-row.selected::before, .monaco-list-row.selected::after": "--ui-radius: 6px;content: '' !important;display: block !important;position: absolute !important;width: var(--ui-radius) !important;height: var(--ui-radius) !important;left: 0 !important;pointer-events: none !important;",
|
||||
// ".monaco-list-row.selected::before": "top: calc(0px - var(--ui-radius)) !important;background: radial-gradient(circle at 100% 0%, transparent 70.71%, var(--side-pane-color) 29.289%) no-repeat;background-position: 100% 0%;",
|
||||
// ".monaco-list-row.selected::after": "bottom: calc(0px - var(--ui-radius)) !important;background: radial-gradient(circle at 100% 100%, transparent 70.71%, var(--side-pane-color) 29.289%) no-repeat;background-position: 100% 100%;",
|
||||
// ".monaco-button.monaco-text-button": "border-radius: var(--ui-radius) !important;",
|
||||
// ".monaco-editor .cursors-layer.cursor-smooth-caret-animation > .cursor": "transition: all 100ms ease-out;",
|
||||
// ".tab:first-child": "margin-left: var(--tab-radius) !important;",
|
||||
// ".tab:last-child": "margin-right: var(--tab-radius) !important;",
|
||||
// ".tab.active": "border-radius: var(--tab-radius) var(--tab-radius) 0 0 !important;",
|
||||
// ".tab.dirty-border-top > .tab-border-top-container": "border-radius: var(--tab-radius) var(--tab-radius) 0 0 !important;",
|
||||
// ".tab.active::before, .tab.active::after": "content: '' !important;display: block !important;box-sizing: border-box !important;position: absolute !important;z-index: 1;width: var(--tab-radius) !important;height: var(--tab-radius) !important;bottom: 0px !important;pointer-events: none !important;",
|
||||
// ".tab.active::before": "left: calc(0px - var(--tab-radius)) !important;border-bottom-right-radius: var(--tab-radius) !important;box-shadow: 3px 3px 0 3px var(--vscode-editor-background) !important;",
|
||||
// ".tab.active::after": "right: 0 !important;transform: translateX(var(--tab-radius)) !important;border-bottom-left-radius: var(--tab-radius) !important;box-shadow: -3px 3px 0 3px var(--vscode-editor-background) !important;",
|
||||
// ".monaco-workbench .part.sidebar>.title>.title-label h2": "font-weight: bold !important;",
|
||||
// "body.activity-bar-at-bottom div.monaco-grid-view > div > div > div.monaco-scrollable-element > div.split-view-container > div.split-view-view.visible > div > div > div.monaco-scrollable-element > div.split-view-container > div:nth-child(1) > div > div > div.monaco-scrollable-element > div.split-view-container > div:nth-child(2)": "height: auto !important;",
|
||||
// "body.activity-bar-at-bottom .monaco-workbench .part.activitybar": "border: none !important; padding: 0px 6px 6px 6px !important;margin-top: -8px !important; background-color: var(--vscode-editor-background) !important; position: relative !important; z-index: 10 !important;",
|
||||
// "body.activity-bar-at-bottom .monaco-workbench .activitybar.bordered:before": "display: none !important;",
|
||||
// "body.activity-bar-at-bottom .monaco-workbench .activitybar > .content": "justify-content: center !important; border-radius: 6px; width: unset !important; border: 1px solid #3f4f818c !important;",
|
||||
// "body.activity-bar-at-bottom .monaco-workbench .activitybar>.content>.composite-bar": "margin-bottom: unset !important;",
|
||||
// "body.activity-bar-at-bottom .monaco-action-bar .action-item.icon > .action-label": "color: var(--vscode-editor-foreground) !important;opacity: 0.4;",
|
||||
// "body.activity-bar-at-bottom .monaco-action-bar .action-item.icon.checked > .action-label": "opacity: 1 !important;",
|
||||
// ".monaco-workbench .part.editor .tabs-and-actions-container .window-controls-container": "display: flex;flex-grow: 0;flex-shrink: 0;text-align: center; -webkit-app-region: no-drag; height: 100%;",
|
||||
// ".monaco-workbench .part.editor .tabs-and-actions-container .window-controls-container .window-icon": "width: 30px !important;height: 30px !important; display: flex; align-items: center; justify-content: center;",
|
||||
// ".monaco-workbench .part.editor .tabs-and-actions-container .window-controls-container .window-icon.window-close:hover": "background-color: #FF5555",
|
||||
// },
|
||||
// Terminal Settings
|
||||
"terminal.integrated.altClickMovesCursor": true,
|
||||
"terminal.integrated.cursorBlinking": true,
|
||||
"terminal.integrated.customGlyphs": true,
|
||||
"terminal.integrated.cursorStyle": "line",
|
||||
"terminal.integrated.enableMultiLinePasteWarning": false,
|
||||
"terminal.integrated.fontFamily": "'CaskaydiaCove Nerd Font', 'FiraCode Nerd Font', 'Hack Nerd Font Mono'",
|
||||
"terminal.integrated.fontSize": 13,
|
||||
"terminal.integrated.gpuAcceleration": "auto",
|
||||
"terminal.integrated.scrollback": 200000,
|
||||
"terminal.integrated.smoothScrolling": true,
|
||||
"terminal.integrated.tabs.enabled": false,
|
||||
"terminal.integrated.tabs.enableAnimation": true,
|
||||
"terminal.integrated.profiles.linux": {
|
||||
"zsh": {
|
||||
"path": "/usr/bin/zsh"
|
||||
}
|
||||
},
|
||||
"terminal.integrated.shellIntegration.enabled": false,
|
||||
"terminal.integrated.shellIntegration.decorationsEnabled": "never",
|
||||
// Language Settings
|
||||
"[python]": {
|
||||
"editor.semanticHighlighting.enabled": false
|
||||
},
|
||||
"python.analysis.completeFunctionParens": true,
|
||||
"python.analysis.typeCheckingMode": "off",
|
||||
"python.formatting.provider": "black",
|
||||
"python.formatting.blackArgs": [
|
||||
"--line-length",
|
||||
"120"
|
||||
],
|
||||
"python.languageServer": "Pylance",
|
||||
"python.linting.ignorePatterns": [
|
||||
".vscode/*.py",
|
||||
"**/site-packages/**/*.py",
|
||||
".git"
|
||||
],
|
||||
"python.linting.enabled": true,
|
||||
"python.linting.pylintEnabled": false,
|
||||
"python.linting.pylintArgs": [
|
||||
"--rcfile",
|
||||
"${env:HOME}/.pylintrc"
|
||||
// "--load-plugins=pylint_django"
|
||||
],
|
||||
"ruff.args": [
|
||||
"--config=~/pyproject.toml"
|
||||
],
|
||||
"[cpp]": {
|
||||
"editor.semanticHighlighting.enabled": false
|
||||
},
|
||||
"C_Cpp.default.includePath": [
|
||||
"${workspaceFolder}/**",
|
||||
"/usr/include",
|
||||
"/usr/local/include",
|
||||
"/usr/include/c++/11.1.0",
|
||||
"/opt/cuda/include/"
|
||||
],
|
||||
"C_Cpp.default.defines": [
|
||||
"${default}"
|
||||
],
|
||||
"C_Cpp.default.compilerPath": "/usr/bin/g++",
|
||||
"C_Cpp.default.cppStandard": "c++20",
|
||||
"C_Cpp.default.cStandard": "c17",
|
||||
"C_Cpp.default.intelliSenseMode": "gcc-x64",
|
||||
"C_Cpp.default.compilerArgs": [
|
||||
"-g"
|
||||
],
|
||||
"launch": {
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "(gdb) Launch",
|
||||
"type": "cppdbg",
|
||||
"request": "launch",
|
||||
"program": "${fileDirname}/${fileBasenameNoExtension}",
|
||||
"args": [],
|
||||
"stopAtEntry": false,
|
||||
"cwd": "${workspaceFolder}",
|
||||
"environment": [],
|
||||
"externalConsole": false,
|
||||
"MIMode": "gdb",
|
||||
"miDebuggerPath": "/usr/bin/gdb",
|
||||
"preLaunchTask": "Build",
|
||||
"setupCommands": [
|
||||
{
|
||||
"description": "Enable pretty-printing for gdb",
|
||||
"text": "-enable-pretty-printing",
|
||||
"ignoreFailures": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"tasks": {
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Build",
|
||||
"type": "shell",
|
||||
"command": "g++ -g \"${file}\" -o \"${fileDirname}/${fileBasenameNoExtension}\"",
|
||||
"problemMatcher": [
|
||||
"$gcc"
|
||||
],
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "Build (Multiple cpp files)",
|
||||
"type": "shell",
|
||||
"command": "g++ -g \"${fileDirname}/*.cpp\" -o \"${fileDirname}/${fileBasenameNoExtension}\"",
|
||||
"problemMatcher": [
|
||||
"$gcc"
|
||||
],
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"C_Cpp.autocompleteAddParentheses": true,
|
||||
"C_Cpp.codeFolding": "enabled",
|
||||
"C_Cpp.clang_format_fallbackStyle": "{ BasedOnStyle: Google, IndentWidth: 4, ColumnLimit: 100}",
|
||||
"C_Cpp.inlayHints.autoDeclarationTypes.enabled": true,
|
||||
"C_Cpp.inlayHints.autoDeclarationTypes.showOnLeft": true,
|
||||
"C_Cpp.inlayHints.parameterNames.enabled": true,
|
||||
"C_Cpp.inlayHints.parameterNames.hideLeadingUnderscores": true,
|
||||
"C_Cpp.inlayHints.parameterNames.suppressWhenArgumentContainsName": true,
|
||||
"C_Cpp.inlayHints.referenceOperator.enabled": true,
|
||||
"C_Cpp.inlayHints.referenceOperator.showSpace": false,
|
||||
"css.format.enable": true,
|
||||
"css.format.newlineBetweenRules": true,
|
||||
"css.format.newlineBetweenSelectors": true,
|
||||
"css.format.spaceAroundSelectorSeparator": true,
|
||||
"[css]": {
|
||||
"editor.tabSize": 2
|
||||
},
|
||||
"java.jdt.ls.java.home": "/usr/lib/jvm/java-11-openjdk-amd64",
|
||||
"java.configuration.runtimes": [
|
||||
{
|
||||
"name": "JavaSE-11",
|
||||
"path": "/usr/lib/jvm/java-11-openjdk-amd64"
|
||||
}
|
||||
],
|
||||
"java.server.launchMode": "LightWeight",
|
||||
"[html]": {
|
||||
"editor.tabSize": 2
|
||||
},
|
||||
"html.autoClosingTags": true,
|
||||
"html.completion.attributeDefaultValue": "singlequotes",
|
||||
"[dart]": {
|
||||
"editor.suggestSelection": "first",
|
||||
"editor.tabCompletion": "onlySnippets",
|
||||
"editor.wordBasedSuggestions": false
|
||||
},
|
||||
"[javascript]": {
|
||||
"editor.tabSize": 2
|
||||
},
|
||||
"javascript.autoClosingTags": true,
|
||||
"javascript.suggest.autoImports": true,
|
||||
"javascript.suggest.completeFunctionCalls": true,
|
||||
"javascript.suggest.enabled": true,
|
||||
"javascript.updateImportsOnFileMove.enabled": "always",
|
||||
"javascript.validate.enable": false,
|
||||
"[json]": {
|
||||
"editor.tabSize": 2
|
||||
},
|
||||
"json.maxItemsComputed": 100000,
|
||||
"[markdown]": {
|
||||
"editor.quickSuggestions": {
|
||||
"other": "on",
|
||||
"comments": "on",
|
||||
"strings": "on"
|
||||
}
|
||||
},
|
||||
"[scss]": {
|
||||
"editor.tabSize": 2
|
||||
},
|
||||
"[typescript]": {
|
||||
"editor.tabSize": 2
|
||||
},
|
||||
"typescript.autoClosingTags": true,
|
||||
"typescript.suggest.autoImports": true,
|
||||
"typescript.updateImportsOnFileMove.enabled": "always",
|
||||
"typescript.validate.enable": false,
|
||||
"[typescriptreact]": {
|
||||
"editor.tabSize": 2,
|
||||
"editor.formatOnSave": false
|
||||
},
|
||||
"js/ts.implicitProjectConfig.checkJs": true,
|
||||
//Latex
|
||||
"[latex]": {
|
||||
"editor.formatOnSave": false
|
||||
},
|
||||
// Empty-Indent Extension
|
||||
"emptyIndent.highlightColor": "rgba(246,36,89,0.6)",
|
||||
"emptyIndent.highlightIndent": false,
|
||||
"emptyIndent.removeIndent": true,
|
||||
// Github Co-pilot
|
||||
"github.copilot.inlineSuggest.enable": true,
|
||||
"github.copilot.enable": {
|
||||
"*": true,
|
||||
"yaml": false,
|
||||
"plaintext": true,
|
||||
"markdown": false
|
||||
},
|
||||
// Gitlens
|
||||
"gitlens.currentLine.enabled": true,
|
||||
"gitlens.hovers.currentLine.over": "line",
|
||||
"gitlens.codeLens.enabled": false,
|
||||
"gitlens.statusBar.enabled": true,
|
||||
// General Setting\
|
||||
"color-highlight.markRuler": false,
|
||||
"color-highlight.markerType": "background",
|
||||
"debug.onTaskErrors": "showErrors",
|
||||
"debug.openDebug": "openOnDebugBreak",
|
||||
"eslint.enable": true,
|
||||
"extensions.ignoreRecommendations": true,
|
||||
"files.autoSave": "onWindowChange",
|
||||
"files.insertFinalNewline": true,
|
||||
"files.restoreUndoStack": true,
|
||||
"files.trimFinalNewlines": true,
|
||||
"files.trimTrailingWhitespace": true,
|
||||
"git.autofetch": true,
|
||||
"grammarly.files.include": [
|
||||
"**/*.md",
|
||||
"**/*.txt",
|
||||
"**/*.tex"
|
||||
],
|
||||
"latex-workshop.latex.autoBuild.cleanAndRetry.enabled": true,
|
||||
"latex-workshop.latex.autoBuild.run": "never",
|
||||
"latex-workshop.latex.clean.fileTypes": [
|
||||
"*/*.aux",
|
||||
"*/*.synctex.gz"
|
||||
],
|
||||
"latex-workshop.latex.outDir": "/tmp/Review-Paper/",
|
||||
"latex-workshop.latex.recipe.default": "latexmk (lualatex)",
|
||||
"latex-workshop.latex.recipes": [
|
||||
{
|
||||
"name": "latexmk 🔃",
|
||||
"tools": [
|
||||
"latexmk"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "latexmk (latexmkrc)",
|
||||
"tools": [
|
||||
"latexmk_rconly"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "latexmk (lualatex)",
|
||||
"tools": [
|
||||
"lualatexmk"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "latexmk (xelatex)",
|
||||
"tools": [
|
||||
"xelatexmk"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "pdflatex ➞ bibtex ➞ pdflatex × 2",
|
||||
"tools": [
|
||||
"pdflatex",
|
||||
"bibtex",
|
||||
"pdflatex",
|
||||
"pdflatex"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Compile Rnw files",
|
||||
"tools": [
|
||||
"rnw2tex",
|
||||
"latexmk"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Compile Jnw files",
|
||||
"tools": [
|
||||
"jnw2tex",
|
||||
"latexmk"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "tectonic",
|
||||
"tools": [
|
||||
"tectonic"
|
||||
]
|
||||
}
|
||||
],
|
||||
"latex-workshop.latex.tools": [
|
||||
{
|
||||
"name": "latexmk",
|
||||
"command": "latexmk",
|
||||
"args": [
|
||||
"-synctex=1",
|
||||
"-interaction=nonstopmode",
|
||||
"-file-line-error",
|
||||
"-pdf",
|
||||
"-outdir=%OUTDIR%",
|
||||
"%DOC%"
|
||||
],
|
||||
"env": {}
|
||||
},
|
||||
{
|
||||
"name": "lualatexmk",
|
||||
"command": "latexmk",
|
||||
"args": [
|
||||
"-synctex=1",
|
||||
"-interaction=nonstopmode",
|
||||
"-file-line-error",
|
||||
"-lualatex",
|
||||
"-outdir=%OUTDIR%",
|
||||
"%DOC%"
|
||||
],
|
||||
"env": {}
|
||||
},
|
||||
{
|
||||
"name": "xelatexmk",
|
||||
"command": "latexmk",
|
||||
"args": [
|
||||
"-synctex=1",
|
||||
"-interaction=nonstopmode",
|
||||
"-file-line-error",
|
||||
"-xelatex",
|
||||
"-outdir=%OUTDIR%",
|
||||
"%DOC%"
|
||||
],
|
||||
"env": {}
|
||||
},
|
||||
{
|
||||
"name": "latexmk_rconly",
|
||||
"command": "latexmk",
|
||||
"args": [
|
||||
"%DOC%"
|
||||
],
|
||||
"env": {}
|
||||
},
|
||||
{
|
||||
"name": "pdflatex",
|
||||
"command": "pdflatex",
|
||||
"args": [
|
||||
"-synctex=1",
|
||||
"-interaction=nonstopmode",
|
||||
"-file-line-error",
|
||||
"-output-directory=%OUTDIR%",
|
||||
"%DOC%"
|
||||
],
|
||||
"env": {}
|
||||
},
|
||||
{
|
||||
"name": "bibtex",
|
||||
"command": "bibtex",
|
||||
"args": [
|
||||
"%DOCFILE%"
|
||||
],
|
||||
"env": {}
|
||||
},
|
||||
{
|
||||
"name": "rnw2tex",
|
||||
"command": "Rscript",
|
||||
"args": [
|
||||
"-e",
|
||||
"knitr::opts_knit$set(concordance = TRUE); knitr::knit('%DOCFILE_EXT%')"
|
||||
],
|
||||
"env": {}
|
||||
},
|
||||
{
|
||||
"name": "jnw2tex",
|
||||
"command": "julia",
|
||||
"args": [
|
||||
"-e",
|
||||
"using Weave; weave(\"%DOC_EXT%\", doctype=\"tex\")"
|
||||
],
|
||||
"env": {}
|
||||
},
|
||||
{
|
||||
"name": "jnw2texmintex",
|
||||
"command": "julia",
|
||||
"args": [
|
||||
"-e",
|
||||
"using Weave; weave(\"%DOC_EXT%\", doctype=\"texminted\")"
|
||||
],
|
||||
"env": {}
|
||||
},
|
||||
{
|
||||
"name": "tectonic",
|
||||
"command": "tectonic",
|
||||
"args": [
|
||||
"--synctex",
|
||||
"--keep-logs",
|
||||
"%DOC%.tex"
|
||||
],
|
||||
"env": {}
|
||||
}
|
||||
],
|
||||
"liveServer.settings.donotShowInfoMsg": true,
|
||||
"liveServer.settings.donotVerifyTags": true,
|
||||
"liveServer.settings.file": "404.html",
|
||||
// "liveServer.settings.https": {
|
||||
// "enable": true,
|
||||
// "cert": "/home/proxzima/.ssh/cert/cert.pem",
|
||||
// "key": "/home/proxzima/.ssh/cert/key.pem",
|
||||
// "passphrase": "1234"
|
||||
// },
|
||||
"liveServer.settings.useLocalIp": true,
|
||||
"markdown.preview.markEditorSelection": true,
|
||||
"markdown.preview.scrollEditorWithPreview": false,
|
||||
"markdown.preview.scrollPreviewWithEditor": false,
|
||||
"svgPreview.autoOpen": true,
|
||||
"svgPreview.scaleToFit": true,
|
||||
"svgPreview.style": {
|
||||
"html": {
|
||||
"background-position": "0 0, 13px 13px",
|
||||
"background-size": "26px 26px",
|
||||
"background": "rgba(255, 255, 255, 1)"
|
||||
// "background-image": "linear-gradient(45deg, #141414 25%, transparent 25%, transparent 75%, #141414 75%, #141414), linear-gradient(45deg, #141414 25%, transparent 25%, transparent 75%, #141414 75%, #141414)"
|
||||
}
|
||||
},
|
||||
"print.folder.exclude": [
|
||||
"{bin,obj,out}",
|
||||
"node_module",
|
||||
"**/*.{bin,exe,dll,hex,pdb,pdf,pfx,png,jpg,gif,bmp,suo,pptx,ppt,jar,woff2,woff,ttf,eot,odt,otf,class}"
|
||||
],
|
||||
"print.lineNumbers": "on",
|
||||
"print.printAndClose": false,
|
||||
"print.colourScheme": "XCode",
|
||||
"print.alternateBrowser": true,
|
||||
"print.browserPath": "/usr/bin/google-chrome",
|
||||
"spellright.documentTypes": [
|
||||
"markdown",
|
||||
"latex",
|
||||
"plaintext"
|
||||
],
|
||||
"spellright.language": [
|
||||
"en_GB"
|
||||
],
|
||||
"spellright.notificationClass": "information",
|
||||
"spellright.suggestionsInHints": false,
|
||||
"spellright.useDocumentSymbolsInCode": true,
|
||||
"telemetry.telemetryLevel": "off",
|
||||
"search.exclude": {
|
||||
"**/bower_components": true,
|
||||
"**/*.code-search": true,
|
||||
"**/node_modules": true,
|
||||
"**/env": true,
|
||||
"**/venv": true
|
||||
},
|
||||
"files.associations": {
|
||||
"*.xml": "html",
|
||||
"*.svg": "html",
|
||||
"*.json": "jsonc"
|
||||
},
|
||||
"files.exclude": {
|
||||
"**/.DS_Store": true,
|
||||
"**/.git": true,
|
||||
"**/.svn": true,
|
||||
"**/.hg": true,
|
||||
"**/CVS": true,
|
||||
"**/.classpath": true,
|
||||
"**/.project": true,
|
||||
"**/.settings": true,
|
||||
"**/.factorypath": true
|
||||
},
|
||||
"files.watcherExclude": {
|
||||
"**/.DS_Store/**": true,
|
||||
"**/.git/objects/**": true,
|
||||
"**/.git/subtree-cache/**": true,
|
||||
"**/.svn/**": true,
|
||||
"**/.hg/**": true,
|
||||
"**/CVS/**": true,
|
||||
"**/node_modules/**": true,
|
||||
"**/env/**": true,
|
||||
"**/venv/**": true,
|
||||
"env-*": true
|
||||
},
|
||||
"workbench.colorTheme": "Sweet Dracula",
|
||||
"security.workspace.trust.untrustedFiles": "open"
|
||||
}
|
||||
@@ -0,0 +1,126 @@
|
||||
{
|
||||
// Place your global snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
|
||||
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
|
||||
// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is
|
||||
// used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
|
||||
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
|
||||
// Placeholders with the same ids are connected.
|
||||
// Example:
|
||||
"if name is main": {
|
||||
"scope": "python",
|
||||
"prefix": "ifn",
|
||||
"body": [
|
||||
"if __name__ == '__main__':",
|
||||
"\t$0"
|
||||
],
|
||||
"description": ""
|
||||
},
|
||||
"for in": {
|
||||
"scope": "python",
|
||||
"prefix": "fori",
|
||||
"body": [
|
||||
"for ${1:item} in ${2:items}:",
|
||||
"\t$0"
|
||||
],
|
||||
"description": ""
|
||||
},
|
||||
"for in range": {
|
||||
"scope": "python",
|
||||
"prefix": "forr",
|
||||
"body": [
|
||||
"for ${1:i} in range($2):",
|
||||
"\t$0"
|
||||
],
|
||||
"description": ""
|
||||
},
|
||||
"lambda": {
|
||||
"scope": "python",
|
||||
"prefix": "lamb",
|
||||
"body": [
|
||||
"lambda ${1:arg} : $0",
|
||||
],
|
||||
"description": ""
|
||||
},
|
||||
"map input": {
|
||||
"scope": "python",
|
||||
"prefix": "mapi",
|
||||
"body": [
|
||||
"map(${1:func}, input($2).split())"
|
||||
],
|
||||
"description": ""
|
||||
},
|
||||
"html boiler plate": {
|
||||
"scope": "html",
|
||||
"prefix": "html",
|
||||
"body": [
|
||||
"<!DOCTYPE html>",
|
||||
"<html lang=\"en\">",
|
||||
"",
|
||||
"<head>",
|
||||
" <meta charset=\"utf-8\">",
|
||||
" <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">",
|
||||
"",
|
||||
" <title>${1:Basic HTML5}</title>",
|
||||
" <meta name=\"author\" content=\"${2:Pratik Pingale}\">",
|
||||
" <meta name=\"description\" content=\"${3:HTML5 Template}\">",
|
||||
"",
|
||||
" <meta property=\"og:title\" content=\"${4:HTML5 Template}\">",
|
||||
" <meta property=\"og:type\" content=\"website\">",
|
||||
" <meta property=\"og:url\" content=\"https://$5\">",
|
||||
" <meta property=\"og:description\" content=\"${6:HTML5 Template}\">",
|
||||
" <meta property=\"og:image\" content=\"${7:./assets/preview.png}\">",
|
||||
"",
|
||||
" <link rel=\"icon\" href=\"${8:./assets/favicon.ico}\">",
|
||||
" <link rel=\"icon\" href=\"${9:./assets/favicon.svg}\" type=\"image/svg+xml\">",
|
||||
" <link rel=\"apple-touch-icon\" href=\"${10:./assets/apple-touch-icon.png}\">",
|
||||
"",
|
||||
" <link rel=\"stylesheet\" href=\"${11:./css/style.css}\">",
|
||||
"",
|
||||
"</head>",
|
||||
"",
|
||||
"<body>",
|
||||
" ${0:<!-- your content here... -->}",
|
||||
" <script src=\"${12:./js/main.js}\" defer></script>",
|
||||
"</body>",
|
||||
"",
|
||||
"</html>",
|
||||
],
|
||||
"description": ""
|
||||
},
|
||||
"css boiler plate": {
|
||||
"scope": "css",
|
||||
"prefix": "css",
|
||||
"body": [
|
||||
"html {",
|
||||
" font-family: sans-serif;",
|
||||
" font-size: 100%;",
|
||||
" box-sizing: border-box;",
|
||||
"}",
|
||||
"",
|
||||
"*, ::before, ::after {",
|
||||
" box-sizing: inherit;",
|
||||
"}",
|
||||
"",
|
||||
"html, body {",
|
||||
" margin: 0;",
|
||||
" padding: 0;",
|
||||
" width: 100vw;",
|
||||
" min-height: 100%;",
|
||||
" text-rendering: optimizeLegibility;",
|
||||
"}",
|
||||
""
|
||||
]
|
||||
},
|
||||
"consoleLog": {
|
||||
"scope": "javascript",
|
||||
"prefix": "clg",
|
||||
"body": "console.log(${1:object});",
|
||||
"description": "Displays a message in the console"
|
||||
},
|
||||
"consoleLogObject": {
|
||||
"scope": "javascript",
|
||||
"prefix": "clo",
|
||||
"body": "console.log('${1:object} :>> ', ${1:object});",
|
||||
"description": "Displays an object in the console with its name"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
PROxZIMA
|
||||
gui
|
||||
url
|
||||
yara
|
||||
backend
|
||||
txt
|
||||
Regex
|
||||
github
|
||||
args
|
||||
grep
|
||||
res
|
||||
yar
|
||||
shipit
|
||||
json
|
||||
@@ -0,0 +1,100 @@
|
||||
function getOffset(el) {
|
||||
const rect = el.getBoundingClientRect();
|
||||
return {
|
||||
left: rect.left + window.scrollX,
|
||||
top: rect.top + window.scrollY,
|
||||
};
|
||||
}
|
||||
|
||||
const prevOffset = {};
|
||||
|
||||
const displayEffect = (event) => {
|
||||
if (prevOffset.top === undefined) {
|
||||
let initialOffset = getOffset(document.getElementsByClassName("cursor")[0]);
|
||||
prevOffset.top = initialOffset.top;
|
||||
prevOffset.left = initialOffset.left;
|
||||
}
|
||||
|
||||
const existingRect = document.getElementById("myRect");
|
||||
if (existingRect !== null) {
|
||||
existingRect.remove();
|
||||
}
|
||||
|
||||
setTimeout(function () {
|
||||
const currOffset = getOffset(document.getElementsByClassName("cursor")[0]);
|
||||
const top = prevOffset.top;
|
||||
const left = prevOffset.left;
|
||||
const rect = document.createElement("div");
|
||||
|
||||
// console.log("prev: ", top, left);
|
||||
// console.log("curr: ", currOffset.top, currOffset.left);
|
||||
|
||||
rect.id = "myRect";
|
||||
rect.style.cssText = `
|
||||
position:absolute;
|
||||
top:${top}px;
|
||||
left:${left}px;
|
||||
width:9px;
|
||||
height:20px;
|
||||
z-index:10;
|
||||
background-color:red;
|
||||
opacity: 0.5;
|
||||
`;
|
||||
rect.animate(
|
||||
[
|
||||
// keyframes
|
||||
{ transform: "scale(1) skew(10deg)" },
|
||||
{ transform: "scale(0) skew(10deg)" },
|
||||
],
|
||||
{
|
||||
// timing options
|
||||
duration: 500,
|
||||
easing: "ease-in-out",
|
||||
direction: "alternate",
|
||||
iterations: Infinity,
|
||||
}
|
||||
);
|
||||
|
||||
document.body.appendChild(rect);
|
||||
prevOffset.top = currOffset.top;
|
||||
prevOffset.left = currOffset.left;
|
||||
}, 24);
|
||||
};
|
||||
|
||||
// NOTE: First enable editor.cursorSmoothCaretAnimation.
|
||||
// NOTE: Uncomment this to get a cursor trail effect.
|
||||
// document.addEventListener("keydown", displayEffect);
|
||||
|
||||
const windowControls = document.createElement('div');
|
||||
windowControls.className = 'window-controls-container';
|
||||
const minimize = document.createElement('div');
|
||||
minimize.classList.add('window-icon', 'window-minimize', 'codicon', 'codicon-chrome-minimize');
|
||||
const restore = document.createElement('div');
|
||||
restore.classList.add('window-icon', 'window-max-restore', 'codicon', 'codicon-chrome-restore');
|
||||
const close = document.createElement('div');
|
||||
close.classList.add('window-icon', 'window-close', 'codicon', 'codicon-chrome-close');
|
||||
windowControls.appendChild(minimize);
|
||||
windowControls.appendChild(restore);
|
||||
windowControls.appendChild(close);
|
||||
// const html = '<div class="window-controls-container"><div class="window-icon window-minimize codicon codicon-chrome-minimize"></div><div class="window-icon window-max-restore codicon codicon-chrome-restore"></div><div class="window-icon window-close codicon codicon-chrome-close"></div></div>';
|
||||
// template.innerHTML = html;
|
||||
// const windowControls = template.content.firstChild;
|
||||
|
||||
var observer = new MutationObserver(function (mutations, me) {
|
||||
console.warn('Observing if window controls present');
|
||||
// const windowControls = document.querySelector(".window-controls-container");
|
||||
const tabContainer = document.querySelector(".tabs-and-actions-container");
|
||||
|
||||
if (windowControls && tabContainer) {
|
||||
tabContainer.appendChild(windowControls);
|
||||
console.warn('Observing completed');
|
||||
me.disconnect();
|
||||
return;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
// observer.observe(document, {
|
||||
// childList: true,
|
||||
// subtree: true
|
||||
// });
|
||||
@@ -0,0 +1,466 @@
|
||||
[%General]
|
||||
author=elkrien based on Arc Dark style
|
||||
comment=Catppuccin-Mocha
|
||||
spread_menuitems=true
|
||||
left_tabs=true
|
||||
mirror_doc_tabs=true
|
||||
scroll_width=8
|
||||
attach_active_tab=true
|
||||
composite=true
|
||||
menu_shadow_depth=7
|
||||
tooltip_shadow_depth=0
|
||||
splitter_width=7
|
||||
check_size=16
|
||||
slider_width=4
|
||||
slider_handle_width=18
|
||||
slider_handle_length=18
|
||||
textless_progressbar=false
|
||||
menubar_mouse_tracking=true
|
||||
slim_toolbars=false
|
||||
toolbutton_style=1
|
||||
x11drag=menubar_and_primary_toolbar
|
||||
double_click=false
|
||||
translucent_windows=false
|
||||
blurring=false
|
||||
popup_blurring=true
|
||||
opaque=audacious,kaffeine,kmplayer,subtitlecomposer,kdenlive,vlc,smplayer,smplayer2,avidemux,avidemux2_qt4,avidemux3_qt4,avidemux3_qt5,kamoso,QtCreator,VirtualBox,VirtualBoxVM,trojita,dragon,digikam,lyx
|
||||
group_toolbar_buttons=false
|
||||
vertical_spin_indicators=false
|
||||
fill_rubberband=false
|
||||
spread_progressbar=true
|
||||
merge_menubar_with_toolbar=true
|
||||
small_icon_size=16
|
||||
large_icon_size=32
|
||||
button_icon_size=16
|
||||
scroll_arrows=false
|
||||
iconless_pushbutton=true
|
||||
toolbar_icon_size=16
|
||||
combo_as_lineedit=true
|
||||
button_contents_shift=false
|
||||
groupbox_top_label=true
|
||||
inline_spin_indicators=true
|
||||
joined_inactive_tabs=false
|
||||
layout_spacing=2
|
||||
submenu_overlap=0
|
||||
tooltip_delay=-1
|
||||
animate_states=true
|
||||
transient_scrollbar=true
|
||||
alt_mnemonic=true
|
||||
combo_menu=true
|
||||
layout_margin=4
|
||||
no_window_pattern=false
|
||||
respect_DE=true
|
||||
scroll_min_extent=36
|
||||
scrollable_menu=false
|
||||
scrollbar_in_view=false
|
||||
spin_button_width=16
|
||||
submenu_delay=250
|
||||
tree_branch_line=true
|
||||
progressbar_thickness=8
|
||||
click_behavior=0
|
||||
contrast=1.00
|
||||
dialog_button_layout=0
|
||||
drag_from_buttons=false
|
||||
hide_combo_checkboxes=false
|
||||
intensity=1.00
|
||||
no_inactiveness=false
|
||||
reduce_menu_opacity=0
|
||||
reduce_window_opacity=10
|
||||
saturation=1.00
|
||||
shadowless_popup=true
|
||||
transient_groove=false
|
||||
menu_blur_radius=6
|
||||
tooltip_blur_radius=6
|
||||
|
||||
[GeneralColors]
|
||||
window.color=#1E1E2E
|
||||
base.color=#181825
|
||||
alt.base.color=#181825
|
||||
button.color=#313244
|
||||
light.color=#45475A
|
||||
mid.light.color=#45475A
|
||||
dark.color=#181825
|
||||
mid.color=#181825
|
||||
highlight.color=#F5E0DC
|
||||
inactive.highlight.color=#F5E0DC
|
||||
text.color=#CDD6F4
|
||||
window.text.color=#CDD6F4
|
||||
button.text.color=#CDD6F4
|
||||
disabled.text.color=#585B70
|
||||
tooltip.text.color=#CDD6F4
|
||||
highlight.text.color=#181825
|
||||
link.color=#F5E0DC
|
||||
link.visited.color=#89B4FA
|
||||
|
||||
[ItemView]
|
||||
inherits=PanelButtonCommand
|
||||
frame.element=itemview
|
||||
interior.element=itemview
|
||||
frame=true
|
||||
interior=true
|
||||
text.iconspacing=3
|
||||
text.toggle.color=#181825
|
||||
|
||||
[RadioButton]
|
||||
inherits=PanelButtonCommand
|
||||
frame=false
|
||||
interior.element=radio
|
||||
|
||||
[CheckBox]
|
||||
inherits=PanelButtonCommand
|
||||
frame=false
|
||||
interior.element=checkbox
|
||||
|
||||
[TreeExpander]
|
||||
indicator.element=tree
|
||||
indicator.size=8
|
||||
|
||||
[ToolTip]
|
||||
frame.top=4
|
||||
frame.right=4
|
||||
frame.bottom=4
|
||||
frame.left=4
|
||||
frame=true
|
||||
|
||||
[PanelButtonCommand]
|
||||
inherits=PanelButtonCommand
|
||||
interior.element=button
|
||||
frame.element=button
|
||||
text.normal.color=#CDD6F4
|
||||
text.focus.color=#CDD6F4
|
||||
text.press.color=#181825
|
||||
text.toggle.color=#181825
|
||||
|
||||
[PanelButtonTool]
|
||||
inherits=PanelButtonCommand
|
||||
|
||||
[DockTitle]
|
||||
inherits=PanelButtonCommand
|
||||
interior=false
|
||||
frame=false
|
||||
text.margin.top=5
|
||||
text.margin.bottom=5
|
||||
text.margin.left=5
|
||||
text.margin.right=5
|
||||
indicator.size=0
|
||||
|
||||
[Dock]
|
||||
interior.element=toolbar
|
||||
frame.element=toolbar
|
||||
frame=true
|
||||
interior=true
|
||||
|
||||
[GroupBox]
|
||||
inherits=PanelButtonCommand
|
||||
interior.element=tabframe
|
||||
interior=true
|
||||
frame=false
|
||||
|
||||
[Focus]
|
||||
inherits=PanelButtonCommand
|
||||
frame=true
|
||||
frame.element=focus
|
||||
frame.top=1
|
||||
frame.bottom=1
|
||||
frame.left=1
|
||||
frame.right=1
|
||||
frame.patternsize=20
|
||||
|
||||
[GenericFrame]
|
||||
inherits=PanelButtonCommand
|
||||
frame.element=common
|
||||
frame.top=1
|
||||
frame.bottom=1
|
||||
frame.left=1
|
||||
frame.right=1
|
||||
|
||||
[Slider]
|
||||
inherits=PanelButtonCommand
|
||||
interior=true
|
||||
frame.element=slider
|
||||
interior.element=slider
|
||||
frame.top=3
|
||||
frame.bottom=3
|
||||
frame.left=3
|
||||
frame.right=3
|
||||
focusFrame=true
|
||||
|
||||
[SliderCursor]
|
||||
inherits=PanelButtonCommand
|
||||
interior=true
|
||||
interior.element=slidercursor
|
||||
frame=false
|
||||
|
||||
[LineEdit]
|
||||
inherits=PanelButtonCommand
|
||||
frame.element=lineedit
|
||||
interior.element=lineedit
|
||||
|
||||
[IndicatorSpinBox]
|
||||
inherits=LineEdit
|
||||
frame.element=lineedit
|
||||
interior.element=lineedit
|
||||
frame.top=0
|
||||
frame.bottom=2
|
||||
frame.left=2
|
||||
frame.right=2
|
||||
indicator.size=8
|
||||
|
||||
[DropDownButton]
|
||||
inherits=PanelButtonCommand
|
||||
frame.top=2
|
||||
frame.bottom=2
|
||||
frame.left=0
|
||||
frame.right=1
|
||||
indicator.size=8
|
||||
|
||||
[ToolboxTab]
|
||||
inherits=PanelButtonCommand
|
||||
frame.element=tabframe
|
||||
frame.top=1
|
||||
frame.bottom=1
|
||||
frame.left=1
|
||||
frame.right=1
|
||||
|
||||
[Tab]
|
||||
inherits=PanelButtonCommand
|
||||
interior.element=tab
|
||||
frame.element=tab
|
||||
frame.top=2
|
||||
frame.bottom=3
|
||||
frame.left=3
|
||||
frame.right=3
|
||||
indicator.size=10
|
||||
text.normal.color=#585B70
|
||||
text.focus.color=#CDD6F4
|
||||
text.press.color=#CDD6F4
|
||||
text.toggle.color=#CDD6F4
|
||||
focusFrame=true
|
||||
|
||||
[TabBarFrame]
|
||||
inherits=GenericFrame
|
||||
frame=true
|
||||
frame.element=tabBarFrame
|
||||
interior=false
|
||||
frame.top=4
|
||||
frame.bottom=4
|
||||
frame.left=4
|
||||
frame.right=4
|
||||
|
||||
[TabFrame]
|
||||
inherits=PanelButtonCommand
|
||||
frame.element=tabframe
|
||||
interior.element=tabframe
|
||||
|
||||
[Dialog]
|
||||
inherits=TabBarFrame
|
||||
frame.element=tabframe
|
||||
interior=false
|
||||
frame=false
|
||||
frame.top=1
|
||||
frame.bottom=1
|
||||
frame.left=1
|
||||
frame.right=1
|
||||
|
||||
[HeaderSection]
|
||||
inherits=PanelButtonCommand
|
||||
interior.element=header
|
||||
frame.element=header
|
||||
frame.top=0
|
||||
frame.bottom=1
|
||||
frame.left=1
|
||||
frame.right=1
|
||||
frame.expansion=0
|
||||
text.normal.color=#CDD6F4
|
||||
text.focus.color=#F5E0DC
|
||||
text.press.color=#CDD6F4
|
||||
text.toggle.color=#CDD6F4
|
||||
indicator.element=harrow
|
||||
|
||||
[SizeGrip]
|
||||
inherits=PanelButtonCommand
|
||||
frame=false
|
||||
interior=false
|
||||
indicator.element=resize-grip
|
||||
indicator.size=0
|
||||
|
||||
[Toolbar]
|
||||
inherits=PanelButtonCommand
|
||||
interior.element=menubar
|
||||
frame.element=menubar
|
||||
frame=true
|
||||
frame.bottom=4
|
||||
frame.left=4
|
||||
frame.right=4
|
||||
text.normal.color=#CDD6F4
|
||||
text.focus.color=#CDD6F4
|
||||
text.press.color=#F5E0DC
|
||||
text.toggle.color=#F5E0DC
|
||||
text.bold=false
|
||||
|
||||
[MenuBar]
|
||||
inherits=PanelButtonCommand
|
||||
frame.element=menubar
|
||||
interior.element=menubar
|
||||
frame.bottom=0
|
||||
text.normal.color=#CDD6F4
|
||||
frame.expansion=0
|
||||
text.bold=false
|
||||
|
||||
[ToolbarButton]
|
||||
frame.element=tbutton
|
||||
interior.element=tbutton
|
||||
indicator.element=arrow
|
||||
text.normal.color=#CDD6F4
|
||||
text.focus.color=#CDD6F4
|
||||
text.press.color=#181825
|
||||
text.toggle.color=#181825
|
||||
text.bold=false
|
||||
|
||||
[Scrollbar]
|
||||
inherits=PanelButtonCommand
|
||||
indicator.size=0
|
||||
interior=false
|
||||
frame=false
|
||||
|
||||
[ScrollbarGroove]
|
||||
inherits=PanelButtonCommand
|
||||
interior=false
|
||||
frame=false
|
||||
|
||||
[ScrollbarSlider]
|
||||
inherits=PanelButtonCommand
|
||||
interior=false
|
||||
frame.element=scrollbarslider
|
||||
frame.top=4
|
||||
frame.bottom=4
|
||||
frame.left=4
|
||||
frame.right=4
|
||||
|
||||
[ProgressbarContents]
|
||||
inherits=PanelButtonCommand
|
||||
frame=true
|
||||
frame.element=progress-pattern
|
||||
interior.element=progress-pattern
|
||||
frame.top=2
|
||||
frame.bottom=2
|
||||
frame.left=2
|
||||
frame.right=2
|
||||
|
||||
[Progressbar]
|
||||
inherits=PanelButtonCommand
|
||||
frame.element=progress
|
||||
interior.element=progress
|
||||
frame.top=2
|
||||
frame.bottom=2
|
||||
frame.left=2
|
||||
frame.right=2
|
||||
text.margin=0
|
||||
text.normal.color=#CDD6F4
|
||||
text.focus.color=#CDD6F4
|
||||
text.press.color=#181825
|
||||
text.toggle.color=#181825
|
||||
text.bold=false
|
||||
frame.expansion=18
|
||||
|
||||
[RadioButton]
|
||||
inherits=PanelButtonCommand
|
||||
|
||||
[Menu]
|
||||
frame.element=menu
|
||||
interior.element=menu
|
||||
inherits=PanelButtonCommand
|
||||
text.press.color=#181825
|
||||
text.toggle.color=#181825
|
||||
text.bold=false
|
||||
frame.top=3
|
||||
frame.bottom=3
|
||||
frame.left=3
|
||||
frame.right=3
|
||||
|
||||
[MenuItem]
|
||||
inherits=PanelButtonCommand
|
||||
interior.element=menuitem
|
||||
indicator.size=8
|
||||
text.focus.color=#CDD6F4
|
||||
text.press.color=#CDD6F4
|
||||
|
||||
[MenuBarItem]
|
||||
inherits=PanelButtonCommand
|
||||
interior.element=menubaritem
|
||||
frame=false
|
||||
text.margin.top=3
|
||||
text.margin.bottom=3
|
||||
text.margin.left=5
|
||||
text.margin.right=5
|
||||
|
||||
[StatusBar]
|
||||
inherits=Toolbar
|
||||
frame.element=toolbar
|
||||
font.bold=true
|
||||
text.normal.color=#CDD6F4
|
||||
frame=true
|
||||
frame.top=0
|
||||
frame.bottom=0
|
||||
|
||||
[TitleBar]
|
||||
inherits=PanelButtonCommand
|
||||
frame=false
|
||||
interior=false
|
||||
text.margin.top=2
|
||||
text.margin.bottom=2
|
||||
text.margin.left=3
|
||||
text.margin.right=3
|
||||
|
||||
[ComboBox]
|
||||
inherits=PanelButtonCommand
|
||||
indicator.size=8
|
||||
frame.top=3
|
||||
frame.bottom=3
|
||||
frame.left=3
|
||||
frame.right=3
|
||||
text.margin.top=1
|
||||
text.margin.bottom=1
|
||||
text.margin.left=3
|
||||
text.margin.right=3
|
||||
text.toggle.color=#CDD6F4
|
||||
|
||||
[ToolboxTab]
|
||||
inherits=PanelButtonCommand
|
||||
text.normal.color=#CDD6F4
|
||||
text.press.color=#CDD6F4
|
||||
text.focus.color=#CDD6F4
|
||||
|
||||
[Hacks]
|
||||
transparent_dolphin_view=true
|
||||
blur_konsole=true
|
||||
transparent_ktitle_label=true
|
||||
transparent_menutitle=true
|
||||
respect_darkness=true
|
||||
kcapacitybar_as_progressbar=true
|
||||
force_size_grip=false
|
||||
iconless_pushbutton=true
|
||||
iconless_menu=true
|
||||
disabled_icon_opacity=80
|
||||
lxqtmainmenu_iconsize=0
|
||||
normal_default_pushbutton=true
|
||||
single_top_toolbar=false
|
||||
tint_on_mouseover=0
|
||||
transparent_pcmanfm_sidepane=true
|
||||
transparent_pcmanfm_view=true
|
||||
blur_translucent=true
|
||||
centered_forms=false
|
||||
kinetic_scrolling=false
|
||||
middle_click_scroll=false
|
||||
no_selection_tint=false
|
||||
noninteger_translucency=false
|
||||
style_vertical_toolbars=false
|
||||
blur_only_active_window=false
|
||||
|
||||
[Window]
|
||||
interior=true
|
||||
interior.element=window
|
||||
frame.top=0
|
||||
frame.bottom=0
|
||||
frame.left=0
|
||||
frame.right=0
|
||||
|
After Width: | Height: | Size: 146 KiB |
@@ -0,0 +1,466 @@
|
||||
[%General]
|
||||
author=elkrien based on Arc Dark style
|
||||
comment=Tokyo-Night
|
||||
spread_menuitems=true
|
||||
left_tabs=true
|
||||
mirror_doc_tabs=true
|
||||
scroll_width=8
|
||||
attach_active_tab=true
|
||||
composite=true
|
||||
menu_shadow_depth=7
|
||||
tooltip_shadow_depth=0
|
||||
splitter_width=7
|
||||
check_size=16
|
||||
slider_width=4
|
||||
slider_handle_width=18
|
||||
slider_handle_length=18
|
||||
textless_progressbar=false
|
||||
menubar_mouse_tracking=true
|
||||
slim_toolbars=false
|
||||
toolbutton_style=1
|
||||
x11drag=menubar_and_primary_toolbar
|
||||
double_click=false
|
||||
translucent_windows=false
|
||||
blurring=false
|
||||
popup_blurring=true
|
||||
opaque=audacious,kaffeine,kmplayer,subtitlecomposer,kdenlive,vlc,smplayer,smplayer2,avidemux,avidemux2_qt4,avidemux3_qt4,avidemux3_qt5,kamoso,QtCreator,VirtualBox,VirtualBoxVM,trojita,dragon,digikam,lyx
|
||||
group_toolbar_buttons=false
|
||||
vertical_spin_indicators=false
|
||||
fill_rubberband=false
|
||||
spread_progressbar=true
|
||||
merge_menubar_with_toolbar=true
|
||||
small_icon_size=16
|
||||
large_icon_size=32
|
||||
button_icon_size=16
|
||||
scroll_arrows=false
|
||||
iconless_pushbutton=true
|
||||
toolbar_icon_size=16
|
||||
combo_as_lineedit=true
|
||||
button_contents_shift=false
|
||||
groupbox_top_label=true
|
||||
inline_spin_indicators=true
|
||||
joined_inactive_tabs=false
|
||||
layout_spacing=2
|
||||
submenu_overlap=0
|
||||
tooltip_delay=-1
|
||||
animate_states=true
|
||||
transient_scrollbar=true
|
||||
alt_mnemonic=true
|
||||
combo_menu=true
|
||||
layout_margin=4
|
||||
no_window_pattern=false
|
||||
respect_DE=true
|
||||
scroll_min_extent=36
|
||||
scrollable_menu=false
|
||||
scrollbar_in_view=false
|
||||
spin_button_width=16
|
||||
submenu_delay=250
|
||||
tree_branch_line=true
|
||||
progressbar_thickness=8
|
||||
click_behavior=0
|
||||
contrast=1.00
|
||||
dialog_button_layout=0
|
||||
drag_from_buttons=false
|
||||
hide_combo_checkboxes=false
|
||||
intensity=1.00
|
||||
no_inactiveness=false
|
||||
reduce_menu_opacity=0
|
||||
reduce_window_opacity=10
|
||||
saturation=1.00
|
||||
shadowless_popup=true
|
||||
transient_groove=false
|
||||
menu_blur_radius=6
|
||||
tooltip_blur_radius=6
|
||||
|
||||
[GeneralColors]
|
||||
window.color=#24283b
|
||||
base.color=#414868
|
||||
alt.base.color=#414868
|
||||
button.color=#c0caf5
|
||||
light.color=#7dcfff
|
||||
mid.light.color=#7dcfff
|
||||
dark.color=#414868
|
||||
mid.color=#414868
|
||||
highlight.color=#2ac3de
|
||||
inactive.highlight.color=#2ac3de
|
||||
text.color=#a9b1d6
|
||||
window.text.color=#a9b1d6
|
||||
button.text.color=#a9b1d6
|
||||
disabled.text.color=#565f89
|
||||
tooltip.text.color=#a9b1d6
|
||||
highlight.text.color=#414868
|
||||
link.color=#2ac3de
|
||||
link.visited.color=#73daca
|
||||
|
||||
[ItemView]
|
||||
inherits=PanelButtonCommand
|
||||
frame.element=itemview
|
||||
interior.element=itemview
|
||||
frame=true
|
||||
interior=true
|
||||
text.iconspacing=3
|
||||
text.toggle.color=#414868
|
||||
|
||||
[RadioButton]
|
||||
inherits=PanelButtonCommand
|
||||
frame=false
|
||||
interior.element=radio
|
||||
|
||||
[CheckBox]
|
||||
inherits=PanelButtonCommand
|
||||
frame=false
|
||||
interior.element=checkbox
|
||||
|
||||
[TreeExpander]
|
||||
indicator.element=tree
|
||||
indicator.size=8
|
||||
|
||||
[ToolTip]
|
||||
frame.top=4
|
||||
frame.right=4
|
||||
frame.bottom=4
|
||||
frame.left=4
|
||||
frame=true
|
||||
|
||||
[PanelButtonCommand]
|
||||
inherits=PanelButtonCommand
|
||||
interior.element=button
|
||||
frame.element=button
|
||||
text.normal.color=#a9b1d6
|
||||
text.focus.color=#a9b1d6
|
||||
text.press.color=#414868
|
||||
text.toggle.color=#414868
|
||||
|
||||
[PanelButtonTool]
|
||||
inherits=PanelButtonCommand
|
||||
|
||||
[DockTitle]
|
||||
inherits=PanelButtonCommand
|
||||
interior=false
|
||||
frame=false
|
||||
text.margin.top=5
|
||||
text.margin.bottom=5
|
||||
text.margin.left=5
|
||||
text.margin.right=5
|
||||
indicator.size=0
|
||||
|
||||
[Dock]
|
||||
interior.element=toolbar
|
||||
frame.element=toolbar
|
||||
frame=true
|
||||
interior=true
|
||||
|
||||
[GroupBox]
|
||||
inherits=PanelButtonCommand
|
||||
interior.element=tabframe
|
||||
interior=true
|
||||
frame=false
|
||||
|
||||
[Focus]
|
||||
inherits=PanelButtonCommand
|
||||
frame=true
|
||||
frame.element=focus
|
||||
frame.top=1
|
||||
frame.bottom=1
|
||||
frame.left=1
|
||||
frame.right=1
|
||||
frame.patternsize=20
|
||||
|
||||
[GenericFrame]
|
||||
inherits=PanelButtonCommand
|
||||
frame.element=common
|
||||
frame.top=1
|
||||
frame.bottom=1
|
||||
frame.left=1
|
||||
frame.right=1
|
||||
|
||||
[Slider]
|
||||
inherits=PanelButtonCommand
|
||||
interior=true
|
||||
frame.element=slider
|
||||
interior.element=slider
|
||||
frame.top=3
|
||||
frame.bottom=3
|
||||
frame.left=3
|
||||
frame.right=3
|
||||
focusFrame=true
|
||||
|
||||
[SliderCursor]
|
||||
inherits=PanelButtonCommand
|
||||
interior=true
|
||||
interior.element=slidercursor
|
||||
frame=false
|
||||
|
||||
[LineEdit]
|
||||
inherits=PanelButtonCommand
|
||||
frame.element=lineedit
|
||||
interior.element=lineedit
|
||||
|
||||
[IndicatorSpinBox]
|
||||
inherits=LineEdit
|
||||
frame.element=lineedit
|
||||
interior.element=lineedit
|
||||
frame.top=0
|
||||
frame.bottom=2
|
||||
frame.left=2
|
||||
frame.right=2
|
||||
indicator.size=8
|
||||
|
||||
[DropDownButton]
|
||||
inherits=PanelButtonCommand
|
||||
frame.top=2
|
||||
frame.bottom=2
|
||||
frame.left=0
|
||||
frame.right=1
|
||||
indicator.size=8
|
||||
|
||||
[ToolboxTab]
|
||||
inherits=PanelButtonCommand
|
||||
frame.element=tabframe
|
||||
frame.top=1
|
||||
frame.bottom=1
|
||||
frame.left=1
|
||||
frame.right=1
|
||||
|
||||
[Tab]
|
||||
inherits=PanelButtonCommand
|
||||
interior.element=tab
|
||||
frame.element=tab
|
||||
frame.top=2
|
||||
frame.bottom=3
|
||||
frame.left=3
|
||||
frame.right=3
|
||||
indicator.size=10
|
||||
text.normal.color=#565f89
|
||||
text.focus.color=#a9b1d6
|
||||
text.press.color=#a9b1d6
|
||||
text.toggle.color=#a9b1d6
|
||||
focusFrame=true
|
||||
|
||||
[TabBarFrame]
|
||||
inherits=GenericFrame
|
||||
frame=true
|
||||
frame.element=tabBarFrame
|
||||
interior=false
|
||||
frame.top=4
|
||||
frame.bottom=4
|
||||
frame.left=4
|
||||
frame.right=4
|
||||
|
||||
[TabFrame]
|
||||
inherits=PanelButtonCommand
|
||||
frame.element=tabframe
|
||||
interior.element=tabframe
|
||||
|
||||
[Dialog]
|
||||
inherits=TabBarFrame
|
||||
frame.element=tabframe
|
||||
interior=false
|
||||
frame=false
|
||||
frame.top=1
|
||||
frame.bottom=1
|
||||
frame.left=1
|
||||
frame.right=1
|
||||
|
||||
[HeaderSection]
|
||||
inherits=PanelButtonCommand
|
||||
interior.element=header
|
||||
frame.element=header
|
||||
frame.top=0
|
||||
frame.bottom=1
|
||||
frame.left=1
|
||||
frame.right=1
|
||||
frame.expansion=0
|
||||
text.normal.color=#a9b1d6
|
||||
text.focus.color=#2ac3de
|
||||
text.press.color=#a9b1d6
|
||||
text.toggle.color=#a9b1d6
|
||||
indicator.element=harrow
|
||||
|
||||
[SizeGrip]
|
||||
inherits=PanelButtonCommand
|
||||
frame=false
|
||||
interior=false
|
||||
indicator.element=resize-grip
|
||||
indicator.size=0
|
||||
|
||||
[Toolbar]
|
||||
inherits=PanelButtonCommand
|
||||
interior.element=menubar
|
||||
frame.element=menubar
|
||||
frame=true
|
||||
frame.bottom=4
|
||||
frame.left=4
|
||||
frame.right=4
|
||||
text.normal.color=#a9b1d6
|
||||
text.focus.color=#a9b1d6
|
||||
text.press.color=#2ac3de
|
||||
text.toggle.color=#2ac3de
|
||||
text.bold=false
|
||||
|
||||
[MenuBar]
|
||||
inherits=PanelButtonCommand
|
||||
frame.element=menubar
|
||||
interior.element=menubar
|
||||
frame.bottom=0
|
||||
text.normal.color=#a9b1d6
|
||||
frame.expansion=0
|
||||
text.bold=false
|
||||
|
||||
[ToolbarButton]
|
||||
frame.element=tbutton
|
||||
interior.element=tbutton
|
||||
indicator.element=arrow
|
||||
text.normal.color=#a9b1d6
|
||||
text.focus.color=#a9b1d6
|
||||
text.press.color=#414868
|
||||
text.toggle.color=#414868
|
||||
text.bold=false
|
||||
|
||||
[Scrollbar]
|
||||
inherits=PanelButtonCommand
|
||||
indicator.size=0
|
||||
interior=false
|
||||
frame=false
|
||||
|
||||
[ScrollbarGroove]
|
||||
inherits=PanelButtonCommand
|
||||
interior=false
|
||||
frame=false
|
||||
|
||||
[ScrollbarSlider]
|
||||
inherits=PanelButtonCommand
|
||||
interior=false
|
||||
frame.element=scrollbarslider
|
||||
frame.top=4
|
||||
frame.bottom=4
|
||||
frame.left=4
|
||||
frame.right=4
|
||||
|
||||
[ProgressbarContents]
|
||||
inherits=PanelButtonCommand
|
||||
frame=true
|
||||
frame.element=progress-pattern
|
||||
interior.element=progress-pattern
|
||||
frame.top=2
|
||||
frame.bottom=2
|
||||
frame.left=2
|
||||
frame.right=2
|
||||
|
||||
[Progressbar]
|
||||
inherits=PanelButtonCommand
|
||||
frame.element=progress
|
||||
interior.element=progress
|
||||
frame.top=2
|
||||
frame.bottom=2
|
||||
frame.left=2
|
||||
frame.right=2
|
||||
text.margin=0
|
||||
text.normal.color=#a9b1d6
|
||||
text.focus.color=#a9b1d6
|
||||
text.press.color=#414868
|
||||
text.toggle.color=#414868
|
||||
text.bold=false
|
||||
frame.expansion=18
|
||||
|
||||
[RadioButton]
|
||||
inherits=PanelButtonCommand
|
||||
|
||||
[Menu]
|
||||
frame.element=menu
|
||||
interior.element=menu
|
||||
inherits=PanelButtonCommand
|
||||
text.press.color=#414868
|
||||
text.toggle.color=#414868
|
||||
text.bold=false
|
||||
frame.top=3
|
||||
frame.bottom=3
|
||||
frame.left=3
|
||||
frame.right=3
|
||||
|
||||
[MenuItem]
|
||||
inherits=PanelButtonCommand
|
||||
interior.element=menuitem
|
||||
indicator.size=8
|
||||
text.focus.color=#a9b1d6
|
||||
text.press.color=#a9b1d6
|
||||
|
||||
[MenuBarItem]
|
||||
inherits=PanelButtonCommand
|
||||
interior.element=menubaritem
|
||||
frame=false
|
||||
text.margin.top=3
|
||||
text.margin.bottom=3
|
||||
text.margin.left=5
|
||||
text.margin.right=5
|
||||
|
||||
[StatusBar]
|
||||
inherits=Toolbar
|
||||
frame.element=toolbar
|
||||
font.bold=true
|
||||
text.normal.color=#a9b1d6
|
||||
frame=true
|
||||
frame.top=0
|
||||
frame.bottom=0
|
||||
|
||||
[TitleBar]
|
||||
inherits=PanelButtonCommand
|
||||
frame=false
|
||||
interior=false
|
||||
text.margin.top=2
|
||||
text.margin.bottom=2
|
||||
text.margin.left=3
|
||||
text.margin.right=3
|
||||
|
||||
[ComboBox]
|
||||
inherits=PanelButtonCommand
|
||||
indicator.size=8
|
||||
frame.top=3
|
||||
frame.bottom=3
|
||||
frame.left=3
|
||||
frame.right=3
|
||||
text.margin.top=1
|
||||
text.margin.bottom=1
|
||||
text.margin.left=3
|
||||
text.margin.right=3
|
||||
text.toggle.color=#a9b1d6
|
||||
|
||||
[ToolboxTab]
|
||||
inherits=PanelButtonCommand
|
||||
text.normal.color=#a9b1d6
|
||||
text.press.color=#a9b1d6
|
||||
text.focus.color=#a9b1d6
|
||||
|
||||
[Hacks]
|
||||
transparent_dolphin_view=true
|
||||
blur_konsole=true
|
||||
transparent_ktitle_label=true
|
||||
transparent_menutitle=true
|
||||
respect_darkness=true
|
||||
kcapacitybar_as_progressbar=true
|
||||
force_size_grip=false
|
||||
iconless_pushbutton=true
|
||||
iconless_menu=true
|
||||
disabled_icon_opacity=80
|
||||
lxqtmainmenu_iconsize=0
|
||||
normal_default_pushbutton=true
|
||||
single_top_toolbar=false
|
||||
tint_on_mouseover=0
|
||||
transparent_pcmanfm_sidepane=true
|
||||
transparent_pcmanfm_view=true
|
||||
blur_translucent=true
|
||||
centered_forms=false
|
||||
kinetic_scrolling=false
|
||||
middle_click_scroll=false
|
||||
no_selection_tint=false
|
||||
noninteger_translucency=false
|
||||
style_vertical_toolbars=false
|
||||
blur_only_active_window=false
|
||||
|
||||
[Window]
|
||||
interior=true
|
||||
interior.element=window
|
||||
frame.top=0
|
||||
frame.bottom=0
|
||||
frame.left=0
|
||||
frame.right=0
|
||||
|
After Width: | Height: | Size: 212 KiB |
@@ -0,0 +1,2 @@
|
||||
[General]
|
||||
theme=Tokyo-Night
|
||||
@@ -0,0 +1,116 @@
|
||||
; Thunar GtkAccelMap rc-file -*- scheme -*-
|
||||
; this file is an automated accelerator map dump
|
||||
;
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/restore" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/undo" "<Primary>z")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/select-all-files" "<Primary>a")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-by-dtime" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStatusBar/toggle-last-modified" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/invert-selection" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStatusBar/toggle-display-name" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/cut" "<Primary>x")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/restore-show" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-in" "<Primary>plus")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-ascending" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/empty-trash" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/reload" "<Primary>r")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/toggle-image-preview" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/cut-2" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-side-pane-menu" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/trash-delete" "Delete")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-network" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/trash-delete-2" "KP_Delete")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/contents/help-menu" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/delete" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/set-default-app" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/back-alt" "BackSpace")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/open-in-new-tab" "<Primary><Shift>p")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/switch-next-tab" "<Primary>Page_Down")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-file-menu" "F10")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-as-compact-list" "<Primary>3")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/about" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-computer" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/clear-directory-specific-settings" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-file-system" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-parent" "<Alt>Up")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-menu" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/copy" "<Primary>c")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/properties" "<Alt>Return")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/back" "<Alt>Left")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/sendto-menu" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-by-mtime" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/open-location" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/bookmarks-menu" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/reload-alt" "F5")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-location-selector-buttons" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStatusBar/toggle-size-in-bytes" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/unselect-all-files" "Escape")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/copy-2" "<Primary>Insert")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-out-alt" "<Primary>KP_Subtract")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/cancel-search" "Escape")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/select-by-pattern" "<Primary>s")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/rename" "F2")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/create-document" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarShortcutsPane/sendto-shortcuts" "<Primary>d")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/move-to-trash" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/close-tab" "<Primary>w")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-side-pane-tree" "<Primary>e")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/open" "<Primary>o")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/toggle-side-pane" "F9")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-location-selector-entry" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-recent" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-home" "<Alt>Home")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/toggle-split-view" "F3")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-templates" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-location-alt" "<Alt>d")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/create-folder" "<Primary><Shift>n")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/search" "<Primary>f")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-by-type" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/paste-2" "<Shift>Insert")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-in-alt2" "<Primary>equal")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/duplicate" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/remove-from-recent" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-out" "<Primary>minus")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/close-window" "<Primary>q")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/edit-menu" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-side-pane-shortcuts" "<Primary>b")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/show-highlight" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/contents" "F1")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/preferences" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/switch-previous-tab" "<Primary>Page_Up")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-in-alt1" "<Primary>KP_Add")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/toggle-sort-order" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/open-in-new-window" "<Primary><Shift>o")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-configure-toolbar" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-location-selector-menu" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-statusbar" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/close-all-windows" "<Primary><Shift>w")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-trash" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/paste" "<Primary>v")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/delete-3" "<Shift>KP_Delete")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/execute" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-desktop" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/open-with-other" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStatusBar/toggle-size" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/sendto-desktop" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-location" "<Primary>l")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-menubar" "<Primary>m")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-reset-alt" "<Primary>KP_0")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-as-detailed-list" "<Primary>2")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-as-icons" "<Primary>1")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/new-window" "<Primary>n")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/forward" "<Alt>Right")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/redo" "<Primary><Shift>z")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-descending" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/file-menu" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/make-link" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/delete-2" "<Shift>Delete")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/new-tab" "<Primary>t")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/go-menu" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-by-size" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/arrange-items-menu" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/show-hidden" "<Primary>h")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-by-name" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-reset" "<Primary>0")
|
||||
; (gtk_accel_path "<Actions>/ThunarStatusBar/toggle-filetype" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/detach-tab" "")
|
||||
@@ -0,0 +1,10 @@
|
||||
[Configuration]
|
||||
LastActiveMode=THUNAR_RENAMER_MODE_NAME
|
||||
LastActiveRenamer=ThunarSbrDateRenamer
|
||||
|
||||
[ThunarSbrDateRenamer]
|
||||
Offset=0
|
||||
Mode=THUNAR_SBR_DATE_MODE_NOW
|
||||
Format=%Y%m%d
|
||||
OffsetMode=THUNAR_SBR_OFFSET_MODE_LEFT
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<actions>
|
||||
<action>
|
||||
<icon>utilities-terminal</icon>
|
||||
<name>Open Terminal Here</name>
|
||||
<submenu></submenu>
|
||||
<unique-id>1488955845049151-1</unique-id>
|
||||
<command>/usr/bin/kitty %f</command>
|
||||
<description></description>
|
||||
<range></range>
|
||||
<patterns>*</patterns>
|
||||
<startup-notify/>
|
||||
<directories/>
|
||||
</action>
|
||||
</actions>
|
||||
@@ -0,0 +1,212 @@
|
||||
#? Config file for btop v. 1.2.13
|
||||
|
||||
#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes.
|
||||
#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes"
|
||||
color_theme = "/home/proxzima/.config/btop/themes/proxzima.theme"
|
||||
|
||||
#* If the theme set background should be shown, set to False if you want terminal background transparency.
|
||||
theme_background = False
|
||||
|
||||
#* Sets if 24-bit truecolor should be used, will convert 24-bit colors to 256 color (6x6x6 color cube) if false.
|
||||
truecolor = True
|
||||
|
||||
#* Set to true to force tty mode regardless if a real tty has been detected or not.
|
||||
#* Will force 16-color mode and TTY theme, set all graph symbols to "tty" and swap out other non tty friendly symbols.
|
||||
force_tty = False
|
||||
|
||||
#* Define presets for the layout of the boxes. Preset 0 is always all boxes shown with default settings. Max 9 presets.
|
||||
#* Format: "box_name:P:G,box_name:P:G" P=(0 or 1) for alternate positions, G=graph symbol to use for box.
|
||||
#* Use whitespace " " as separator between different presets.
|
||||
#* Example: "cpu:0:default,mem:0:tty,proc:1:default cpu:0:braille,proc:0:tty"
|
||||
presets = "cpu:1:default,proc:0:default cpu:0:default,mem:0:default,net:0:default cpu:0:block,net:0:tty"
|
||||
|
||||
#* Set to True to enable "h,j,k,l,g,G" keys for directional control in lists.
|
||||
#* Conflicting keys for h:"help" and k:"kill" is accessible while holding shift.
|
||||
vim_keys = False
|
||||
|
||||
#* Rounded corners on boxes, is ignored if TTY mode is ON.
|
||||
rounded_corners = True
|
||||
|
||||
#* Default symbols to use for graph creation, "braille", "block" or "tty".
|
||||
#* "braille" offers the highest resolution but might not be included in all fonts.
|
||||
#* "block" has half the resolution of braille but uses more common characters.
|
||||
#* "tty" uses only 3 different symbols but will work with most fonts and should work in a real TTY.
|
||||
#* Note that "tty" only has half the horizontal resolution of the other two, so will show a shorter historical view.
|
||||
graph_symbol = "braille"
|
||||
|
||||
# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
|
||||
graph_symbol_cpu = "default"
|
||||
|
||||
# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
|
||||
graph_symbol_mem = "default"
|
||||
|
||||
# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
|
||||
graph_symbol_net = "default"
|
||||
|
||||
# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
|
||||
graph_symbol_proc = "default"
|
||||
|
||||
#* Manually set which boxes to show. Available values are "cpu mem net proc", separate values with whitespace.
|
||||
shown_boxes = "cpu mem net proc"
|
||||
|
||||
#* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs.
|
||||
update_ms = 1500
|
||||
|
||||
#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct",
|
||||
#* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly.
|
||||
proc_sorting = "memory"
|
||||
|
||||
#* Reverse sorting order, True or False.
|
||||
proc_reversed = False
|
||||
|
||||
#* Show processes as a tree.
|
||||
proc_tree = True
|
||||
|
||||
#* Use the cpu graph colors in the process list.
|
||||
proc_colors = True
|
||||
|
||||
#* Use a darkening gradient in the process list.
|
||||
proc_gradient = True
|
||||
|
||||
#* If process cpu usage should be of the core it's running on or usage of the total available cpu power.
|
||||
proc_per_core = True
|
||||
|
||||
#* Show process memory as bytes instead of percent.
|
||||
proc_mem_bytes = True
|
||||
|
||||
#* Show cpu graph for each process.
|
||||
proc_cpu_graphs = True
|
||||
|
||||
#* Use /proc/[pid]/smaps for memory information in the process info box (very slow but more accurate)
|
||||
proc_info_smaps = False
|
||||
|
||||
#* Show proc box on left side of screen instead of right.
|
||||
proc_left = False
|
||||
|
||||
#* (Linux) Filter processes tied to the Linux kernel(similar behavior to htop).
|
||||
proc_filter_kernel = False
|
||||
|
||||
#* Sets the CPU stat shown in upper half of the CPU graph, "total" is always available.
|
||||
#* Select from a list of detected attributes from the options menu.
|
||||
cpu_graph_upper = "total"
|
||||
|
||||
#* Sets the CPU stat shown in lower half of the CPU graph, "total" is always available.
|
||||
#* Select from a list of detected attributes from the options menu.
|
||||
cpu_graph_lower = "total"
|
||||
|
||||
#* Toggles if the lower CPU graph should be inverted.
|
||||
cpu_invert_lower = True
|
||||
|
||||
#* Set to True to completely disable the lower CPU graph.
|
||||
cpu_single_graph = False
|
||||
|
||||
#* Show cpu box at bottom of screen instead of top.
|
||||
cpu_bottom = False
|
||||
|
||||
#* Shows the system uptime in the CPU box.
|
||||
show_uptime = True
|
||||
|
||||
#* Show cpu temperature.
|
||||
check_temp = True
|
||||
|
||||
#* Which sensor to use for cpu temperature, use options menu to select from list of available sensors.
|
||||
cpu_sensor = "Auto"
|
||||
|
||||
#* Show temperatures for cpu cores also if check_temp is True and sensors has been found.
|
||||
show_coretemp = True
|
||||
|
||||
#* Set a custom mapping between core and coretemp, can be needed on certain cpus to get correct temperature for correct core.
|
||||
#* Use lm-sensors or similar to see which cores are reporting temperatures on your machine.
|
||||
#* Format "x:y" x=core with wrong temp, y=core with correct temp, use space as separator between multiple entries.
|
||||
#* Example: "4:0 5:1 6:3"
|
||||
cpu_core_map = ""
|
||||
|
||||
#* Which temperature scale to use, available values: "celsius", "fahrenheit", "kelvin" and "rankine".
|
||||
temp_scale = "celsius"
|
||||
|
||||
#* Use base 10 for bits/bytes sizes, KB = 1000 instead of KiB = 1024.
|
||||
base_10_sizes = False
|
||||
|
||||
#* Show CPU frequency.
|
||||
show_cpu_freq = True
|
||||
|
||||
#* Draw a clock at top of screen, formatting according to strftime, empty string to disable.
|
||||
#* Special formatting: /host = hostname | /user = username | /uptime = system uptime
|
||||
clock_format = "%X"
|
||||
|
||||
#* Update main ui in background when menus are showing, set this to false if the menus is flickering too much for comfort.
|
||||
background_update = True
|
||||
|
||||
#* Custom cpu model name, empty string to disable.
|
||||
custom_cpu_name = ""
|
||||
|
||||
#* Optional filter for shown disks, should be full path of a mountpoint, separate multiple values with whitespace " ".
|
||||
#* Begin line with "exclude=" to change to exclude filter, otherwise defaults to "most include" filter. Example: disks_filter="exclude=/boot /home/user".
|
||||
disks_filter = ""
|
||||
|
||||
#* Show graphs instead of meters for memory values.
|
||||
mem_graphs = True
|
||||
|
||||
#* Show mem box below net box instead of above.
|
||||
mem_below_net = False
|
||||
|
||||
#* Count ZFS ARC in cached and available memory.
|
||||
zfs_arc_cached = True
|
||||
|
||||
#* If swap memory should be shown in memory box.
|
||||
show_swap = True
|
||||
|
||||
#* Show swap as a disk, ignores show_swap value above, inserts itself after first disk.
|
||||
swap_disk = True
|
||||
|
||||
#* If mem box should be split to also show disks info.
|
||||
show_disks = True
|
||||
|
||||
#* Filter out non physical disks. Set this to False to include network disks, RAM disks and similar.
|
||||
only_physical = True
|
||||
|
||||
#* Read disks list from /etc/fstab. This also disables only_physical.
|
||||
use_fstab = True
|
||||
|
||||
#* Setting this to True will hide all datasets, and only show ZFS pools. (IO stats will be calculated per-pool)
|
||||
zfs_hide_datasets = False
|
||||
|
||||
#* Set to true to show available disk space for privileged users.
|
||||
disk_free_priv = False
|
||||
|
||||
#* Toggles if io activity % (disk busy time) should be shown in regular disk usage view.
|
||||
show_io_stat = True
|
||||
|
||||
#* Toggles io mode for disks, showing big graphs for disk read/write speeds.
|
||||
io_mode = False
|
||||
|
||||
#* Set to True to show combined read/write io graphs in io mode.
|
||||
io_graph_combined = False
|
||||
|
||||
#* Set the top speed for the io graphs in MiB/s (100 by default), use format "mountpoint:speed" separate disks with whitespace " ".
|
||||
#* Example: "/mnt/media:100 /:20 /boot:1".
|
||||
io_graph_speeds = ""
|
||||
|
||||
#* Set fixed values for network graphs in Mebibits. Is only used if net_auto is also set to False.
|
||||
net_download = 100
|
||||
|
||||
net_upload = 100
|
||||
|
||||
#* Use network graphs auto rescaling mode, ignores any values set above and rescales down to 10 Kibibytes at the lowest.
|
||||
net_auto = True
|
||||
|
||||
#* Sync the auto scaling for download and upload to whichever currently has the highest scale.
|
||||
net_sync = False
|
||||
|
||||
#* Starts with the Network Interface specified here.
|
||||
net_iface = ""
|
||||
|
||||
#* Show battery stats in top right if battery is present.
|
||||
show_battery = True
|
||||
|
||||
#* Which battery to use if multiple are present. "Auto" for auto detection.
|
||||
selected_battery = "Auto"
|
||||
|
||||
#* Set loglevel for "~/.config/btop/btop.log" levels are: "ERROR" "WARNING" "INFO" "DEBUG".
|
||||
#* The level set includes all lower levels, i.e. "DEBUG" will show all logging info.
|
||||
log_level = "WARNING"
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
2022/06/30 (12:53:42) | ===> btop++ v.1.2.3
|
||||
2022/06/30 (12:53:42) | ERROR: Failed to get size of terminal!
|
||||
@@ -0,0 +1,43 @@
|
||||
theme[main_bg]="#161925"
|
||||
theme[main_fg]="#CDD6F4"
|
||||
theme[title]="#CDD6F4"
|
||||
theme[hi_fg]="#89B4FA"
|
||||
theme[selected_bg]="#45475A"
|
||||
theme[selected_fg]="#89B4FA"
|
||||
theme[inactive_fg]="#7F849C"
|
||||
theme[graph_text]="#F5E0DC"
|
||||
theme[meter_bg]="#45475A"
|
||||
theme[proc_misc]="#F5E0DC"
|
||||
theme[cpu_box]="#74C7EC"
|
||||
theme[mem_box]="#A6E3A1"
|
||||
theme[net_box]="#CBA6F7"
|
||||
theme[proc_box]="#F2CDCD"
|
||||
theme[div_line]="#6C7086"
|
||||
theme[temp_start]="#F9E2AF"
|
||||
theme[temp_mid]="#FAB387"
|
||||
theme[temp_end]="#F38BA8"
|
||||
theme[cpu_start]="#74C7EC"
|
||||
theme[cpu_mid]="#89DCEB"
|
||||
theme[cpu_end]="#94E2D5"
|
||||
theme[free_start]="#94E2D5"
|
||||
theme[free_mid]="#94E2D5"
|
||||
theme[free_end]="#A6E3A1"
|
||||
theme[cached_start]="#F5C2E7"
|
||||
theme[cached_mid]="#F5C2E7"
|
||||
theme[cached_end]="#CBA6F7"
|
||||
theme[available_start]="#F5E0DC"
|
||||
theme[available_mid]="#F2CDCD"
|
||||
theme[available_end]="#F2CDCD"
|
||||
theme[used_start]="#FAB387"
|
||||
theme[used_mid]="#FAB387"
|
||||
theme[used_end]="#F38BA8"
|
||||
theme[download_start]="#B4BEFE"
|
||||
theme[download_mid]="#B4BEFE"
|
||||
theme[download_end]="#CBA6F7"
|
||||
theme[upload_start]="#B4BEFE"
|
||||
theme[upload_mid]="#B4BEFE"
|
||||
theme[upload_end]="#CBA6F7"
|
||||
theme[process_start]="#74C7EC"
|
||||
theme[process_mid]="#89DCEB"
|
||||
theme[process_end]="#94E2D5"
|
||||
|
||||
@@ -0,0 +1,163 @@
|
||||
## Configuration file for CAVA. Default values are commented out. Use either ';' or '#' for commenting.
|
||||
|
||||
|
||||
[general]
|
||||
|
||||
# Smoothing mode. Can be 'normal', 'scientific' or 'waves'.
|
||||
mode = normal
|
||||
|
||||
# Accepts only non-negative values.
|
||||
framerate = 60
|
||||
|
||||
# 'autosens' will attempt to decrease sensitivity if the bars peak. 1 = on, 0 = off
|
||||
# 'overshoot' allows bars to overshoot (in % of terminal height) without initiating autosens.
|
||||
; autosens = 1
|
||||
; overshoot = 20
|
||||
|
||||
# Manual sensitivity in %. Autosens must be turned off for this to take effect.
|
||||
# 200 means double height. Accepts only non-negative values.
|
||||
; sensitivity = 100
|
||||
|
||||
# The number of bars (0-200). 0 sets it to auto (fill up console).
|
||||
# Bars' width and space between bars in number of characters.
|
||||
bars = 0
|
||||
bar_width = 4
|
||||
bar_spacing = 1
|
||||
|
||||
# Lower and higher cutoff frequencies for lowest and highest bars
|
||||
# the bandwidth of the visualizer.
|
||||
# Note: there is a minimum total bandwidth of 43Mhz x number of bars.
|
||||
# Cava will automatically increase the higher cutoff if a too low band is specified.
|
||||
; lower_cutoff_freq = 50
|
||||
; higher_cutoff_freq = 10000
|
||||
|
||||
|
||||
|
||||
[input]
|
||||
|
||||
# Audio capturing method. Possible methods are: 'pulse', 'alsa' or 'fifo'.
|
||||
# Defaults to 'pulse', 'alsa' or 'fifo', in that order, dependent on what support cava was built with.
|
||||
#
|
||||
# All input methods uses the same config variable 'source'
|
||||
# to define where it should get the audio.
|
||||
#
|
||||
# For pulseaudio 'source' will be the source. Default: 'auto', which uses the monitor source of the default sink
|
||||
# (all pulseaudio sinks(outputs) have 'monitor' sources(inputs) associated with them).
|
||||
#
|
||||
# For alsa 'source' will be the capture device.
|
||||
# For fifo 'source' will be the path to fifo-file.
|
||||
method = pulse
|
||||
source = auto
|
||||
|
||||
; method = alsa
|
||||
; source = hw:Loopback,1
|
||||
|
||||
; method = fifo
|
||||
; source = /tmp/mpd.fifo
|
||||
|
||||
|
||||
|
||||
[output]
|
||||
|
||||
# Ouput method. Can be 'ncurses', 'noncurses' or 'raw'.
|
||||
# 'noncurses' is for systems that does not suport ncurses.
|
||||
# 'raw' is a 16 bit data stream of the bar heights that can be used to send to other applications.
|
||||
# 'raw' defaults to 200 bars, which can be adjusted in the 'bars' option above.
|
||||
method = ncurses
|
||||
|
||||
# Visual styles. Can be 'stereo' or 'mono'.
|
||||
# 'stereo' mirrors both channels with low frequencies in center.
|
||||
# 'mono' averages both channels and outputs left to right lowest to highest frequencies.
|
||||
style = mono
|
||||
|
||||
# Raw output target. A fifo will be created if target does not exist.
|
||||
; raw_target = /dev/stdout
|
||||
|
||||
# Raw data format. Can be 'binary' or 'ascii'.
|
||||
; data_format = binary
|
||||
|
||||
# Binary bit format, can be '8bit' (0-255) or '16bit' (0-65530).
|
||||
; bit_format = 16bit
|
||||
|
||||
# Ascii max value. In 'ascii' mode range will run from 0 to value specified here
|
||||
; ascii_max_range = 1000
|
||||
|
||||
# Ascii delimiters. In ascii format each bar and frame is separated by a delimiters.
|
||||
# Use decimal value in ascii table (i.e. 59 = ';' and 10 = '\n' (line feed)).
|
||||
; bar_delimiter = 59
|
||||
; frame_delimiter = 10
|
||||
|
||||
|
||||
|
||||
# [color]
|
||||
|
||||
# # Colors can be one of seven predefined: black, blue, cyan, green, magenta, red, white, yellow.
|
||||
# # Or defined by hex code '#xxxxxx' (hex code must be within ''). User defined colors requires a
|
||||
# # terminal that can change color definitions such as Gnome-terminal or rxvt.
|
||||
# ; background = black
|
||||
# ; foreground = cyan
|
||||
|
||||
# # Gradient mode, only hex defined colors are supported, background must also be defined in hex
|
||||
# # or remain commented out. 1 = on, 0 = off. Warning: for certain terminal emulators cava will
|
||||
# # not able to restore color definitions on exit, simply restart your terminal to restore colors.
|
||||
# gradient = 1
|
||||
# gradient_color_1 = '#0099ff'
|
||||
# gradient_color_2 = '#ff3399'
|
||||
|
||||
|
||||
|
||||
[smoothing]
|
||||
|
||||
# Multiplier for the integral smoothing calculations. Takes values from 0-0.99.
|
||||
# Higher values means smoother, but less precise. Set to 0 to disable.
|
||||
; integral = 0.7
|
||||
|
||||
# Disables or enables the so-called "Monstercat smoothing". Set to 0 to disable.
|
||||
; monstercat = 1
|
||||
; waves = 1
|
||||
|
||||
# Set gravity multiplier for "drop off". Higher values means bars will drop faster.
|
||||
# Accepts only non-negative values. 0.5 means half gravity, 2 means double. Set to 0 to disable "drop off".
|
||||
; gravity = 1
|
||||
|
||||
|
||||
# In bar height, bars that would have been lower that this will not be drawn.
|
||||
; ignore = 0
|
||||
|
||||
|
||||
[eq]
|
||||
|
||||
# This one is tricky. You can have as much keys as you want.
|
||||
# Remember to uncomment more then one key! More keys = more precision.
|
||||
# Look at readme.md on github for further explanations and examples.
|
||||
; 1 = 1 # bass
|
||||
; 2 = 1
|
||||
; 3 = 1 # midtone
|
||||
; 4 = 1
|
||||
; 5 = 1 # treble
|
||||
|
||||
|
||||
[color]
|
||||
|
||||
background = '#161925'
|
||||
gradient = 1
|
||||
gradient_count = 6
|
||||
gradient_color_1 = '#31748f'
|
||||
gradient_color_2 = '#9ccfd8'
|
||||
gradient_color_3 = '#c4a7e7'
|
||||
gradient_color_4 = '#ebbcba'
|
||||
gradient_color_5 = '#f6c177'
|
||||
gradient_color_6 = '#eb6f92'
|
||||
|
||||
[color]
|
||||
|
||||
gradient = 1
|
||||
|
||||
gradient_color_1 = '#94e2d5'
|
||||
gradient_color_2 = '#89dceb'
|
||||
gradient_color_3 = '#74c7ec'
|
||||
gradient_color_4 = '#89b4fa'
|
||||
gradient_color_5 = '#cba6f7'
|
||||
gradient_color_6 = '#f5c2e7'
|
||||
gradient_color_7 = '#eba0ac'
|
||||
gradient_color_8 = '#f38ba8'
|
||||
@@ -0,0 +1,79 @@
|
||||
#version 330
|
||||
|
||||
in vec2 fragCoord;
|
||||
out vec4 fragColor;
|
||||
|
||||
// bar values. defaults to left channels first (low to high), then right (high to low).
|
||||
uniform float bars[512];
|
||||
|
||||
uniform int bars_count; // number of bars (left + right) (configurable)
|
||||
uniform int bar_width; // bar width (configurable), not used here
|
||||
uniform int bar_spacing; // space bewteen bars (configurable)
|
||||
|
||||
uniform vec3 u_resolution; // window resolution
|
||||
|
||||
//colors, configurable in cava config file (r,g,b) (0.0 - 1.0)
|
||||
uniform vec3 bg_color; // background color
|
||||
uniform vec3 fg_color; // foreground color
|
||||
|
||||
uniform int gradient_count;
|
||||
uniform vec3 gradient_colors[8]; // gradient colors
|
||||
|
||||
vec3 normalize_C(float y,vec3 col_1, vec3 col_2, float y_min, float y_max)
|
||||
{
|
||||
//create color based on fraction of this color and next color
|
||||
float yr = (y - y_min) / (y_max - y_min);
|
||||
return col_1 * (1.0 - yr) + col_2 * yr;
|
||||
}
|
||||
|
||||
void main()
|
||||
{
|
||||
// find which bar to use based on where we are on the x axis
|
||||
float x = u_resolution.x * fragCoord.x;
|
||||
int bar = int(bars_count * fragCoord.x);
|
||||
|
||||
//calculate a bar size
|
||||
float bar_size = u_resolution.x / bars_count;
|
||||
|
||||
//the y coordinate and bar values are the same
|
||||
float y = bars[bar];
|
||||
|
||||
// make sure there is a thin line at bottom
|
||||
if (y * u_resolution.y < 1.0)
|
||||
{
|
||||
y = 1.0 / u_resolution.y;
|
||||
}
|
||||
|
||||
//draw the bar up to current height
|
||||
if (y > fragCoord.y)
|
||||
{
|
||||
//make some space between bars basen on settings
|
||||
if (x > (bar + 1) * (bar_size) - bar_spacing)
|
||||
{
|
||||
fragColor = vec4(bg_color,1.0);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (gradient_count == 0)
|
||||
{
|
||||
fragColor = vec4(fg_color,1.0);
|
||||
}
|
||||
else
|
||||
{
|
||||
//find which color in the configured gradient we are at
|
||||
int color = int((gradient_count - 1) * fragCoord.y);
|
||||
|
||||
//find where on y this and next color is supposed to be
|
||||
float y_min = color / (gradient_count - 1.0);
|
||||
float y_max = (color + 1.0) / (gradient_count - 1.0);
|
||||
|
||||
//make color
|
||||
fragColor = vec4(normalize_C(fragCoord.y, gradient_colors[color], gradient_colors[color + 1], y_min, y_max), 1.0);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
fragColor = vec4(bg_color,1.0);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
#version 330
|
||||
|
||||
in vec2 fragCoord;
|
||||
out vec4 fragColor;
|
||||
|
||||
// bar values. defaults to left channels first (low to high), then right (high to low).
|
||||
uniform float bars[512];
|
||||
|
||||
uniform int bars_count; // number of bars (left + right) (configurable)
|
||||
|
||||
uniform vec3 u_resolution; // window resolution, not used here
|
||||
|
||||
//colors, configurable in cava config file
|
||||
uniform vec3 bg_color; // background color(r,g,b) (0.0 - 1.0), not used here
|
||||
uniform vec3 fg_color; // foreground color, not used here
|
||||
|
||||
void main()
|
||||
{
|
||||
// find which bar to use based on where we are on the x axis
|
||||
int bar = int(bars_count * fragCoord.x);
|
||||
|
||||
float bar_y = 1.0 - abs((fragCoord.y - 0.5)) * 2.0;
|
||||
float y = (bars[bar]) * bar_y;
|
||||
|
||||
float bar_x = (fragCoord.x - float(bar) / float(bars_count)) * bars_count;
|
||||
float bar_r = 1.0 - abs((bar_x - 0.5)) * 2;
|
||||
|
||||
bar_r = bar_r * bar_r * 2;
|
||||
|
||||
// set color
|
||||
fragColor.r = fg_color.x * y * bar_r;
|
||||
fragColor.g = fg_color.y * y * bar_r;
|
||||
fragColor.b = fg_color.z * y * bar_r;
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
#version 330
|
||||
|
||||
|
||||
// Input vertex data, different for all executions of this shader.
|
||||
layout(location = 0) in vec3 vertexPosition_modelspace;
|
||||
|
||||
// Output data ; will be interpolated for each fragment.
|
||||
out vec2 fragCoord;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = vec4(vertexPosition_modelspace,1);
|
||||
fragCoord = (vertexPosition_modelspace.xy+vec2(1,1))/2.0;
|
||||
}
|
||||
@@ -0,0 +1,119 @@
|
||||
# Sweet-Dracula.conf
|
||||
#
|
||||
# Copyright 2022 PROxZIMA <https://github.com/PROxZIMA>
|
||||
# Reference the filetypes files before editing this config file.
|
||||
#
|
||||
# Color Palette
|
||||
# Background 0x161925
|
||||
# Current Line 0x44475a
|
||||
# Selection 0x44475a
|
||||
# Foreground 0xf8f8f2
|
||||
# Comment 0x6272a4
|
||||
# Cyan 0x8be9fd
|
||||
# Green 0x50fa7b
|
||||
# Orange 0xffb86c
|
||||
# Pink 0xff79c6
|
||||
# Purple 0xbd93f9
|
||||
# Red 0xff5555
|
||||
# Yellow 0xf1fa8c
|
||||
|
||||
[theme_info]
|
||||
name=Sweet Dracula
|
||||
description=Sweet Dracula Theme for Geany
|
||||
version=1.0.0
|
||||
author=PROxZIMA
|
||||
url=
|
||||
|
||||
[named_styles]
|
||||
|
||||
default=0xf8f8f2;0x161925
|
||||
error=0xffff5555
|
||||
|
||||
|
||||
# Editor styles
|
||||
#-------------------------------------------------------------------------------
|
||||
selection=;0x2F3438;true;true
|
||||
current_line=0x44475a
|
||||
brace_good=0x50fa7b;;true
|
||||
brace_bad=0xff5555;;true
|
||||
margin_line_number=0x6272a4;0x161925
|
||||
margin_folding=0x6272a4;0x161925
|
||||
fold_symbol_highlight=0x161925
|
||||
indent_guide=0x586e75
|
||||
caret=0xf8f8f2
|
||||
marker_line=0x6272a4;
|
||||
marker_search=0x6272a4;
|
||||
marker_mark=0x6272a4;
|
||||
call_tips=0x839496;0x002b36
|
||||
white_space=indent_guide
|
||||
|
||||
|
||||
# Programming languages
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
comment=0x6272a4
|
||||
comment_doc=comment
|
||||
comment_line=comment
|
||||
comment_line_doc=comment_doc
|
||||
comment_doc_keyword=comment_doc,bold
|
||||
comment_doc_keyword_error=comment_doc,italic
|
||||
|
||||
number=0xbd93f9
|
||||
number_1=number
|
||||
number_2=number_1
|
||||
|
||||
type=0xff79c6
|
||||
class=type
|
||||
function=0x50fa7b
|
||||
parameter=function
|
||||
|
||||
keyword=0x8be9fd;;false;true
|
||||
keyword_1=keyword
|
||||
keyword_2=keyword
|
||||
keyword_3=keyword_1
|
||||
keyword_4=keyword_1
|
||||
|
||||
identifier=default
|
||||
identifier_1=identifier
|
||||
identifier_2=identifier
|
||||
identifier_3=identifier_1
|
||||
identifier_4=identifier_1
|
||||
|
||||
string=0xf1fa8c
|
||||
string_1=string
|
||||
string_2=string_1
|
||||
string_3=default
|
||||
string_4=default
|
||||
string_eol=0xdc322f
|
||||
character=string_1
|
||||
backtick=string_2
|
||||
here_doc=string_2
|
||||
|
||||
scalar=string_2
|
||||
label=default,bold
|
||||
preprocessor=0xcb4b16
|
||||
regex=0x6c71c4
|
||||
operator=0xff79c6
|
||||
decorator=0x50fa7b
|
||||
other=default
|
||||
extra=keyword;
|
||||
|
||||
|
||||
# Markup-type languages
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
tag=type
|
||||
tag_unknown=tag,bold
|
||||
tag_end=tag,bold
|
||||
attribute=keyword_1
|
||||
attribute_unknown=attribute,bold
|
||||
value=string_1
|
||||
entity=default
|
||||
|
||||
|
||||
# Diff
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
line_added=0x859900
|
||||
line_removed=0xdc322f
|
||||
line_changed=0x268bd2
|
||||
@@ -0,0 +1,2 @@
|
||||
Copy files from /usr/share/geany/filedefs to this directory to overwrite them. To use the defaults, just delete the file in this directory.
|
||||
For more information read the documentation (in /usr/share/doc/geany/html/index.html or visit https://www.geany.org/).
|
||||
@@ -0,0 +1,236 @@
|
||||
[geany]
|
||||
default_open_path=
|
||||
cmdline_new_files=true
|
||||
notebook_double_click_hides_widgets=false
|
||||
tab_close_switch_to_mru=true
|
||||
tab_pos_sidebar=2
|
||||
sidebar_pos=0
|
||||
symbols_sort_mode=1
|
||||
msgwin_orientation=0
|
||||
highlighting_invert_all=false
|
||||
pref_main_search_use_current_word=true
|
||||
check_detect_indent=false
|
||||
detect_indent_width=true
|
||||
use_tab_to_indent=true
|
||||
pref_editor_tab_width=4
|
||||
indent_mode=3
|
||||
indent_type=0
|
||||
virtualspace=1
|
||||
autocomplete_doc_words=true
|
||||
completion_drops_rest_of_word=false
|
||||
autocompletion_max_entries=30
|
||||
autocompletion_update_freq=250
|
||||
color_scheme=Sweet-Dracula.conf
|
||||
scroll_lines_around_cursor=20
|
||||
mru_length=10
|
||||
disk_check_timeout=30
|
||||
show_editor_scrollbars=true
|
||||
brace_match_ltgt=false
|
||||
use_gtk_word_boundaries=true
|
||||
complete_snippets_whilst_editing=false
|
||||
indent_hard_tab_width=8
|
||||
editor_ime_interaction=0
|
||||
use_atomic_file_saving=false
|
||||
gio_unsafe_save_backup=false
|
||||
use_gio_unsafe_file_saving=true
|
||||
keep_edit_history_on_reload=true
|
||||
show_keep_edit_history_on_reload_msg=false
|
||||
reload_clean_doc_on_file_change=false
|
||||
save_config_on_file_change=true
|
||||
extract_filetype_regex=-\\*-\\s*([^\\s]+)\\s*-\\*-
|
||||
allow_always_save=false
|
||||
find_selection_type=0
|
||||
replace_and_find_by_default=true
|
||||
show_symbol_list_expanders=true
|
||||
compiler_tab_autoscroll=true
|
||||
statusbar_template=line: %l / %L col: %c sel: %s %w %t %mmode: %M encoding: %e filetype: %f scope: %S
|
||||
new_document_after_close=false
|
||||
msgwin_status_visible=true
|
||||
msgwin_compiler_visible=true
|
||||
msgwin_messages_visible=true
|
||||
msgwin_scribble_visible=true
|
||||
documents_show_paths=true
|
||||
sidebar_page=2
|
||||
pref_main_load_session=true
|
||||
pref_main_project_session=true
|
||||
pref_main_project_file_in_basedir=false
|
||||
pref_main_save_winpos=true
|
||||
pref_main_save_wingeom=true
|
||||
pref_main_confirm_exit=false
|
||||
pref_main_suppress_status_messages=false
|
||||
switch_msgwin_pages=false
|
||||
beep_on_errors=true
|
||||
auto_focus=false
|
||||
sidebar_symbol_visible=true
|
||||
sidebar_openfiles_visible=true
|
||||
editor_font=OperatorMonoSSmLig Nerd Font weight=325 10
|
||||
tagbar_font=Operator Mono SSm Lig weight=330 9
|
||||
msgwin_font=Operator Mono SSm Lig weight=330 9
|
||||
show_notebook_tabs=true
|
||||
show_tab_cross=true
|
||||
tab_order_ltr=true
|
||||
tab_order_beside=false
|
||||
tab_pos_editor=2
|
||||
tab_pos_msgwin=2
|
||||
use_native_windows_dialogs=false
|
||||
show_indent_guide=false
|
||||
show_white_space=false
|
||||
show_line_endings=false
|
||||
show_markers_margin=true
|
||||
show_linenumber_margin=true
|
||||
long_line_enabled=false
|
||||
long_line_type=0
|
||||
long_line_column=72
|
||||
long_line_color=#252525
|
||||
symbolcompletion_max_height=10
|
||||
symbolcompletion_min_chars=1
|
||||
use_folding=true
|
||||
unfold_all_children=false
|
||||
use_indicators=true
|
||||
line_wrapping=true
|
||||
auto_close_xml_tags=true
|
||||
complete_snippets=true
|
||||
auto_complete_symbols=true
|
||||
pref_editor_disable_dnd=false
|
||||
pref_editor_smart_home_key=true
|
||||
pref_editor_newline_strip=true
|
||||
line_break_column=72
|
||||
auto_continue_multiline=true
|
||||
comment_toggle_mark=~
|
||||
scroll_stop_at_last_line=false
|
||||
autoclose_chars=0
|
||||
pref_editor_default_new_encoding=UTF-8
|
||||
pref_editor_default_open_encoding=none
|
||||
default_eol_character=2
|
||||
pref_editor_new_line=true
|
||||
pref_editor_ensure_convert_line_endings=true
|
||||
pref_editor_replace_tabs=false
|
||||
pref_editor_trail_space=true
|
||||
pref_toolbar_show=false
|
||||
pref_toolbar_append_to_menu=true
|
||||
pref_toolbar_use_gtk_default_style=false
|
||||
pref_toolbar_use_gtk_default_icon=false
|
||||
pref_toolbar_icon_style=1
|
||||
pref_toolbar_icon_size=1
|
||||
pref_template_developer=PROxZIMA
|
||||
pref_template_company=
|
||||
pref_template_mail=contact@proxzima.dev
|
||||
pref_template_initial=P
|
||||
pref_template_version=1.0
|
||||
pref_template_year=%Y
|
||||
pref_template_date=%Y-%m-%d
|
||||
pref_template_datetime=%d.%m.%Y %H:%M:%S %Z
|
||||
context_action_cmd=
|
||||
sidebar_visible=false
|
||||
statusbar_visible=true
|
||||
msgwindow_visible=false
|
||||
fullscreen=false
|
||||
color_picker_palette=
|
||||
scribble_text=Yoo Sup!
|
||||
scribble_pos=8
|
||||
treeview_position=209
|
||||
msgwindow_position=534
|
||||
geometry=0;0;941;498;1;
|
||||
custom_date_format=
|
||||
tab_label_length=1000
|
||||
show_line_endings_only_when_differ=false
|
||||
symbols_group_by_type=true
|
||||
openfiles_path_mode=2
|
||||
backspace_unindent=true
|
||||
change_history_markers=false
|
||||
change_history_indicators=false
|
||||
warn_on_project_close=true
|
||||
|
||||
[build-menu]
|
||||
number_ft_menu_items=0
|
||||
number_non_ft_menu_items=0
|
||||
number_exec_menu_items=0
|
||||
|
||||
[search]
|
||||
pref_search_hide_find_dialog=true
|
||||
pref_search_always_wrap=false
|
||||
pref_search_current_file_dir=true
|
||||
find_all_expanded=false
|
||||
replace_all_expanded=true
|
||||
position_find_x=0
|
||||
position_find_y=0
|
||||
position_replace_x=0
|
||||
position_replace_y=0
|
||||
position_fif_x=-1
|
||||
position_fif_y=-1
|
||||
fif_regexp=false
|
||||
fif_case_sensitive=true
|
||||
fif_match_whole_word=false
|
||||
fif_invert_results=false
|
||||
fif_recursive=false
|
||||
fif_extra_options=
|
||||
fif_use_extra_options=false
|
||||
fif_files=
|
||||
fif_files_mode=0
|
||||
find_regexp=false
|
||||
find_regexp_multiline=false
|
||||
find_case_sensitive=false
|
||||
find_escape_sequences=false
|
||||
find_match_whole_word=false
|
||||
find_match_word_start=true
|
||||
find_close_dialog=true
|
||||
replace_regexp=true
|
||||
replace_regexp_multiline=true
|
||||
replace_case_sensitive=false
|
||||
replace_escape_sequences=false
|
||||
replace_match_whole_word=false
|
||||
replace_match_word_start=true
|
||||
replace_search_backwards=false
|
||||
replace_close_dialog=false
|
||||
|
||||
[plugins]
|
||||
load_plugins=true
|
||||
custom_plugin_path=
|
||||
active_plugins=/usr/lib/geany/autoclose.so;/usr/lib/geany/git-changebar.so;/usr/lib/geany/treebrowser.so;
|
||||
|
||||
[VTE]
|
||||
send_cmd_prefix=
|
||||
send_selection_unsafe=false
|
||||
load_vte=true
|
||||
font=CaskaydiaCove Nerd Font 10
|
||||
scroll_on_key=true
|
||||
scroll_on_out=false
|
||||
enable_bash_keys=true
|
||||
ignore_menu_bar_accel=false
|
||||
follow_path=false
|
||||
run_in_vte=false
|
||||
skip_run_script=false
|
||||
cursor_blinks=true
|
||||
scrollback_lines=500
|
||||
shell=/usr/bin/zsh
|
||||
colour_fore=#F8F8F8
|
||||
colour_back=#161925
|
||||
last_dir=/home/proxzima
|
||||
|
||||
[tools]
|
||||
terminal_cmd=x-terminal-emulator -e "/bin/sh %c"
|
||||
browser_cmd=firefox
|
||||
grep_cmd=grep
|
||||
|
||||
[printing]
|
||||
print_cmd=lpr '%f'
|
||||
use_gtk_printing=true
|
||||
print_line_numbers=true
|
||||
print_page_numbers=true
|
||||
print_page_header=true
|
||||
page_header_basename=false
|
||||
page_header_datefmt=%c
|
||||
|
||||
[project]
|
||||
session_file=
|
||||
project_file_path=/home/proxzima/Documents/PROxZIMA
|
||||
|
||||
[files]
|
||||
recent_files=/home/proxzima/.scripts/screenshot_full;/home/proxzima/.config/gamemode.ini;/home/proxzima/Documents/PROxZIMA/DarkSpider/modules/visualization.py;/home/proxzima/.config/user-dirs.dirs;/home/proxzima/.config/user-dirs.locale;/home/proxzima/.scripts/screenshot;/home/proxzima/.config/hypr/hyprland.conf;/home/proxzima/.scripts/wttr;/home/proxzima/.scripts/appindicator.py;/home/proxzima/Downloads/a/x.sh;
|
||||
recent_projects=
|
||||
current_page=4
|
||||
FILE_NAME_0=919;Python;0;EUTF-8;0;1;1;%2Fhome%2Fproxzima%2FDocuments%2FPROxZIMA%2FDarkSpider%2Fmodules%2Fhelper%2Fhelper.py;0;4
|
||||
FILE_NAME_1=2488;Python;0;EUTF-8;0;1;1;%2Fhome%2Fproxzima%2F.local%2Flib%2Fpython3.10%2Fsite-packages%2Fmatplotlib%2Fbackends%2Fbackend_gtk4.py;0;4
|
||||
FILE_NAME_2=80;Python;0;EUTF-8;0;1;1;%2Fhome%2Fproxzima%2F.python_startup.py;0;4
|
||||
FILE_NAME_3=5419;Python;0;EUTF-8;0;1;1;%2Fhome%2Fproxzima%2F.scripts%2Fappindicator.py;0;4
|
||||
FILE_NAME_4=5432;Conf;0;EUTF-8;0;1;1;%2Fhome%2Fproxzima%2F.config%2Fhypr%2Fhyprland.conf;0;4
|
||||
@@ -0,0 +1,168 @@
|
||||
[Bindings]
|
||||
menu_new=<Primary>n
|
||||
menu_open=<Primary>o
|
||||
menu_open_selected=<Primary><Shift>o
|
||||
menu_save=<Primary>s
|
||||
menu_saveas=
|
||||
menu_saveall=<Primary><Shift>s
|
||||
file_properties=<Primary><Shift>v
|
||||
menu_print=<Primary>p
|
||||
menu_close=<Primary>w
|
||||
menu_closeall=<Primary><Shift>w
|
||||
menu_reloadfile=<Primary>r
|
||||
menu_reloadall=
|
||||
file_openlasttab=
|
||||
menu_quit=<Primary>q
|
||||
menu_undo=<Primary>z
|
||||
menu_redo=<Primary>y
|
||||
edit_duplicateline=<Primary>d
|
||||
edit_deleteline=<Primary>k
|
||||
edit_deletelinetoend=<Primary><Shift>Delete
|
||||
edit_deletelinetobegin=<Primary><Shift>BackSpace
|
||||
edit_transposeline=
|
||||
edit_scrolltoline=<Primary><Shift>l
|
||||
edit_scrolllineup=<Alt>Up
|
||||
edit_scrolllinedown=<Alt>Down
|
||||
edit_completesnippet=Tab
|
||||
move_snippetnextcursor=
|
||||
edit_suppresssnippetcompletion=
|
||||
popup_contextaction=
|
||||
edit_autocomplete=<Primary>space
|
||||
edit_calltip=<Primary><Shift>space
|
||||
edit_wordpartcompletion=Tab
|
||||
edit_movelineup=<Alt>Page_Up
|
||||
edit_movelinedown=<Alt>Page_Down
|
||||
menu_cut=<Primary>x
|
||||
menu_copy=<Primary>c
|
||||
menu_paste=<Primary>v
|
||||
edit_copyline=<Primary><Shift>c
|
||||
edit_cutline=<Primary><Shift>x
|
||||
menu_selectall=<Primary>a
|
||||
edit_selectword=<Shift><Alt>w
|
||||
edit_selectline=<Shift><Alt>l
|
||||
edit_selectparagraph=<Shift><Alt>p
|
||||
edit_selectwordpartleft=
|
||||
edit_selectwordpartright=
|
||||
edit_togglecase=<Primary><Alt>u
|
||||
edit_commentlinetoggle=<Primary>e
|
||||
edit_commentline=<Primary>slash
|
||||
edit_uncommentline=
|
||||
edit_increaseindent=<Primary>i
|
||||
edit_decreaseindent=<Primary>u
|
||||
edit_increaseindentbyspace=
|
||||
edit_decreaseindentbyspace=
|
||||
edit_autoindent=
|
||||
edit_sendtocmd1=<Primary>1
|
||||
edit_sendtocmd2=<Primary>2
|
||||
edit_sendtocmd3=<Primary>3
|
||||
edit_sendtocmd4=
|
||||
edit_sendtocmd5=
|
||||
edit_sendtocmd6=
|
||||
edit_sendtocmd7=
|
||||
edit_sendtocmd8=
|
||||
edit_sendtocmd9=
|
||||
edit_sendtovte=
|
||||
format_reflowparagraph=<Primary>j
|
||||
edit_joinlines=
|
||||
menu_insert_date=<Shift><Alt>d
|
||||
edit_insertwhitespace=
|
||||
edit_insertlinebefore=
|
||||
edit_insertlineafter=
|
||||
menu_preferences=<Primary><Alt>p
|
||||
menu_pluginpreferences=
|
||||
menu_find=<Primary>f
|
||||
menu_findnext=<Primary>g
|
||||
menu_findprevious=<Primary><Shift>g
|
||||
menu_findnextsel=
|
||||
menu_findprevsel=
|
||||
menu_replace=<Primary>h
|
||||
menu_findinfiles=<Primary><Shift>f
|
||||
menu_nextmessage=
|
||||
menu_previousmessage=
|
||||
popup_findusage=<Primary><Shift>e
|
||||
popup_finddocumentusage=<Primary><Shift>d
|
||||
find_markall=<Primary><Shift>m
|
||||
nav_back=<Alt>Left
|
||||
nav_forward=<Alt>Right
|
||||
menu_gotoline=<Primary>l
|
||||
edit_gotomatchingbrace=
|
||||
edit_togglemarker=<Primary>m
|
||||
edit_gotonextmarker=<Primary>period
|
||||
edit_gotopreviousmarker=<Primary>comma
|
||||
popup_gototagdefinition=<Primary>t
|
||||
popup_gototagdeclaration=<Primary><Shift>t
|
||||
edit_gotolinestart=Home
|
||||
edit_gotolineend=End
|
||||
edit_gotolinestartvisual=<Alt>Home
|
||||
edit_gotolineendvisual=<Alt>End
|
||||
edit_prevwordstart=
|
||||
edit_nextwordstart=
|
||||
menu_toggleall=
|
||||
menu_fullscreen=F11
|
||||
menu_messagewindow=<Primary>grave
|
||||
toggle_sidebar=<Primary>b
|
||||
menu_zoomin=<Primary>plus
|
||||
menu_zoomout=<Primary>minus
|
||||
normal_size=<Primary>0
|
||||
menu_linewrap=
|
||||
menu_linebreak=
|
||||
menu_clone=
|
||||
menu_strip_trailing_spaces=
|
||||
menu_replacetabs=
|
||||
menu_replacespaces=
|
||||
menu_togglefold=
|
||||
menu_foldall=
|
||||
menu_unfoldall=
|
||||
reloadtaglist=<Primary><Shift>r
|
||||
remove_markers=
|
||||
remove_error_indicators=
|
||||
remove_markers_and_indicators=
|
||||
project_new=
|
||||
project_open=
|
||||
project_properties=
|
||||
project_close=
|
||||
build_compile=F8
|
||||
build_link=F9
|
||||
build_make=<Shift>F9
|
||||
build_makeowntarget=<Primary><Shift>F9
|
||||
build_makeobject=<Shift>F8
|
||||
build_nexterror=
|
||||
build_previouserror=
|
||||
build_run=F5
|
||||
build_options=
|
||||
menu_opencolorchooser=
|
||||
menu_help=F1
|
||||
switch_editor=F2
|
||||
switch_search_bar=F7
|
||||
switch_message_window=
|
||||
switch_compiler=
|
||||
switch_messages=
|
||||
switch_scribble=F6
|
||||
switch_vte=F4
|
||||
switch_sidebar=
|
||||
switch_sidebar_symbol_list=
|
||||
switch_sidebar_doc_list=
|
||||
switch_tableft=<Primary>Page_Up
|
||||
switch_tabright=<Primary>Page_Down
|
||||
switch_tablastused=<Primary>Tab
|
||||
move_tableft=<Primary><Shift>Page_Up
|
||||
move_tabright=<Primary><Shift>Page_Down
|
||||
move_tabfirst=
|
||||
move_tablast=
|
||||
|
||||
[split_window]
|
||||
split_horizontal=<Primary>backslash
|
||||
split_vertical=<Primary><Shift>underscore
|
||||
split_unsplit=
|
||||
|
||||
[lua_scripts]
|
||||
lua_script_1=Alt_L
|
||||
|
||||
[file_browser]
|
||||
focus_file_list=
|
||||
focus_path_entry=
|
||||
rename_object=
|
||||
create_file=
|
||||
create_dir=
|
||||
rename_refresh=
|
||||
track_current=
|
||||
@@ -0,0 +1,17 @@
|
||||
[addons]
|
||||
show_toolbar_doclist_item=true
|
||||
doclist_sort_mode=2
|
||||
enable_openuri=false
|
||||
enable_tasks=true
|
||||
tasks_token_list=TODO;FIXME
|
||||
tasks_scan_all_documents=true
|
||||
enable_systray=true
|
||||
enable_bookmarklist=false
|
||||
enable_markword=true
|
||||
enable_markword_single_click_deselect=true
|
||||
strip_trailing_blank_lines=false
|
||||
enable_xmltagging=false
|
||||
enable_enclose_words=false
|
||||
enable_enclose_words_auto=false
|
||||
enable_colortip=true
|
||||
enable_double_click_color_chooser=true
|
||||
@@ -0,0 +1,23 @@
|
||||
[autoclose]
|
||||
parenthesis=true
|
||||
abracket=true
|
||||
abracket_htmlonly=true
|
||||
cbracket=true
|
||||
sbracket=true
|
||||
dquote=true
|
||||
squote=true
|
||||
backquote=true
|
||||
backquote_bashonly=true
|
||||
comments_ac_enable=false
|
||||
delete_pairing_brace=true
|
||||
suppress_doubling=true
|
||||
enclose_selections=true
|
||||
comments_enclose=false
|
||||
keep_selection=true
|
||||
make_indent_for_cbracket=true
|
||||
move_cursor_to_beginning=true
|
||||
improved_cbracket_indent=true
|
||||
whitesmiths_style=false
|
||||
close_functions=true
|
||||
bcksp_remove_pair=false
|
||||
jump_on_tab=true
|
||||
@@ -0,0 +1,7 @@
|
||||
[filebrowser]
|
||||
open_command=nautilus "%d"
|
||||
show_hidden_files=true
|
||||
hide_object_files=true
|
||||
hidden_file_extensions=.o .obj .so .dll .a .lib .pyc
|
||||
fb_follow_path=false
|
||||
fb_set_project_base_path=true
|
||||
@@ -0,0 +1,2 @@
|
||||
geany.signal("hbox_menubar", "show")
|
||||
geany.signal("vbox1", "style-updated")
|
||||
@@ -0,0 +1,14 @@
|
||||
-- load and initialize toggle_menu script
|
||||
local lua_path = geany.appinfo().scriptdir..geany.dirsep
|
||||
|
||||
--[[
|
||||
start_action options:
|
||||
restore - startup with the last menu bar state
|
||||
*hide - startup with menu bar hidden
|
||||
show - startup with menu bar visible
|
||||
toggle - startup with visibility toggled from the last menu bar state
|
||||
--]]
|
||||
start_action = "hide"
|
||||
|
||||
toggle_menu_bar = loadfile(lua_path.."toggle-menu-bar.lua")
|
||||
toggle_menu_bar()
|
||||
@@ -0,0 +1 @@
|
||||
toggle-menu-bar.lua
|
||||
@@ -0,0 +1,63 @@
|
||||
lua_path=geany.appinfo().scriptdir..geany.dirsep
|
||||
state_file=lua_path.."toggle-menu-bar-hidden"
|
||||
|
||||
function is_visible()
|
||||
local state_stat = geany.stat(state_file)
|
||||
if (state_stat) and (state_stat.type == "r") then
|
||||
return false
|
||||
else
|
||||
return true
|
||||
end
|
||||
end
|
||||
|
||||
function hide()
|
||||
file = io.open(state_file, "w+")
|
||||
io.close(file)
|
||||
geany.signal("hbox_menubar", "hide")
|
||||
update()
|
||||
end
|
||||
|
||||
function show()
|
||||
geany.signal("hbox_menubar", "show")
|
||||
os.remove(state_file)
|
||||
update()
|
||||
end
|
||||
|
||||
function update()
|
||||
geany.signal("vbox1", "style-updated")
|
||||
end
|
||||
|
||||
function restore()
|
||||
if is_visible() then
|
||||
show()
|
||||
else
|
||||
hide()
|
||||
end
|
||||
end
|
||||
|
||||
function toggle()
|
||||
if is_visible() then
|
||||
hide()
|
||||
else
|
||||
show()
|
||||
end
|
||||
end
|
||||
|
||||
-- ---------------
|
||||
|
||||
if not start_action then
|
||||
toggle();
|
||||
else
|
||||
local action_tbl =
|
||||
{
|
||||
["hide"] = hide,
|
||||
["show"] = show,
|
||||
["restore"] = restore,
|
||||
["toggle"] = toggle,
|
||||
}
|
||||
|
||||
local func = action_tbl[start_action]
|
||||
if (func) then
|
||||
func()
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,7 @@
|
||||
[general]
|
||||
monitor-repository=true
|
||||
|
||||
[colors]
|
||||
line-added=#50fa7b
|
||||
line-changed=#ffb86c
|
||||
line-removed=#ff5454
|
||||
@@ -0,0 +1,16 @@
|
||||
[treebrowser]
|
||||
open_external_cmd=xdg-open '%d'
|
||||
open_terminal=xterm
|
||||
reverse_filter=false
|
||||
one_click_chdoc=false
|
||||
show_hidden_files=true
|
||||
hide_object_files=false
|
||||
show_bars=0
|
||||
chroot_on_dclick=false
|
||||
follow_current_doc=true
|
||||
on_delete_close_file=true
|
||||
on_open_focus_editor=false
|
||||
show_tree_lines=true
|
||||
show_bookmarks=false
|
||||
show_icons=2
|
||||
open_new_files=true
|
||||
@@ -0,0 +1,29 @@
|
||||
[files]
|
||||
current_page=-1
|
||||
recent_files=/home/sankalp/Downloads/New Empty File;/home/proxzima/.scripts/screenshot_full;/home/proxzima/.config/gamemode.ini;/home/proxzima/Documents/PROxZIMA/DarkSpider/modules/visualization.py;/home/proxzima/.config/user-dirs.dirs;/home/proxzima/.config/user-dirs.locale;/home/proxzima/.scripts/screenshot;/home/proxzima/.config/hypr/hyprland.conf;/home/proxzima/.scripts/wttr;/home/proxzima/.scripts/appindicator.py;
|
||||
recent_projects=
|
||||
|
||||
[project]
|
||||
session_file=
|
||||
project_file_path=/home/proxzima/Documents/PROxZIMA
|
||||
|
||||
[geany]
|
||||
treeview_position=209
|
||||
msgwindow_position=534
|
||||
geometry=0;0;946;1026;1;
|
||||
sidebar_page=0
|
||||
|
||||
[search]
|
||||
find_all_expanded=false
|
||||
replace_all_expanded=true
|
||||
position_find_x=0
|
||||
position_find_y=0
|
||||
position_replace_x=0
|
||||
position_replace_y=0
|
||||
position_fif_x=-1
|
||||
position_fif_y=-1
|
||||
|
||||
[plugins]
|
||||
load_plugins=true
|
||||
custom_plugin_path=
|
||||
active_plugins=;
|
||||
@@ -0,0 +1,2 @@
|
||||
There are several template files in this directory. For these templates you can use wildcards.
|
||||
For more information read the documentation (in /usr/share/doc/geany/html/index.html or visit https://www.geany.org/).
|
||||
@@ -0,0 +1,41 @@
|
||||
<ui>
|
||||
<!--
|
||||
This is Geany's toolbar UI definition.
|
||||
The DTD can be found at
|
||||
http://library.gnome.org/devel/gtk/stable/GtkUIManager.html#GtkUIManager.description.
|
||||
|
||||
You can re-order all items and freely add and remove available actions.
|
||||
You cannot add new actions which are not listed in the documentation.
|
||||
Everything you add or change must be inside the /ui/toolbar/ path.
|
||||
|
||||
For changes to take effect, you need to restart Geany. Alternatively you can use the toolbar
|
||||
editor in Geany.
|
||||
|
||||
A list of available actions can be found in the documentation included with Geany or
|
||||
at https://www.geany.org/manual/current/index.html#customizing-the-toolbar.
|
||||
-->
|
||||
<toolbar name='GeanyToolbar'>
|
||||
<toolitem action='New' />
|
||||
<toolitem action='Open' />
|
||||
<toolitem action='Save' />
|
||||
<toolitem action='SaveAll' />
|
||||
<separator/>
|
||||
<toolitem action='Reload' />
|
||||
<toolitem action='Close' />
|
||||
<separator/>
|
||||
<toolitem action='NavBack' />
|
||||
<toolitem action='NavFor' />
|
||||
<separator/>
|
||||
<toolitem action='Compile' />
|
||||
<toolitem action='Build' />
|
||||
<toolitem action='Run' />
|
||||
<separator/>
|
||||
<toolitem action='Color' />
|
||||
<separator/>
|
||||
<toolitem action='GotoEntry' />
|
||||
<toolitem action='Goto' />
|
||||
<separator/>
|
||||
<toolitem action='Quit' />
|
||||
|
||||
</toolbar>
|
||||
</ui>
|
||||
@@ -0,0 +1 @@
|
||||
/home/sankalp/Pictures/wallpapers//25.jpg
|
||||
@@ -0,0 +1,20 @@
|
||||
#environment-variables
|
||||
env = CLUTTER_BACKEND,wayland
|
||||
env = GDK_BACKEND,wayland,x11
|
||||
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
|
||||
env = QT_QPA_PLATFORM,wayland;xcb
|
||||
env = QT_QPA_PLATFORMTHEME,qt5ct
|
||||
env = QT_SCALE_FACTOR,1
|
||||
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
|
||||
env = XDG_CURRENT_DESKTOP,Hyprland
|
||||
env = XDG_SESSION_DESKTOP,Hyprland
|
||||
env = XDG_SESSION_TYPE,wayland
|
||||
|
||||
# vulkan
|
||||
#env = WLR_RENDERER,vulkan
|
||||
|
||||
# firefox
|
||||
env = MOZ_ENABLE_WAYLAND,1
|
||||
|
||||
# Cursor size
|
||||
env = XCURSOR_SIZE,6
|
||||
@@ -0,0 +1,4 @@
|
||||
## NOTE, THIS FILE IS BEING USED by disabling Laptop display monitor behaviour when closing lid.
|
||||
## See notes on Laptops.conf
|
||||
|
||||
#monitor = eDP-1, preferred, auto, 1
|
||||
@@ -0,0 +1,66 @@
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more variable settings
|
||||
# These configs are mostly for laptops. This is addemdum to Keybinds.conf
|
||||
|
||||
$configs = $HOME/.config/hypr/configs
|
||||
$UserConfigs = $HOME/.config/hypr/UserConfigs
|
||||
$mainMod = SUPER
|
||||
$scriptsDir = $HOME/.config/hypr/scripts
|
||||
|
||||
# media controls using keyboards
|
||||
bind = , xf86AudioPlayPause, exec, $scriptsDir/MediaCtrl.sh --pause
|
||||
bind = , xf86AudioPause, exec, $scriptsDir/MediaCtrl.sh --pause
|
||||
bind = , xf86AudioPlay, exec, $scriptsDir/MediaCtrl.sh --pause
|
||||
bind = , xf86AudioNext, exec, $scriptsDir/MediaCtrl.sh --nxt
|
||||
bind = , xf86AudioPrev, exec, $scriptsDir/MediaCtrl.sh --prv
|
||||
bind = , xf86audiostop, exec, $scriptsDir/MediaCtrl.sh --stop
|
||||
|
||||
#Brightness Control
|
||||
bind = ,xf86KbdBrightnessDown, exec, $scriptsDir/BrightnessKbd.sh --dec #Keyboard brightness Down
|
||||
bind = ,xf86KbdBrightnessUp, exec, $scriptsDir/BrightnessKbd.sh --inc #Keyboard brightness up
|
||||
bind = ,XF86MonBrightnessUp, exec, $scriptsDir/Brightness.sh --inc
|
||||
bind = ,XF86MonBrightnessDown, exec, $scriptsDir/Brightness.sh --dec
|
||||
bind = $mainMod_SHIFT, D, exec, $scriptsDir/TouchPad.sh # Disable Touchpad
|
||||
|
||||
#VolumeControl
|
||||
bind = ,XF86AudioRaiseVolume, exec, $scriptsDir/Volume.sh --inc
|
||||
bind = ,XF86AudioLowerVolume, exec, $scriptsDir/Volume.sh --dec
|
||||
bind = ,XF86AudioMute, exec, $scriptsDir/Volume.sh --toggle
|
||||
bind = ,XF86AudioMicMute, exec, $scriptsDir/Volume.sh --toggle-mic
|
||||
bind = ,XF86AudioNext, exec, playerctl next
|
||||
bind = ,XF86AudioPrev, exec, playerctl previous
|
||||
bind = ,XF86AudioPlay, exec, playerctl play
|
||||
bind = ,XF86AudioStop, exec, playerctl pause
|
||||
|
||||
|
||||
# ScreenShot
|
||||
bind = , Print, exec, $scriptsDir/ScreenShot.sh --now # Fullscreen
|
||||
bind = ALT, Print, exec, $scriptsDir/ScreenShot.sh --in5 # Screenshot in 5 Sec
|
||||
bind = SHIFT, Print, exec, $scriptsDir/ScreenShot.sh --in10 # Screenshot in 10 sec
|
||||
bind = $mainMod, Z, exec, $scriptsDir/ScreenShot.sh --area
|
||||
|
||||
# Laptops Other Key
|
||||
bind = , xf86Sleep, exec, systemctl suspend # sleep button
|
||||
|
||||
# Below are useful when you are connecting your laptop in external display
|
||||
# Suggest you edit below for your laptop display
|
||||
# From WIKI This is to disable laptop monitor when lid is closed.
|
||||
# consult https://wiki.hyprland.org/hyprland-wiki/pages/Configuring/Binds/#switches
|
||||
#bindl = , switch:off:Lid Switch,exec,hyprctl keyword monitor "eDP-1, preferred, auto, 1"
|
||||
#bindl = , switch:on:Lid Switch,exec,hyprctl keyword monitor "eDP-1, disable"
|
||||
|
||||
#############################################################################
|
||||
### WARNING! Using this method has some caveats!! USE THIS PART WITH SOME CAUTION!
|
||||
# CONS of doing this, is that you need to set up your wallpaper (SUPER W) and choose wallpaper.
|
||||
# CAVEATS! Sometimes the Main Laptop Monitor DOES NOT have display that it needs to re-connect your external monitor
|
||||
# One work around is to ensure that before shutting down laptop, MAKE SURE your laptop lid is OPEN!!
|
||||
# Make sure to comment (put # on the both the bindl = , switch ......) above
|
||||
# NOTE: Display for laptop are being generated into LaptopDisplay.conf
|
||||
# This part is to be use if you do not want your main laptop monitor to wake up during say wallpaper change etc
|
||||
|
||||
#bindl = , switch:off:Lid Switch,exec,echo "monitor = eDP-1, preferred, auto, 1" > $UserConfigs/LaptopDisplay.conf
|
||||
#bindl = , switch:on:Lid Switch,exec,echo "monitor = eDP-1, disable" > $UserConfigs/LaptopDisplay.conf
|
||||
|
||||
# for laptop-lid action (to erase the last entry)
|
||||
#exec-once = echo "eDP-1, preferred, auto, 1" > $HOME/.config/hypr/UserConfigs/LaptopDisplay.conf
|
||||
##############################################################################
|
||||
@@ -0,0 +1,49 @@
|
||||
# Monitor Configuration
|
||||
# See Hyprland wiki for more details
|
||||
# https://wiki.hyprland.org/Configuring/Monitors/
|
||||
# Configure your Display resolution, offset, scale and Monitors here, use `hyprctl monitors` to get the info.
|
||||
|
||||
#Could help when scaling and not pixelating
|
||||
xwayland {
|
||||
force_zero_scaling = true
|
||||
}
|
||||
|
||||
# Monitors
|
||||
monitor=,preferred,auto,1
|
||||
|
||||
# NOTE: for laptop, kindly check notes in Laptops.conf regarding display
|
||||
# Created this inorder for the monitor display to not wake up if not intended.
|
||||
# See here: https://github.com/hyprwm/Hyprland/issues/4090
|
||||
|
||||
#monitor = eDP-1, preferred, auto, 1
|
||||
#monitor = eDP-1, 2560x1440@165, 0x0, 1 #own screen
|
||||
#monitor = DP-2, preferred, auto, 1
|
||||
#monitor = DP-1, preferred, auto, 1
|
||||
#monitor = HDMI-A-1, preferred,auto,1
|
||||
|
||||
# QEMU-KVM or any virtual box
|
||||
#monitor = Virtual-1, 1920x1080@60,auto,1
|
||||
|
||||
# Hi Refresh Rate
|
||||
#monitor=,highrr,auto,1
|
||||
|
||||
# High Resolution
|
||||
#monitor=,highres,auto,1
|
||||
|
||||
# to disable a monitor
|
||||
#monitor=name,disable
|
||||
|
||||
# Mirror
|
||||
#monitor=DP-3,1920x1080@60,0x0,1,mirror,DP-2
|
||||
#monitor=,preferred,auto,1,mirror,eDP-1
|
||||
|
||||
|
||||
# Example :
|
||||
#monitor=eDP-1,2560x1440@165,0x0,1
|
||||
#workspace=HDMI-A-1,1
|
||||
#monitor=HDMI-A-1,2560x1440@144,0x0,1,mirror,eDP-1
|
||||
#workspace=HDMI-A-2,2
|
||||
|
||||
#monitor=eDP-1,transform,0
|
||||
#monitor=eDP-1,addreserved,10,10,10,49
|
||||
#workspace=eDP-1,1
|
||||
@@ -0,0 +1,57 @@
|
||||
#Commands & Apps to be executed at launch
|
||||
|
||||
$scriptsDir = $HOME/.config/hypr/scripts
|
||||
$UserscriptsDir = $HOME/.config/hypr/UserScripts
|
||||
$lock = swaylock
|
||||
$SwwwRandom = $scriptsDir/WallpaperRandom.sh
|
||||
$WallpaperPath = $HOME/Pictures/wallpapers
|
||||
|
||||
|
||||
# wallpaper stuff / More wallpaper options below
|
||||
exec-once = swww query || swww init
|
||||
exec-once = $SwwwRandom $WallpaperPath # random wallpaper switcher every 30 minutes
|
||||
|
||||
# Startup
|
||||
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
|
||||
# Polkit (Polkit Gnome / KDE)
|
||||
exec-once = $scriptsDir/Polkit.sh
|
||||
|
||||
# Battery Notification
|
||||
exec-once = $UserScriptsDir/BatteryNotify.sh
|
||||
|
||||
# starup apps
|
||||
exec-once = waybar &
|
||||
exec-once = swaync &
|
||||
exec-once = blueman-applet &
|
||||
exec-once = nm-applet --indicator &
|
||||
exec-once = udiskie &
|
||||
exec-once = blueman-applet &
|
||||
|
||||
|
||||
#clipboard manager
|
||||
exec-once = wl-paste --type text --watch cliphist store
|
||||
exec-once = wl-paste --type image --watch cliphist store
|
||||
|
||||
# Rainbow borders
|
||||
exec-once = $UserscriptsDir/RainbowBorders.sh
|
||||
|
||||
# sway-idle with lock only
|
||||
#exec-once = swayidle -w timeout 900 '$lock'
|
||||
# sway-idle with lock and sleep
|
||||
#exec-once = swayidle -w timeout 900 '$lock' timeout 1200 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' before-sleep '$lock'
|
||||
# sway idle without lock
|
||||
#exec-once = swayidle -w timeout 900 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on'
|
||||
|
||||
## Here are list of features available but disabled by default
|
||||
#exec-once = swww query || swww init && swww img $HOME/Pictures/wallpapers/3.png # persistent wallpaper
|
||||
|
||||
#gnome polkit for nixos
|
||||
#exec-once = $scriptsDir/Polkit-NixOS.sh
|
||||
|
||||
# xdg-desktop-portal-hyprland (should be auto starting. However, you can force to start)
|
||||
#exec-once = $scriptsDir/PortalHyprland.sh
|
||||
|
||||
# wlsunset - for automatic gamma adjustment. Default is 1900 to 0700 (7pm to 7am). Edit Sunset.sh accordingly
|
||||
# exec-once = $UserScriptsDir/Sunset.sh
|
||||
@@ -0,0 +1,61 @@
|
||||
# This is where you put your own keybinds. Be Mindful to check as well ~/.config/hypr/configs/Keybinds.conf to avoid conflict
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more settings and variables
|
||||
# See also Laptops.conf for laptops keybinds
|
||||
|
||||
$mainMod = SUPER
|
||||
$files = thunar
|
||||
$term = kitty
|
||||
$browser = firefox
|
||||
$scriptsDir = $HOME/.config/hypr/scripts
|
||||
$UserScripts = $HOME/.config/hypr/UserScripts
|
||||
|
||||
# rofi App launcher
|
||||
bindr = $mainMod, $mainMod_L, exec, pkill rofi || rofi -show drun -modi drun,filebrowser,run,window
|
||||
bind = $mainMod, D, exec, pkill rofi || rofi -show drun -modi drun,filebrowser,run,window
|
||||
|
||||
# Terminals
|
||||
bind = CTRL_ALT, Return, exec, kitty --start-as=fullscreen --title all_is_kitty
|
||||
bind = ALT_SHIFT,Return, exec, kitty --title fly_is_kitty --single-instance
|
||||
bind = $mainMod, Return, exec, $term
|
||||
|
||||
# Apps
|
||||
bind = $mainMod, E, exec, $files
|
||||
bind = ALT, F, exec, $browser
|
||||
bind = ALT, Y, exec, kitty --title fly_is_kitty sh -c 'yazi'
|
||||
bind = $mainMod, Slash, exec, kitty nvim
|
||||
bind = $mainMod_SHIFT, Slash, exec, code
|
||||
|
||||
# FEATURES / EXTRAS
|
||||
bind = $mainMod ALT, R, exec, $scriptsDir/Refresh.sh # Refresh waybar, swaync, rofi
|
||||
bind = $mainMod, F1, exec, $UserScripts/KeyBinds.sh # Keybinds
|
||||
bind = $mainMod, X, exec, $scriptsDir/RofiPower.sh # Powermenu
|
||||
bind = $mainMod, N, exec, $scriptsDir/RofiNotes.sh # Notes
|
||||
bind = $mainMod, T, exec, $scriptsDir/RofiTmux.sh # Tmux
|
||||
bind = $mainMod_SHIFT, A, exec, $scriptsDir/ToggleAnimation.sh -t # Animation ON/OFF
|
||||
bind = ALT, slash, exec, $scriptsDir/RofiEmoji.sh # Emoji
|
||||
bind = ALT, Q, exec, $scriptsDir/QuickLink.sh # QuickOpen Links
|
||||
bind = ALT, E, exec, $scriptsDir/QuickEdit.sh # Quick Edit Hyprland Settings
|
||||
bind = SHIFT_ALT, T, exec, $scriptsDir/RofiTodo.sh # Todo List
|
||||
bind = ALT, F1, exec, $scriptsDir/SwitchKeyboardLayout.sh # Switch Keyboard Layout
|
||||
bind = $mainMod_SHIFT, Q, exec, $scriptsDir/ChangeBlur.sh # Toggle blur settings
|
||||
bind = $mainMod, R, exec, $scriptsDir/RofiRecord.sh # Screen Recorder
|
||||
bind = $mainMod_SHIFT, R, exec, pkill wf-recorder --signal SIGINT && notify-send "🛑 Recording stopped" && pkill -RTMIN+8 waybar
|
||||
bind = $mainMod, space, exec, $scriptsDir/ChangeLayout.sh # Toggle Master or Dwindle Layout
|
||||
bind = SHIFT_ALT, C, exec, $scriptsDir/ClipManager.sh # Clipboard Manager
|
||||
bind = $mainMod_SHIFT, N, exec, swaync-client -t -sw # swayNC panel
|
||||
|
||||
# Online Music related keybinds
|
||||
bind = ALT, M, exec, $scriptsDir/RofiMusic.sh
|
||||
bind = ALT, S, exec, $scriptsDir/MusicControl.sh -s # Stop
|
||||
bind = ALT, N, exec, $scriptsDir/MusicControl.sh -n # Next
|
||||
bind = ALT, P, exec, $scriptsDir/MusicControl.sh -p # Previous
|
||||
bind = ALT, R, exec, $scriptsDir/MusicControl.sh -k # Resume
|
||||
|
||||
# Wallpaper related keybinds
|
||||
bind = $mainMod_SHIFT, W, exec, $scriptsDir/WallpaperSelect.sh # Select Wallpaper to apply
|
||||
bind = SHIFT_ALT, W, exec, $scriptsDir/Wallpaper.sh # Random Wallpapers
|
||||
|
||||
# Waybar / Bar related
|
||||
bind = $mainMod, H, exec, killall -SIGUSR1 waybar # Toggle hide/show waybar
|
||||
bind = ALT, W, exec, $UserScripts/WaybarLayout.sh # Waybar Layout Menu
|
||||
@@ -0,0 +1,146 @@
|
||||
# User Settings
|
||||
|
||||
## refer to Hyprland wiki for more info https://wiki.hyprland.org/Configuring/Variables
|
||||
|
||||
# blurls = waybar
|
||||
# blurls = rofi
|
||||
|
||||
dwindle {
|
||||
pseudotile = yes
|
||||
preserve_split = yes
|
||||
special_scale_factor = 0.8
|
||||
}
|
||||
|
||||
master {
|
||||
new_is_master=1
|
||||
new_on_top=1
|
||||
mfact = 0.5
|
||||
}
|
||||
|
||||
general {
|
||||
sensitivity = 1.00
|
||||
apply_sens_to_raw = 1
|
||||
gaps_in = 4
|
||||
gaps_out = 8
|
||||
border_size = 2
|
||||
resize_on_border = true
|
||||
|
||||
col.active_border = rgb(7287fd) rgb(74c7ec) rgb(89b4fa) 45deg
|
||||
col.inactive_border = rgb(6c7086)
|
||||
|
||||
layout = master
|
||||
}
|
||||
|
||||
group {
|
||||
col.border_active = 00XFF4BC66D
|
||||
|
||||
groupbar {
|
||||
col.active = 0XFFDB696B
|
||||
}
|
||||
}
|
||||
|
||||
decoration {
|
||||
rounding = 8
|
||||
|
||||
active_opacity = 1.0
|
||||
inactive_opacity = 0.9
|
||||
fullscreen_opacity = 1.0
|
||||
|
||||
dim_inactive = true
|
||||
dim_strength = 0.1
|
||||
|
||||
drop_shadow = true
|
||||
shadow_range = 6
|
||||
shadow_render_power = 1
|
||||
col.shadow = rgb(cba7f7)
|
||||
col.shadow_inactive = 0X50000000
|
||||
|
||||
blur {
|
||||
enabled = true
|
||||
size = 5
|
||||
passes = 2
|
||||
ignore_opacity = true
|
||||
new_optimizations = true
|
||||
}
|
||||
}
|
||||
|
||||
animations {
|
||||
enabled = yes
|
||||
|
||||
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
||||
bezier = linear, 0.0, 0.0, 1.0, 1.0
|
||||
bezier = wind, 0.05, 0.9, 0.1, 1.05
|
||||
bezier = winIn, 0.1, 1.1, 0.1, 1.1
|
||||
bezier = winOut, 0.3, -0.3, 0, 1
|
||||
bezier = slow, 0, 0.85, 0.3, 1
|
||||
bezier = overshot, 0.7, 0.6, 0.1, 1.1
|
||||
bezier = bounce, 1.1, 1.6, 0.1, 0.85
|
||||
bezier = sligshot, 1, -1, 0.15, 1.25
|
||||
bezier = nice, 0, 6.9, 0.5, -4.20
|
||||
|
||||
animation = windowsIn, 1, 5, slow, popin
|
||||
animation = windowsOut, 1, 5, winOut, popin
|
||||
animation = windowsMove, 1, 5, wind, slide
|
||||
animation = border, 1, 10, linear
|
||||
animation = borderangle, 1, 180, linear, loop #used by rainbow borders and rotating colors
|
||||
animation = fade, 1, 5, overshot
|
||||
animation = workspaces, 1, 5, wind
|
||||
animation = windows, 1, 5, bounce, popin
|
||||
}
|
||||
|
||||
input {
|
||||
kb_layout=us,np
|
||||
kb_variant =
|
||||
kb_model =
|
||||
kb_options =
|
||||
kb_rules =
|
||||
repeat_rate = 50
|
||||
repeat_delay = 300
|
||||
numlock_by_default = true
|
||||
left_handed = 0
|
||||
follow_mouse = 1
|
||||
float_switch_override_focus = 0
|
||||
|
||||
touchpad {
|
||||
disable_while_typing = 1
|
||||
natural_scroll = 0
|
||||
clickfinger_behavior = 0
|
||||
middle_button_emulation = 1
|
||||
tap-to-click = 1
|
||||
drag_lock = 0
|
||||
}
|
||||
}
|
||||
|
||||
gestures {
|
||||
workspace_swipe=1
|
||||
workspace_swipe_fingers=3
|
||||
workspace_swipe_distance=400
|
||||
workspace_swipe_invert=1
|
||||
workspace_swipe_min_speed_to_force=30
|
||||
workspace_swipe_cancel_ratio=0.5
|
||||
workspace_swipe_create_new=1
|
||||
workspace_swipe_forever=1
|
||||
}
|
||||
|
||||
misc {
|
||||
disable_hyprland_logo = true
|
||||
disable_splash_rendering = true
|
||||
mouse_move_enables_dpms = true
|
||||
#vrr = 0
|
||||
enable_swallow = true
|
||||
no_direct_scanout = true #for fullscreen games
|
||||
focus_on_activate = false
|
||||
swallow_regex = ^(kitty)$
|
||||
#disable_autoreload = true
|
||||
}
|
||||
|
||||
binds {
|
||||
workspace_back_and_forth=1
|
||||
allow_workspace_cycles=1
|
||||
pass_mouse_when_bound=0
|
||||
}
|
||||
|
||||
#Could help when scaling and not pixelating
|
||||
xwayland {
|
||||
force_zero_scaling = true
|
||||
}
|
||||
@@ -0,0 +1,245 @@
|
||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||
|
||||
|
||||
#### Opacity Rules
|
||||
windowrulev2 = opacity 0.9 0.6, class:^([Rr]ofi)$
|
||||
windowrulev2 = opacity 0.9 0.6, class:^(yad)$
|
||||
windowrulev2 = opacity 0.9 0.6, class:^(mousepad)$
|
||||
windowrulev2 = opacity 0.9 0.6, class:^(geany)$
|
||||
windowrulev2 = opacity 0.80 0.70,class:^(nm-applet)$
|
||||
windowrulev2 = opacity 0.80 0.70,class:^(nm-connection-editor)$
|
||||
|
||||
#windowrulev2 = bordercolor rgb(EE4B55) rgb(880808), fullscreen:1
|
||||
#windowrulev2 = bordercolor rgb(282737) rgb(1E1D2D), floating:1
|
||||
#windowrulev2 = opacity 0.8 0.8, pinned:1
|
||||
|
||||
### Workspace Rules
|
||||
windowrule = workspace 7, ^(.*vlc*)$
|
||||
windowrulev2 = workspace 5 silent, class:^(lutris)$
|
||||
windowrulev2 = workspace 6, class:^(virt-manager)$
|
||||
windowrulev2 = workspace 7 silent, class:^(WebCord)$
|
||||
windowrulev2 = workspace 9 silent, class:^(audacious)$
|
||||
|
||||
|
||||
# MPV
|
||||
windowrule = workspace 7, ^(.*mpv*)$
|
||||
windowrulev2 = float, class:^(.*mpv.*)
|
||||
windowrulev2 = move 83% 79%, class:^(.*mpv.*)
|
||||
windowrulev2 = size 15% 15%, class:^(.*mpv.*)
|
||||
|
||||
|
||||
# Do not lose focus when rofi or gnome polkit is opened
|
||||
windowrulev2 = stayfocused, class:(rofi)
|
||||
windowrulev2 = stayfocused, class:(polkit-gnome-authentication-agent-1)
|
||||
|
||||
# Pavucontrol
|
||||
windowrulev2 = float, class:(pavucontrol)
|
||||
windowrulev2 = size 533 533, class:(pavucontrol)
|
||||
windowrulev2 = center, class:(pavucontrol)
|
||||
|
||||
# Zathura
|
||||
$zathura = class:^(.*zathura.*)$
|
||||
windowrulev2 = float, $zathura
|
||||
windowrulev2 = size 35% 90%, $zathura
|
||||
windowrulev2 = center 1, $zathura
|
||||
|
||||
|
||||
########### OBS
|
||||
|
||||
# Main window / Profile screen
|
||||
windowrulev2 = size 75% 70%, class:(com.obsproject.Studio), title:(.*Profile:.*)
|
||||
|
||||
# Class settings
|
||||
windowrulev2 = workspace 6, class:(com.obsproject.Studio)
|
||||
windowrulev2 = float, class:(com.obsproject.Studio)
|
||||
windowrulev2 = center, class:(com.obsproject.Studio)
|
||||
|
||||
# Folder picker
|
||||
windowrulev2 = size 50% 45%, class:(com.obsproject.Studio), title:(Select Recording Directory)
|
||||
windowrulev2 = center, class:(com.obsproject.Studio), title:(Select Recording Directory)
|
||||
|
||||
|
||||
# Fireox class settings
|
||||
windowrulev2 = workspace 2, class:^(firefox)$
|
||||
windowrulev2 = workspace 2, class:^(Firefox-esr)$
|
||||
windowrulev2 = opacity 0.9 0.6, class:^(firefox)$
|
||||
windowrulev2 = float, class:(firefox), title:(Library)
|
||||
windowrulev2 = size, 994 587, class:(firefox), title:(Library)
|
||||
windowrulev2 = center, class:(firefox), title:(Library)
|
||||
|
||||
# Sharing Indicator, i.e discord streaming / using microphone
|
||||
windowrulev2 = workspace special, class:(firefox), title:(.*Sharing Indicator.*)
|
||||
|
||||
windowrulev2 = opacity 0.95 0.75, class:(firefox), title:(.*YouTube)
|
||||
windowrulev2 = opacity 0.95 0.75, class:(firefox), title:(.*.png)
|
||||
windowrulev2 = opacity 0.95 0.75, class:(firefox), title:(.*.jpg)
|
||||
windowrulev2 = opacity 0.95 0.75, class:(firefox), title:(.*.webp)
|
||||
|
||||
# The Google Chrome window class is not described in this rule because
|
||||
# `hyprctl clients` cannot recognize the window class that notifies you when the screen is streaming.
|
||||
# Therefore, the only solution is to use a regular expression from the window title
|
||||
windowrulev2 = workspace special, title:(.*is sharing your screen..*)
|
||||
windowrulev2 = workspace special, title:(.*is sharing your window..*)
|
||||
|
||||
|
||||
# Thunar
|
||||
windowrulev2 = size 456 884, title:(.*Compress.*), class:(thunar)
|
||||
windowrulev2 = center, title:(.*Compress.*), class:(thunar)
|
||||
windowrulev2 = float, title:(.*Compress.*), class:(thunar)
|
||||
|
||||
windowrulev2 = size 516 158, title:(.*Rename.*), class:(thunar)
|
||||
windowrulev2 = center, title:(.*Rename.*), class:(thunar)
|
||||
|
||||
windowrulev2 = size 840 270, title:(Confirm to replace files), class:(thunar)
|
||||
windowrulev2 = center, title:(Confirm to replace files), class:(thunar)
|
||||
windowrulev2 = float,title:^(Confirm to replace files)
|
||||
|
||||
windowrulev2 = size 444 103, title:(File Operation Progress), class:(thunar)
|
||||
windowrulev2 = center, title:(File Operation Progress), class:(thunar)
|
||||
|
||||
windowrulev2 = size 565 591, class:(thunar), title:(Properties)
|
||||
windowrulev2 = center, class:(thunar), title:(Properties)
|
||||
|
||||
windowrulev2 = size 477 149, class:(thunar), title:(Create New Folder)
|
||||
windowrulev2 = center, class:(thunar), title:(Create New Folder)
|
||||
|
||||
windowrulev2 = workspace 3, class:(thunar)
|
||||
windowrulev2 = opacity 0.9 0.7, class:^([Tt]hunar)$
|
||||
#windowrulev2 = float, class:(thunar)
|
||||
#windowrulev2 = size 1161 619, class:(thunar)
|
||||
#windowrulev2 = center, class:(thunar)
|
||||
|
||||
|
||||
### File / Folder pickers
|
||||
windowrulev2 = float, title:(.*Open Files.*)
|
||||
windowrulev2 = size 60% 50%, title:(.*Open Files.*)
|
||||
windowrulev2 = center, title:(.*Open Files.*)
|
||||
|
||||
windowrulev2 = float, title:(.*Open File.*)
|
||||
windowrulev2 = size 60% 50%, title:(.*Open File.*)
|
||||
windowrulev2 = center, title:(.*Open File.*)
|
||||
|
||||
windowrulev2 = float, title:(.*Open Folder.*)
|
||||
windowrulev2 = size 60% 50%, title:(.*Open Folder.*)
|
||||
windowrulev2 = center, title:(.*Open Folder.*)
|
||||
|
||||
windowrulev2 = float, title:(.*Save As.*)
|
||||
windowrulev2 = size 60% 50%, title:(.*Save As.*)
|
||||
windowrulev2 = center, title:(.*Save AS.*)
|
||||
|
||||
windowrulev2 = float, title:(.*Save File.*)
|
||||
windowrulev2 = size 60% 50%, title:(.*Save File.*)
|
||||
windowrulev2 = center, title:(.*Save File.*)
|
||||
|
||||
|
||||
# VS Code
|
||||
windowrulev2 = workspace 1, class:(Code)
|
||||
windowrulev2 = opacity 0.9 0.6, class:(Code)
|
||||
|
||||
|
||||
# Telegram
|
||||
# windowrulev2 = fullscreen, class:(org.telegram.desktop), title:(Media viewer)
|
||||
|
||||
windowrulev2 = opacity 0.90, class:^(org.telegram.desktop)$
|
||||
windowrulev2 = workspace 4, class:(org.telegram.desktop)
|
||||
windowrulev2 = size 833 455, class:(org.telegram.desktop), title:(Choose Files)
|
||||
windowrulev2 = center, class:(org.telegram.desktop), title:(Choose Files)
|
||||
windowrulev2 = float, class:^(org.telegram.desktop)$
|
||||
windowrulev2 = center, class:^(org.telegram.desktop)$
|
||||
windowrulev2 = size 800 800, class:^(org.telegram.desktop)$
|
||||
|
||||
|
||||
# File Roller
|
||||
windowrulev2 = workspace 3, class:(file-roller), title:(Archive Manager)
|
||||
windowrulev2 = float, class:(file-roller), title:(Archive Manager)
|
||||
windowrulev2 = size 45% 50%, class:(file-roller), title:(Archive Manager)
|
||||
windowrulev2 = center, class:(file-roller), title:(Archive Manager)
|
||||
windowrulev2 = float, class:(file-roller), title:(Extract archive)
|
||||
windowrulev2 = size 30% 15%, class:(file-roller), title:(Extract archive)
|
||||
windowrulev2 = center, class:(file-roller), title:(Extract archive)
|
||||
|
||||
|
||||
# G4Music
|
||||
windowrule = workspace 5, ^(.*g4music*)$
|
||||
windowrule = float,^(com.github.neithern.g4music)$
|
||||
windowrule = size 670 635,^(com.github.neithern.g4music)$
|
||||
windowrule = move center,^(com.github.neithern.g4music)$
|
||||
|
||||
|
||||
# qBittorrent
|
||||
windowrulev2 = workspace 6, class:(org.qbittorrent.qBittorrent)
|
||||
windowrulev2 = float, class:(org.qbittorrent.qBittorrent)
|
||||
windowrulev2 = size 1137 547, class:(org.qbittorrent.qBittorrent), title:(.*qbittorrent.*)
|
||||
windowrulev2 = center, class:(org.qbittorrent.qBittorrent), title:(.*qbittorrent.*)
|
||||
|
||||
|
||||
# Discord
|
||||
windowrulev2 = opacity 0.80 0.80, class:^(discord)$
|
||||
windowrulev2 = workspace 4, class:(.*discord.*)
|
||||
|
||||
# Discord Updater
|
||||
windowrulev2 = size 300 350, class:(.*iscord.*), title:(Discord Updater)
|
||||
windowrulev2 = center, class:(.*iscord.*), title:(Discord Updater)
|
||||
windowrulev2 = nodim, class:(.*iscord.*), title:(Discord Updater)
|
||||
|
||||
# Discord file picker
|
||||
windowrulev2 = size 1000 527, class:(.*iscord.*), floating:1
|
||||
windowrulev2 = dimaround, class:(.*iscord.*), floating:1
|
||||
|
||||
# Discord Developer Tools
|
||||
windowrulev2 = nodim, class:(.*iscord.*), title:(.*Developer Tools.*)
|
||||
windowrulev2 = tile, class:(.*iscord.*), title:(.*Developer Tools.*)
|
||||
|
||||
|
||||
# Kitty
|
||||
windowrule = opacity 0.9 0.7,kitty
|
||||
windowrule = float, title:^(fly_is_kitty)$
|
||||
windowrule = size 800 500, title:^(fly_is_kitty)$
|
||||
windowrule = move center, title:^(fly_is_kitty)$
|
||||
windowrule = animation slide, title:^(fly_is_kitty)$
|
||||
windowrule = float, title:^(all_is_kitty)$
|
||||
windowrule = float, kitty_float
|
||||
|
||||
|
||||
# Bluetooth applet
|
||||
windowrulev2 = float, class:(blueberry)
|
||||
windowrulev2 = size 665 637, class:(blueberry)
|
||||
windowrulev2 = center, class:(blueberry)
|
||||
|
||||
|
||||
# qt5ct / qt6ct
|
||||
windowrulev2 = float, class:(qt5ct)
|
||||
windowrulev2 = float, class:(qt6ct)
|
||||
|
||||
windowrulev2 = size 1256 689, class:(qt5ct)
|
||||
windowrulev2 = size 1256 689, class:(qt6ct)
|
||||
|
||||
windowrulev2 = center, class:(qt5ct)
|
||||
windowrulev2 = center, class:(qt6ct)
|
||||
|
||||
windowrulev2 = size 257 116, class:(qt5ct), title:(Enter Color Scheme Name)
|
||||
windowrulev2 = size 257 116, class:(qt6ct), title:(Enter Color Scheme Name)
|
||||
|
||||
windowrulev2 = size 548 476, class:(qt5ct), title:(Select Color)
|
||||
windowrulev2 = size 548 476, class:(qt6ct), title:(Select Color)
|
||||
|
||||
|
||||
########### Other
|
||||
windowrule = float, nm-connection-editor|vlc|yad|rofi|Lxappearance
|
||||
windowrule = float, org.kde.polkit-kde-authentication-agent-1
|
||||
windowrulev2 = size 543 239, class:^(polkit-gnome-authentication-agent-1)$
|
||||
windowrulev2 = float, class:^(polkit-gnome-authentication-agent-1)$
|
||||
windowrulev2 = center, class:(polkit-gnome-authentication-agent-1)
|
||||
windowrulev2 = workspace special, class:^(firefox)$, title:^(.*Sharing Indicator.*)$
|
||||
|
||||
|
||||
windowrulev2 = float, title:(File Operation Progress)
|
||||
windowrulev2 = center, title:(File Operation Progress)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,177 @@
|
||||
#!/bin/bash
|
||||
trap resume_processes SIGINT
|
||||
in_range() { local num=$1 local min=$2 local max=$3 ; [[ $num =~ ^[0-9]+$ ]] && (( num >= min && num <= max )); }
|
||||
mnc=5 mxc=80 mnl=20 mxl=50 mnu=80 mxu=100 mnt=60 mxt=1000 mnf=80 mxf=100 mnn=1 mxn=60 mni=1 mxi=10 verbose=false undock=false #Defaults Ranges
|
||||
while (( "$#" )); do # Parse command-line arguments and defaults
|
||||
case "$1" in
|
||||
"--full"|"-f") if in_range "$2" $mnf $mxf; then battery_full_threshold=$2 ; shift 2 ; else echo "$1 Error: Full Threshold must be $mnf - $mxf." >&2 ; exit 1 ; fi;;
|
||||
"--critical"|"-c") if in_range "$2" $mnc $mxc; then battery_critical_threshold=$2 ; shift 2 ; else echo "$1 ERROR: Critical Threshold must be $mnc - $mxc." >&2 ; exit 1 ; fi;;
|
||||
"--low"|"-l") if in_range "$2" $mnl $mnu; then battery_low_threshold=$2 ; shift 2 ; else echo "$1 ERROR: Low Threshold $mnl - $mnu." >&2 ; exit 1 ; fi;;
|
||||
"--unplug"|"-u") if in_range "$2" $mnu $mxu; then unplug_charger_threshold=$2 ; shift 2 ; else echo "$1 ERROR: Unplug Threshold must be $mnu $mxu." >&2 ; exit 1 ; fi;;
|
||||
"--timer"|"-t") if in_range "$2" $mnt $mxt; then timer=$2 ; shift 2 ; else echo "$1 ERROR: Timer must be $mnt - $mxt." >&2 ; exit 1 ; fi;;
|
||||
"--notify"|"-n") if in_range "$2" $mnn $mxn; then notify=$2 ; shift 2 ; else echo "$1 ERROR: Notify must be $mnn - $mxn in minutes." >&2 ; exit 1 ; fi;;
|
||||
"--interval"|"-i") if in_range "$2" $mni $mxi; then interval=$2 ; shift 2 ; else echo "$1 ERROR: Interval must be by $mni% - $mxi% intervals." >&2 ; exit 1 ; fi;;
|
||||
"--verbose"|"-v") verbose=true ; shift ;;
|
||||
"--undock"|"on") undock=true ; shift ;;
|
||||
"--execute"|"-e") execute=$2 ; shift 2 ;;
|
||||
|
||||
*|"--help"|"-h")
|
||||
echo "Usage: $0 [options]"
|
||||
echo " --verbose, -v Verbose Mode"
|
||||
echo " --undock, on Shows Battery Plug In/Out/Full Notification"
|
||||
echo " --full, -f Set battery full threshold (default: 100% percent)"
|
||||
echo " --critical, -c Set battery critical threshold (default: 10% percent)"
|
||||
echo " --low, -l Set battery low threshold (default: 20% percent)"
|
||||
echo " --unplug, -u Set unplug charger threshold (default: 80% percent )"
|
||||
echo " --timer, -t Set countdown timer (default: 120 seconds)"
|
||||
echo " --interval, -i Set notify interval on LOW UNPLUG Status (default: 5% percent)"
|
||||
echo " --notify, -n Set notify interval for Battery Full Status (default: 1140 mins/ 1 day)"
|
||||
echo " --execute, -e Set command/script to execute if battery on critical threshold (default: systemctl suspend)"
|
||||
echo " --help, -h Show this help message
|
||||
Visit https://github.com/prasanthrangan/hyprdots for the Github Repo"
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
done
|
||||
is_laptop() { # Check if the system is a laptop
|
||||
if grep -q "Battery" /sys/class/power_supply/BAT*/type; then
|
||||
return 0 # It's a laptop
|
||||
else
|
||||
echo "Cannot Detect a Battery. If this seems an error please report an issue to https://github.com/prasanthrangan/hyprdots."
|
||||
exit 0 # It's not a laptop
|
||||
fi
|
||||
}
|
||||
fn_verbose () {
|
||||
if $verbose; then
|
||||
cat << VERBOSE
|
||||
=============================================
|
||||
Battery Status: $battery_status
|
||||
Battery Percentage: $battery_percentage
|
||||
=============================================
|
||||
|
||||
|
||||
VERBOSE
|
||||
fi
|
||||
}
|
||||
fn_notify () { # Send notification
|
||||
|
||||
notify-send -a "Power" $1 -u $2 "$3" "$4" -p # Call the notify-send command with the provided arguments \$1 is the flags \$2 is the urgency \$3 is the title \$4 is the message
|
||||
}
|
||||
fn_percentage () {
|
||||
if [[ "$battery_percentage" -ge "$unplug_charger_threshold" ]] && [[ "$battery_status" != "Discharging" ]] && [[ "$battery_status" != "Full" ]] && (( (battery_percentage - last_notified_percentage) >= $interval )); then if $verbose; then echo "Prompt:UNPLUG: $battery_unplug_threshold $battery_status $battery_percentage" ; fi
|
||||
fn_notify "-t 5000 " "CRITICAL" "Battery Charged" "Battery is at $battery_percentage%. You can unplug the charger!"
|
||||
last_notified_percentage=$battery_percentage
|
||||
elif [[ "$battery_percentage" -le "$battery_critical_threshold" ]]; then
|
||||
count=$(( timer > $mnt ? timer : $mnt )) # reset count
|
||||
while [ $count -gt 0 ] && [[ $battery_status == "Discharging"* ]]; do
|
||||
for battery in /sys/class/power_supply/BAT*; do battery_status=$(< "$battery/status") ; done
|
||||
if [[ $battery_status != "Discharging" ]] ; then break ; fi
|
||||
fn_notify "-t 5000 -r 69 " "CRITICAL" "Battery Critically Low" "$battery_percentage% is critically low. Device will execute $execute in $((count/60)):$((count%60)) ."
|
||||
count=$((count-1))
|
||||
sleep 1
|
||||
done
|
||||
[ $count -eq 0 ] && fn_action
|
||||
elif [[ "$battery_percentage" -le "$battery_low_threshold" ]] && [[ "$battery_status" == "Discharging" ]] && (( (last_notified_percentage - battery_percentage) >= $interval )); then if $verbose; then echo "Prompt:LOW: $battery_low_threshold $battery_status $battery_percentage" ; fi
|
||||
fn_notify "-t 5000 " "CRITICAL" "Battery Low" "Battery is at $battery_percentage%. Connect the charger."
|
||||
last_notified_percentage=$battery_percentage
|
||||
fi
|
||||
}
|
||||
fn_action () { #handles the $execute command
|
||||
count=$(( timer > $mnt ? timer : $mnt )) # reset count
|
||||
nohup $execute
|
||||
}
|
||||
|
||||
fn_status () {
|
||||
if [[ $battery_percentage -ge $battery_full_threshold ]] && [ "$battery_status" == *"Charging"* ]; then echo "Full and $battery_status"
|
||||
battery_status="Full" ;fi
|
||||
case "$battery_status" in # Handle the power supply status
|
||||
"Discharging") if $verbose; then echo "Case:$battery_status Level: $battery_percentage" ;fi
|
||||
if [[ "$prev_status" != "Discharging" ]] || [[ "$prev_status" == "Full" ]] ; then
|
||||
prev_status=$battery_status
|
||||
urgency=$([[ $battery_percentage -le "$battery_low_threshold" ]] && echo "CRITICAL" || echo "NORMAL")
|
||||
fn_notify "-t 5000 -r 54321 " "$urgency" "Charger Plug OUT" "Battery is at $battery_percentage%."
|
||||
fi
|
||||
fn_percentage
|
||||
;;
|
||||
"Not"*|"Charging") if $verbose; then echo "Case:$battery_status Level: $battery_percentage" ;fi
|
||||
# Due to modifications of some devices Not Charging after reaching 99 or limits
|
||||
#if [[ ! -f "/tmp/hyprdots.batterynotify.status.$battery_status-$$" ]] && [[ "$battery_status" == "Not"* ]] ; then
|
||||
#touch "/tmp/hyprdots.batterynotify.status.$battery_status-$$"
|
||||
#count=$(( timer > $mnt ? timer : $mnt )) # reset count
|
||||
#echo "Status: '==>> "$battery_status" <<==' Device Reports Not Charging!,This may be device Specific errors."
|
||||
#fn_notify "-t 5000 " "CRITICAL" "Charger Plug In" "Battery is at $battery_percentage%."
|
||||
#fi
|
||||
if [[ "$prev_status" == "Discharging" ]] || [[ "$prev_status" == "Not"* ]] ; then
|
||||
prev_status=$battery_status
|
||||
count=$(( timer > $mnt ? timer : $mnt )) # reset count
|
||||
urgency=$([[ "$battery_percentage" -ge $unplug_charger_threshold ]] && echo "CRITICAL" || echo "NORMAL")
|
||||
fn_notify "-t 5000 -r 54321 " "$urgency" "Charger Plug In" "Battery is at $battery_percentage%."
|
||||
fi
|
||||
fn_percentage
|
||||
;;
|
||||
"Full") if $verbose; then echo "Case:$battery_status Level: $battery_percentage" ;fi
|
||||
|
||||
if [[ $battery_status != "Discharging" ]]; then
|
||||
now=$(date +%s)
|
||||
if [[ "$prev_status" == *"harging"* ]] || ((now - lt >= $((notify*60)) )); then
|
||||
fn_notify "-t 5000 -r 54321" "CRITICAL" "Battery Full" "Please unplug your Charger"
|
||||
prev_status=$battery_status lt=$now
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
if [[ ! -f "/tmp/hyprdots.batterynotify.status.fallback.$battery_status-$$" ]]; then
|
||||
echo "Status: '==>> "$battery_status" <<==' Script on Fallback mode,Unknown power supply status.Please copy this line and raise an issue to the Github Repo.Also run 'ls /tmp/hyprdots.batterynotify' to see the list of lock files.*"
|
||||
touch "/tmp/hyprdots.batterynotify.status.fallback.$battery_status-$$"
|
||||
fi
|
||||
fn_percentage
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
fn_status_change () { # Handle when status changes
|
||||
for battery in /sys/class/power_supply/BAT*; do battery_status=$(< "$battery/status") battery_percentage=$(< "$battery/capacity")
|
||||
if [ "$battery_status" != "$last_battery_status" ] || [ "$battery_percentage" != "$last_battery_percentage" ]; then last_battery_status=$battery_status last_battery_percentage=$battery_percentage # Check if battery status or percentage has changed
|
||||
fn_verbose
|
||||
fn_percentage
|
||||
if $undock; then fn_status echo yes ; fi
|
||||
fi
|
||||
done
|
||||
}
|
||||
resume_processes() { for pid in $pids ; do if [ $pid -ne $current_pid ] ; then kill -CONT $pid ; notify-send -a "Battery Notify" -t 2000 -r 9889 -u "CRITICAL" "Debugging ENDED, Resuming Regular Process" ; fi ; done }
|
||||
main() { # Main function
|
||||
if is_laptop; then
|
||||
rm -fr /tmp/hyprdots.batterynotify* # Cleaning the lock file
|
||||
battery_full_threshold=${battery_full_threshold:-100}
|
||||
battery_critical_threshold=${battery_critical_threshold:-10}
|
||||
unplug_charger_threshold=${unplug_charger_threshold:-80}
|
||||
battery_low_threshold=${battery_low_threshold:-20}
|
||||
timer=${timer:-120}
|
||||
notify=${notify:-1140}
|
||||
interval=${interval:-5}
|
||||
|
||||
execute=${execute:-"systemctl suspend"}
|
||||
cat << EOF
|
||||
Script is running...
|
||||
Check $0 --help for options.
|
||||
|
||||
STATUS THRESHOLD INTERVAL
|
||||
Full $battery_full_threshold $notify Minutes
|
||||
Critical $battery_critical_threshold $timer Seconds then "$execute"
|
||||
Low $battery_low_threshold $interval Percent
|
||||
Unplug $unplug_charger_threshold $interval Percent
|
||||
|
||||
|
||||
EOF
|
||||
if $verbose; then for line in "Verbose Mode is ON..." "" "" "" "" ; do echo $line ; done;
|
||||
current_pid=$$
|
||||
pids=$(pgrep -f "/bin/bash $HOME/.config/hypr/scripts/batterynotify.sh" )
|
||||
for pid in $pids ; do if [ $pid -ne $current_pid ] ;then kill -STOP $pid ;notify-send -a "Battery Notify" -t 2000 -r 9889 -u "CRITICAL" "Debugging STARTED, Pausing Regular Process" ;fi ; done ; trap resume_processes SIGINT ; fi
|
||||
fn_status_change # initiate the function
|
||||
last_notified_percentage=$battery_percentage
|
||||
prev_status=$battery_status
|
||||
|
||||
dbus-monitor --system "type='signal',interface='org.freedesktop.DBus.Properties',path='$(upower -e | grep battery)'" 2> /dev/null | while read -r battery_status_change; do fn_status_change ; done
|
||||
fi
|
||||
}
|
||||
main
|
||||
@@ -0,0 +1,115 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
# Nuke all internal spawns when script dies
|
||||
trap "trap - SIGTERM && kill -- -$$" SIGINT SIGTERM
|
||||
|
||||
BARS=14;
|
||||
FRAMERATE=60;
|
||||
EQUILIZER=1;
|
||||
|
||||
# Get script options
|
||||
while getopts 'b:f:m:eh' flag; do
|
||||
case "${flag}" in
|
||||
b) BARS="${OPTARG}" ;;
|
||||
f) FRAMERATE="${OPTARG}" ;;
|
||||
e) EQUILIZER=0 ;;
|
||||
h)
|
||||
echo "caway usage: caway [ options ... ]"
|
||||
echo "where options include:"
|
||||
echo
|
||||
echo " -b <integer> (Number of bars to display. Default 8)"
|
||||
echo " -f <integer> (Framerate of the equilizer. Default 60)"
|
||||
echo " -e (Disable equilizer. Default enabled)"
|
||||
echo " -h (Show help message)"
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
bar="▁▂▃▄▅▆▇█"
|
||||
dict="s/;//g;"
|
||||
|
||||
# creating "dictionary" to replace char with bar + thin space " "
|
||||
i=0
|
||||
while [ $i -lt ${#bar} ]
|
||||
do
|
||||
dict="${dict}s/$i/${bar:$i:1} /g;"
|
||||
i=$((i=i+1))
|
||||
done
|
||||
|
||||
# Remove last extra thin space
|
||||
dict="${dict}s/.$//;"
|
||||
|
||||
clean_create_pipe() {
|
||||
if [ -p $1 ]; then
|
||||
unlink $1
|
||||
fi
|
||||
mkfifo $1
|
||||
}
|
||||
|
||||
kill_pid_file() {
|
||||
if [[ -f $1 ]]; then
|
||||
while read pid; do
|
||||
{ kill "$pid" && wait "$pid"; } 2>/dev/null
|
||||
done < $1
|
||||
fi
|
||||
}
|
||||
|
||||
# PID of the cava process and while loop launched from the script
|
||||
cava_waybar_pid="/tmp/cava_waybar_pid"
|
||||
|
||||
# Clean pipe for cava
|
||||
cava_waybar_pipe="/tmp/cava_waybar.fifo"
|
||||
clean_create_pipe $cava_waybar_pipe
|
||||
|
||||
# Custom cava config
|
||||
cava_waybar_config="/tmp/cava_waybar_config"
|
||||
echo "
|
||||
[general]
|
||||
mode = normal
|
||||
framerate = $FRAMERATE
|
||||
bars = $BARS
|
||||
|
||||
[output]
|
||||
method = raw
|
||||
raw_target = $cava_waybar_pipe
|
||||
data_format = ascii
|
||||
ascii_max_range = 7
|
||||
" > $cava_waybar_config
|
||||
|
||||
# Clean pipe for playerctl
|
||||
playerctl_waybar_pipe="/tmp/playerctl_waybar.fifo"
|
||||
clean_create_pipe $playerctl_waybar_pipe
|
||||
|
||||
# playerctl output into playerctl_waybar_pipe
|
||||
playerctl -a metadata --format '{"text": "{{artist}} - {{title}}", "tooltip": "{{playerName}} : {{markup_escape(artist)}} - {{markup_escape(title)}}", "alt": "{{status}}", "class": "{{status}}"}' -F >$playerctl_waybar_pipe &
|
||||
|
||||
# Read the playerctl o/p via its fifo pipe
|
||||
while read -r line; do
|
||||
# Kill the cava process to stop the input to cava_waybar_pipe
|
||||
kill_pid_file $cava_waybar_pid
|
||||
|
||||
echo "$line" | jq --unbuffered --compact-output
|
||||
|
||||
# If the class says "Playing" and equilizer is enabled
|
||||
# then show the cava equilizer
|
||||
if [[ $EQUILIZER == 1 && $(echo $line | jq -r '.class') == 'Playing' ]]; then
|
||||
# Show the playing title for 2 seconds
|
||||
sleep 2
|
||||
|
||||
# cava output into cava_waybar_pipe
|
||||
cava -p $cava_waybar_config >$cava_waybar_pipe &
|
||||
|
||||
# Save the PID of child process
|
||||
echo $! > $cava_waybar_pid
|
||||
|
||||
# Read the cava o/p via its fifo pipe
|
||||
while read -r cmd2; do
|
||||
# Change the "text" key to bars
|
||||
echo "$line" | jq --arg a $(echo $cmd2 | sed "$dict") '.text = $a' --unbuffered --compact-output
|
||||
done < $cava_waybar_pipe & # Do this fifo read in background
|
||||
|
||||
# Save the while loop PID into the file as well
|
||||
echo $! >> $cava_waybar_pid
|
||||
fi
|
||||
done < $playerctl_waybar_pipe
|
||||
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
CONFIG=$(rofi -show file-browser-extended -file-browser-stdout -file-browser-dir "$HOME"/.config/keyb/bindings -config ~/.config/rofi/keybinds.rasi)
|
||||
|
||||
hyprctl dispatch exec "[float;size 45% 80%;center 1] kitty keyb -k '$CONFIG'"
|
||||
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
function random_hex() {
|
||||
random_hex=("0xff$(openssl rand -hex 3)")
|
||||
echo $random_hex
|
||||
}
|
||||
|
||||
hyprctl keyword general:col.active_border $(random_hex) $(random_hex) $(random_hex) $(random_hex) $(random_hex) $(random_hex) $(random_hex) $(random_hex) $(random_hex) $(random_hex) 270deg
|
||||
|
||||
hyprctl keyword general:col.inactive_border $(random_hex) $(random_hex) $(random_hex) $(random_hex) $(random_hex) $(random_hex) $(random_hex) $(random_hex) $(random_hex) $(random_hex) 270deg
|
||||
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
wlsunset -t 4000 -T 6500 -d 900 -S 07:00 -s 19:00
|
||||
@@ -0,0 +1,29 @@
|
||||
# #! /bin/bash
|
||||
|
||||
#----- Optimized bars animation without much CPU usage increase --------
|
||||
bar="▁▂▃▄▅▆▇█"
|
||||
dict="s/;//g"
|
||||
|
||||
# Calculate the length of the bar outside the loop
|
||||
bar_length=${#bar}
|
||||
|
||||
# Create dictionary to replace char with bar
|
||||
for ((i = 0; i < bar_length; i++)); do
|
||||
dict+=";s/$i/${bar:$i:1}/g"
|
||||
done
|
||||
|
||||
# Create cava config
|
||||
config_file="/tmp/bar_cava_config"
|
||||
cat >"$config_file" <<EOF
|
||||
[general]
|
||||
bars = 10
|
||||
|
||||
[output]
|
||||
method = raw
|
||||
raw_target = /dev/stdout
|
||||
data_format = ascii
|
||||
ascii_max_range = 7
|
||||
EOF
|
||||
|
||||
# Read stdout from cava and perform substitution in a single sed command
|
||||
cava -p "$config_file" | sed -u "$dict"
|
||||
@@ -0,0 +1,62 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -euo pipefail
|
||||
IFS=$'\n\t'
|
||||
|
||||
# Define directories
|
||||
config_dir="$HOME/.config/waybar/configs"
|
||||
waybar_config="$HOME/.config/waybar/config"
|
||||
scripts_dir="$HOME/.config/hypr/scripts"
|
||||
rofi_config="$HOME/.config/rofi/config-waybar-layout.rasi"
|
||||
|
||||
# Function to display menu options
|
||||
menu() {
|
||||
options=()
|
||||
while IFS= read -r file; do
|
||||
options+=("$(basename "$file")")
|
||||
done < <(find "$config_dir" -maxdepth 1 -type f -exec basename {} \; | sort)
|
||||
|
||||
printf '%s\n' "${options[@]}"
|
||||
}
|
||||
|
||||
# Apply selected configuration
|
||||
apply_config() {
|
||||
ln -sf "$config_dir/$1" "$waybar_config"
|
||||
restart_waybar_if_needed
|
||||
}
|
||||
|
||||
# Restart Waybar
|
||||
restart_waybar_if_needed() {
|
||||
if pgrep -x "waybar" >/dev/null; then
|
||||
pkill waybar
|
||||
sleep 0.1 # Delay for Waybar to completely terminate
|
||||
fi
|
||||
"${scripts_dir}/Refresh.sh" &
|
||||
}
|
||||
|
||||
# Main function
|
||||
main() {
|
||||
choice=$(menu | rofi -dmenu -config "$rofi_config")
|
||||
|
||||
if [[ -z "$choice" ]]; then
|
||||
echo "No option selected. Exiting."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
case $choice in
|
||||
"no panel")
|
||||
pgrep -x "waybar" && pkill waybar || true
|
||||
;;
|
||||
*)
|
||||
apply_config "$choice"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
# Kill Rofi if already running before execution
|
||||
if pgrep -x "rofi" >/dev/null; then
|
||||
pkill rofi
|
||||
exit 0
|
||||
fi
|
||||
|
||||
main
|
||||
@@ -0,0 +1,121 @@
|
||||
#!/usr/bin/env python3
|
||||
# From https://raw.githubusercontent.com/rxyhn/dotfiles/main/home/rxyhn/modules/desktop/waybar/scripts/waybar-wttr.py
|
||||
|
||||
## ensure to insert city inside ""
|
||||
import json
|
||||
import requests
|
||||
from datetime import datetime
|
||||
|
||||
WEATHER_CODES = {
|
||||
'113': ' ',
|
||||
'116': ' ',
|
||||
'119': ' ',
|
||||
'122': ' ',
|
||||
'143': ' ',
|
||||
'176': ' ',
|
||||
'179': ' ',
|
||||
'182': ' ',
|
||||
'185': ' ',
|
||||
'200': '⛈️',
|
||||
'227': '🌨️',
|
||||
'230': '🌨️',
|
||||
'248': '☁️',
|
||||
'260': '☁️',
|
||||
'263': '🌧️',
|
||||
'266': '🌧️',
|
||||
'281': '🌧️',
|
||||
'284': '🌧️',
|
||||
'293': '🌧️',
|
||||
'296': '🌧️',
|
||||
'299': '🌧️',
|
||||
'302': '🌧️',
|
||||
'305': '🌧️',
|
||||
'308': '🌧️',
|
||||
'311': '🌧️',
|
||||
'314': '🌧️',
|
||||
'317': '🌧️',
|
||||
'320': '🌨️',
|
||||
'323': '🌨️',
|
||||
'326': '🌨️',
|
||||
'329': '❄️',
|
||||
'332': '❄️',
|
||||
'335': '❄️',
|
||||
'338': '❄️',
|
||||
'350': '🌧️',
|
||||
'353': '🌧️',
|
||||
'356': '🌧️',
|
||||
'359': '🌧️',
|
||||
'362': '🌧️',
|
||||
'365': '🌧️',
|
||||
'368': '🌧️',
|
||||
'371': '❄️',
|
||||
'374': '🌨️',
|
||||
'377': '🌨️',
|
||||
'386': '🌨️',
|
||||
'389': '🌨️',
|
||||
'392': '🌧️',
|
||||
'395': '❄️'
|
||||
}
|
||||
|
||||
data = {}
|
||||
|
||||
|
||||
weather = requests.get("https://wttr.in/Kohalpur?format=j1").json()
|
||||
|
||||
|
||||
def format_time(time):
|
||||
return time.replace("00", "").zfill(2)
|
||||
|
||||
|
||||
def format_temp(temp):
|
||||
return (hour['FeelsLikeC']+"°").ljust(3)
|
||||
|
||||
|
||||
def format_chances(hour):
|
||||
chances = {
|
||||
"chanceoffog": "Fog",
|
||||
"chanceoffrost": "Frost",
|
||||
"chanceofovercast": "Overcast",
|
||||
"chanceofrain": "Rain",
|
||||
"chanceofsnow": "Snow",
|
||||
"chanceofsunshine": "Sunshine",
|
||||
"chanceofthunder": "Thunder",
|
||||
"chanceofwindy": "Wind"
|
||||
}
|
||||
|
||||
conditions = []
|
||||
for event in chances.keys():
|
||||
if int(hour[event]) > 0:
|
||||
conditions.append(chances[event]+" "+hour[event]+"%")
|
||||
return ", ".join(conditions)
|
||||
|
||||
tempint = int(weather['current_condition'][0]['FeelsLikeC'])
|
||||
extrachar = ''
|
||||
if tempint > 0 and tempint < 10:
|
||||
extrachar = '+'
|
||||
|
||||
|
||||
data['text'] = ' '+WEATHER_CODES[weather['current_condition'][0]['weatherCode']] + \
|
||||
" "+extrachar+weather['current_condition'][0]['FeelsLikeC']+"°"
|
||||
|
||||
data['tooltip'] = f"<b>{weather['current_condition'][0]['weatherDesc'][0]['value']} {weather['current_condition'][0]['temp_C']}°</b>\n"
|
||||
data['tooltip'] += f"Feels like: {weather['current_condition'][0]['FeelsLikeC']}°\n"
|
||||
data['tooltip'] += f"Wind: {weather['current_condition'][0]['windspeedKmph']}Km/h\n"
|
||||
data['tooltip'] += f"Humidity: {weather['current_condition'][0]['humidity']}%\n"
|
||||
for i, day in enumerate(weather['weather']):
|
||||
data['tooltip'] += f"\n<b>"
|
||||
if i == 0:
|
||||
data['tooltip'] += "Today, "
|
||||
if i == 1:
|
||||
data['tooltip'] += "Tomorrow, "
|
||||
data['tooltip'] += f"{day['date']}</b>\n"
|
||||
data['tooltip'] += f"⬆️{day['maxtempC']}° ⬇️{day['mintempC']}° "
|
||||
data['tooltip'] += f"🌅{day['astronomy'][0]['sunrise']} 🌇{day['astronomy'][0]['sunset']}\n"
|
||||
for hour in day['hourly']:
|
||||
if i == 0:
|
||||
if int(format_time(hour['time'])) < datetime.now().hour-2:
|
||||
continue
|
||||
data['tooltip'] += f"{format_time(hour['time'])} {WEATHER_CODES[hour['weatherCode']]} {format_temp(hour['FeelsLikeC'])} {hour['weatherDesc'][0]['value']}, {format_chances(hour)}\n"
|
||||
|
||||
|
||||
print(json.dumps(data))
|
||||
@@ -0,0 +1,129 @@
|
||||
|
||||
# Default Keybinds
|
||||
|
||||
$mainMod = SUPER
|
||||
|
||||
|
||||
# Master Layout
|
||||
bind = ALT, Space, layoutmsg, removemaster
|
||||
bind = $mainMod, I, layoutmsg, addmaster
|
||||
bind = $mainMod, J, layoutmsg, cyclenext
|
||||
bind = $mainMod, K, layoutmsg, cycleprev
|
||||
bind = $mainMod, M, exec, hyprctl dispatch splitratio 0.3
|
||||
bind = $mainMod, P, pseudo, # dwindle
|
||||
bind = $mainMod, S, layoutmsg, swapwithmaster
|
||||
bind = $mainMod SHIFT, M, exec, hyprctl dispatch splitratio -0.3
|
||||
|
||||
|
||||
# Hyprland
|
||||
bind = $mainMod, C, killactive, #quit app
|
||||
bind = $mainMod_SHIFT, C, closewindow,
|
||||
bind = $mainMod, F, exec, hyprctl dispatch togglefloating && hyprctl dispatch centerwindow 1
|
||||
bind = CTRL_ALT, Delete, exit, #exit hyprland
|
||||
bind = $mainMod_SHIFT, Space, fullscreen, 0
|
||||
bind = $mainMod_SHIFT, O, toggleopaque
|
||||
|
||||
# Change Workspace Mode
|
||||
bind = $mainMod_SHIFT, F, exec, hyprctl dispatch workspaceopt allfloat
|
||||
bind = $mainMod_SHIFT, P, exec, hyprctl dispatch workspaceopt, allpseudo
|
||||
|
||||
# Group
|
||||
bind = $mainMod, G, togglegroup
|
||||
bind = ALT, Tab, changegroupactive # change focus to another window
|
||||
|
||||
# Workspaces related
|
||||
bind = $mainMod, Tab, workspace, m+1
|
||||
bind = $mainMod SHIFT, Tab, workspace, m-1
|
||||
|
||||
# Special Workspace
|
||||
bind = $mainMod, U, togglespecialworkspace,
|
||||
bind = $mainMod SHIFT, U, movetoworkspace, special
|
||||
|
||||
|
||||
# Resize Active
|
||||
binde = $mainMod_ALT, left, resizeactive, -20 0
|
||||
binde = $mainMod_ALT, right,resizeactive, 20 0
|
||||
binde = $mainMod_ALT, up, resizeactive, 0 -20
|
||||
binde = $mainMod_ALT, down, resizeactive, 0 20
|
||||
|
||||
|
||||
# Move Active
|
||||
bind = $mainMod_SHIFT, left, movewindow, l
|
||||
bind = $mainMod_SHIFT, right, movewindow, r
|
||||
bind = $mainMod_SHIFT, up, movewindow, u
|
||||
bind = $mainMod_SHIFT, down, movewindow, d
|
||||
|
||||
|
||||
# Change Focus
|
||||
bind = $mainMod, left, movefocus, l
|
||||
bind = $mainMod, right, movefocus, r
|
||||
bind = $mainMod, up, movefocus, u
|
||||
bind = $mainMod, down, movefocus, d
|
||||
|
||||
|
||||
# Move Active (Floating Only)
|
||||
binde = $mainMod_CTRL, left, moveactive, -20 0
|
||||
binde = $mainMod_CTRL, right, moveactive, 20 0
|
||||
binde = $mainMod_CTRL, up, moveactive, 0 -20
|
||||
binde = $mainMod_CTRL, down, moveactive, 0 20
|
||||
|
||||
|
||||
# Switch Workspaces
|
||||
bind = $mainMod, 1, workspace, 1
|
||||
bind = $mainMod, 2, workspace, 2
|
||||
bind = $mainMod, 3, workspace, 3
|
||||
bind = $mainMod, 4, workspace, 4
|
||||
bind = $mainMod, 5, workspace, 5
|
||||
bind = $mainMod, 6, workspace, 6
|
||||
bind = $mainMod, 7, workspace, 7
|
||||
bind = $mainMod, 8, workspace, 8
|
||||
bind = $mainMod, 9, workspace, 9
|
||||
bind = $mainMod, 0, workspace, 10
|
||||
|
||||
|
||||
# Move active window and follow to workspace
|
||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
||||
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
||||
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
||||
bind = $mainMod SHIFT, 4, movetoworkspace, 4
|
||||
bind = $mainMod SHIFT, 5, movetoworkspace, 5
|
||||
bind = $mainMod SHIFT, 6, movetoworkspace, 6
|
||||
bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
||||
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
||||
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
||||
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
||||
bind = $mainMod SHIFT, bracketleft, movetoworkspace, -1 # brackets [ or ]
|
||||
bind = $mainMod SHIFT, bracketright, movetoworkspace, +1
|
||||
|
||||
|
||||
# Move active window workspace silently
|
||||
bind = SHIFT_ALT, 1, movetoworkspacesilent, 1
|
||||
bind = SHIFT_ALT, 2, movetoworkspacesilent, 2
|
||||
bind = SHIFT_ALT, 3, movetoworkspacesilent, 3
|
||||
bind = SHIFT_ALT, 4, movetoworkspacesilent, 4
|
||||
bind = SHIFT_ALT, 5, movetoworkspacesilent, 5
|
||||
bind = SHIFT_ALT, 6, movetoworkspacesilent, 6
|
||||
bind = SHIFT_ALT, 7, movetoworkspacesilent, 7
|
||||
bind = SHIFT_ALT, 8, movetoworkspacesilent, 8
|
||||
bind = SHIFT_ALT, 9, movetoworkspacesilent, 9
|
||||
bind = SHIFT_ALT, 0, movetoworkspacesilent, 10
|
||||
bind = SHIFT_ALT, bracketleft, movetoworkspacesilent, -1
|
||||
bind = SHIFT_ALT, bracketright, movetoworkspacesilent, +1
|
||||
|
||||
|
||||
# Scroll through existing workspaces with mainMod
|
||||
bind = SHIFT_ALT, d, workspace, e+1
|
||||
bind = SHIFT_ALT, a, workspace, e-1
|
||||
|
||||
|
||||
# Scroll through existing workspaces with mainMod + scroll
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
bind = $mainMod, mouse_up, workspace, e-1
|
||||
|
||||
|
||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
# Initial boot script enable to apply initial wallpapers, theming, new settings etc.
|
||||
exec-once = $HOME/.config/hypr/initial-boot.sh
|
||||
@@ -0,0 +1,19 @@
|
||||
# Sourcing external config files
|
||||
|
||||
###### Default Configs
|
||||
$configs = $HOME/.config/hypr/configs
|
||||
|
||||
source=$configs/Settings.conf
|
||||
source=$configs/Keybinds.conf
|
||||
|
||||
#### User Configs
|
||||
$UserConfigs = $HOME/.config/hypr/UserConfigs
|
||||
|
||||
source= $UserConfigs/Startup_Apps.conf
|
||||
source= $UserConfigs/ENVariables.conf
|
||||
source= $UserConfigs/UserKeybinds.conf
|
||||
source= $UserConfigs/UserSettings.conf
|
||||
source= $UserConfigs/Monitors.conf
|
||||
source= $UserConfigs/Laptops.conf
|
||||
source= $UserConfigs/LaptopDisplay.conf
|
||||
source= $UserConfigs/WindowRules.conf
|
||||
@@ -0,0 +1,40 @@
|
||||
#!/bin/bash
|
||||
|
||||
# A bash script designed to run only once dotfiles installed
|
||||
|
||||
# THIS SCRIPT CAN BE DELETED ONCE SUCCESSFULLY BOOTED!! And also, edit ~/.config/hypr/configs/Execs.conf
|
||||
# not necessary to do since this script is only designed to run only once as long as the marker exists
|
||||
|
||||
# Variables
|
||||
scriptsDir=$HOME/.config/hypr/scripts
|
||||
wallpaper=$HOME/.config/hypr/.current_wallpaper
|
||||
kvantum_theme="Tokyo-Night"
|
||||
|
||||
swww="swww img"
|
||||
effect="--transition-bezier .43,1.19,1,.4 --transition-fps 30 --transition-type grow --transition-pos 0.925,0.977 --transition-duration 2"
|
||||
|
||||
# Check if a marker file exists.
|
||||
if [ ! -f $HOME/cache/.initial_startup_done ]; then
|
||||
|
||||
|
||||
# Initial scripts to load in order to have a proper wallpaper waybar
|
||||
swww init || swww query && $swww "$wallpaper" $effect
|
||||
|
||||
# Refreshing waybar, dunst, rofi etc.
|
||||
"$scriptsDir/Refresh.sh" > /dev/null 2>&1 &
|
||||
|
||||
# initiate GTK dark mode and apply icon and cursor theme
|
||||
gsettings set org.gnome.desktop.interface gtk-theme Tokyonight-Dark-BL-LB > /dev/null 2>&1 &
|
||||
gsettings set org.gnome.desktop.interface icon-theme Tokyonight-Dark > /dev/null 2>&1 &
|
||||
gsettings set org.gnome.desktop.interface cursor-theme Bibata-Modern-Ice > /dev/null 2>&1 &
|
||||
gsettings set org.gnome.desktop.interface cursor-size 6 > /dev/null 2>&1 &
|
||||
gsettings set org.gnome.desktop.interface font-name JetBrainsMono Nerd Font 10 > /dev/null 2>&1 &
|
||||
|
||||
# initiate kvantum theme
|
||||
kvantummanager --set "$kvantum_theme" > /dev/null 2>&1 &
|
||||
|
||||
# Create a marker file to indicate that the script has been executed.
|
||||
touch $HOME/.cache/.initial_startup_done
|
||||
|
||||
exit
|
||||
fi
|
||||
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
notif="$HOME/.config/swaync/images/bell.png"
|
||||
|
||||
# Check if any wireless device is blocked
|
||||
wifi_blocked=$(rfkill list wifi | grep -o "Soft blocked: yes")
|
||||
|
||||
if [ -n "$wifi_blocked" ]; then
|
||||
rfkill unblock wifi
|
||||
notify-send -u low -i "$notif" 'Airplane mode: OFF'
|
||||
else
|
||||
rfkill block wifi
|
||||
notify-send -u low -i "$notif" 'Airplane mode: ON'
|
||||
fi
|
||||
@@ -0,0 +1,51 @@
|
||||
#!/bin/bash
|
||||
|
||||
iDIR="$HOME/.config/swaync/icons"
|
||||
notification_timeout=1000
|
||||
|
||||
# Get brightness
|
||||
get_backlight() {
|
||||
echo $(brightnessctl -m | cut -d, -f4)
|
||||
}
|
||||
|
||||
# Get icons
|
||||
get_icon() {
|
||||
current=$(get_backlight | sed 's/%//')
|
||||
if [ "$current" -le "20" ]; then
|
||||
icon="$iDIR/brightness-20.png"
|
||||
elif [ "$current" -le "40" ]; then
|
||||
icon="$iDIR/brightness-40.png"
|
||||
elif [ "$current" -le "60" ]; then
|
||||
icon="$iDIR/brightness-60.png"
|
||||
elif [ "$current" -le "80" ]; then
|
||||
icon="$iDIR/brightness-80.png"
|
||||
else
|
||||
icon="$iDIR/brightness-100.png"
|
||||
fi
|
||||
}
|
||||
|
||||
# Notify
|
||||
notify_user() {
|
||||
notify-send -e -h string:x-canonical-private-synchronous:brightness_notif -h int:value:$current -u low -i "$icon" "Brightness : $current%"
|
||||
}
|
||||
|
||||
# Change brightness
|
||||
change_backlight() {
|
||||
brightnessctl set "$1" && get_icon && notify_user
|
||||
}
|
||||
|
||||
# Execute accordingly
|
||||
case "$1" in
|
||||
"--get")
|
||||
get_backlight
|
||||
;;
|
||||
"--inc")
|
||||
change_backlight "+10%"
|
||||
;;
|
||||
"--dec")
|
||||
change_backlight "10%-"
|
||||
;;
|
||||
*)
|
||||
get_backlight
|
||||
;;
|
||||
esac
|
||||
@@ -0,0 +1,49 @@
|
||||
#!/bin/bash
|
||||
|
||||
iDIR="$HOME/.config/swaync/icons"
|
||||
|
||||
# Get keyboard brightness
|
||||
get_kbd_backlight() {
|
||||
echo $(brightnessctl -d '*::kbd_backlight' -m | cut -d, -f4)
|
||||
}
|
||||
|
||||
# Get icons
|
||||
get_icon() {
|
||||
current=$(get_kbd_backlight | sed 's/%//')
|
||||
if [ "$current" -le "20" ]; then
|
||||
icon="$iDIR/brightness-20.png"
|
||||
elif [ "$current" -le "40" ]; then
|
||||
icon="$iDIR/brightness-40.png"
|
||||
elif [ "$current" -le "60" ]; then
|
||||
icon="$iDIR/brightness-60.png"
|
||||
elif [ "$current" -le "80" ]; then
|
||||
icon="$iDIR/brightness-80.png"
|
||||
else
|
||||
icon="$iDIR/brightness-100.png"
|
||||
fi
|
||||
}
|
||||
# Notify
|
||||
notify_user() {
|
||||
notify-send -e -h string:x-canonical-private-synchronous:brightness_notif -h int:value:$current -u low -i "$icon" "Keyboard Brightness : $current%"
|
||||
}
|
||||
|
||||
# Change brightness
|
||||
change_kbd_backlight() {
|
||||
brightnessctl -d *::kbd_backlight set "$1" && get_icon && notify_user
|
||||
}
|
||||
|
||||
# Execute accordingly
|
||||
case "$1" in
|
||||
"--get")
|
||||
get_kbd_backlight
|
||||
;;
|
||||
"--inc")
|
||||
change_kbd_backlight "+30%"
|
||||
;;
|
||||
"--dec")
|
||||
change_kbd_backlight "30%-"
|
||||
;;
|
||||
*)
|
||||
get_kbd_backlight
|
||||
;;
|
||||
esac
|
||||
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
notif="$HOME/.config/swaync/images/bell.png"
|
||||
|
||||
STATE=$(hyprctl -j getoption decoration:blur:passes | jq ".int")
|
||||
|
||||
if [ "${STATE}" == "2" ]; then
|
||||
hyprctl keyword decoration:blur:size 2
|
||||
hyprctl keyword decoration:blur:passes 1
|
||||
notify-send -e -u low -i "$notif" "Less blur"
|
||||
else
|
||||
hyprctl keyword decoration:blur:size 5
|
||||
hyprctl keyword decoration:blur:passes 2
|
||||
notify-send -e -u low -i "$notif" "Normal blur"
|
||||
fi
|
||||
@@ -0,0 +1,28 @@
|
||||
#!/bin/bash
|
||||
|
||||
notif="$HOME/.config/swaync/images/bell.png"
|
||||
|
||||
LAYOUT=$(hyprctl -j getoption general:layout | jq '.str' | sed 's/"//g')
|
||||
|
||||
case $LAYOUT in
|
||||
"master")
|
||||
hyprctl keyword general:layout dwindle
|
||||
hyprctl keyword unbind SUPER,J
|
||||
hyprctl keyword unbind SUPER,K
|
||||
hyprctl keyword bind SUPER,J,cyclenext
|
||||
hyprctl keyword bind SUPER,K,cyclenext,prev
|
||||
hyprctl keyword bind SUPER,O,togglesplit
|
||||
notify-send -e -u low -i "$notif" "Dwindle Layout"
|
||||
;;
|
||||
"dwindle")
|
||||
hyprctl keyword general:layout master
|
||||
hyprctl keyword unbind SUPER,J
|
||||
hyprctl keyword unbind SUPER,K
|
||||
hyprctl keyword unbind SUPER,O
|
||||
hyprctl keyword bind SUPER,J,layoutmsg,cyclenext
|
||||
hyprctl keyword bind SUPER,K,layoutmsg,cycleprev
|
||||
notify-send -e -u low -i "$notif" "Master Layout"
|
||||
;;
|
||||
*) ;;
|
||||
|
||||
esac
|
||||
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Clipboard Manager
|
||||
|
||||
if [[ ! $(pidof rofi) ]]; then
|
||||
cliphist list | rofi -dmenu -config ~/.config/rofi/config-clipboard.rasi | cliphist decode | wl-copy
|
||||
else
|
||||
pkill rofi
|
||||
fi
|
||||
@@ -0,0 +1,65 @@
|
||||
#!/bin/sh
|
||||
|
||||
#####################################
|
||||
# #
|
||||
# @author : 00xZ4CKX #
|
||||
# GitHub : @S4NKALP #
|
||||
# Developer : Sankalp Tharu #
|
||||
# Copyright : Sankalp Tharu #
|
||||
# #
|
||||
#####################################
|
||||
|
||||
|
||||
# Select the right temperature file. #
|
||||
for temp_dir in /sys/class/hwmon/*; do
|
||||
[[ "$(< "${temp_dir}/name")" =~ (coretemp|fam15h_power|k10temp) ]] && {
|
||||
|
||||
temp_dirs=("$temp_dir"/temp*_input)
|
||||
temp_dir=${temp_dirs[0]}
|
||||
break
|
||||
|
||||
}
|
||||
|
||||
done
|
||||
|
||||
|
||||
# Get CPU temp. #
|
||||
[[ -f "$temp_dir" ]] && deg="$(($(< "$temp_dir") * 100 / 10000))"
|
||||
|
||||
# Add CPU temp to the output. #
|
||||
if [[ "$cpu_temp" != "off" && "$deg" ]]; then
|
||||
deg="${deg//.}"
|
||||
|
||||
# Convert to Fahrenheit if enabled
|
||||
[[ "$cpu_temp" == "F" ]] && deg="$((deg * 90 / 50 + 320))"
|
||||
|
||||
deg_no_format="${deg/${deg: -1}}"
|
||||
|
||||
# Format the output
|
||||
deg="${deg/${deg: -1}}°${cpu_temp:-C}"
|
||||
|
||||
|
||||
fi
|
||||
|
||||
# from 0°C to 40°C print ->
|
||||
if [[ "$deg_no_format" -le 40 ]]
|
||||
then
|
||||
echo -e " $deg"
|
||||
|
||||
# from 40°C to 60°C print ->
|
||||
elif [[ "$deg_no_format" -le 60 ]]
|
||||
then
|
||||
echo -e " $deg"
|
||||
|
||||
|
||||
# from 60°C to 85°C print ->
|
||||
elif [[ "$deg_no_format" -le 85 ]]
|
||||
then
|
||||
echo -e " $deg"
|
||||
|
||||
# from 85°C to +... print ->
|
||||
elif [[ "$deg_no_format" -gt 85 ]]
|
||||
then
|
||||
# the ' -n "%{F#FF0008}" ' -> red font as 85°C to +... is the default warn temperature
|
||||
echo -e "${BRed} $deg"
|
||||
fi
|
||||