backup
This commit is contained in:
parent
b0b1f60d6d
commit
6a6a24b560
4
.zshrc
4
.zshrc
|
@ -117,8 +117,8 @@ alias pip3="python3 -m pip"
|
||||||
alias pip="python -m pip"
|
alias pip="python -m pip"
|
||||||
alias comp="cd ~/RustIsBestLang/src/bin && nvim"
|
alias comp="cd ~/RustIsBestLang/src/bin && nvim"
|
||||||
alias backup="git add . && git commit -S -m 'backup' && git push"
|
alias backup="git add . && git commit -S -m 'backup' && git push"
|
||||||
# export LD_LIBRARY_PATH=/usr/lib:/usr/local/cuda/lib65:$LD_LIBRARY_PATH
|
export LD_LIBRARY_PATH=/home/user/.local/lib/mojo:$LD_LIBRARY_PATH
|
||||||
export PATH=/home/user/.cabal/bin:/home/user/.ghcup/bin:/home/linuxbrew/.linuxbrew/bin:/home/user/.cargo/bin:/home/user/.local/bin:/usr/local/cuda/bin:$PATH
|
export PATH=/home/user/.modular/pkg/packages.modular.com_mojo/bin/:/home/user/.npm-packages/bin:/home/user/.cabal/bin:/home/user/.ghcup/bin:/home/linuxbrew/.linuxbrew/bin:/home/user/.cargo/bin:/home/user/.local/bin:/usr/local/cuda/bin:$PATH
|
||||||
export PAGER=less
|
export PAGER=less
|
||||||
|
|
||||||
me () {
|
me () {
|
||||||
|
|
|
@ -540,7 +540,7 @@ profiles:
|
||||||
|
|
||||||
# When this profile is *activated*, this flag decides
|
# When this profile is *activated*, this flag decides
|
||||||
# whether or not the title bar will be shown
|
# whether or not the title bar will be shown
|
||||||
show_title_bar: false
|
show_title_bar: true
|
||||||
|
|
||||||
# When this profile is *activated*, this flag decides
|
# When this profile is *activated*, this flag decides
|
||||||
# whether or not the size indicator on resize will be shown.
|
# whether or not the size indicator on resize will be shown.
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# vim: set expandtab tabstop=2 softtabstop=2 shiftwidth=2:
|
||||||
|
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -6,6 +8,9 @@
|
||||||
home.username = "user";
|
home.username = "user";
|
||||||
home.homeDirectory = "/home/user";
|
home.homeDirectory = "/home/user";
|
||||||
|
|
||||||
|
targets.genericLinux.enable = true;
|
||||||
|
xdg.mime.enable = true;
|
||||||
|
|
||||||
# This value determines the Home Manager release that your configuration is
|
# This value determines the Home Manager release that your configuration is
|
||||||
# compatible with. This helps avoid breakage when a new Home Manager release
|
# compatible with. This helps avoid breakage when a new Home Manager release
|
||||||
# introduces backwards incompatible changes.
|
# introduces backwards incompatible changes.
|
||||||
|
@ -21,13 +26,16 @@
|
||||||
pkgs.mtr
|
pkgs.mtr
|
||||||
pkgs.neovim
|
pkgs.neovim
|
||||||
pkgs.htop
|
pkgs.htop
|
||||||
pkgs.python3
|
pkgs.python312
|
||||||
pkgs.pyright
|
pkgs.pyright
|
||||||
pkgs.nodejs_22
|
pkgs.nodejs_22
|
||||||
pkgs.pipx
|
pkgs.pipx
|
||||||
pkgs.fx
|
pkgs.fx
|
||||||
pkgs.gdb
|
pkgs.gdb
|
||||||
pkgs.lua-language-server
|
pkgs.lua-language-server
|
||||||
|
pkgs.waybar
|
||||||
|
pkgs.waybar-mpris
|
||||||
|
pkgs.zed-editor
|
||||||
|
|
||||||
# # It is sometimes useful to fine-tune packages, for example, by applying
|
# # It is sometimes useful to fine-tune packages, for example, by applying
|
||||||
# # overrides. You can do that directly here, just don't forget the
|
# # overrides. You can do that directly here, just don't forget the
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
# should be placed under /etc/profile.d
|
||||||
|
export XDG_DATA_DIRS=$HOME/.nix-profile/share:$XDG_DATA_DIRS
|
|
@ -8,10 +8,10 @@
|
||||||
// Choose the order of the modules
|
// Choose the order of the modules
|
||||||
"modules-left": [
|
"modules-left": [
|
||||||
"hyprland/workspaces",
|
"hyprland/workspaces",
|
||||||
"custom/wofi"
|
"hyprland/window",
|
||||||
],
|
],
|
||||||
"modules-center": [
|
"modules-center": [
|
||||||
"sway/window"
|
"custom/waybar-mpris",
|
||||||
],
|
],
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
// "idle_inhibitor",
|
// "idle_inhibitor",
|
||||||
|
@ -24,27 +24,27 @@
|
||||||
"backlight",
|
"backlight",
|
||||||
"keyboard-state",
|
"keyboard-state",
|
||||||
"battery",
|
"battery",
|
||||||
"clock",
|
"custom/clock",
|
||||||
"tray",
|
"tray",
|
||||||
"custom/wlogout"
|
"custom/wlogout",
|
||||||
],
|
],
|
||||||
// Modules configuration
|
// Modules configuration
|
||||||
// "sway/workspaces": {
|
"hyprland/workspaces": {
|
||||||
// "disable-scroll": true,
|
"disable-scroll": true,
|
||||||
// "all-outputs": true,
|
"all-outputs": true,
|
||||||
// "warp-on-scroll": false,
|
"warp-on-scroll": false,
|
||||||
// "format": "{name}: {icon}",
|
"format": "{name} {icon} ",
|
||||||
// "format-icons": {
|
"format-icons": {
|
||||||
// "1": "",
|
"1": "",
|
||||||
// "2": "",
|
"2": "",
|
||||||
// "3": "",
|
"3": "",
|
||||||
// "4": "",
|
"4": "",
|
||||||
// "5": "",
|
"5": "",
|
||||||
// "urgent": "",
|
"urgent": "",
|
||||||
// "focused": "",
|
"focused": "",
|
||||||
// "default": ""
|
"default": ""
|
||||||
// }
|
}
|
||||||
// },
|
},
|
||||||
"keyboard-state": {
|
"keyboard-state": {
|
||||||
"numlock": true,
|
"numlock": true,
|
||||||
"capslock": true,
|
"capslock": true,
|
||||||
|
@ -119,7 +119,7 @@
|
||||||
"critical-threshold": 80,
|
"critical-threshold": 80,
|
||||||
// "format-critical": "{temperatureC}°C {icon}",
|
// "format-critical": "{temperatureC}°C {icon}",
|
||||||
"format": "{temperatureC}°C {icon}",
|
"format": "{temperatureC}°C {icon}",
|
||||||
"format-icons": ["", "", ""]
|
"format-icons": [""]
|
||||||
},
|
},
|
||||||
"backlight": {
|
"backlight": {
|
||||||
// "device": "acpi_video1",
|
// "device": "acpi_video1",
|
||||||
|
@ -134,7 +134,7 @@
|
||||||
},
|
},
|
||||||
"format": "{capacity}% {icon}",
|
"format": "{capacity}% {icon}",
|
||||||
"format-full": "{capacity}% {icon}",
|
"format-full": "{capacity}% {icon}",
|
||||||
"format-charging": "{capacity}% ",
|
"format-charging": "{capacity}% ",
|
||||||
"format-plugged": "{capacity}% ",
|
"format-plugged": "{capacity}% ",
|
||||||
"format-alt": "{time} {icon}",
|
"format-alt": "{time} {icon}",
|
||||||
// "format-good": "", // An empty format will hide the module
|
// "format-good": "", // An empty format will hide the module
|
||||||
|
@ -182,7 +182,25 @@
|
||||||
"on-click": "pavucontrol"
|
"on-click": "pavucontrol"
|
||||||
},
|
},
|
||||||
"custom/wlogout": {
|
"custom/wlogout": {
|
||||||
"format": "L",
|
"format": " ",
|
||||||
"on-click": "wlogout"
|
"on-click": "wlogout"
|
||||||
}
|
},
|
||||||
|
"custom/waybar-mpris": {
|
||||||
|
"return-type": "json",
|
||||||
|
"exec": "waybar-mpris --position --autofocus --order 'SYMBOL:TITLE:ARTIST:POSITION'",
|
||||||
|
"on-click": "waybar-mpris --send toggle",
|
||||||
|
// This option will switch between players on right click.
|
||||||
|
"on-click-right": "waybar-mpris --send player-next",
|
||||||
|
// The options below will switch the selected player on scroll
|
||||||
|
// "on-scroll-up": "waybar-mpris --send player-next",
|
||||||
|
// "on-scroll-down": "waybar-mpris --send player-prev",
|
||||||
|
// The options below will go to next/previous track on scroll
|
||||||
|
// "on-scroll-up": "waybar-mpris --send next",
|
||||||
|
// "on-scroll-down": "waybar-mpris --send prev",
|
||||||
|
"escape": true,
|
||||||
|
},
|
||||||
|
"custom/clock": {
|
||||||
|
"exec": "LC_TIME=en_US.UTF8 date +'%-m-%-d[%a] %H:%M'",
|
||||||
|
"interval": 1,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
#!/usr/bin/python3
|
||||||
|
import mpris2
|
|
@ -1,15 +1,25 @@
|
||||||
* {
|
* {
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
font-family: FiraCode Nerd Font;
|
font-family: JetBrainsMono Nerd Font;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
window#waybar {
|
window > box {
|
||||||
|
border-radius: 15px;
|
||||||
background: rgba(76,86,106,0.8);
|
background: rgba(76,86,106,0.8);
|
||||||
color: #cdd6f4
|
margin-top: 5px;
|
||||||
|
margin-bottom: 3px;
|
||||||
|
margin-left: 5px;
|
||||||
|
margin-right: 5px;
|
||||||
|
color: #cdd6f4;
|
||||||
|
box-shadow: 3px 3px lightblue;
|
||||||
|
}
|
||||||
|
|
||||||
|
window#waybar {
|
||||||
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces {
|
#workspaces {
|
||||||
|
@ -30,7 +40,7 @@ window#waybar {
|
||||||
transition: all 0.3s ease-in-out;
|
transition: all 0.3s ease-in-out;
|
||||||
}
|
}
|
||||||
#workspaces button.active {
|
#workspaces button.active {
|
||||||
color: #cdd6f4;
|
color: #2e3440;
|
||||||
background-color: #cdd6f4;
|
background-color: #cdd6f4;
|
||||||
border-radius: 16px;
|
border-radius: 16px;
|
||||||
min-width: 50px;
|
min-width: 50px;
|
||||||
|
@ -39,7 +49,7 @@ window#waybar {
|
||||||
}
|
}
|
||||||
#workspaces button:hover {
|
#workspaces button:hover {
|
||||||
background-color: #cdd6f4;
|
background-color: #cdd6f4;
|
||||||
color: #cdd6f4;
|
color: #2e3440;
|
||||||
border-radius: 16px;
|
border-radius: 16px;
|
||||||
min-width: 50px;
|
min-width: 50px;
|
||||||
background-size: 400% 400%;
|
background-size: 400% 400%;
|
||||||
|
|
Loading…
Reference in New Issue