restructure config
This commit is contained in:
parent
1c6a1a4305
commit
ef0c9157f4
46 changed files with 656 additions and 716 deletions
384
.old/kdekeys
Normal file
384
.old/kdekeys
Normal file
|
@ -0,0 +1,384 @@
|
|||
[ActivityManager][Global Shortcuts]
|
||||
switch-to-activity-1becc5fb-3def-4b2a-82c9-bd886f792a7c=
|
||||
|
||||
[KDE Keyboard Layout Switcher][Global Shortcuts]
|
||||
Switch to Next Keyboard Layout=Ctrl+Alt+K
|
||||
|
||||
[StandardShortcuts]
|
||||
AboutApp=
|
||||
AboutKDE=
|
||||
Activate Next Tab=Ctrl+PgDown; Ctrl+]
|
||||
Activate Previous Tab=Ctrl+PgUp; Ctrl+[
|
||||
ActualSize=Ctrl+0
|
||||
AddBookmark=Ctrl+B
|
||||
Back=Alt+Left; Back
|
||||
BackwardWord=Ctrl+Left
|
||||
Begin=Ctrl+Home
|
||||
BeginningOfLine=Home
|
||||
Clear=
|
||||
Close=Ctrl+W; Ctrl+Esc
|
||||
ConfigureNotifications=
|
||||
ConfigureToolbars=
|
||||
Copy=Ctrl+C; Ctrl+Ins
|
||||
CreateFolder=F10
|
||||
Cut=Shift+Del; Ctrl+X
|
||||
DeleteFile=Shift+Del
|
||||
DeleteWordBack=Ctrl+Backspace
|
||||
DeleteWordForward=Ctrl+Del
|
||||
Deselect=Ctrl+Shift+A
|
||||
DocumentBack=Alt+Shift+Left
|
||||
DocumentForward=Alt+Shift+Right
|
||||
Donate=
|
||||
EditBookmarks=
|
||||
End=Ctrl+End
|
||||
EndOfLine=End
|
||||
Find=Ctrl+F
|
||||
FindNext=F3
|
||||
FindPrev=Shift+F3
|
||||
FitToHeight=
|
||||
FitToPage=
|
||||
FitToWidth=
|
||||
Forward=Alt+Right; Forward
|
||||
ForwardWord=Ctrl+Right
|
||||
FullScreen=Ctrl+Shift+F
|
||||
Goto=
|
||||
GotoLine=Ctrl+G
|
||||
GotoPage=
|
||||
Help=F1
|
||||
Home=Alt+Home; Home Page
|
||||
KeyBindings=Ctrl+Alt+,
|
||||
Mail=
|
||||
MoveToTrash=Del
|
||||
New=Ctrl+N
|
||||
Next=PgDown
|
||||
NextCompletion=Ctrl+Down
|
||||
Open=Ctrl+O
|
||||
OpenRecent=
|
||||
Paste=Shift+Ins; Ctrl+V
|
||||
Paste Selection=Ctrl+Shift+Ins
|
||||
Preferences=Ctrl+Shift+,
|
||||
PrevCompletion=Ctrl+Up
|
||||
Print=Ctrl+P
|
||||
PrintPreview=
|
||||
Prior=PgUp
|
||||
Quit=Ctrl+Q
|
||||
Redo=Ctrl+Shift+Z
|
||||
Reload=Refresh; F5
|
||||
RenameFile=F2
|
||||
Replace=Ctrl+R
|
||||
ReportBug=
|
||||
Revert=
|
||||
RotateDown=Down
|
||||
RotateUp=Up
|
||||
Save=Ctrl+S
|
||||
SaveAs=Ctrl+Shift+S
|
||||
SaveOptions=
|
||||
SelectAll=Ctrl+A
|
||||
ShowHideHiddenFiles=Alt+.; Ctrl+H
|
||||
ShowMenubar=Ctrl+M
|
||||
ShowStatusbar=
|
||||
ShowToolbar=
|
||||
Spelling=
|
||||
SubstringCompletion=Ctrl+T
|
||||
SwitchApplicationLanguage=
|
||||
TextCompletion=Ctrl+E
|
||||
TipofDay=
|
||||
Undo=Ctrl+Z
|
||||
Up=Alt+Up
|
||||
WhatsThis=Shift+F1
|
||||
Zoom=
|
||||
ZoomIn=Ctrl++; Ctrl+=
|
||||
ZoomOut=Ctrl+-
|
||||
|
||||
[bismuth][Global Shortcuts]
|
||||
decrease_master_size=
|
||||
decrease_master_win_count=Meta+[
|
||||
decrease_window_height=Meta+Ctrl+K; Meta+Ctrl+Up
|
||||
decrease_window_width=Meta+Ctrl+Right; Meta+Ctrl+H
|
||||
focus_bottom_window=
|
||||
focus_left_window=
|
||||
focus_next_window=
|
||||
focus_prev_window=
|
||||
focus_right_window=
|
||||
focus_upper_window=
|
||||
increase_master_size=
|
||||
increase_master_win_count=Meta+]
|
||||
increase_window_height=Meta+Ctrl+Down; Meta+Ctrl+J
|
||||
increase_window_width=Meta+Ctrl+Left; Meta+Ctrl+L
|
||||
move_window_to_bottom_pos=Meta+Shift+Down; Meta+Shift+J
|
||||
move_window_to_left_pos=Meta+Shift+H
|
||||
move_window_to_next_pos=
|
||||
move_window_to_prev_pos=
|
||||
move_window_to_right_pos=Meta+Shift+L
|
||||
move_window_to_upper_pos=Meta+Shift+K; Meta+Shift+Up
|
||||
next_layout=Meta+\\
|
||||
prev_layout=
|
||||
push_window_to_master=
|
||||
rotate=
|
||||
rotate_part=
|
||||
rotate_reverse=
|
||||
toggle_float_layout=
|
||||
toggle_monocle_layout=
|
||||
toggle_quarter_layout=
|
||||
toggle_spiral_layout=
|
||||
toggle_spread_layout=
|
||||
toggle_stair_layout=
|
||||
toggle_three_column_layout=
|
||||
toggle_tile_layout=
|
||||
toggle_window_floating=Meta+Space
|
||||
|
||||
[kaccess][Global Shortcuts]
|
||||
Toggle Screen Reader On and Off=Meta+Alt+S
|
||||
|
||||
[kcm_touchpad][Global Shortcuts]
|
||||
Disable Touchpad=Touchpad Off
|
||||
Enable Touchpad=Touchpad On
|
||||
Toggle Touchpad=Touchpad Toggle
|
||||
|
||||
[kded5][Global Shortcuts]
|
||||
Show System Activity=Ctrl+Esc
|
||||
display=Display; Meta+P
|
||||
|
||||
[khotkeys][Global Shortcuts]
|
||||
{162b7cd1-2ed9-40a7-9e77-8cdac1ced63b}=Meta+Return
|
||||
{2b174cac-ee33-41d3-979c-c2151b4485c3}=Meta+F
|
||||
{d03619b6-9b3c-48cc-9d9c-a2aadb485550}=
|
||||
|
||||
[kmix][Global Shortcuts]
|
||||
decrease_microphone_volume=Microphone Volume Down
|
||||
decrease_volume=Volume Down
|
||||
increase_microphone_volume=Microphone Volume Up
|
||||
increase_volume=Volume Up
|
||||
mic_mute=Microphone Mute; Meta+Volume Mute
|
||||
mute=Volume Mute
|
||||
|
||||
[ksmserver][Global Shortcuts]
|
||||
Halt Without Confirmation=
|
||||
Lock Session=Screensaver; Ctrl+Alt+L
|
||||
Log Out=Ctrl+Alt+Del
|
||||
Log Out Without Confirmation=
|
||||
Reboot Without Confirmation=
|
||||
|
||||
[kwin][Global Shortcuts]
|
||||
Activate Window Demanding Attention=Ctrl+Alt+A
|
||||
Decrease Opacity=
|
||||
Expose=Ctrl+F9
|
||||
ExposeAll=Ctrl+F10; Launch (C)
|
||||
ExposeClass=Ctrl+F7
|
||||
Increase Opacity=
|
||||
Invert Screen Colors=
|
||||
Kill Window=Ctrl+Alt+Esc
|
||||
MoveMouseToCenter=Meta+F6
|
||||
MoveMouseToFocus=Meta+F5
|
||||
MoveZoomDown=
|
||||
MoveZoomLeft=
|
||||
MoveZoomRight=
|
||||
MoveZoomUp=
|
||||
Setup Window Shortcut=
|
||||
Show Desktop=
|
||||
ShowDesktopGrid=Ctrl+F8
|
||||
Suspend Compositing=Alt+Shift+F12
|
||||
Switch One Desktop Down=
|
||||
Switch One Desktop Up=
|
||||
Switch One Desktop to the Left=
|
||||
Switch One Desktop to the Right=
|
||||
Switch Window Down=Meta+J; Meta+Down
|
||||
Switch Window Left=Meta+Left; Meta+H
|
||||
Switch Window Right=Meta+Right; Meta+L
|
||||
Switch Window Up=Meta+Up; Meta+K
|
||||
Switch to Desktop 1=Meta+1
|
||||
Switch to Desktop 10=
|
||||
Switch to Desktop 11=
|
||||
Switch to Desktop 12=
|
||||
Switch to Desktop 13=
|
||||
Switch to Desktop 14=
|
||||
Switch to Desktop 15=
|
||||
Switch to Desktop 16=
|
||||
Switch to Desktop 17=
|
||||
Switch to Desktop 18=
|
||||
Switch to Desktop 19=
|
||||
Switch to Desktop 2=Meta+2
|
||||
Switch to Desktop 20=
|
||||
Switch to Desktop 3=Meta+3
|
||||
Switch to Desktop 4=Meta+4
|
||||
Switch to Desktop 5=
|
||||
Switch to Desktop 6=
|
||||
Switch to Desktop 7=
|
||||
Switch to Desktop 8=
|
||||
Switch to Desktop 9=
|
||||
Switch to Next Desktop=
|
||||
Switch to Next Screen=
|
||||
Switch to Previous Desktop=
|
||||
Switch to Previous Screen=
|
||||
Switch to Screen 0=
|
||||
Switch to Screen 1=
|
||||
Switch to Screen 2=
|
||||
Switch to Screen 3=
|
||||
Switch to Screen 4=
|
||||
Switch to Screen 5=
|
||||
Switch to Screen 6=
|
||||
Switch to Screen 7=
|
||||
Toggle Night Color=
|
||||
Toggle Window Raise/Lower=
|
||||
Walk Through Desktop List=
|
||||
Walk Through Desktop List (Reverse)=
|
||||
Walk Through Desktops=
|
||||
Walk Through Desktops (Reverse)=
|
||||
Walk Through Windows=Alt+Tab
|
||||
Walk Through Windows (Reverse)=Alt+Shift+Backtab
|
||||
Walk Through Windows Alternative=
|
||||
Walk Through Windows Alternative (Reverse)=
|
||||
Walk Through Windows of Current Application=Alt+`
|
||||
Walk Through Windows of Current Application (Reverse)=Alt+~
|
||||
Walk Through Windows of Current Application Alternative=
|
||||
Walk Through Windows of Current Application Alternative (Reverse)=
|
||||
Window Above Other Windows=
|
||||
Window Below Other Windows=
|
||||
Window Close=Alt+F4; Meta+Shift+Q
|
||||
Window Fullscreen=Meta+Shift+Space
|
||||
Window Grow Horizontal=
|
||||
Window Grow Vertical=
|
||||
Window Lower=
|
||||
Window Maximize=Meta+PgUp
|
||||
Window Maximize Horizontal=
|
||||
Window Maximize Vertical=
|
||||
Window Minimize=Meta+PgDown
|
||||
Window Move=
|
||||
Window Move Center=
|
||||
Window No Border=
|
||||
Window On All Desktops=
|
||||
Window One Desktop Down=Meta+Ctrl+Shift+Down
|
||||
Window One Desktop Up=Meta+Ctrl+Shift+Up
|
||||
Window One Desktop to the Left=Meta+Ctrl+Shift+Left
|
||||
Window One Desktop to the Right=Meta+Ctrl+Shift+Right
|
||||
Window Operations Menu=Alt+F3
|
||||
Window Pack Down=
|
||||
Window Pack Left=
|
||||
Window Pack Right=
|
||||
Window Pack Up=
|
||||
Window Quick Tile Bottom=
|
||||
Window Quick Tile Bottom Left=
|
||||
Window Quick Tile Bottom Right=
|
||||
Window Quick Tile Left=
|
||||
Window Quick Tile Right=
|
||||
Window Quick Tile Top=
|
||||
Window Quick Tile Top Left=
|
||||
Window Quick Tile Top Right=
|
||||
Window Raise=
|
||||
Window Resize=
|
||||
Window Shade=
|
||||
Window Shrink Horizontal=
|
||||
Window Shrink Vertical=
|
||||
Window to Desktop 1=Meta+!
|
||||
Window to Desktop 10=
|
||||
Window to Desktop 11=
|
||||
Window to Desktop 12=
|
||||
Window to Desktop 13=
|
||||
Window to Desktop 14=
|
||||
Window to Desktop 15=
|
||||
Window to Desktop 16=
|
||||
Window to Desktop 17=
|
||||
Window to Desktop 18=
|
||||
Window to Desktop 19=
|
||||
Window to Desktop 2=Meta+@
|
||||
Window to Desktop 20=
|
||||
Window to Desktop 3=Meta+#
|
||||
Window to Desktop 4=Meta+$
|
||||
Window to Desktop 5=
|
||||
Window to Desktop 6=
|
||||
Window to Desktop 7=
|
||||
Window to Desktop 8=
|
||||
Window to Desktop 9=
|
||||
Window to Next Desktop=
|
||||
Window to Next Screen=Meta+Tab
|
||||
Window to Previous Desktop=
|
||||
Window to Previous Screen=
|
||||
Window to Screen 0=
|
||||
Window to Screen 1=
|
||||
Window to Screen 2=
|
||||
Window to Screen 3=
|
||||
Window to Screen 4=
|
||||
Window to Screen 5=
|
||||
Window to Screen 6=
|
||||
Window to Screen 7=
|
||||
view_actual_size=Meta+0
|
||||
view_zoom_in=Meta+=
|
||||
view_zoom_out=Meta+-
|
||||
|
||||
[mediacontrol][Global Shortcuts]
|
||||
mediavolumedown=
|
||||
mediavolumeup=
|
||||
nextmedia=Media Next
|
||||
pausemedia=Media Pause
|
||||
playmedia=
|
||||
playpausemedia=Media Play
|
||||
previousmedia=Media Previous
|
||||
stopmedia=Media Stop
|
||||
|
||||
[org.kde.dolphin.desktop][Global Shortcuts]
|
||||
_launch=Meta+E
|
||||
|
||||
[org.kde.krunner.desktop][Global Shortcuts]
|
||||
RunClipboard=Alt+Shift+F2
|
||||
_launch=Alt+Space; Search; Meta+D; Alt+F2
|
||||
|
||||
[org.kde.plasma.emojier.desktop][Global Shortcuts]
|
||||
_launch=Meta+.
|
||||
|
||||
[org.kde.spectacle.desktop][Global Shortcuts]
|
||||
ActiveWindowScreenShot=Meta+Print
|
||||
CurrentMonitorScreenShot=
|
||||
FullScreenScreenShot=Shift+Print
|
||||
OpenWithoutScreenshot=
|
||||
RectangularRegionScreenShot=Meta+Shift+S; Meta+Shift+Print
|
||||
WindowUnderCursorScreenShot=Meta+Ctrl+Print
|
||||
_launch=Print
|
||||
|
||||
[org_kde_powerdevil][Global Shortcuts]
|
||||
Decrease Keyboard Brightness=Keyboard Brightness Down
|
||||
Decrease Screen Brightness=Monitor Brightness Down
|
||||
Hibernate=Hibernate
|
||||
Increase Keyboard Brightness=Keyboard Brightness Up
|
||||
Increase Screen Brightness=Monitor Brightness Up
|
||||
PowerDown=Power Down
|
||||
PowerOff=Power Off
|
||||
Sleep=Sleep
|
||||
Toggle Keyboard Backlight=Keyboard Light On/Off
|
||||
Turn Off Screen=
|
||||
|
||||
[plasmashell][Global Shortcuts]
|
||||
activate task manager entry 1=
|
||||
activate task manager entry 10=
|
||||
activate task manager entry 2=
|
||||
activate task manager entry 3=
|
||||
activate task manager entry 4=
|
||||
activate task manager entry 5=Meta+5
|
||||
activate task manager entry 6=Meta+6
|
||||
activate task manager entry 7=Meta+7
|
||||
activate task manager entry 8=Meta+8
|
||||
activate task manager entry 9=Meta+9
|
||||
activate widget 4=Alt+F1
|
||||
clear-history=
|
||||
clipboard_action=Ctrl+Alt+X
|
||||
cycleNextAction=
|
||||
cyclePrevAction=
|
||||
edit_clipboard=
|
||||
manage activities=Meta+Q
|
||||
next activity=
|
||||
previous activity=Meta+Shift+Tab
|
||||
repeat_action=Ctrl+Alt+R
|
||||
show dashboard=Ctrl+F12
|
||||
show-barcode=
|
||||
show-on-mouse-pos=Meta+V
|
||||
stop current activity=Meta+S
|
||||
switch to next activity=
|
||||
switch to previous activity=
|
||||
toggle do not disturb=
|
||||
|
||||
[systemsettings.desktop][Global Shortcuts]
|
||||
_launch=Tools
|
||||
kcm-kscreen=
|
||||
kcm-lookandfeel=
|
||||
kcm-users=
|
||||
powerdevilprofilesconfig=
|
||||
screenlocker=
|
26
.old/op.pal
Normal file
26
.old/op.pal
Normal file
|
@ -0,0 +1,26 @@
|
|||
background #232326
|
||||
foreground #f7eff1
|
||||
|
||||
color0 #434447
|
||||
color8 #95988a
|
||||
color1 #ac383d
|
||||
color9 #d45f68
|
||||
color2 #709c4c
|
||||
color10 #8baf6f
|
||||
|
||||
color3 #c09875
|
||||
color11 #eda25c
|
||||
color4 #5b97de
|
||||
color12 #b8e3ff
|
||||
color5 #494286
|
||||
color13 #9477fa
|
||||
color6 #42c3b2
|
||||
color14 #7fc8a5
|
||||
color7 #e7e4d8
|
||||
color15 #fefefc
|
||||
|
||||
selection_background #ac838d
|
||||
selection_foreground #f7eff1
|
||||
|
||||
cursor #e7e4d8
|
||||
cursor_text_color #709c4c
|
49
.old/pkgs/bismuth.nix
Normal file
49
.old/pkgs/bismuth.nix
Normal file
|
@ -0,0 +1,49 @@
|
|||
{
|
||||
lib,
|
||||
mkDerivation,
|
||||
fetchFromGitHub,
|
||||
kcoreaddons,
|
||||
kwindowsystem,
|
||||
plasma-framework,
|
||||
systemsettings,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
esbuild,
|
||||
}:
|
||||
mkDerivation rec {
|
||||
pname = "bismuth";
|
||||
version = "3.1.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Bismuth-Forge";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-IWwFsYqoqW3924+pf8L+acIt31aU/mhqakXbT9Q4Bqw=";
|
||||
};
|
||||
|
||||
cmakeFlags = [
|
||||
"-DUSE_TSC=OFF"
|
||||
"-DUSE_NPM=OFF"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
esbuild
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
kcoreaddons
|
||||
kwindowsystem
|
||||
plasma-framework
|
||||
systemsettings
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A dynamic tiling extension for KWin";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [pasqui23];
|
||||
homepage = "https://bismuth-forge.github.io/bismuth/";
|
||||
inherit (kwindowsystem.meta) platforms;
|
||||
};
|
||||
}
|
46
.old/pkgs/coconut.nix
Normal file
46
.old/pkgs/coconut.nix
Normal file
|
@ -0,0 +1,46 @@
|
|||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
cpyparsing,
|
||||
ipykernel,
|
||||
mypy,
|
||||
pexpect,
|
||||
pygments,
|
||||
pytestCheckHook,
|
||||
prompt-toolkit,
|
||||
tkinter,
|
||||
watchdog,
|
||||
pkgs,
|
||||
}: let
|
||||
pygments = pkgs.python310Packages.callPackage ./pygments.nix {};
|
||||
in
|
||||
buildPythonPackage rec {
|
||||
pname = "coconut";
|
||||
version = "3.0.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "evhub";
|
||||
repo = "coconut";
|
||||
rev = "v${version}";
|
||||
sha256 = lib.fakeSha256;
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [cpyparsing ipykernel mypy pygments prompt-toolkit watchdog];
|
||||
|
||||
checkInputs = [pexpect pytestCheckHook tkinter];
|
||||
|
||||
# Currently most tests have performance issues
|
||||
pytestFlagsArray = [
|
||||
"coconut/tests/constants_test.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = ["coconut"];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://coconut-lang.org/";
|
||||
description = "Simple, elegant, Pythonic functional programming";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [fabianhjr];
|
||||
};
|
||||
}
|
37
.old/pkgs/culr.nix
Normal file
37
.old/pkgs/culr.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{
|
||||
lib,
|
||||
fetchFromGitea,
|
||||
rustPlatform,
|
||||
libX11,
|
||||
pkg-config,
|
||||
}:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "culr";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchFromGitea {
|
||||
domain = "git.atagen.co";
|
||||
owner = "atagen";
|
||||
repo = pname;
|
||||
rev = "8cb1323bdc388ce1fdb0675ade756ea8b59b803d";
|
||||
sha256 = "sha256-Blo1PyhzKU4LzflmeGrvWOQEon2BCTkF3uQR+7D5/kc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [pkg-config];
|
||||
buildInputs = [libX11];
|
||||
|
||||
# cargoSha256 = "sha256-Vnhni8tckrexlJ85gfSDEAVWhH6oVHn9/z2O2OIVR5o=";
|
||||
cargoLock = {
|
||||
lockFile = "${src}/Cargo.lock";
|
||||
outputHashes = {
|
||||
"xrdb-0.1.2" = "sha256-7B8MsELW927yQEwQJ3DvTB+45Djw21VStBdehaMomRM=";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "colourise piped input";
|
||||
homepage = "https://git.atagen.co/atagen/culr";
|
||||
license = licenses.mit;
|
||||
maintainers = [];
|
||||
};
|
||||
}
|
20
.old/pkgs/default.nix
Normal file
20
.old/pkgs/default.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{pkgs, ...}: {
|
||||
hyprland-system76-scheduler-integration = pkgs.callPackage ./hyprland-system76-scheduler-integration.nix {};
|
||||
culr = pkgs.callPackage ./culr.nix {};
|
||||
eww-git = pkgs.callPackage ./eww.nix {};
|
||||
# everforest-theme = pkgs.callPackage ./everforst-theme.nix {};
|
||||
# coconut = pkgs.python310Packages.callPackage ./coconut.nix {};
|
||||
# kanagawa-icons = pkgs.callPackage ./kanagawa-icons.nix {};
|
||||
# gruvbox-kvantum = pkgs.callPackage ./gruvbox-kvantum.nix {};
|
||||
# gruvbox-gtk-theme = pkgs.callPackage ./gruvbox-gtk-theme.nix {};
|
||||
# system76-scheduler = pkgs.callPackage ./system76-scheduler.nix {};
|
||||
# swayosd = pkgs.callPackage ./swayosd.nix {};
|
||||
# fuzzel = pkgs.callPackage ./fuzzel.nix {};
|
||||
# git-credential-keepassxc = pkgs.callPackage git-credential-keepassxc.nix {};
|
||||
# lemurs = pkgs.callPackage lemurs.nix {};
|
||||
# glpaper = pkgs.callPackage glpaper.nix {};
|
||||
# ly = pkgs.callPackage ly.nix {};
|
||||
# headscale-ui = pkgs.callPackage headscale-ui.nix {};
|
||||
# kwin-system76-scheduler-integration = pkgs.callPackage kwin-system76-scheduler-integration.nix {};
|
||||
# simplewaita-gtk = pkgs.callPackage simplewaita-gtk.nix {};
|
||||
}
|
35
.old/pkgs/everforst-theme.nix
Normal file
35
.old/pkgs/everforst-theme.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
gnome-themes-extra,
|
||||
gtk-engine-murrine,
|
||||
gtk_engines,
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "everforest-gtk-theme";
|
||||
version = "unstable-2023-03-20";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Fausto-Korpsvart";
|
||||
repo = "Everforest-GTK-Theme";
|
||||
rev = "8481714cf9ed5148694f1916ceba8fe21e14937b";
|
||||
sha256 = "sha256-NO12ku8wnW/qMHKxi5TL/dqBxH0+cZbe+fU0iicb9JU=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
gnome-themes-extra # adwaita engine for Gtk2
|
||||
gtk_engines # pixmap engine for Gtk2
|
||||
];
|
||||
|
||||
propagatedUserEnvPkgs = [
|
||||
gtk-engine-murrine # murrine engine for Gtk2
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/share/themes
|
||||
cp -a themes/Everforest-Dark-B $out/share/themes/Everforest-Dark
|
||||
runHook postInstall
|
||||
'';
|
||||
}
|
48
.old/pkgs/eww.nix
Normal file
48
.old/pkgs/eww.nix
Normal file
|
@ -0,0 +1,48 @@
|
|||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
pkg-config,
|
||||
gtk3,
|
||||
gdk-pixbuf,
|
||||
withWayland ? true,
|
||||
gtk-layer-shell,
|
||||
stdenv,
|
||||
}:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "eww";
|
||||
version = "0.4.0-dirty";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "elkowar";
|
||||
repo = pname;
|
||||
rev = "25e50eda46379bccd8a7887c18ee35833e0460e8";
|
||||
sha256 = "sha256-8e6gHSg6FDp6nU5v89D44Tqb1lR5aQpS0lXOVqzoUS4=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-25CoBVIofOCBy8ChMesIKaGoluwpy8tYo+zaFLSaiEo=";
|
||||
|
||||
# cargoPatches = [ ./Cargo.lock.patch ];
|
||||
|
||||
nativeBuildInputs = [pkg-config];
|
||||
|
||||
buildInputs = [gtk3 gdk-pixbuf] ++ lib.optional withWayland gtk-layer-shell;
|
||||
|
||||
buildNoDefaultFeatures = withWayland;
|
||||
buildFeatures = lib.optional withWayland "wayland";
|
||||
|
||||
cargoBuildFlags = ["--bin" "eww"];
|
||||
|
||||
cargoTestFlags = cargoBuildFlags;
|
||||
|
||||
# requires unstable rust features
|
||||
RUSTC_BOOTSTRAP = 1;
|
||||
|
||||
meta = with lib; {
|
||||
description = "ElKowars wacky widgets";
|
||||
homepage = "https://github.com/elkowar/eww";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [figsoda lom];
|
||||
broken = stdenv.isDarwin;
|
||||
};
|
||||
}
|
25
.old/pkgs/git-credential-keepassxc.nix
Normal file
25
.old/pkgs/git-credential-keepassxc.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
}:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "git-credential-keepassxc";
|
||||
version = "0.10.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "frederick888";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-BmjGxDqX8j/69Uo8jjWtcJcxNHxI7S5+eZQMApdybq0=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-gXW08plJRE1Q6W+Dc2y+gu2R+KBRs3fBG1umdawDduA=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Helper that allows Git (and shell scripts) to use KeePassXC as credential store";
|
||||
homepage = "https://github.com/frederick888/git-credential-keepassxc";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = [];
|
||||
};
|
||||
}
|
40
.old/pkgs/glpaper.nix
Normal file
40
.old/pkgs/glpaper.nix
Normal file
|
@ -0,0 +1,40 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromSourcehut,
|
||||
meson,
|
||||
ninja,
|
||||
pkg-config,
|
||||
wlroots,
|
||||
wayland,
|
||||
wayland-protocols,
|
||||
libX11,
|
||||
libGL,
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "glpaper";
|
||||
version = "unstable-latest";
|
||||
|
||||
src = fetchFromSourcehut {
|
||||
owner = "~scoopta";
|
||||
repo = pname;
|
||||
vc = "hg";
|
||||
rev = "9ba3806561312d83ed66dc8583c36d70fda8cd7a";
|
||||
sha256 = "sha256-//IKW2BfpqwcR2WAPShs0kzn5nkV/yyABPvOYm3zMPU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [meson ninja pkg-config];
|
||||
buildInputs = [
|
||||
wayland
|
||||
libX11 # required by libglvnd
|
||||
libGL
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Wallpaper program for wlroots based Wayland compositors such as sway that allows you to render glsl shaders as your wallpaper";
|
||||
homepage = "https://hg.sr.ht/~scoopta/glpaper";
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ccellado];
|
||||
};
|
||||
}
|
35
.old/pkgs/gruvbox-gtk-theme.nix
Normal file
35
.old/pkgs/gruvbox-gtk-theme.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
gnome-themes-extra,
|
||||
gtk-engine-murrine,
|
||||
gtk_engines,
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gruvbox-gtk-theme";
|
||||
version = "unstable-2023-05-20";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Fausto-Korpsvart";
|
||||
repo = "Gruvbox-GTK-Theme";
|
||||
rev = "5927e8693a70619b45fbe3317c59f04f6e101943";
|
||||
sha256 = "sha256-zvByW7wqVl4A5bKlVsJOSmyqkJiaHvciwSit3K/FqRM=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
gnome-themes-extra # adwaita engine for Gtk2
|
||||
gtk_engines # pixmap engine for Gtk2
|
||||
];
|
||||
|
||||
propagatedUserEnvPkgs = [
|
||||
gtk-engine-murrine # murrine engine for Gtk2
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/share/themes
|
||||
cp -a themes/Grubvox-Dark-B $out/share/themes/Gruvbox-Dark
|
||||
runHook postInstall
|
||||
'';
|
||||
}
|
23
.old/pkgs/gruvbox-kvantum.nix
Normal file
23
.old/pkgs/gruvbox-kvantum.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gruvbox-kvantum";
|
||||
version = "unstable-2023-02-06";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "thefallnn";
|
||||
repo = "Gruvbox-Kvantum";
|
||||
rev = "b04c6b67a4228c2b980821a0f0531bfe122c4aac";
|
||||
sha256 = "sha256-hFqqd39lGEnikM8+4MXwnNmZvQzhKOjFThrqx3q2lbo=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
cp -a gruvbox-kvantum/ $out/
|
||||
sed -i 's/translucent_windows=true/translucent_windows=false/' $out/gruvbox-kvantum.kvconfig
|
||||
runHook postInstall
|
||||
'';
|
||||
}
|
26
.old/pkgs/headscale-ui.nix
Normal file
26
.old/pkgs/headscale-ui.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
unzip,
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "headscale-ui";
|
||||
version = "2022.12.23.2-beta";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/gurucomputing/headscale-ui/releases/download/${version}/headscale-ui.zip";
|
||||
sha256 = "sha256-QF10la68Rl2t0K53CH63Qiq54ynkySQACdELorZF/cY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [unzip];
|
||||
|
||||
unpackCmd = "unzip headscale-ui.zip";
|
||||
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
installPhase = ''
|
||||
mkdir $out/
|
||||
cp -R . $out
|
||||
'';
|
||||
}
|
13
.old/pkgs/hyprland-system76-scheduler-hook.sh
Normal file
13
.old/pkgs/hyprland-system76-scheduler-hook.sh
Normal file
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
socat - UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock |
|
||||
while read line
|
||||
do
|
||||
if [[ "$line" == activewindow* ]]; then
|
||||
pid="$(hyprctl activewindow | rg pid | cut -d' ' -f2)"
|
||||
if [[ -n $pid ]]; then
|
||||
dbus-send --system --dest=com.system76.Scheduler --type=method_call /com/system76/Scheduler com.system76.Scheduler.SetForegroundProcess uint32:$pid
|
||||
fi
|
||||
pid=""
|
||||
fi
|
||||
done
|
52
.old/pkgs/hyprland-system76-scheduler-integration.nix
Normal file
52
.old/pkgs/hyprland-system76-scheduler-integration.nix
Normal file
|
@ -0,0 +1,52 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
stdenv,
|
||||
hyprland,
|
||||
ripgrep,
|
||||
socat,
|
||||
dbus,
|
||||
...
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "hyprland-system76-scheduler-integration";
|
||||
version = "0.1.0";
|
||||
|
||||
nativeBuildInputs = [
|
||||
socat
|
||||
dbus
|
||||
hyprland
|
||||
ripgrep
|
||||
];
|
||||
|
||||
dontUnpack = "true";
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/bin
|
||||
|
||||
cat <<EOF > $out/bin/hyprland-system76-scheduler-hook.sh
|
||||
#!${pkgs.bash}/bin/bash
|
||||
echo "opening socket.."
|
||||
${pkgs.socat}/bin/socat -u UNIX-CLIENT:/tmp/hypr/\''$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock STDOUT |
|
||||
while read line; do
|
||||
if [[ "\''$line" == activewindow* ]]; then
|
||||
echo "got \''$line."
|
||||
pid="\''$(${pkgs.hyprland}/bin/hyprctl activewindow | ${pkgs.ripgrep}/bin/rg pid | ${pkgs.coreutils}/bin/cut -d' ' -f2)"
|
||||
if [[ -n \''$pid ]]; then
|
||||
echo "sending \''$pid!"
|
||||
${pkgs.dbus}/bin/dbus-send --system --dest=com.system76.Scheduler --type=method_call /com/system76/Scheduler com.system76.Scheduler.SetForegroundProcess uint32:\''$pid
|
||||
fi
|
||||
pid=""
|
||||
fi
|
||||
echo "continuing.."
|
||||
done
|
||||
echo "finished."
|
||||
EOF
|
||||
chmod +x $out/bin/hyprland-system76-scheduler-hook.sh
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
}
|
35
.old/pkgs/kanagawa-icons.nix
Normal file
35
.old/pkgs/kanagawa-icons.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
gnome-themes-extra,
|
||||
gtk-engine-murrine,
|
||||
gtk_engines,
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "kanagawa-icons";
|
||||
version = "unstable-2023-05-20";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Fausto-Korpsvart";
|
||||
repo = "Kanagawa-GKT-Theme";
|
||||
rev = "7b8ece4382533491e82f9b3d5552607f67a79999";
|
||||
sha256 = "sha256-Jtu04SKXk0wFRvx2Duz0YxHEWJ2sM8ZIT+dtdJqKykY=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
gnome-themes-extra # adwaita engine for Gtk2
|
||||
gtk_engines # pixmap engine for Gtk2
|
||||
];
|
||||
|
||||
propagatedUserEnvPkgs = [
|
||||
gtk-engine-murrine # murrine engine for Gtk2
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/share/icons
|
||||
cp -a icons/Kanagawa $out/share/icons/Kanagawa
|
||||
runHook postInstall
|
||||
'';
|
||||
}
|
35
.old/pkgs/kanagawa-theme.nix
Normal file
35
.old/pkgs/kanagawa-theme.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
gnome-themes-extra,
|
||||
gtk-engine-murrine,
|
||||
gtk_engines,
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "kanagawa-gtk-theme";
|
||||
version = "unstable-2023-05-20";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Fausto-Korpsvart";
|
||||
repo = "Kanagawa-GKT-Theme";
|
||||
rev = "7b8ece4382533491e82f9b3d5552607f67a79999";
|
||||
sha256 = "sha256-Jtu04SKXk0wFRvx2Duz0YxHEWJ2sM8ZIT+dtdJqKykY=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
gnome-themes-extra # adwaita engine for Gtk2
|
||||
gtk_engines # pixmap engine for Gtk2
|
||||
];
|
||||
|
||||
propagatedUserEnvPkgs = [
|
||||
gtk-engine-murrine # murrine engine for Gtk2
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/share/themes
|
||||
cp -a themes/Kanagawa-B $out/share/themes/Kanagawa
|
||||
runHook postInstall
|
||||
'';
|
||||
}
|
63
.old/pkgs/kwin-system76-scheduler-integration.nix
Normal file
63
.old/pkgs/kwin-system76-scheduler-integration.nix
Normal file
|
@ -0,0 +1,63 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
dbus,
|
||||
qt5,
|
||||
qtbase,
|
||||
wrapQtAppsHook,
|
||||
kpackage,
|
||||
kcoreaddons,
|
||||
...
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "kwin-system76-scheduler-integration";
|
||||
version = "0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "maxiberta";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-HX0nK1p97kqt+ZZuECm7Mg9aAXaFDnsJDkbcLUEU+p0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
wrapQtAppsHook
|
||||
kpackage
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
dbus
|
||||
qt5.qttools.bin
|
||||
];
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/bin
|
||||
kpackagetool5 --type=KWin/Script -i . -p $out/share/kwin/scripts
|
||||
|
||||
cat <<EOF > $out/bin/kwin-system76-scheduler-dbus-proxy.sh
|
||||
#!${pkgs.bash}/bin/bash
|
||||
DBUS_SERVICE="com.system76.Scheduler"
|
||||
DBUS_PATH="/com/system76/Scheduler"
|
||||
DBUS_INTERFACE="com.system76.Scheduler"
|
||||
DBUS_METHOD="SetForegroundProcess"
|
||||
echo "starting dbus proxy.."
|
||||
echo \''$DBUS_SERVICE \''$DBUS_PATH \''$DBUS_INTERFACE \''$DBUS_METHOD
|
||||
${pkgs.dbus}/bin/dbus-monitor --session "destination=\''$DBUS_SERVICE,path=\''$DBUS_PATH,interface=\''$DBUS_INTERFACE,member=\''$DBUS_METHOD" |
|
||||
while true; do
|
||||
read method call time sender _ dest serial path interface member
|
||||
read type pid
|
||||
[ "\''$member" = "member=\''$DBUS_METHOD" ] && ${pkgs.libsForQt5.qt5.qttools.bin}/bin/qdbus --system \''$DBUS_SERVICE \''$DBUS_PATH \''$DBUS_INTERFACE.\''$DBUS_METHOD \''$pid && echo "new foreground process: \''$pid"
|
||||
done
|
||||
EOF
|
||||
|
||||
chmod +x $out/bin/kwin-system76-scheduler-dbus-proxy.sh
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
}
|
30
.old/pkgs/lemurs.nix
Normal file
30
.old/pkgs/lemurs.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
linux-pam,
|
||||
pkg-config,
|
||||
}:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "lemurs";
|
||||
version = "0.3.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "coastalwhite";
|
||||
repo = pname;
|
||||
rev = "60fda2a";
|
||||
sha256 = "sha256-mQXavJULD5iyOnzj72xTV0EQ1HQvj25SHsbDgfRg4lQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [pkg-config];
|
||||
buildInputs = [linux-pam];
|
||||
|
||||
cargoSha256 = "sha256-OCaIeQB8reK0089vbC+4IvQt5pKdZ2SCyyGuQEYWzjo=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "A customizable TUI display/login manager written in Rust";
|
||||
homepage = "https://git.atagen.co/coastalwhite/lemurs";
|
||||
license = licenses.mit;
|
||||
maintainers = [];
|
||||
};
|
||||
}
|
47
.old/pkgs/ly.nix
Normal file
47
.old/pkgs/ly.nix
Normal file
|
@ -0,0 +1,47 @@
|
|||
{
|
||||
stdenv,
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
linux-pam,
|
||||
libxcb,
|
||||
git,
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ly";
|
||||
version = "0.5.0+";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fairyglade";
|
||||
repo = pname;
|
||||
rev = "c64f806a68af225cc95623971b5e464abb55b879";
|
||||
sha256 = "sha256-orCqjKlK6U1q7NDoMwxZZE44cyG8yuxdCCk1cQAalP0=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [git];
|
||||
buildInputs = [linux-pam libxcb];
|
||||
makeFlags = ["FLAGS=-Wno-error=unused-result"];
|
||||
|
||||
preBuildPhase = ''
|
||||
mkdir -p ./data
|
||||
export DESTDIR="$PWD"
|
||||
export DATADIR="$PWD/data"
|
||||
'';
|
||||
buildPhase = ''
|
||||
make -j16
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp bin/ly $out/bin
|
||||
mkdir -p $out/etc/ly
|
||||
cp -R ./data/* $out/etc/ly
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "TUI display manager";
|
||||
license = licenses.wtfpl;
|
||||
homepage = "https://github.com/fairyglade/ly";
|
||||
maintainers = [];
|
||||
};
|
||||
}
|
55
.old/pkgs/pygments.nix
Normal file
55
.old/pkgs/pygments.nix
Normal file
|
@ -0,0 +1,55 @@
|
|||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
docutils,
|
||||
lxml,
|
||||
pytestCheckHook,
|
||||
wcag-contrast-ratio,
|
||||
}: let
|
||||
pygments =
|
||||
buildPythonPackage
|
||||
rec {
|
||||
pname = "pygments";
|
||||
version = "2.15.1";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "Pygments";
|
||||
inherit version;
|
||||
sha256 = "sha256-is5NPB3UgYlLIAX1YOrQ+fGe5k/pgzZr4aIeFx0Sd1w=";
|
||||
};
|
||||
|
||||
format = "egg";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
docutils
|
||||
];
|
||||
|
||||
# circular dependencies if enabled by default
|
||||
doCheck = false;
|
||||
checkInputs = [
|
||||
lxml
|
||||
pytestCheckHook
|
||||
wcag-contrast-ratio
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# 5 lines diff, including one nix store path in 20000+ lines
|
||||
"tests/examplefiles/bash/ltmain.sh"
|
||||
];
|
||||
|
||||
pythonImportsCheck = ["pygments"];
|
||||
|
||||
passthru.tests = {
|
||||
check = pygments.overridePythonAttrs (_: {doCheck = true;});
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://pygments.org/";
|
||||
description = "A generic syntax highlighter";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [SuperSandro2000];
|
||||
};
|
||||
};
|
||||
in
|
||||
pygments
|
35
.old/pkgs/rose-pine-icons.nix
Normal file
35
.old/pkgs/rose-pine-icons.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
gnome-themes-extra,
|
||||
gtk-engine-murrine,
|
||||
gtk_engines,
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "rose-pine-icons";
|
||||
version = "unstable-2023-05-20";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Fausto-Korpsvart";
|
||||
repo = "Rose-Pine-GTK-Theme";
|
||||
rev = "95aa1f2b2cc30495b1fc5b614dc555b3eef0e27d";
|
||||
sha256 = "sha256-I9UnEhXdJ+HSMFE6R+PRNN3PT6ZAAzqdtdQNQWt7o4Y=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
gnome-themes-extra # adwaita engine for Gtk2
|
||||
gtk_engines # pixmap engine for Gtk2
|
||||
];
|
||||
|
||||
propagatedUserEnvPkgs = [
|
||||
gtk-engine-murrine # murrine engine for Gtk2
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/share/icons
|
||||
cp -a icons/Rose-Pine $out/share/icons/Rose-Pine
|
||||
runHook postInstall
|
||||
'';
|
||||
}
|
35
.old/pkgs/rose-pine-theme.nix
Normal file
35
.old/pkgs/rose-pine-theme.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
gnome-themes-extra,
|
||||
gtk-engine-murrine,
|
||||
gtk_engines,
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "rose-pine-gtk-theme";
|
||||
version = "unstable-2023-05-20";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Fausto-Korpsvart";
|
||||
repo = "Rose-Pine-GTK-Theme";
|
||||
rev = "95aa1f2b2cc30495b1fc5b614dc555b3eef0e27d";
|
||||
sha256 = "sha256-I9UnEhXdJ+HSMFE6R+PRNN3PT6ZAAzqdtdQNQWt7o4Y=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
gnome-themes-extra # adwaita engine for Gtk2
|
||||
gtk_engines # pixmap engine for Gtk2
|
||||
];
|
||||
|
||||
propagatedUserEnvPkgs = [
|
||||
gtk-engine-murrine # murrine engine for Gtk2
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/share/themes
|
||||
cp -a themes/RosePine-Main-B $out/share/themes/RosePine-Main
|
||||
runHook postInstall
|
||||
'';
|
||||
}
|
33
.old/pkgs/simplewaita-gtk.nix
Normal file
33
.old/pkgs/simplewaita-gtk.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
stdenvNoCC,
|
||||
lib,
|
||||
fetchFromGitea,
|
||||
}:
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "Simplewaita";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchFromGitea {
|
||||
domain = "git.disroot.org";
|
||||
owner = "eudaimon";
|
||||
repo = pname;
|
||||
rev = "16c5f75fd3e03671c3998dcb9a67e3ff6da5a538";
|
||||
hash = "sha256-VvPQGsdikfIi3VG5Mh8FcioTVwXaxKxaSf2X+yWJckA=";
|
||||
};
|
||||
|
||||
dontPatch = true;
|
||||
dontConfigure = true;
|
||||
installPhase = ''
|
||||
mkdir $out
|
||||
cp -r ./ $out
|
||||
'';
|
||||
dontBuild = true;
|
||||
dontFixup = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A mix of Skewaita and Simple. Or, more precisely: Skewaita Simple-ified.";
|
||||
homepage = "https://git.disroot.org/eudaimon/Simplewaita";
|
||||
license = licenses.gpl1Only;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
47
.old/sway-nvidia.patch
Normal file
47
.old/sway-nvidia.patch
Normal file
|
@ -0,0 +1,47 @@
|
|||
diff --git a/sway/main.c b/sway/main.c
|
||||
index 85bc2f1c..a2f76590 100644
|
||||
--- a/sway/main.c
|
||||
+++ b/sway/main.c
|
||||
@@ -50,41 +50,7 @@ void sig_handler(int signal) {
|
||||
}
|
||||
|
||||
void detect_proprietary(int allow_unsupported_gpu) {
|
||||
- FILE *f = fopen("/proc/modules", "r");
|
||||
- if (!f) {
|
||||
- return;
|
||||
- }
|
||||
- char *line = NULL;
|
||||
- size_t line_size = 0;
|
||||
- while (getline(&line, &line_size, f) != -1) {
|
||||
- if (strncmp(line, "nvidia ", 7) == 0) {
|
||||
- if (allow_unsupported_gpu) {
|
||||
- sway_log(SWAY_ERROR,
|
||||
- "!!! Proprietary Nvidia drivers are in use !!!");
|
||||
- } else {
|
||||
- sway_log(SWAY_ERROR,
|
||||
- "Proprietary Nvidia drivers are NOT supported. "
|
||||
- "Use Nouveau. To launch sway anyway, launch with "
|
||||
- "--unsupported-gpu and DO NOT report issues.");
|
||||
- exit(EXIT_FAILURE);
|
||||
- }
|
||||
- break;
|
||||
- }
|
||||
- if (strstr(line, "fglrx")) {
|
||||
- if (allow_unsupported_gpu) {
|
||||
- sway_log(SWAY_ERROR,
|
||||
- "!!! Proprietary AMD drivers are in use !!!");
|
||||
- } else {
|
||||
- sway_log(SWAY_ERROR, "Proprietary AMD drivers do NOT support "
|
||||
- "Wayland. Use radeon. To try anyway, launch sway with "
|
||||
- "--unsupported-gpu and DO NOT report issues.");
|
||||
- exit(EXIT_FAILURE);
|
||||
- }
|
||||
- break;
|
||||
- }
|
||||
- }
|
||||
- free(line);
|
||||
- fclose(f);
|
||||
+ return;
|
||||
}
|
||||
|
||||
void run_as_ipc_client(char *command, char *socket_path) {
|
278
.old/top n bottom.layout.latte
Normal file
278
.old/top n bottom.layout.latte
Normal file
|
@ -0,0 +1,278 @@
|
|||
[ActionPlugins][1]
|
||||
RightButton;NoModifier=org.kde.latte.contextmenu
|
||||
|
||||
[Containments][1]
|
||||
activityId=
|
||||
byPassWM=false
|
||||
dockWindowBehavior=true
|
||||
enableKWinEdges=true
|
||||
formfactor=2
|
||||
immutability=1
|
||||
isPreferredForShortcuts=false
|
||||
lastScreen=-1
|
||||
layoutId=
|
||||
location=4
|
||||
name=Default Dock
|
||||
onPrimary=true
|
||||
plugin=org.kde.latte.containment
|
||||
raiseOnActivityChange=false
|
||||
raiseOnDesktopChange=false
|
||||
timerHide=700
|
||||
timerShow=200
|
||||
viewType=0
|
||||
visibility=2
|
||||
wallpaperplugin=org.kde.image
|
||||
|
||||
[Containments][1][Applets][2]
|
||||
immutability=1
|
||||
plugin=org.kde.latte.plasmoid
|
||||
|
||||
[Containments][1][Applets][2][Configuration]
|
||||
PreloadWeight=0
|
||||
|
||||
[Containments][1][Applets][2][Configuration][General]
|
||||
isInLatteDock=true
|
||||
launchers59=applications:firefox.desktop,applications:org.kde.dolphin.desktop
|
||||
|
||||
[Containments][1][Applets][3]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.analogclock
|
||||
|
||||
[Containments][1][Applets][3][Configuration]
|
||||
PreloadWeight=0
|
||||
|
||||
[Containments][1][ConfigDialog]
|
||||
DialogHeight=600
|
||||
DialogWidth=586
|
||||
|
||||
[Containments][1][Configuration]
|
||||
PreloadWeight=0
|
||||
|
||||
[Containments][1][General]
|
||||
advanced=false
|
||||
alignmentUpgraded=true
|
||||
appletOrder=2;3
|
||||
configurationSticker=true
|
||||
panelSize=10
|
||||
shadowOpacity=60
|
||||
shadowSize=45
|
||||
shadows=All
|
||||
shadowsUpgraded=true
|
||||
showGlow=false
|
||||
tasksUpgraded=true
|
||||
titleTooltips=false
|
||||
zoomLevel=17
|
||||
|
||||
[Containments][1][Indicator]
|
||||
customType=
|
||||
enabled=true
|
||||
type=org.kde.latte.default
|
||||
|
||||
[Containments][17]
|
||||
PreloadWeight=0
|
||||
activityId=
|
||||
formfactor=2
|
||||
immutability=1
|
||||
lastScreen=11
|
||||
layoutId=
|
||||
location=3
|
||||
plugin=org.kde.plasma.private.systemtray
|
||||
wallpaperplugin=org.kde.image
|
||||
|
||||
[Containments][17][Applets][122]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.manage-inputmethod
|
||||
|
||||
[Containments][17][Applets][123]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.keyboardlayout
|
||||
|
||||
[Containments][17][Applets][88]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.notifications
|
||||
|
||||
[Containments][17][Applets][89]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.battery
|
||||
|
||||
[Containments][17][Applets][90]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.printmanager
|
||||
|
||||
[Containments][17][Applets][91]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.volume
|
||||
|
||||
[Containments][17][Applets][92]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.nightcolorcontrol
|
||||
|
||||
[Containments][17][Applets][93]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.keyboardindicator
|
||||
|
||||
[Containments][17][Applets][94]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.networkmanagement
|
||||
|
||||
[Containments][17][Applets][95]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.clipboard
|
||||
|
||||
[Containments][17][Applets][96]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.bluetooth
|
||||
|
||||
[Containments][17][Applets][97]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.devicenotifier
|
||||
|
||||
[Containments][17][Applets][98]
|
||||
immutability=1
|
||||
plugin=org.kde.kdeconnect
|
||||
|
||||
[Containments][17][ConfigDialog]
|
||||
DialogHeight=1025
|
||||
DialogWidth=963
|
||||
|
||||
[Containments][17][Configuration]
|
||||
PreloadWeight=26
|
||||
|
||||
[Containments][17][General]
|
||||
extraItems=org.kde.plasma.manage-inputmethod,org.kde.plasma.notifications,org.kde.plasma.devicenotifier,org.kde.plasma.clipboard,org.kde.plasma.mediacontroller,org.kde.plasma.battery,org.kde.kdeconnect,org.kde.plasma.keyboardlayout,org.kde.plasma.keyboardindicator,org.kde.plasma.volume,org.kde.plasma.networkmanagement,org.kde.plasma.printmanager,org.kde.plasma.nightcolorcontrol
|
||||
knownItems=org.kde.plasma.manage-inputmethod,org.kde.plasma.notifications,org.kde.plasma.devicenotifier,org.kde.plasma.clipboard,org.kde.plasma.mediacontroller,org.kde.plasma.battery,org.kde.kdeconnect,org.kde.plasma.keyboardlayout,org.kde.plasma.keyboardindicator,org.kde.plasma.volume,org.kde.plasma.networkmanagement,org.kde.plasma.printmanager,org.kde.plasma.nightcolorcontrol
|
||||
|
||||
[Containments][19]
|
||||
activityId=
|
||||
byPassWM=false
|
||||
dockWindowBehavior=true
|
||||
enableKWinEdges=true
|
||||
formfactor=2
|
||||
immutability=1
|
||||
isPreferredForShortcuts=false
|
||||
lastScreen=11
|
||||
layoutId=
|
||||
location=3
|
||||
maxLength=100
|
||||
name=Default Panel
|
||||
onPrimary=true
|
||||
plugin=org.kde.latte.containment
|
||||
raiseOnActivityChange=false
|
||||
raiseOnDesktopChange=false
|
||||
settingsComplexity=4
|
||||
timerHide=700
|
||||
timerShow=200
|
||||
viewType=0
|
||||
visibility=0
|
||||
wallpaperplugin=org.kde.image
|
||||
|
||||
[Containments][19][Applets][112]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.kickoff
|
||||
|
||||
[Containments][19][Applets][112][Configuration][General]
|
||||
favoritesPortedToKAstats=true
|
||||
|
||||
[Containments][19][Applets][113]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.digitalclock
|
||||
|
||||
[Containments][19][Applets][114]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.systemtray
|
||||
|
||||
[Containments][19][Applets][114][Configuration]
|
||||
PreloadWeight=100
|
||||
SystrayContainmentId=17
|
||||
|
||||
[Containments][19][Applets][115]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.pager
|
||||
|
||||
[Containments][19][Applets][116]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.marginsseparator
|
||||
|
||||
[Containments][19][Applets][124]
|
||||
immutability=1
|
||||
plugin=org.kde.windowtitle
|
||||
|
||||
[Containments][19][Applets][124][Configuration][General]
|
||||
containmentType=Latte
|
||||
|
||||
[Containments][19][Applets][125]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.lock_logout
|
||||
|
||||
[Containments][19][Applets][126]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.marginsseparator
|
||||
|
||||
[Containments][19][ConfigDialog]
|
||||
DialogHeight=1254
|
||||
DialogWidth=529
|
||||
|
||||
[Containments][19][Configuration]
|
||||
PreloadWeight=0
|
||||
|
||||
[Containments][19][General]
|
||||
advanced=true
|
||||
alignment=10
|
||||
alignmentUpgraded=true
|
||||
appletOrder=112;124;115;116;114;113;126;125
|
||||
appletShadowsEnabled=false
|
||||
autoDecreaseIconSize=false
|
||||
backgroundRadius=0
|
||||
backgroundShadowSize=0
|
||||
blurEnabled=false
|
||||
configurationSticker=true
|
||||
dragActiveWindowEnabled=true
|
||||
floatingInternalGapIsForced=false
|
||||
iconSize=24
|
||||
inConfigureAppletsMode=true
|
||||
lockedZoomApplets=112;113
|
||||
mouseWheelActions=false
|
||||
panelPosition=10
|
||||
panelShadows=false
|
||||
panelSize=100
|
||||
plasmaBackgroundForPopups=true
|
||||
screenEdgeMargin=0
|
||||
shadowOpacity=25
|
||||
shadows=None
|
||||
shadowsUpgraded=true
|
||||
splitterPosition=2
|
||||
splitterPosition2=4
|
||||
taskScrollAction=ScrollNone
|
||||
tasksUpgraded=true
|
||||
thickMargin=11
|
||||
titleTooltips=false
|
||||
zoomLevel=0
|
||||
|
||||
[Containments][19][Indicator]
|
||||
customType=org.kde.latte.unity
|
||||
enabled=true
|
||||
enabledForApplets=true
|
||||
padding=0.09000000357627869
|
||||
type=org.kde.latte.default
|
||||
|
||||
[Containments][19][Indicator][org.kde.latte.default][General]
|
||||
lengthPadding=0.3
|
||||
reversed=true
|
||||
|
||||
[Containments][19][Indicator][org.kde.latte.plasma][General]
|
||||
lengthPadding=0.19
|
||||
|
||||
[LayoutSettings]
|
||||
activities=
|
||||
backgroundStyle=0
|
||||
color=blue
|
||||
customBackground=
|
||||
customTextColor=
|
||||
icon=
|
||||
lastUsedActivity=
|
||||
launchers=
|
||||
popUpMargin=-1
|
||||
preferredForShortcutsTouched=false
|
||||
schemeFile=
|
||||
showInMenu=true
|
||||
version=2
|
63
.old/wollomi-xorg.conf
Normal file
63
.old/wollomi-xorg.conf
Normal file
|
@ -0,0 +1,63 @@
|
|||
# nvidia-settings: X configuration file generated by nvidia-settings
|
||||
# nvidia-settings: version 515.48.07
|
||||
|
||||
Section "ServerLayout"
|
||||
Identifier "Layout0"
|
||||
Screen 0 "Screen0" 0 0
|
||||
InputDevice "Keyboard0" "CoreKeyboard"
|
||||
InputDevice "Mouse0" "CorePointer"
|
||||
Option "Xinerama" "0"
|
||||
EndSection
|
||||
|
||||
Section "Files"
|
||||
EndSection
|
||||
|
||||
Section "InputDevice"
|
||||
# generated from default
|
||||
Identifier "Mouse0"
|
||||
Driver "mouse"
|
||||
Option "Protocol" "auto"
|
||||
Option "Device" "/dev/input/mice"
|
||||
Option "Emulate3Buttons" "no"
|
||||
Option "ZAxisMapping" "4 5"
|
||||
EndSection
|
||||
|
||||
Section "InputDevice"
|
||||
# generated from default
|
||||
Identifier "Keyboard0"
|
||||
Driver "kbd"
|
||||
EndSection
|
||||
|
||||
Section "Monitor"
|
||||
# HorizSync source: edid, VertRefresh source: edid
|
||||
Identifier "Monitor0"
|
||||
VendorName "Unknown"
|
||||
ModelName "LG Electronics W2343"
|
||||
HorizSync 30.0 - 83.0
|
||||
VertRefresh 56.0 - 75.0
|
||||
Option "DPMS"
|
||||
EndSection
|
||||
|
||||
Section "Device"
|
||||
Identifier "Device0"
|
||||
Driver "nvidia"
|
||||
VendorName "NVIDIA Corporation"
|
||||
BoardName "NVIDIA GeForce GTX 1070"
|
||||
EndSection
|
||||
|
||||
Section "Screen"
|
||||
Identifier "Screen0"
|
||||
Device "Device0"
|
||||
Monitor "Monitor0"
|
||||
DefaultDepth 24
|
||||
Option "Stereo" "0"
|
||||
Option "nvidiaXineramaInfoOrder" "DFP-0"
|
||||
Option "metamodes" "DVI-D-0: nvidia-auto-select +1050+265, HDMI-0: nvidia-auto-select +0+0 {rotation=left}"
|
||||
Option "SLI" "Off"
|
||||
Option "MultiGPU" "Off"
|
||||
Option "BaseMosaic" "off"
|
||||
SubSection "Display"
|
||||
Depth 24
|
||||
EndSubSection
|
||||
EndSection
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue