Replace application launcher with anyrun
This commit is contained in:
parent
694538092c
commit
0c0a9d66b3
8 changed files with 97 additions and 3 deletions
47
.config/anyrun/config.ron
Normal file
47
.config/anyrun/config.ron
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
Config(
|
||||
// Position/size fields use an enum for the value, it can be either:
|
||||
// Absolute(n): The absolute value in pixels
|
||||
// Fraction(n): A fraction of the width or height of the full screen (depends on exclusive zones and the settings related to them) window respectively
|
||||
|
||||
// The horizontal position, adjusted so that Relative(0.5) always centers the runner
|
||||
x: Fraction(0.5),
|
||||
|
||||
// The vertical position, works the same as `x`
|
||||
y: Absolute(30),
|
||||
|
||||
// The width of the runner
|
||||
width: Absolute(800),
|
||||
|
||||
// The minimum height of the runner, the runner will expand to fit all the entries
|
||||
height: Absolute(0),
|
||||
|
||||
// Hide match and plugin info icons
|
||||
hide_icons: false,
|
||||
|
||||
// ignore exclusive zones, f.e. Waybar
|
||||
ignore_exclusive_zones: true,
|
||||
|
||||
// Layer shell layer: Background, Bottom, Top, Overlay
|
||||
layer: Overlay,
|
||||
|
||||
// Hide the plugin info panel
|
||||
hide_plugin_info: false,
|
||||
|
||||
// Close window when a click outside the main box is received
|
||||
close_on_click: false,
|
||||
|
||||
// Show search results immediately when Anyrun starts
|
||||
show_results_immediately: false,
|
||||
|
||||
// Limit amount of entries shown in total
|
||||
max_entries: None,
|
||||
|
||||
// List of plugins to be loaded by default, can be specified with a relative path to be loaded from the
|
||||
// `<anyrun config dir>/plugins` directory or with an absolute path to just load the file the path points to.
|
||||
plugins: [
|
||||
"libapplications.so",
|
||||
"libsymbols.so",
|
||||
"libshell.so",
|
||||
"libtranslate.so",
|
||||
],
|
||||
)
|
||||
39
.config/anyrun/style/entry.scss
Normal file
39
.config/anyrun/style/entry.scss
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
@import "../../theming/library/entry.scss";
|
||||
|
||||
* {
|
||||
color: $foreground;
|
||||
|
||||
border-radius: $border-radius;
|
||||
}
|
||||
|
||||
#window {
|
||||
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
|
||||
box#main {
|
||||
background-color: $background;
|
||||
box-shadow: $box-shadow;
|
||||
border: none;
|
||||
}
|
||||
|
||||
|
||||
list {
|
||||
}
|
||||
|
||||
list#main {
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
padding: 0.5rem;
|
||||
}
|
||||
|
||||
list#plugin {
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
|
||||
label#match-desc {
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
label#plugin {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
|
@ -103,7 +103,8 @@ bind = $mainMod, F, fullscreen, 1
|
|||
bind = $mainMod, Space, fullscreen, 0
|
||||
|
||||
# rofi App launcher
|
||||
bind = $mainMod, Tab, exec, nwg-drawer -pbexit "wayland-logout" -pbpoweroff "systemctl poweroff" -pbreboot "systemctl reboot"
|
||||
#bind = $mainMod, Tab, exec, nwg-drawer -pbexit "wayland-logout" -pbpoweroff "systemctl poweroff" -pbreboot "systemctl reboot"
|
||||
bind = $mainMod, Tab, exec, anyrun
|
||||
bind = ALT, Tab, exec, hyprswitch gui --mod-key alt --key tab
|
||||
|
||||
bind = $mainMod, Return, exec, $term
|
||||
|
|
|
|||
|
|
@ -13,4 +13,6 @@ workspace = 2, name:Terminal, monitor:$primary, default:true
|
|||
workspace = 3, name:Discord,monitor:$secondary, default:true
|
||||
workspace = 4, name:Gaming, monitor:$primary, default:true
|
||||
workspace = 5, name:Music
|
||||
workspace = 6, name:Programming, monitor:$primary, default:true
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -3,4 +3,5 @@
|
|||
sass \
|
||||
$HOME/.config/swaync/style/style.scss:$HOME/.config/swaync/style.css \
|
||||
$HOME/.config/waybar/scss/style.scss:$HOME/.config/waybar/style.css \
|
||||
$HOME/.config/nwg-drawer/style/style.scss:$HOME/.config/nwg-drawer/drawer.css
|
||||
$HOME/.config/nwg-drawer/style/style.scss:$HOME/.config/nwg-drawer/drawer.css \
|
||||
$HOME/.config/anyrun/style/entry.scss:$HOME/.config/anyrun/style.css
|
||||
|
|
|
|||
|
|
@ -2,3 +2,4 @@ $border-radius: 0.3rem;
|
|||
|
||||
$box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
|
||||
$box-shadow-inner: rgba(0, 0, 0, 0.17) 0px -23px 25px 0px inset, rgba(0, 0, 0, 0.15) 0px -36px 30px 0px inset, rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
|
||||
$box-shadow-outer: rgba(0, 0, 0, 0.35) 0px 5px 15px;
|
||||
|
|
|
|||
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -25,6 +25,9 @@
|
|||
/.config/nwg-drawer/drawer.css
|
||||
/.config/nwg-drawer/drawer.css.map
|
||||
!/.config/theming/
|
||||
!/.config/anyrun
|
||||
/.config/anyrun/style.css
|
||||
/.config/anyrun/style.css.map
|
||||
|
||||
!/.ssh/
|
||||
/.ssh/*
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/env sh
|
||||
|
||||
hyprctl hyprsunset temperature 4600
|
||||
hyprctl hyprsunset temperature 5000
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue