removed kdeconnect because of unnecesserity and added nix home configurations and added ohmyposh for the zsh

This commit is contained in:
Robin
2025-09-29 18:31:35 +02:00
parent f35e0bd637
commit db1a3e0b53
12 changed files with 259 additions and 67 deletions

View File

@@ -48,3 +48,4 @@ theme = catppuccin-latte.conf
background-opacity = 0.9
font-size = 23
font-family = "CaskaydiaCove Nerd Font Mono"

View File

@@ -84,7 +84,7 @@ bind = $mainMod, E, exec, nautilus #File explorer
bind = $mainMod, V, togglefloating,
bind = $mainMod, R, exec, wofi #application launcher
bind = $mainMod SHIFT, R, exec, killall waybar; waybar
bind = $mainMod SHIFT, R, exec, ps aux | grep waybar | grep -v grep | awk '{print $2}' | xargs kill; waybar
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, W, exec, pavucontrol
bind = $mainMod, O, togglesplit, # dwindle

View File

@@ -1,11 +0,0 @@
-----BEGIN CERTIFICATE-----
MIIBrDCCAVGgAwIBAgIVAOxtBSXgSE7l52IHYAfjPDEE7IvlMAoGCCqGSM49BAME
MFUxLzAtBgNVBAMMJl9hMWVjNjA2ZF8xODM4XzQ2NjFfOGYzN18wNmEyODQxOTIy
NjNfMQwwCgYDVQQKDANLREUxFDASBgNVBAsMC0tERSBDb25uZWN0MB4XDTIzMTEw
ODExNDUzNloXDTM0MDcyOTExNDUzNlowVTEvMC0GA1UEAwwmX2ExZWM2MDZkXzE4
MzhfNDY2MV84ZjM3XzA2YTI4NDE5MjI2M18xDDAKBgNVBAoMA0tERTEUMBIGA1UE
CwwLS0RFIENvbm5lY3QwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAARY0VGBrFiD
x0z6E0KOn3pbU4XYApFRoKQbj1FJO+KIbEsie72DbKPavGP5elhrZAPhhXU8EzdV
3fhAWvoybC+ZMAoGCCqGSM49BAMEA0kAMEYCIQD/xUqudQv1QWPwLX6XjFpUHi9H
yhT74OqemFRvDM2epgIhAIDfMxEvJqj44mWQD/EADcXizd4/r7xfzl1TX2d/QlaZ
-----END CERTIFICATE-----

View File

@@ -1,3 +0,0 @@
[General]
keyAlgorithm=EC
name=robaa

View File

@@ -1,5 +0,0 @@
-----BEGIN EC PRIVATE KEY-----
MHcCAQEEIMd4iSkIoSHV5VdxcdBAckaeP+DwEn8XlcwHO+aSoo9UoAoGCCqGSM49
AwEHoUQDQgAEWNFRgaxYg8dM+hNCjp96W1OF2AKRUaCkG49RSTviiGxLInu9g2yj
2rxj+XpYa2QD4YV1PBM3Vd34QFr6MmwvmQ==
-----END EC PRIVATE KEY-----

View File

@@ -1,5 +0,0 @@
[682ae317_2616_4c3f_9aba_e60d728deb17]
certificate="-----BEGIN CERTIFICATE-----\nMIIBkzCCATmgAwIBAgIBATAKBggqhkjOPQQDBDBTMS0wKwYDVQQDDCQ2ODJhZTMx\nN18yNjE2XzRjM2ZfOWFiYV9lNjBkNzI4ZGViMTcxFDASBgNVBAsMC0tERSBDb25u\nZWN0MQwwCgYDVQQKDANLREUwHhcNMjMxMjA0MjMwMDAwWhcNMzQxMjA0MjMwMDAw\nWjBTMS0wKwYDVQQDDCQ2ODJhZTMxN18yNjE2XzRjM2ZfOWFiYV9lNjBkNzI4ZGVi\nMTcxFDASBgNVBAsMC0tERSBDb25uZWN0MQwwCgYDVQQKDANLREUwWTATBgcqhkjO\nPQIBBggqhkjOPQMBBwNCAASjuADVSsWX8CiEXgJkYdJM8uWqNvyHXIAAiQpZFd27\na0NgykjTNt/5BBFvC/B1XqWqCkiPBTA8/JZPapHmTXtxMAoGCCqGSM49BAMEA0gA\nMEUCIQCtijjl7OlMIySAZcLvXcGXDHRuLlHs8retRJZ5OGxfEQIgaQRPWwgfa97E\nKevPWgNyS9PEw05GxNBa2elcUJsVL3A=\n-----END CERTIFICATE-----\n"
name=Pixel 8a
protocolVersion=8
type=phone

21
.config/nixpkgs/home.nix Normal file
View File

@@ -0,0 +1,21 @@
programs.zsh = {
enable = true;
enableCompletions = true;
autosuggestions.enable = true;
syntaxHighlighting.enable = true;
shellAliases = {
ll = "ls -l";
update = "sudo nixos-rebuild switch";
alias vim="nvim";
alias cls="clear";
alias femboy="echo '$USER is a femboy'";
alias shut="shutdown now";
alias re="reboot";
alias ls="exa";
alias switchhack="fusee-nano ~/Downloads/switchhack/hekate_ctcaer_6.3.0.bin";
alias ssh_t='(){ ssh $1 -t tmux;}';
alias sshserver="ssh -i ~/.ssh/GlaServer00 glala@81.21.121.109";
};
history.size = 10000;
};

View File

@@ -0,0 +1,67 @@
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"palette": {
"os": "#ACB0BE",
"closer": "p:os",
"pink": "#ea76cb",
"lavender": "#7287FD",
"blue": "#1e66f5"
},
"blocks": [
{
"alignment": "left",
"segments": [
{
"foreground": "p:os",
"style": "plain",
"template": "{{.Icon}} ",
"type": "os"
},
{
"foreground": "p:lavender",
"style": "plain",
"template": "{{ .UserName }} ",
"type": "session"
},
{
"foreground": "p:pink",
"properties": {
"folder_icon": "..\ue5fe..",
"home_icon": "~",
"style": "agnoster_short"
},
"style": "plain",
"template": "{{ .Path }} ",
"type": "path"
},
{
"foreground": "p:lavender",
"properties": {
"branch_icon": "\ue725 ",
"cherry_pick_icon": "\ue29b ",
"commit_icon": "\uf417 ",
"fetch_status": false,
"fetch_upstream_icon": false,
"merge_icon": "\ue727 ",
"no_commits_icon": "\uf0c3 ",
"rebase_icon": "\ue728 ",
"revert_icon": "\uf0e2 ",
"tag_icon": "\uf412 "
},
"template": "{{ .HEAD }} ",
"style": "plain",
"type": "git"
},
{
"style": "plain",
"foreground": "p:closer",
"template": "\uf105",
"type": "text"
}
],
"type": "prompt"
}
],
"final_space": true,
"version": 3
}

71
.config/ohmyposh/zen.toml Normal file
View File

@@ -0,0 +1,71 @@
"$schema" = "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json"
final_space = true
version = 3
[palette]
os = "#4c4f69"
closer = "p:os"
pink = "#dd7878"
lavender = "#7287FD"
blue = "#209fb5"
green = "#40a02b"
[[blocks]]
alignment = "left"
type = "prompt"
[[blocks.segments]]
foreground = "p:os"
style = "plain"
template = "{{.Icon}} "
type = "os"
[[blocks.segments]]
foreground = "p:lavender"
style = "plain"
template = "{{ .UserName }} "
type = "session"
[[blocks.segments]]
foreground = "p:pink"
style = "plain"
template = "{{ .Path }}"
type = "path"
[blocks.segments.properties]
style = "full"
home_icon = "~"
[[blocks.segments]]
foreground = "p:lavender"
template = "{{ .HEAD }} "
style = "plain"
type = "git"
[blocks.segments.properties]
branch_icon = " "
cherry_pick_icon = " "
commit_icon = " "
fetch_status = false
fetch_upstream_icon = false
merge_icon = " "
no_commits_icon = " "
rebase_icon = " "
revert_icon = " "
tag_icon = " "
[[blocks]]
type = 'prompt'
alignment = 'left'
newline = true
[[blocks.segments]]
style = "plain"
foreground = "p:green"
template = "-"
type = "text"
[transient_prompt]
background = "transparent"
foreground = "p:pink"
template = " - "

View File

@@ -0,0 +1,74 @@
#:schema https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json
version = 2
final_space = true
console_title_template = '{{ .Shell }} in {{ .Folder }}'
[[blocks]]
type = 'prompt'
alignment = 'left'
newline = true
[[blocks.segments]]
type = 'path'
style = 'plain'
background = 'transparent'
foreground = 'blue'
template = '{{ .Path }}'
[blocks.segments.properties]
style = 'full'
[[blocks.segments]]
type = 'git'
style = 'plain'
foreground = 'p:grey'
background = 'transparent'
template = ' {{ .HEAD }}{{ if or (.Working.Changed) (.Staging.Changed) }}*{{ end }} <cyan>{{ if gt .Behind 0 }}⇣{{ end }}{{ if gt .Ahead 0 }}⇡{{ end }}</>'
[blocks.segments.properties]
branch_icon = ''
commit_icon = '@'
fetch_status = true
[[blocks]]
type = 'rprompt'
overflow = 'hidden'
[[blocks.segments]]
type = 'executiontime'
style = 'plain'
foreground = 'yellow'
background = 'transparent'
template = '{{ .FormattedMs }}'
[blocks.segments.properties]
threshold = 5000
[[blocks]]
type = 'prompt'
alignment = 'left'
newline = true
[[blocks.segments]]
type = 'text'
style = 'plain'
foreground_templates = [
"{{if gt .Code 0}}red{{end}}",
"{{if eq .Code 0}}magenta{{end}}",
]
background = 'transparent'
template = ''
[transient_prompt]
foreground_templates = [
"{{if gt .Code 0}}red{{end}}",
"{{if eq .Code 0}}magenta{{end}}",
]
background = 'transparent'
template = ' '
[secondary_prompt]
foreground = 'magenta'
background = 'transparent'
template = ' '