replace wofi with rofi
This commit is contained in:
parent
601513bc9e
commit
07d70e3a64
23 changed files with 343 additions and 43 deletions
|
|
@ -21,7 +21,6 @@
|
|||
modules =
|
||||
[
|
||||
./system/configuration.nix
|
||||
inputs.home-manager.nixosModules.default
|
||||
];
|
||||
specialArgs = { inherit inputs; inherit pkgsUnstable; };
|
||||
};
|
||||
|
|
|
|||
BIN
home/config/fcitx5-dark-transparent/arrow.png
Normal file
BIN
home/config/fcitx5-dark-transparent/arrow.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 211 B |
BIN
home/config/fcitx5-dark-transparent/highlight.png
Normal file
BIN
home/config/fcitx5-dark-transparent/highlight.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 108 B |
BIN
home/config/fcitx5-dark-transparent/panel-origin.png
Normal file
BIN
home/config/fcitx5-dark-transparent/panel-origin.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.6 KiB |
BIN
home/config/fcitx5-dark-transparent/panel-round.png
Normal file
BIN
home/config/fcitx5-dark-transparent/panel-round.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 KiB |
BIN
home/config/fcitx5-dark-transparent/panel.png
Normal file
BIN
home/config/fcitx5-dark-transparent/panel.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 KiB |
BIN
home/config/fcitx5-dark-transparent/radio.png
Normal file
BIN
home/config/fcitx5-dark-transparent/radio.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 467 B |
80
home/config/fcitx5-dark-transparent/theme.conf
Normal file
80
home/config/fcitx5-dark-transparent/theme.conf
Normal file
|
|
@ -0,0 +1,80 @@
|
|||
[Metadata]
|
||||
Name=fcitx5-dark-transparent
|
||||
Version=0.1
|
||||
Author=hosxy
|
||||
Description=dark transparent Theme
|
||||
ScaleWithDPI=True
|
||||
|
||||
[InputPanel]
|
||||
Font=Sans 10
|
||||
NormalColor=#ffffff
|
||||
HighlightColor=#ffffff
|
||||
Spacing=3
|
||||
|
||||
[InputPanel/TextMargin]
|
||||
Left=7
|
||||
Right=7
|
||||
Top=7
|
||||
Bottom=7
|
||||
|
||||
[InputPanel/Background]
|
||||
Image=panel.png
|
||||
|
||||
[InputPanel/Background/Margin]
|
||||
Left=2
|
||||
Right=2
|
||||
Top=2
|
||||
Bottom=2
|
||||
|
||||
[InputPanel/Highlight]
|
||||
Image=highlight.png
|
||||
|
||||
[InputPanel/Highlight/Margin]
|
||||
Left=5
|
||||
Right=5
|
||||
Top=5
|
||||
Bottom=5
|
||||
|
||||
[Menu/Background]
|
||||
Image=panel.png
|
||||
|
||||
[Menu]
|
||||
Font=Sans 10
|
||||
NormalColor=#ffffff
|
||||
HighlightCandidateColor=#ffffff
|
||||
|
||||
[Menu/Background/Margin]
|
||||
Left=0
|
||||
Right=0
|
||||
Top=2
|
||||
Bottom=2
|
||||
|
||||
[Menu/ContentMargin]
|
||||
Left=2
|
||||
Right=2
|
||||
Top=2
|
||||
Bottom=2
|
||||
|
||||
[Menu/Highlight]
|
||||
Image=highlight.png
|
||||
|
||||
[Menu/Highlight/Margin]
|
||||
Left=5
|
||||
Right=5
|
||||
Top=5
|
||||
Bottom=5
|
||||
|
||||
[Menu/Separator]
|
||||
Color=#ffffff
|
||||
|
||||
[Menu/CheckBox]
|
||||
Image=radio.png
|
||||
|
||||
[Menu/SubMenu]
|
||||
Image=arrow.png
|
||||
|
||||
[Menu/TextMargin]
|
||||
Left=5
|
||||
Right=5
|
||||
Top=5
|
||||
Bottom=5
|
||||
34
home/config/fcitx5/classicui.conf
Normal file
34
home/config/fcitx5/classicui.conf
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
# Vertical Candidate List
|
||||
Vertical Candidate List=False
|
||||
# Use mouse wheel to go to prev or next page
|
||||
WheelForPaging=True
|
||||
# Font
|
||||
Font="Noto Sans CJK TC 10"
|
||||
# Menu Font
|
||||
MenuFont="Serif 10"
|
||||
# Tray Font
|
||||
TrayFont="Noto Sans CJK TC 10"
|
||||
# Tray Label Outline Color
|
||||
TrayOutlineColor=#000000
|
||||
# Tray Label Text Color
|
||||
TrayTextColor=#ffffff
|
||||
# Prefer Text Icon
|
||||
PreferTextIcon=True
|
||||
# Show Layout Name In Icon
|
||||
ShowLayoutNameInIcon=True
|
||||
# Use input method language to display text
|
||||
UseInputMethodLanguageToDisplayText=True
|
||||
# Theme
|
||||
Theme=fcitx5-dark-transparent
|
||||
# Dark Theme
|
||||
DarkTheme=fcitx5-dark-transparent
|
||||
# Follow system light/dark color scheme
|
||||
UseDarkTheme=False
|
||||
# Follow system accent color if it is supported by theme and desktop
|
||||
UseAccentColor=True
|
||||
# Use Per Screen DPI on X11
|
||||
PerScreenDPI=False
|
||||
# Force font DPI on Wayland
|
||||
ForceWaylandDPI=0
|
||||
# Enable fractional scale under Wayland
|
||||
EnableFractionalScale=True
|
||||
|
|
@ -6,11 +6,13 @@ bind = $mainMod, Q, killactive,
|
|||
bind = $mainMod, M, exec, wlogout --protocol layer-shell
|
||||
bind = $mainMod, E, exec, thunar
|
||||
bind = $mainMod, V, togglefloating,
|
||||
bind = ALT, SPACE, exec, wofi --show drun
|
||||
bind = ALT, SPACE, exec, rofi -show drun
|
||||
bind = $mainMod, P, pseudo, # dwindle
|
||||
bind = $mainMod, S, togglesplit, # dwindle
|
||||
bind = CTRL&$mainMod&SHIFT, L, exec, swaylock
|
||||
bind = $mainMod SHIFT, s, exec, hyprshot -m region --clipboard-only
|
||||
bind = $mainMod SHIFT, s, exec, hyprshot -m region --clipboard-only --freeze
|
||||
bind = CTRL SHIFT, s, exec, hyprshot -m window --clipboard-only --freeze
|
||||
bind = CTRL SHIFT $mainMod, s, exec, hyprshot -m output --clipboard-only --freeze
|
||||
|
||||
bind = $mainMod, F, exec, firefox
|
||||
bind = $mainMod, C, exec, code
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
monitor=desc:ASUSTek COMPUTER INC ASUS VG32VQ1B 0x00002271,2560x1440@165, 0x0, 1
|
||||
monitor=desc:Acer Technologies XV272U V3 7422007E54222, 2560x1440@144, -1152x-448, 1.25, transform, 1
|
||||
monitor=desc:Acer Technologies XV272U V3 7422007E54222, 2560x1440@144, -1440x-540, auto, transform, 1
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
general {
|
||||
gaps_in = 5
|
||||
gaps_out = 10
|
||||
border_size = 1
|
||||
col.active_border = rgb(8aadf4) rgb(24273A) rgb(24273A) rgb(8aadf4) 45deg
|
||||
border_size = 2
|
||||
col.active_border = rgb(EBDBB2) rgb(24273A) rgb(24273A) rgb(EBDBB2) 45deg
|
||||
col.inactive_border= rgb(24273A) rgb(24273A) rgb(24273A) rgb(24273A) 45deg
|
||||
layout = dwindle
|
||||
allow_tearing = false
|
||||
|
|
@ -12,9 +12,10 @@ decoration {
|
|||
rounding = 10
|
||||
blur {
|
||||
enabled = true
|
||||
size = 4
|
||||
passes = 2
|
||||
size = 5
|
||||
passes = 3
|
||||
new_optimizations = true
|
||||
ignore_opacity = on
|
||||
xray = false
|
||||
}
|
||||
active_opacity = 0.9
|
||||
|
|
@ -23,17 +24,28 @@ decoration {
|
|||
}
|
||||
|
||||
animations {
|
||||
enabled = yes
|
||||
bezier = overshot, 0.05, 0.9, 0.1, 1.05
|
||||
bezier = smoothOut, 0.36, 0, 0.66, -0.56
|
||||
bezier = smoothIn, 0.25, 1, 0.5, 1
|
||||
animation = windows, 1, 5, overshot, slide
|
||||
animation = windowsOut, 1, 4, smoothOut, slide
|
||||
animation = windowsMove, 1, 4, default
|
||||
enabled = true
|
||||
bezier = linear, 0, 0, 1, 1
|
||||
bezier = md3_standard, 0.2, 0, 0, 1
|
||||
bezier = md3_decel, 0.05, 0.7, 0.1, 1
|
||||
bezier = md3_accel, 0.3, 0, 0.8, 0.15
|
||||
bezier = overshot, 0.05, 0.9, 0.1, 1.1
|
||||
bezier = crazyshot, 0.1, 1.5, 0.76, 0.92
|
||||
bezier = hyprnostretch, 0.05, 0.9, 0.1, 1.0
|
||||
bezier = menu_decel, 0.1, 1, 0, 1
|
||||
bezier = menu_accel, 0.38, 0.04, 1, 0.07
|
||||
bezier = easeInOutCirc, 0.85, 0, 0.15, 1
|
||||
bezier = easeOutCirc, 0, 0.55, 0.45, 1
|
||||
bezier = easeOutExpo, 0.16, 1, 0.3, 1
|
||||
bezier = softAcDecel, 0.26, 0.26, 0.15, 1
|
||||
bezier = md2, 0.4, 0, 0.2, 1
|
||||
animation = windows, 1, 3, md3_decel, popin 60%
|
||||
animation = windowsIn, 1, 3, md3_decel, popin 60%
|
||||
animation = windowsOut, 1, 3, md3_accel, popin 60%
|
||||
animation = border, 1, 10, default
|
||||
animation = fade, 1, 10, smoothIn
|
||||
animation = fadeDim, 1, 10, smoothIn
|
||||
animation = workspaces, 1, 6, default
|
||||
animation = fade, 1, 3, md3_decel
|
||||
animation = workspaces, 1, 7, menu_decel, slide
|
||||
animation = specialWorkspace, 1, 3, md3_decel, slidevert
|
||||
}
|
||||
|
||||
dwindle {
|
||||
|
|
|
|||
|
|
@ -18,6 +18,8 @@ windowrule = float, title:wlogout
|
|||
windowrule = fullscreen, title:wlogout
|
||||
windowrule = idleinhibit stayfocused, mpv
|
||||
windowrulev2 = float, title:^(Media viewer)$
|
||||
windowrulev2 = float, title:^(File Operation Progress)$
|
||||
windowrulev2 = tile, initialTitle:^(line)$
|
||||
|
||||
# Picture in picture windows
|
||||
windowrulev2 = float, title:^(Picture-in-Picture)$
|
||||
|
|
@ -28,7 +30,7 @@ windowrulev2 = float, class:^(steam)$,title:^(Friends List)$
|
|||
|
||||
|
||||
# Workspace assign
|
||||
windowrulev2 = workspace: 5, class:^(steam)$
|
||||
windowrulev2 = workspace: 4, class:^(steam)$
|
||||
|
||||
layerrule = blur, waybar
|
||||
layerrule = blur, logout_dialog
|
||||
|
|
|
|||
17
home/config/rofi/apps.rasi
Normal file
17
home/config/rofi/apps.rasi
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
configuration {
|
||||
show-icons: true;
|
||||
font: "FreeSans Regular 12";
|
||||
icon-theme: "Gruvbox-Plus-Dark";
|
||||
|
||||
display-ssh: " ssh:";
|
||||
display-run: " run:";
|
||||
display-drun: " drun:";
|
||||
display-window: " window:";
|
||||
display-combi: " combi:";
|
||||
display-filebrowser: " filebrowser:";
|
||||
|
||||
dpi: 110;
|
||||
}
|
||||
|
||||
|
||||
@theme "~/.config/rofi/gruvbox-material.rasi"
|
||||
17
home/config/rofi/config.rasi
Normal file
17
home/config/rofi/config.rasi
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
configuration {
|
||||
show-icons: false;
|
||||
font: "JetBrainsMono 12";
|
||||
icon-theme: "Gruvbox-Plus-Dark";
|
||||
|
||||
display-ssh: " ssh:";
|
||||
display-run: " run:";
|
||||
display-drun: " drun:";
|
||||
display-window: " window:";
|
||||
display-combi: " combi:";
|
||||
display-filebrowser: " filebrowser:";
|
||||
|
||||
dpi: 110;
|
||||
}
|
||||
|
||||
|
||||
@theme "~/.config/rofi/gruvbox-material.rasi"
|
||||
141
home/config/rofi/gruvbox-material.rasi
Normal file
141
home/config/rofi/gruvbox-material.rasi
Normal file
|
|
@ -0,0 +1,141 @@
|
|||
* {
|
||||
gruv0: #282828;
|
||||
gruv1: #32302f;
|
||||
gruv2: #45403d;
|
||||
gruv3: #5a524c;
|
||||
|
||||
gruv4: #fbf1c7;
|
||||
gruv5: #f4e8be;
|
||||
gruv6: #eee0b7;
|
||||
|
||||
gruv7: #a89984;
|
||||
gruv8: #928374;
|
||||
gruv9: #7c6f64;
|
||||
gruv10: #504945;
|
||||
red: #ea6962;
|
||||
|
||||
orange: #e78a4e;
|
||||
yellow: #d8a657;
|
||||
aqua: #89b482;
|
||||
purple: #d3869b;
|
||||
|
||||
reddark: #c14a4a;
|
||||
yellowdark: #b47109;
|
||||
|
||||
foreground: @gruv9;
|
||||
background-color: transparent;
|
||||
|
||||
highlight: underline bold #eee0b7;
|
||||
|
||||
transparent: rgba(0,0,0,0.1);
|
||||
|
||||
}
|
||||
|
||||
window {
|
||||
location: center;
|
||||
anchor: center;
|
||||
border-radius: 20px;
|
||||
height: 560px;
|
||||
width: 600px;
|
||||
|
||||
background-color: @transparent;
|
||||
spacing: 0;
|
||||
children: [mainbox];
|
||||
orientation: horizontal;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
spacing: 0;
|
||||
children: [ inputbar, message, listview ];
|
||||
}
|
||||
|
||||
message {
|
||||
padding: 10px;
|
||||
border: 0px 2px 2px 2px;
|
||||
border-color: @gruv0;
|
||||
background-color: @transparent;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
color: @gruv6;
|
||||
padding: 14px;
|
||||
background-color: @transparent;
|
||||
border-color: @gruv6;
|
||||
|
||||
border: 4px;
|
||||
border-radius: 20px 20px 0px 0px;
|
||||
}
|
||||
|
||||
entry, prompt, case-indicator {
|
||||
text-font: inherit;
|
||||
text-color: inherit;
|
||||
}
|
||||
|
||||
prompt {
|
||||
margin: 0px 1em 0em 0em ;
|
||||
}
|
||||
|
||||
listview {
|
||||
padding: 8px;
|
||||
border-radius: 0px 0px 20px 20px;
|
||||
border: 0px 4px 4px 4px;
|
||||
border-color: @gruv6;
|
||||
background-color: @transparent;
|
||||
dynamic: false;
|
||||
}
|
||||
|
||||
element {
|
||||
padding: 5px;
|
||||
vertical-align: 0.5;
|
||||
border-radius: 5px;
|
||||
color: @foreground;
|
||||
text-color: @gruv6;
|
||||
background-color: @transparent;
|
||||
}
|
||||
|
||||
element.normal.active {
|
||||
background-color: @yellow;
|
||||
}
|
||||
|
||||
element.normal.urgent {
|
||||
background-color: @reddark;
|
||||
}
|
||||
|
||||
element.selected.normal {
|
||||
background-color: @gruv7;
|
||||
text-color: @gruv0;
|
||||
}
|
||||
|
||||
element.selected.active {
|
||||
background-color: @yellowdark;
|
||||
}
|
||||
|
||||
element.selected.urgent {
|
||||
background-color: @red;
|
||||
}
|
||||
|
||||
element.alternate.normal {
|
||||
background-color: @transparent;
|
||||
}
|
||||
|
||||
element-text, element-icon {
|
||||
size: 3ch;
|
||||
margin: 0 10 0 0;
|
||||
vertical-align: 0.5;
|
||||
text-color: @gruv6;
|
||||
}
|
||||
|
||||
button {
|
||||
padding: 6px;
|
||||
color: @foreground;
|
||||
horizontal-align: 0.5;
|
||||
|
||||
border: 2px 0px 2px 2px;
|
||||
border-radius: 5px;
|
||||
border-color: @foreground;
|
||||
}
|
||||
|
||||
button.selected.normal {
|
||||
border: 2px 0px 2px 2px;
|
||||
border-color: @foreground;
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#Taken from JaKoolit's dotfiles
|
||||
|
||||
|
|
@ -24,6 +24,7 @@ source = auto
|
|||
method = raw
|
||||
raw_target = /dev/stdout
|
||||
data_format = ascii
|
||||
channels = mono
|
||||
ascii_max_range = 7
|
||||
EOF
|
||||
|
||||
|
|
|
|||
|
|
@ -7,16 +7,6 @@
|
|||
|
||||
home.stateVersion = "24.11";
|
||||
|
||||
home.packages = [
|
||||
pkgs.opera
|
||||
];
|
||||
|
||||
home.file = {
|
||||
};
|
||||
|
||||
home.sessionVariables = {
|
||||
};
|
||||
|
||||
# Let Home Manager install and manage itself.
|
||||
programs.home-manager.enable = true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,9 +5,7 @@ in {
|
|||
source = "${configDir}/nvim";
|
||||
recursive = true;
|
||||
};
|
||||
".config/wallpapers".source = "${configDir}/wallpapers";
|
||||
".config/kitty".source = "${configDir}/kitty";
|
||||
".config/neofetch".source = "${configDir}/neofetch";
|
||||
".config/wallpapers".source = "${configDir}/wallpapers"; ".config/kitty".source = "${configDir}/kitty"; ".config/neofetch".source = "${configDir}/neofetch";
|
||||
".config/hypr".source = "${configDir}/hypr";
|
||||
".config/swayidle".source = "${configDir}/swayidle";
|
||||
".config/swaylock".source = "${configDir}/swaylock";
|
||||
|
|
@ -18,6 +16,7 @@ in {
|
|||
};
|
||||
".config/btop".source = "${configDir}/btop";
|
||||
".config/wofi".source = "${configDir}/wofi";
|
||||
".config/rofi".source = "${configDir}/rofi";
|
||||
".config/mako".source = "${configDir}/mako";
|
||||
".config/scripts".source = "${configDir}/scripts";
|
||||
".config/swaync".source = "${configDir}/swaync";
|
||||
|
|
@ -28,5 +27,13 @@ in {
|
|||
recursive = true;
|
||||
source = "${configDir}/gh";
|
||||
};
|
||||
".local/share/fcitx5/themes/fcitx5-dark-transparent" = {
|
||||
recursive = true;
|
||||
source = "${configDir}/fcitx5-dark-transparent";
|
||||
};
|
||||
".config/fcitx5/conf" = {
|
||||
recursive = true;
|
||||
source = "${configDir}/fcitx5";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +0,0 @@
|
|||
#!/bin/bash
|
||||
export __NV_PRIME_RENDER_OFFLOAD=1
|
||||
export __NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0
|
||||
export __GLX_VENDOR_LIBRARY_NAME=nvidia
|
||||
export __VK_LAYER_NV_optimus=NVIDIA_only
|
||||
exec "$@"
|
||||
|
|
@ -8,6 +8,7 @@
|
|||
extraLuaPackages = ps: [ ps.magick ];
|
||||
extraPackages = [ pkgs.imagemagick ];
|
||||
};
|
||||
};
|
||||
|
||||
bash.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@
|
|||
environment.systemPackages = with pkgs; [
|
||||
hyprsunset
|
||||
hyprpaper
|
||||
hyprpicker
|
||||
hyprshot
|
||||
kitty
|
||||
|
||||
|
|
@ -21,6 +22,7 @@
|
|||
wlogout
|
||||
wl-clipboard
|
||||
wofi
|
||||
rofi
|
||||
waybar
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,7 +22,8 @@
|
|||
glxinfo # OpenGL info
|
||||
pciutils # PCI info
|
||||
xdotool # Keyboard input simulation
|
||||
ffmpeg # video encoding
|
||||
ffmpeg # Video encoding
|
||||
mpv # Media player
|
||||
|
||||
# Dev
|
||||
git
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue